@netless/fastboard-ui 0.3.3 → 0.3.4-canary.0
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 +343 -530
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +345 -543
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +2360 -3490
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/behaviors/apps.ts +12 -3
- package/src/components/Fastboard/Fastboard.svelte +2 -0
- package/src/components/Fastboard/ReplayFastboard.svelte +2 -0
- package/src/components/Icons/Clear.svelte +15 -1
- package/src/components/Icons/index.ts +0 -2
- package/src/components/Icons/Clean.svelte +0 -14
package/dist/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
1
3
|
var __create = Object.create;
|
|
2
4
|
var __defProp = Object.defineProperty;
|
|
3
5
|
var __defProps = Object.defineProperties;
|
|
@@ -81,6 +83,9 @@ function src_url_equal(element_src, url) {
|
|
|
81
83
|
src_url_equal_anchor.href = url;
|
|
82
84
|
return element_src === src_url_equal_anchor.href;
|
|
83
85
|
}
|
|
86
|
+
function not_equal(a, b) {
|
|
87
|
+
return a != a ? b == b : a !== b;
|
|
88
|
+
}
|
|
84
89
|
function is_empty(obj) {
|
|
85
90
|
return Object.keys(obj).length === 0;
|
|
86
91
|
}
|
|
@@ -146,13 +151,6 @@ function action_destroyer(action_result) {
|
|
|
146
151
|
return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
|
|
147
152
|
}
|
|
148
153
|
var is_client = typeof window !== "undefined";
|
|
149
|
-
var is_hydrating = false;
|
|
150
|
-
function start_hydrating() {
|
|
151
|
-
is_hydrating = true;
|
|
152
|
-
}
|
|
153
|
-
function end_hydrating() {
|
|
154
|
-
is_hydrating = false;
|
|
155
|
-
}
|
|
156
154
|
function append(target, node) {
|
|
157
155
|
target.appendChild(node);
|
|
158
156
|
}
|
|
@@ -348,7 +346,6 @@ function transition_out(block, local, detach2, callback) {
|
|
|
348
346
|
block.o(local);
|
|
349
347
|
}
|
|
350
348
|
}
|
|
351
|
-
var globals = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : global;
|
|
352
349
|
function destroy_block(block, lookup) {
|
|
353
350
|
block.d(1);
|
|
354
351
|
lookup.delete(block.key);
|
|
@@ -496,7 +493,7 @@ function make_dirty(component, i) {
|
|
|
496
493
|
}
|
|
497
494
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
498
495
|
}
|
|
499
|
-
function init(component, options,
|
|
496
|
+
function init(component, options, instance59, create_fragment59, not_equal2, props, append_styles, dirty = [-1]) {
|
|
500
497
|
const parent_component = current_component;
|
|
501
498
|
set_current_component(component);
|
|
502
499
|
const $$ = component.$$ = {
|
|
@@ -504,7 +501,7 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
504
501
|
ctx: null,
|
|
505
502
|
props,
|
|
506
503
|
update: noop,
|
|
507
|
-
not_equal,
|
|
504
|
+
not_equal: not_equal2,
|
|
508
505
|
bound: blank_object(),
|
|
509
506
|
on_mount: [],
|
|
510
507
|
on_destroy: [],
|
|
@@ -519,9 +516,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
519
516
|
};
|
|
520
517
|
append_styles && append_styles($$.root);
|
|
521
518
|
let ready = false;
|
|
522
|
-
$$.ctx =
|
|
519
|
+
$$.ctx = instance59 ? instance59(component, options.props || {}, (i, ret, ...rest) => {
|
|
523
520
|
const value = rest.length ? rest[0] : ret;
|
|
524
|
-
if ($$.ctx &&
|
|
521
|
+
if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
|
|
525
522
|
if (!$$.skip_bound && $$.bound[i])
|
|
526
523
|
$$.bound[i](value);
|
|
527
524
|
if (ready)
|
|
@@ -532,10 +529,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
532
529
|
$$.update();
|
|
533
530
|
ready = true;
|
|
534
531
|
run_all($$.before_update);
|
|
535
|
-
$$.fragment =
|
|
532
|
+
$$.fragment = create_fragment59 ? create_fragment59($$.ctx) : false;
|
|
536
533
|
if (options.target) {
|
|
537
534
|
if (options.hydrate) {
|
|
538
|
-
start_hydrating();
|
|
539
535
|
const nodes = children(options.target);
|
|
540
536
|
$$.fragment && $$.fragment.l(nodes);
|
|
541
537
|
nodes.forEach(detach);
|
|
@@ -545,53 +541,10 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
545
541
|
if (options.intro)
|
|
546
542
|
transition_in(component.$$.fragment);
|
|
547
543
|
mount_component(component, options.target, options.anchor, options.customElement);
|
|
548
|
-
end_hydrating();
|
|
549
544
|
flush();
|
|
550
545
|
}
|
|
551
546
|
set_current_component(parent_component);
|
|
552
547
|
}
|
|
553
|
-
var SvelteElement;
|
|
554
|
-
if (typeof HTMLElement === "function") {
|
|
555
|
-
SvelteElement = class extends HTMLElement {
|
|
556
|
-
constructor() {
|
|
557
|
-
super();
|
|
558
|
-
this.attachShadow({ mode: "open" });
|
|
559
|
-
}
|
|
560
|
-
connectedCallback() {
|
|
561
|
-
const { on_mount } = this.$$;
|
|
562
|
-
this.$$.on_disconnect = on_mount.map(run).filter(is_function);
|
|
563
|
-
for (const key in this.$$.slotted) {
|
|
564
|
-
this.appendChild(this.$$.slotted[key]);
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
attributeChangedCallback(attr2, _oldValue, newValue) {
|
|
568
|
-
this[attr2] = newValue;
|
|
569
|
-
}
|
|
570
|
-
disconnectedCallback() {
|
|
571
|
-
run_all(this.$$.on_disconnect);
|
|
572
|
-
}
|
|
573
|
-
$destroy() {
|
|
574
|
-
destroy_component(this, 1);
|
|
575
|
-
this.$destroy = noop;
|
|
576
|
-
}
|
|
577
|
-
$on(type, callback) {
|
|
578
|
-
const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
|
|
579
|
-
callbacks.push(callback);
|
|
580
|
-
return () => {
|
|
581
|
-
const index = callbacks.indexOf(callback);
|
|
582
|
-
if (index !== -1)
|
|
583
|
-
callbacks.splice(index, 1);
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
$set($$props) {
|
|
587
|
-
if (this.$$set && !is_empty($$props)) {
|
|
588
|
-
this.$$.skip_bound = true;
|
|
589
|
-
this.$$set($$props);
|
|
590
|
-
this.$$.skip_bound = false;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
548
|
var SvelteComponent = class {
|
|
596
549
|
$destroy() {
|
|
597
550
|
destroy_component(this, 1);
|
|
@@ -700,7 +653,7 @@ function create_fragment(ctx) {
|
|
|
700
653
|
return 0;
|
|
701
654
|
return 1;
|
|
702
655
|
}
|
|
703
|
-
current_block_type_index = select_block_type(ctx
|
|
656
|
+
current_block_type_index = select_block_type(ctx);
|
|
704
657
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
705
658
|
return {
|
|
706
659
|
c() {
|
|
@@ -714,7 +667,7 @@ function create_fragment(ctx) {
|
|
|
714
667
|
},
|
|
715
668
|
p(ctx2, [dirty]) {
|
|
716
669
|
let previous_block_index = current_block_type_index;
|
|
717
|
-
current_block_type_index = select_block_type(ctx2
|
|
670
|
+
current_block_type_index = select_block_type(ctx2);
|
|
718
671
|
if (current_block_type_index === previous_block_index) {
|
|
719
672
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
720
673
|
} else {
|
|
@@ -1232,18 +1185,34 @@ var CircleBolded = class extends SvelteComponent {
|
|
|
1232
1185
|
};
|
|
1233
1186
|
var CircleBolded_default = CircleBolded;
|
|
1234
1187
|
|
|
1235
|
-
// src/components/Icons/
|
|
1188
|
+
// src/components/Icons/Clear.svelte
|
|
1236
1189
|
function create_fragment9(ctx) {
|
|
1237
1190
|
let svg;
|
|
1238
|
-
let
|
|
1191
|
+
let path0;
|
|
1192
|
+
let path1;
|
|
1193
|
+
let path2;
|
|
1239
1194
|
let svg_class_value;
|
|
1240
1195
|
return {
|
|
1241
1196
|
c() {
|
|
1242
1197
|
svg = svg_element("svg");
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
attr(
|
|
1198
|
+
path0 = svg_element("path");
|
|
1199
|
+
path1 = svg_element("path");
|
|
1200
|
+
path2 = svg_element("path");
|
|
1201
|
+
attr(path0, "d", "M19.6567 4.34323L13.9999 10.0001");
|
|
1202
|
+
attr(path0, "stroke", "#5D6066");
|
|
1203
|
+
attr(path0, "stroke-width", "1.25");
|
|
1204
|
+
attr(path0, "stroke-linejoin", "round");
|
|
1205
|
+
attr(path0, "class", "fastboard-icon-stroke-color");
|
|
1206
|
+
attr(path1, "d", "M8.34296 10.0001C9.90506 8.43799 12.4377 8.43799 13.9998 10.0001V10.0001C15.5619 11.5622 15.5619 14.0948 13.9998 15.6569V15.6569L8.34296 10.0001V10.0001Z");
|
|
1207
|
+
attr(path1, "stroke", "#5D6066");
|
|
1208
|
+
attr(path1, "stroke-width", "1.25");
|
|
1209
|
+
attr(path1, "stroke-linejoin", "round");
|
|
1210
|
+
attr(path1, "class", "fastboard-icon-stroke-color");
|
|
1211
|
+
attr(path2, "d", "M8.34292 10.0001L13.9998 15.6569L11.5856 19.8996L4.10028 11.4143L8.34292 10.0001Z");
|
|
1212
|
+
attr(path2, "stroke", "#5D6066");
|
|
1213
|
+
attr(path2, "stroke-width", "1.25");
|
|
1214
|
+
attr(path2, "stroke-linejoin", "round");
|
|
1215
|
+
attr(path2, "class", "fastboard-icon-stroke-color");
|
|
1247
1216
|
attr(svg, "fill", "none");
|
|
1248
1217
|
attr(svg, "viewBox", "0 0 24 24");
|
|
1249
1218
|
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
@@ -1251,7 +1220,9 @@ function create_fragment9(ctx) {
|
|
|
1251
1220
|
},
|
|
1252
1221
|
m(target, anchor) {
|
|
1253
1222
|
insert(target, svg, anchor);
|
|
1254
|
-
append(svg,
|
|
1223
|
+
append(svg, path0);
|
|
1224
|
+
append(svg, path1);
|
|
1225
|
+
append(svg, path2);
|
|
1255
1226
|
},
|
|
1256
1227
|
p(ctx2, [dirty]) {
|
|
1257
1228
|
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
@@ -1280,74 +1251,16 @@ function instance9($$self, $$props, $$invalidate) {
|
|
|
1280
1251
|
};
|
|
1281
1252
|
return [theme, active];
|
|
1282
1253
|
}
|
|
1283
|
-
var Clean = class extends SvelteComponent {
|
|
1284
|
-
constructor(options) {
|
|
1285
|
-
super();
|
|
1286
|
-
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1287
|
-
}
|
|
1288
|
-
};
|
|
1289
|
-
var Clean_default = Clean;
|
|
1290
|
-
|
|
1291
|
-
// src/components/Icons/Clear.svelte
|
|
1292
|
-
function create_fragment10(ctx) {
|
|
1293
|
-
let svg;
|
|
1294
|
-
let path;
|
|
1295
|
-
let svg_class_value;
|
|
1296
|
-
return {
|
|
1297
|
-
c() {
|
|
1298
|
-
svg = svg_element("svg");
|
|
1299
|
-
path = svg_element("path");
|
|
1300
|
-
attr(path, "stroke", "#5D6066");
|
|
1301
|
-
attr(path, "stroke-linejoin", "round");
|
|
1302
|
-
attr(path, "stroke-width", "1.25");
|
|
1303
|
-
attr(path, "d", "m17.95 4.636-2.83 2.828-1.413-1.414a2 2 0 0 0-2.829 0l-.707.707 7.071 7.071.707-.707a2 2 0 0 0 0-2.828l-1.414-1.414 2.829-2.829-1.415-1.414Zm-1.415 9.9-5.656 5.656-.707-.707 1.767-3.182-3.182 1.768.707-2.121-2.121.707 1.768-3.182-3.182 1.768.707-2.122-2.121.707-.707-.707 5.656-5.657");
|
|
1304
|
-
attr(path, "class", "fastboard-icon-stroke-color");
|
|
1305
|
-
attr(svg, "fill", "none");
|
|
1306
|
-
attr(svg, "viewBox", "0 0 24 24");
|
|
1307
|
-
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
1308
|
-
toggle_class(svg, "is-active", ctx[1]);
|
|
1309
|
-
},
|
|
1310
|
-
m(target, anchor) {
|
|
1311
|
-
insert(target, svg, anchor);
|
|
1312
|
-
append(svg, path);
|
|
1313
|
-
},
|
|
1314
|
-
p(ctx2, [dirty]) {
|
|
1315
|
-
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
1316
|
-
attr(svg, "class", svg_class_value);
|
|
1317
|
-
}
|
|
1318
|
-
if (dirty & 3) {
|
|
1319
|
-
toggle_class(svg, "is-active", ctx2[1]);
|
|
1320
|
-
}
|
|
1321
|
-
},
|
|
1322
|
-
i: noop,
|
|
1323
|
-
o: noop,
|
|
1324
|
-
d(detaching) {
|
|
1325
|
-
if (detaching)
|
|
1326
|
-
detach(svg);
|
|
1327
|
-
}
|
|
1328
|
-
};
|
|
1329
|
-
}
|
|
1330
|
-
function instance10($$self, $$props, $$invalidate) {
|
|
1331
|
-
let { theme = "light" } = $$props;
|
|
1332
|
-
let { active = false } = $$props;
|
|
1333
|
-
$$self.$$set = ($$props2) => {
|
|
1334
|
-
if ("theme" in $$props2)
|
|
1335
|
-
$$invalidate(0, theme = $$props2.theme);
|
|
1336
|
-
if ("active" in $$props2)
|
|
1337
|
-
$$invalidate(1, active = $$props2.active);
|
|
1338
|
-
};
|
|
1339
|
-
return [theme, active];
|
|
1340
|
-
}
|
|
1341
1254
|
var Clear = class extends SvelteComponent {
|
|
1342
1255
|
constructor(options) {
|
|
1343
1256
|
super();
|
|
1344
|
-
init(this, options,
|
|
1257
|
+
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1345
1258
|
}
|
|
1346
1259
|
};
|
|
1347
1260
|
var Clear_default = Clear;
|
|
1348
1261
|
|
|
1349
1262
|
// src/components/Icons/Click.svelte
|
|
1350
|
-
function
|
|
1263
|
+
function create_fragment10(ctx) {
|
|
1351
1264
|
let svg;
|
|
1352
1265
|
let path;
|
|
1353
1266
|
let svg_class_value;
|
|
@@ -1385,7 +1298,7 @@ function create_fragment11(ctx) {
|
|
|
1385
1298
|
}
|
|
1386
1299
|
};
|
|
1387
1300
|
}
|
|
1388
|
-
function
|
|
1301
|
+
function instance10($$self, $$props, $$invalidate) {
|
|
1389
1302
|
let { theme = "light" } = $$props;
|
|
1390
1303
|
let { active = false } = $$props;
|
|
1391
1304
|
$$self.$$set = ($$props2) => {
|
|
@@ -1399,13 +1312,13 @@ function instance11($$self, $$props, $$invalidate) {
|
|
|
1399
1312
|
var Click = class extends SvelteComponent {
|
|
1400
1313
|
constructor(options) {
|
|
1401
1314
|
super();
|
|
1402
|
-
init(this, options,
|
|
1315
|
+
init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
|
|
1403
1316
|
}
|
|
1404
1317
|
};
|
|
1405
1318
|
var Click_default = Click;
|
|
1406
1319
|
|
|
1407
1320
|
// src/components/Icons/ClickFilled.svelte
|
|
1408
|
-
function
|
|
1321
|
+
function create_fragment11(ctx) {
|
|
1409
1322
|
let svg;
|
|
1410
1323
|
let path;
|
|
1411
1324
|
let svg_class_value;
|
|
@@ -1441,7 +1354,7 @@ function create_fragment12(ctx) {
|
|
|
1441
1354
|
}
|
|
1442
1355
|
};
|
|
1443
1356
|
}
|
|
1444
|
-
function
|
|
1357
|
+
function instance11($$self, $$props, $$invalidate) {
|
|
1445
1358
|
let { theme = "light" } = $$props;
|
|
1446
1359
|
let { active = false } = $$props;
|
|
1447
1360
|
$$self.$$set = ($$props2) => {
|
|
@@ -1455,13 +1368,13 @@ function instance12($$self, $$props, $$invalidate) {
|
|
|
1455
1368
|
var ClickFilled = class extends SvelteComponent {
|
|
1456
1369
|
constructor(options) {
|
|
1457
1370
|
super();
|
|
1458
|
-
init(this, options,
|
|
1371
|
+
init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
|
|
1459
1372
|
}
|
|
1460
1373
|
};
|
|
1461
1374
|
var ClickFilled_default = ClickFilled;
|
|
1462
1375
|
|
|
1463
1376
|
// src/components/Icons/Diamond.svelte
|
|
1464
|
-
function
|
|
1377
|
+
function create_fragment12(ctx) {
|
|
1465
1378
|
let svg;
|
|
1466
1379
|
let path;
|
|
1467
1380
|
let svg_class_value;
|
|
@@ -1499,7 +1412,7 @@ function create_fragment13(ctx) {
|
|
|
1499
1412
|
}
|
|
1500
1413
|
};
|
|
1501
1414
|
}
|
|
1502
|
-
function
|
|
1415
|
+
function instance12($$self, $$props, $$invalidate) {
|
|
1503
1416
|
let { theme = "light" } = $$props;
|
|
1504
1417
|
let { active = false } = $$props;
|
|
1505
1418
|
$$self.$$set = ($$props2) => {
|
|
@@ -1513,13 +1426,13 @@ function instance13($$self, $$props, $$invalidate) {
|
|
|
1513
1426
|
var Diamond = class extends SvelteComponent {
|
|
1514
1427
|
constructor(options) {
|
|
1515
1428
|
super();
|
|
1516
|
-
init(this, options,
|
|
1429
|
+
init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
|
|
1517
1430
|
}
|
|
1518
1431
|
};
|
|
1519
1432
|
var Diamond_default = Diamond;
|
|
1520
1433
|
|
|
1521
1434
|
// src/components/Icons/Down.svelte
|
|
1522
|
-
function
|
|
1435
|
+
function create_fragment13(ctx) {
|
|
1523
1436
|
let svg;
|
|
1524
1437
|
let path;
|
|
1525
1438
|
let svg_class_value;
|
|
@@ -1557,7 +1470,7 @@ function create_fragment14(ctx) {
|
|
|
1557
1470
|
}
|
|
1558
1471
|
};
|
|
1559
1472
|
}
|
|
1560
|
-
function
|
|
1473
|
+
function instance13($$self, $$props, $$invalidate) {
|
|
1561
1474
|
let { theme = "light" } = $$props;
|
|
1562
1475
|
let { active = false } = $$props;
|
|
1563
1476
|
$$self.$$set = ($$props2) => {
|
|
@@ -1571,13 +1484,13 @@ function instance14($$self, $$props, $$invalidate) {
|
|
|
1571
1484
|
var Down = class extends SvelteComponent {
|
|
1572
1485
|
constructor(options) {
|
|
1573
1486
|
super();
|
|
1574
|
-
init(this, options,
|
|
1487
|
+
init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
|
|
1575
1488
|
}
|
|
1576
1489
|
};
|
|
1577
1490
|
var Down_default = Down;
|
|
1578
1491
|
|
|
1579
1492
|
// src/components/Icons/Eraser.svelte
|
|
1580
|
-
function
|
|
1493
|
+
function create_fragment14(ctx) {
|
|
1581
1494
|
let svg;
|
|
1582
1495
|
let path;
|
|
1583
1496
|
let svg_class_value;
|
|
@@ -1615,7 +1528,7 @@ function create_fragment15(ctx) {
|
|
|
1615
1528
|
}
|
|
1616
1529
|
};
|
|
1617
1530
|
}
|
|
1618
|
-
function
|
|
1531
|
+
function instance14($$self, $$props, $$invalidate) {
|
|
1619
1532
|
let { theme = "light" } = $$props;
|
|
1620
1533
|
let { active = false } = $$props;
|
|
1621
1534
|
$$self.$$set = ($$props2) => {
|
|
@@ -1629,13 +1542,13 @@ function instance15($$self, $$props, $$invalidate) {
|
|
|
1629
1542
|
var Eraser = class extends SvelteComponent {
|
|
1630
1543
|
constructor(options) {
|
|
1631
1544
|
super();
|
|
1632
|
-
init(this, options,
|
|
1545
|
+
init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
|
|
1633
1546
|
}
|
|
1634
1547
|
};
|
|
1635
1548
|
var Eraser_default = Eraser;
|
|
1636
1549
|
|
|
1637
1550
|
// src/components/Icons/EraserFilled.svelte
|
|
1638
|
-
function
|
|
1551
|
+
function create_fragment15(ctx) {
|
|
1639
1552
|
let svg;
|
|
1640
1553
|
let path;
|
|
1641
1554
|
let svg_class_value;
|
|
@@ -1673,7 +1586,7 @@ function create_fragment16(ctx) {
|
|
|
1673
1586
|
}
|
|
1674
1587
|
};
|
|
1675
1588
|
}
|
|
1676
|
-
function
|
|
1589
|
+
function instance15($$self, $$props, $$invalidate) {
|
|
1677
1590
|
let { theme = "light" } = $$props;
|
|
1678
1591
|
let { active = false } = $$props;
|
|
1679
1592
|
$$self.$$set = ($$props2) => {
|
|
@@ -1687,13 +1600,13 @@ function instance16($$self, $$props, $$invalidate) {
|
|
|
1687
1600
|
var EraserFilled = class extends SvelteComponent {
|
|
1688
1601
|
constructor(options) {
|
|
1689
1602
|
super();
|
|
1690
|
-
init(this, options,
|
|
1603
|
+
init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
|
|
1691
1604
|
}
|
|
1692
1605
|
};
|
|
1693
1606
|
var EraserFilled_default = EraserFilled;
|
|
1694
1607
|
|
|
1695
1608
|
// src/components/Icons/Left.svelte
|
|
1696
|
-
function
|
|
1609
|
+
function create_fragment16(ctx) {
|
|
1697
1610
|
let svg;
|
|
1698
1611
|
let path;
|
|
1699
1612
|
let svg_class_value;
|
|
@@ -1731,7 +1644,7 @@ function create_fragment17(ctx) {
|
|
|
1731
1644
|
}
|
|
1732
1645
|
};
|
|
1733
1646
|
}
|
|
1734
|
-
function
|
|
1647
|
+
function instance16($$self, $$props, $$invalidate) {
|
|
1735
1648
|
let { theme = "light" } = $$props;
|
|
1736
1649
|
let { active = false } = $$props;
|
|
1737
1650
|
$$self.$$set = ($$props2) => {
|
|
@@ -1745,13 +1658,13 @@ function instance17($$self, $$props, $$invalidate) {
|
|
|
1745
1658
|
var Left = class extends SvelteComponent {
|
|
1746
1659
|
constructor(options) {
|
|
1747
1660
|
super();
|
|
1748
|
-
init(this, options,
|
|
1661
|
+
init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
|
|
1749
1662
|
}
|
|
1750
1663
|
};
|
|
1751
1664
|
var Left_default = Left;
|
|
1752
1665
|
|
|
1753
1666
|
// src/components/Icons/Line.svelte
|
|
1754
|
-
function
|
|
1667
|
+
function create_fragment17(ctx) {
|
|
1755
1668
|
let svg;
|
|
1756
1669
|
let path;
|
|
1757
1670
|
let svg_class_value;
|
|
@@ -1789,7 +1702,7 @@ function create_fragment18(ctx) {
|
|
|
1789
1702
|
}
|
|
1790
1703
|
};
|
|
1791
1704
|
}
|
|
1792
|
-
function
|
|
1705
|
+
function instance17($$self, $$props, $$invalidate) {
|
|
1793
1706
|
let { theme = "light" } = $$props;
|
|
1794
1707
|
let { active = false } = $$props;
|
|
1795
1708
|
$$self.$$set = ($$props2) => {
|
|
@@ -1803,13 +1716,13 @@ function instance18($$self, $$props, $$invalidate) {
|
|
|
1803
1716
|
var Line = class extends SvelteComponent {
|
|
1804
1717
|
constructor(options) {
|
|
1805
1718
|
super();
|
|
1806
|
-
init(this, options,
|
|
1719
|
+
init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
|
|
1807
1720
|
}
|
|
1808
1721
|
};
|
|
1809
1722
|
var Line_default = Line;
|
|
1810
1723
|
|
|
1811
1724
|
// src/components/Icons/LineBolded.svelte
|
|
1812
|
-
function
|
|
1725
|
+
function create_fragment18(ctx) {
|
|
1813
1726
|
let svg;
|
|
1814
1727
|
let path;
|
|
1815
1728
|
let svg_class_value;
|
|
@@ -1847,7 +1760,7 @@ function create_fragment19(ctx) {
|
|
|
1847
1760
|
}
|
|
1848
1761
|
};
|
|
1849
1762
|
}
|
|
1850
|
-
function
|
|
1763
|
+
function instance18($$self, $$props, $$invalidate) {
|
|
1851
1764
|
let { theme = "light" } = $$props;
|
|
1852
1765
|
let { active = false } = $$props;
|
|
1853
1766
|
$$self.$$set = ($$props2) => {
|
|
@@ -1861,13 +1774,13 @@ function instance19($$self, $$props, $$invalidate) {
|
|
|
1861
1774
|
var LineBolded = class extends SvelteComponent {
|
|
1862
1775
|
constructor(options) {
|
|
1863
1776
|
super();
|
|
1864
|
-
init(this, options,
|
|
1777
|
+
init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
|
|
1865
1778
|
}
|
|
1866
1779
|
};
|
|
1867
1780
|
var LineBolded_default = LineBolded;
|
|
1868
1781
|
|
|
1869
1782
|
// src/components/Icons/Minus.svelte
|
|
1870
|
-
function
|
|
1783
|
+
function create_fragment19(ctx) {
|
|
1871
1784
|
let svg;
|
|
1872
1785
|
let path;
|
|
1873
1786
|
let svg_class_value;
|
|
@@ -1905,7 +1818,7 @@ function create_fragment20(ctx) {
|
|
|
1905
1818
|
}
|
|
1906
1819
|
};
|
|
1907
1820
|
}
|
|
1908
|
-
function
|
|
1821
|
+
function instance19($$self, $$props, $$invalidate) {
|
|
1909
1822
|
let { theme = "light" } = $$props;
|
|
1910
1823
|
let { active = false } = $$props;
|
|
1911
1824
|
$$self.$$set = ($$props2) => {
|
|
@@ -1919,13 +1832,13 @@ function instance20($$self, $$props, $$invalidate) {
|
|
|
1919
1832
|
var Minus = class extends SvelteComponent {
|
|
1920
1833
|
constructor(options) {
|
|
1921
1834
|
super();
|
|
1922
|
-
init(this, options,
|
|
1835
|
+
init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
|
|
1923
1836
|
}
|
|
1924
1837
|
};
|
|
1925
1838
|
var Minus_default = Minus;
|
|
1926
1839
|
|
|
1927
1840
|
// src/components/Icons/Pencil.svelte
|
|
1928
|
-
function
|
|
1841
|
+
function create_fragment20(ctx) {
|
|
1929
1842
|
let svg;
|
|
1930
1843
|
let path0;
|
|
1931
1844
|
let path1;
|
|
@@ -1978,7 +1891,7 @@ function create_fragment21(ctx) {
|
|
|
1978
1891
|
}
|
|
1979
1892
|
};
|
|
1980
1893
|
}
|
|
1981
|
-
function
|
|
1894
|
+
function instance20($$self, $$props, $$invalidate) {
|
|
1982
1895
|
let { theme = "light" } = $$props;
|
|
1983
1896
|
let { active = false } = $$props;
|
|
1984
1897
|
$$self.$$set = ($$props2) => {
|
|
@@ -1992,13 +1905,13 @@ function instance21($$self, $$props, $$invalidate) {
|
|
|
1992
1905
|
var Pencil = class extends SvelteComponent {
|
|
1993
1906
|
constructor(options) {
|
|
1994
1907
|
super();
|
|
1995
|
-
init(this, options,
|
|
1908
|
+
init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
|
|
1996
1909
|
}
|
|
1997
1910
|
};
|
|
1998
1911
|
var Pencil_default = Pencil;
|
|
1999
1912
|
|
|
2000
1913
|
// src/components/Icons/PencilFilled.svelte
|
|
2001
|
-
function
|
|
1914
|
+
function create_fragment21(ctx) {
|
|
2002
1915
|
let svg;
|
|
2003
1916
|
let path;
|
|
2004
1917
|
let svg_class_value;
|
|
@@ -2036,7 +1949,7 @@ function create_fragment22(ctx) {
|
|
|
2036
1949
|
}
|
|
2037
1950
|
};
|
|
2038
1951
|
}
|
|
2039
|
-
function
|
|
1952
|
+
function instance21($$self, $$props, $$invalidate) {
|
|
2040
1953
|
let { theme = "light" } = $$props;
|
|
2041
1954
|
let { active = false } = $$props;
|
|
2042
1955
|
$$self.$$set = ($$props2) => {
|
|
@@ -2050,13 +1963,13 @@ function instance22($$self, $$props, $$invalidate) {
|
|
|
2050
1963
|
var PencilFilled = class extends SvelteComponent {
|
|
2051
1964
|
constructor(options) {
|
|
2052
1965
|
super();
|
|
2053
|
-
init(this, options,
|
|
1966
|
+
init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
|
|
2054
1967
|
}
|
|
2055
1968
|
};
|
|
2056
1969
|
var PencilFilled_default = PencilFilled;
|
|
2057
1970
|
|
|
2058
1971
|
// src/components/Icons/Plus.svelte
|
|
2059
|
-
function
|
|
1972
|
+
function create_fragment22(ctx) {
|
|
2060
1973
|
let svg;
|
|
2061
1974
|
let path;
|
|
2062
1975
|
let svg_class_value;
|
|
@@ -2094,7 +2007,7 @@ function create_fragment23(ctx) {
|
|
|
2094
2007
|
}
|
|
2095
2008
|
};
|
|
2096
2009
|
}
|
|
2097
|
-
function
|
|
2010
|
+
function instance22($$self, $$props, $$invalidate) {
|
|
2098
2011
|
let { theme = "light" } = $$props;
|
|
2099
2012
|
let { active = false } = $$props;
|
|
2100
2013
|
$$self.$$set = ($$props2) => {
|
|
@@ -2108,13 +2021,13 @@ function instance23($$self, $$props, $$invalidate) {
|
|
|
2108
2021
|
var Plus = class extends SvelteComponent {
|
|
2109
2022
|
constructor(options) {
|
|
2110
2023
|
super();
|
|
2111
|
-
init(this, options,
|
|
2024
|
+
init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
|
|
2112
2025
|
}
|
|
2113
2026
|
};
|
|
2114
2027
|
var Plus_default = Plus;
|
|
2115
2028
|
|
|
2116
2029
|
// src/components/Icons/Rectangle.svelte
|
|
2117
|
-
function
|
|
2030
|
+
function create_fragment23(ctx) {
|
|
2118
2031
|
let svg;
|
|
2119
2032
|
let path;
|
|
2120
2033
|
let svg_class_value;
|
|
@@ -2152,7 +2065,7 @@ function create_fragment24(ctx) {
|
|
|
2152
2065
|
}
|
|
2153
2066
|
};
|
|
2154
2067
|
}
|
|
2155
|
-
function
|
|
2068
|
+
function instance23($$self, $$props, $$invalidate) {
|
|
2156
2069
|
let { theme = "light" } = $$props;
|
|
2157
2070
|
let { active = false } = $$props;
|
|
2158
2071
|
$$self.$$set = ($$props2) => {
|
|
@@ -2166,13 +2079,13 @@ function instance24($$self, $$props, $$invalidate) {
|
|
|
2166
2079
|
var Rectangle = class extends SvelteComponent {
|
|
2167
2080
|
constructor(options) {
|
|
2168
2081
|
super();
|
|
2169
|
-
init(this, options,
|
|
2082
|
+
init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
|
|
2170
2083
|
}
|
|
2171
2084
|
};
|
|
2172
2085
|
var Rectangle_default = Rectangle;
|
|
2173
2086
|
|
|
2174
2087
|
// src/components/Icons/RectangleBolded.svelte
|
|
2175
|
-
function
|
|
2088
|
+
function create_fragment24(ctx) {
|
|
2176
2089
|
let svg;
|
|
2177
2090
|
let path;
|
|
2178
2091
|
let svg_class_value;
|
|
@@ -2210,7 +2123,7 @@ function create_fragment25(ctx) {
|
|
|
2210
2123
|
}
|
|
2211
2124
|
};
|
|
2212
2125
|
}
|
|
2213
|
-
function
|
|
2126
|
+
function instance24($$self, $$props, $$invalidate) {
|
|
2214
2127
|
let { theme = "light" } = $$props;
|
|
2215
2128
|
let { active = false } = $$props;
|
|
2216
2129
|
$$self.$$set = ($$props2) => {
|
|
@@ -2224,13 +2137,13 @@ function instance25($$self, $$props, $$invalidate) {
|
|
|
2224
2137
|
var RectangleBolded = class extends SvelteComponent {
|
|
2225
2138
|
constructor(options) {
|
|
2226
2139
|
super();
|
|
2227
|
-
init(this, options,
|
|
2140
|
+
init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
|
|
2228
2141
|
}
|
|
2229
2142
|
};
|
|
2230
2143
|
var RectangleBolded_default = RectangleBolded;
|
|
2231
2144
|
|
|
2232
2145
|
// src/components/Icons/Redo.svelte
|
|
2233
|
-
function
|
|
2146
|
+
function create_fragment25(ctx) {
|
|
2234
2147
|
let svg;
|
|
2235
2148
|
let path0;
|
|
2236
2149
|
let path1;
|
|
@@ -2272,7 +2185,7 @@ function create_fragment26(ctx) {
|
|
|
2272
2185
|
}
|
|
2273
2186
|
};
|
|
2274
2187
|
}
|
|
2275
|
-
function
|
|
2188
|
+
function instance25($$self, $$props, $$invalidate) {
|
|
2276
2189
|
let { theme = "light" } = $$props;
|
|
2277
2190
|
let { active = false } = $$props;
|
|
2278
2191
|
$$self.$$set = ($$props2) => {
|
|
@@ -2286,13 +2199,13 @@ function instance26($$self, $$props, $$invalidate) {
|
|
|
2286
2199
|
var Redo = class extends SvelteComponent {
|
|
2287
2200
|
constructor(options) {
|
|
2288
2201
|
super();
|
|
2289
|
-
init(this, options,
|
|
2202
|
+
init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
|
|
2290
2203
|
}
|
|
2291
2204
|
};
|
|
2292
2205
|
var Redo_default = Redo;
|
|
2293
2206
|
|
|
2294
2207
|
// src/components/Icons/Reset.svelte
|
|
2295
|
-
function
|
|
2208
|
+
function create_fragment26(ctx) {
|
|
2296
2209
|
let svg;
|
|
2297
2210
|
let circle0;
|
|
2298
2211
|
let path;
|
|
@@ -2348,7 +2261,7 @@ function create_fragment27(ctx) {
|
|
|
2348
2261
|
}
|
|
2349
2262
|
};
|
|
2350
2263
|
}
|
|
2351
|
-
function
|
|
2264
|
+
function instance26($$self, $$props, $$invalidate) {
|
|
2352
2265
|
let { theme = "light" } = $$props;
|
|
2353
2266
|
let { active = false } = $$props;
|
|
2354
2267
|
$$self.$$set = ($$props2) => {
|
|
@@ -2362,13 +2275,13 @@ function instance27($$self, $$props, $$invalidate) {
|
|
|
2362
2275
|
var Reset = class extends SvelteComponent {
|
|
2363
2276
|
constructor(options) {
|
|
2364
2277
|
super();
|
|
2365
|
-
init(this, options,
|
|
2278
|
+
init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
|
|
2366
2279
|
}
|
|
2367
2280
|
};
|
|
2368
2281
|
var Reset_default = Reset;
|
|
2369
2282
|
|
|
2370
2283
|
// src/components/Icons/Rhombus.svelte
|
|
2371
|
-
function
|
|
2284
|
+
function create_fragment27(ctx) {
|
|
2372
2285
|
let svg;
|
|
2373
2286
|
let path;
|
|
2374
2287
|
let svg_class_value;
|
|
@@ -2406,7 +2319,7 @@ function create_fragment28(ctx) {
|
|
|
2406
2319
|
}
|
|
2407
2320
|
};
|
|
2408
2321
|
}
|
|
2409
|
-
function
|
|
2322
|
+
function instance27($$self, $$props, $$invalidate) {
|
|
2410
2323
|
let { theme = "light" } = $$props;
|
|
2411
2324
|
let { active = false } = $$props;
|
|
2412
2325
|
$$self.$$set = ($$props2) => {
|
|
@@ -2420,13 +2333,13 @@ function instance28($$self, $$props, $$invalidate) {
|
|
|
2420
2333
|
var Rhombus = class extends SvelteComponent {
|
|
2421
2334
|
constructor(options) {
|
|
2422
2335
|
super();
|
|
2423
|
-
init(this, options,
|
|
2336
|
+
init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
|
|
2424
2337
|
}
|
|
2425
2338
|
};
|
|
2426
2339
|
var Rhombus_default = Rhombus;
|
|
2427
2340
|
|
|
2428
2341
|
// src/components/Icons/RhombusBolded.svelte
|
|
2429
|
-
function
|
|
2342
|
+
function create_fragment28(ctx) {
|
|
2430
2343
|
let svg;
|
|
2431
2344
|
let path;
|
|
2432
2345
|
let svg_class_value;
|
|
@@ -2464,7 +2377,7 @@ function create_fragment29(ctx) {
|
|
|
2464
2377
|
}
|
|
2465
2378
|
};
|
|
2466
2379
|
}
|
|
2467
|
-
function
|
|
2380
|
+
function instance28($$self, $$props, $$invalidate) {
|
|
2468
2381
|
let { theme = "light" } = $$props;
|
|
2469
2382
|
let { active = false } = $$props;
|
|
2470
2383
|
$$self.$$set = ($$props2) => {
|
|
@@ -2478,13 +2391,13 @@ function instance29($$self, $$props, $$invalidate) {
|
|
|
2478
2391
|
var RhombusBolded = class extends SvelteComponent {
|
|
2479
2392
|
constructor(options) {
|
|
2480
2393
|
super();
|
|
2481
|
-
init(this, options,
|
|
2394
|
+
init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
|
|
2482
2395
|
}
|
|
2483
2396
|
};
|
|
2484
2397
|
var RhombusBolded_default = RhombusBolded;
|
|
2485
2398
|
|
|
2486
2399
|
// src/components/Icons/Right.svelte
|
|
2487
|
-
function
|
|
2400
|
+
function create_fragment29(ctx) {
|
|
2488
2401
|
let svg;
|
|
2489
2402
|
let path;
|
|
2490
2403
|
let svg_class_value;
|
|
@@ -2522,7 +2435,7 @@ function create_fragment30(ctx) {
|
|
|
2522
2435
|
}
|
|
2523
2436
|
};
|
|
2524
2437
|
}
|
|
2525
|
-
function
|
|
2438
|
+
function instance29($$self, $$props, $$invalidate) {
|
|
2526
2439
|
let { theme = "light" } = $$props;
|
|
2527
2440
|
let { active = false } = $$props;
|
|
2528
2441
|
$$self.$$set = ($$props2) => {
|
|
@@ -2536,13 +2449,13 @@ function instance30($$self, $$props, $$invalidate) {
|
|
|
2536
2449
|
var Right = class extends SvelteComponent {
|
|
2537
2450
|
constructor(options) {
|
|
2538
2451
|
super();
|
|
2539
|
-
init(this, options,
|
|
2452
|
+
init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
|
|
2540
2453
|
}
|
|
2541
2454
|
};
|
|
2542
2455
|
var Right_default = Right;
|
|
2543
2456
|
|
|
2544
2457
|
// src/components/Icons/Selector.svelte
|
|
2545
|
-
function
|
|
2458
|
+
function create_fragment30(ctx) {
|
|
2546
2459
|
let svg;
|
|
2547
2460
|
let path0;
|
|
2548
2461
|
let path1;
|
|
@@ -2589,7 +2502,7 @@ function create_fragment31(ctx) {
|
|
|
2589
2502
|
}
|
|
2590
2503
|
};
|
|
2591
2504
|
}
|
|
2592
|
-
function
|
|
2505
|
+
function instance30($$self, $$props, $$invalidate) {
|
|
2593
2506
|
let { theme = "light" } = $$props;
|
|
2594
2507
|
let { active = false } = $$props;
|
|
2595
2508
|
$$self.$$set = ($$props2) => {
|
|
@@ -2603,13 +2516,13 @@ function instance31($$self, $$props, $$invalidate) {
|
|
|
2603
2516
|
var Selector = class extends SvelteComponent {
|
|
2604
2517
|
constructor(options) {
|
|
2605
2518
|
super();
|
|
2606
|
-
init(this, options,
|
|
2519
|
+
init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
|
|
2607
2520
|
}
|
|
2608
2521
|
};
|
|
2609
2522
|
var Selector_default = Selector;
|
|
2610
2523
|
|
|
2611
2524
|
// src/components/Icons/SelectorFilled.svelte
|
|
2612
|
-
function
|
|
2525
|
+
function create_fragment31(ctx) {
|
|
2613
2526
|
let svg;
|
|
2614
2527
|
let path0;
|
|
2615
2528
|
let path1;
|
|
@@ -2654,7 +2567,7 @@ function create_fragment32(ctx) {
|
|
|
2654
2567
|
}
|
|
2655
2568
|
};
|
|
2656
2569
|
}
|
|
2657
|
-
function
|
|
2570
|
+
function instance31($$self, $$props, $$invalidate) {
|
|
2658
2571
|
let { theme = "light" } = $$props;
|
|
2659
2572
|
let { active = false } = $$props;
|
|
2660
2573
|
$$self.$$set = ($$props2) => {
|
|
@@ -2668,13 +2581,13 @@ function instance32($$self, $$props, $$invalidate) {
|
|
|
2668
2581
|
var SelectorFilled = class extends SvelteComponent {
|
|
2669
2582
|
constructor(options) {
|
|
2670
2583
|
super();
|
|
2671
|
-
init(this, options,
|
|
2584
|
+
init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
|
|
2672
2585
|
}
|
|
2673
2586
|
};
|
|
2674
2587
|
var SelectorFilled_default = SelectorFilled;
|
|
2675
2588
|
|
|
2676
2589
|
// src/components/Icons/SpeechBalloon.svelte
|
|
2677
|
-
function
|
|
2590
|
+
function create_fragment32(ctx) {
|
|
2678
2591
|
let svg;
|
|
2679
2592
|
let path;
|
|
2680
2593
|
let svg_class_value;
|
|
@@ -2712,7 +2625,7 @@ function create_fragment33(ctx) {
|
|
|
2712
2625
|
}
|
|
2713
2626
|
};
|
|
2714
2627
|
}
|
|
2715
|
-
function
|
|
2628
|
+
function instance32($$self, $$props, $$invalidate) {
|
|
2716
2629
|
let { theme = "light" } = $$props;
|
|
2717
2630
|
let { active = false } = $$props;
|
|
2718
2631
|
$$self.$$set = ($$props2) => {
|
|
@@ -2726,13 +2639,13 @@ function instance33($$self, $$props, $$invalidate) {
|
|
|
2726
2639
|
var SpeechBalloon = class extends SvelteComponent {
|
|
2727
2640
|
constructor(options) {
|
|
2728
2641
|
super();
|
|
2729
|
-
init(this, options,
|
|
2642
|
+
init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
|
|
2730
2643
|
}
|
|
2731
2644
|
};
|
|
2732
2645
|
var SpeechBalloon_default = SpeechBalloon;
|
|
2733
2646
|
|
|
2734
2647
|
// src/components/Icons/Star.svelte
|
|
2735
|
-
function
|
|
2648
|
+
function create_fragment33(ctx) {
|
|
2736
2649
|
let svg;
|
|
2737
2650
|
let path;
|
|
2738
2651
|
let svg_class_value;
|
|
@@ -2770,7 +2683,7 @@ function create_fragment34(ctx) {
|
|
|
2770
2683
|
}
|
|
2771
2684
|
};
|
|
2772
2685
|
}
|
|
2773
|
-
function
|
|
2686
|
+
function instance33($$self, $$props, $$invalidate) {
|
|
2774
2687
|
let { theme = "light" } = $$props;
|
|
2775
2688
|
let { active = false } = $$props;
|
|
2776
2689
|
$$self.$$set = ($$props2) => {
|
|
@@ -2784,13 +2697,13 @@ function instance34($$self, $$props, $$invalidate) {
|
|
|
2784
2697
|
var Star = class extends SvelteComponent {
|
|
2785
2698
|
constructor(options) {
|
|
2786
2699
|
super();
|
|
2787
|
-
init(this, options,
|
|
2700
|
+
init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
|
|
2788
2701
|
}
|
|
2789
2702
|
};
|
|
2790
2703
|
var Star_default = Star;
|
|
2791
2704
|
|
|
2792
2705
|
// src/components/Icons/StarBolded.svelte
|
|
2793
|
-
function
|
|
2706
|
+
function create_fragment34(ctx) {
|
|
2794
2707
|
let svg;
|
|
2795
2708
|
let path;
|
|
2796
2709
|
let svg_class_value;
|
|
@@ -2828,7 +2741,7 @@ function create_fragment35(ctx) {
|
|
|
2828
2741
|
}
|
|
2829
2742
|
};
|
|
2830
2743
|
}
|
|
2831
|
-
function
|
|
2744
|
+
function instance34($$self, $$props, $$invalidate) {
|
|
2832
2745
|
let { theme = "light" } = $$props;
|
|
2833
2746
|
let { active = false } = $$props;
|
|
2834
2747
|
$$self.$$set = ($$props2) => {
|
|
@@ -2842,13 +2755,13 @@ function instance35($$self, $$props, $$invalidate) {
|
|
|
2842
2755
|
var StarBolded = class extends SvelteComponent {
|
|
2843
2756
|
constructor(options) {
|
|
2844
2757
|
super();
|
|
2845
|
-
init(this, options,
|
|
2758
|
+
init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
|
|
2846
2759
|
}
|
|
2847
2760
|
};
|
|
2848
2761
|
var StarBolded_default = StarBolded;
|
|
2849
2762
|
|
|
2850
2763
|
// src/components/Icons/Text.svelte
|
|
2851
|
-
function
|
|
2764
|
+
function create_fragment35(ctx) {
|
|
2852
2765
|
let svg;
|
|
2853
2766
|
let path;
|
|
2854
2767
|
let svg_class_value;
|
|
@@ -2886,7 +2799,7 @@ function create_fragment36(ctx) {
|
|
|
2886
2799
|
}
|
|
2887
2800
|
};
|
|
2888
2801
|
}
|
|
2889
|
-
function
|
|
2802
|
+
function instance35($$self, $$props, $$invalidate) {
|
|
2890
2803
|
let { theme = "light" } = $$props;
|
|
2891
2804
|
let { active = false } = $$props;
|
|
2892
2805
|
$$self.$$set = ($$props2) => {
|
|
@@ -2900,13 +2813,13 @@ function instance36($$self, $$props, $$invalidate) {
|
|
|
2900
2813
|
var Text = class extends SvelteComponent {
|
|
2901
2814
|
constructor(options) {
|
|
2902
2815
|
super();
|
|
2903
|
-
init(this, options,
|
|
2816
|
+
init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
|
|
2904
2817
|
}
|
|
2905
2818
|
};
|
|
2906
2819
|
var Text_default = Text;
|
|
2907
2820
|
|
|
2908
2821
|
// src/components/Icons/TextFilled.svelte
|
|
2909
|
-
function
|
|
2822
|
+
function create_fragment36(ctx) {
|
|
2910
2823
|
let svg;
|
|
2911
2824
|
let path0;
|
|
2912
2825
|
let path1;
|
|
@@ -2951,7 +2864,7 @@ function create_fragment37(ctx) {
|
|
|
2951
2864
|
}
|
|
2952
2865
|
};
|
|
2953
2866
|
}
|
|
2954
|
-
function
|
|
2867
|
+
function instance36($$self, $$props, $$invalidate) {
|
|
2955
2868
|
let { theme = "light" } = $$props;
|
|
2956
2869
|
let { active = false } = $$props;
|
|
2957
2870
|
$$self.$$set = ($$props2) => {
|
|
@@ -2965,13 +2878,13 @@ function instance37($$self, $$props, $$invalidate) {
|
|
|
2965
2878
|
var TextFilled = class extends SvelteComponent {
|
|
2966
2879
|
constructor(options) {
|
|
2967
2880
|
super();
|
|
2968
|
-
init(this, options,
|
|
2881
|
+
init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
|
|
2969
2882
|
}
|
|
2970
2883
|
};
|
|
2971
2884
|
var TextFilled_default = TextFilled;
|
|
2972
2885
|
|
|
2973
2886
|
// src/components/Icons/Triangle.svelte
|
|
2974
|
-
function
|
|
2887
|
+
function create_fragment37(ctx) {
|
|
2975
2888
|
let svg;
|
|
2976
2889
|
let path;
|
|
2977
2890
|
let svg_class_value;
|
|
@@ -3009,7 +2922,7 @@ function create_fragment38(ctx) {
|
|
|
3009
2922
|
}
|
|
3010
2923
|
};
|
|
3011
2924
|
}
|
|
3012
|
-
function
|
|
2925
|
+
function instance37($$self, $$props, $$invalidate) {
|
|
3013
2926
|
let { theme = "light" } = $$props;
|
|
3014
2927
|
let { active = false } = $$props;
|
|
3015
2928
|
$$self.$$set = ($$props2) => {
|
|
@@ -3023,13 +2936,13 @@ function instance38($$self, $$props, $$invalidate) {
|
|
|
3023
2936
|
var Triangle = class extends SvelteComponent {
|
|
3024
2937
|
constructor(options) {
|
|
3025
2938
|
super();
|
|
3026
|
-
init(this, options,
|
|
2939
|
+
init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
|
|
3027
2940
|
}
|
|
3028
2941
|
};
|
|
3029
2942
|
var Triangle_default = Triangle;
|
|
3030
2943
|
|
|
3031
2944
|
// src/components/Icons/TriangleBolded.svelte
|
|
3032
|
-
function
|
|
2945
|
+
function create_fragment38(ctx) {
|
|
3033
2946
|
let svg;
|
|
3034
2947
|
let path;
|
|
3035
2948
|
let svg_class_value;
|
|
@@ -3067,7 +2980,7 @@ function create_fragment39(ctx) {
|
|
|
3067
2980
|
}
|
|
3068
2981
|
};
|
|
3069
2982
|
}
|
|
3070
|
-
function
|
|
2983
|
+
function instance38($$self, $$props, $$invalidate) {
|
|
3071
2984
|
let { theme = "light" } = $$props;
|
|
3072
2985
|
let { active = false } = $$props;
|
|
3073
2986
|
$$self.$$set = ($$props2) => {
|
|
@@ -3081,13 +2994,13 @@ function instance39($$self, $$props, $$invalidate) {
|
|
|
3081
2994
|
var TriangleBolded = class extends SvelteComponent {
|
|
3082
2995
|
constructor(options) {
|
|
3083
2996
|
super();
|
|
3084
|
-
init(this, options,
|
|
2997
|
+
init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
|
|
3085
2998
|
}
|
|
3086
2999
|
};
|
|
3087
3000
|
var TriangleBolded_default = TriangleBolded;
|
|
3088
3001
|
|
|
3089
3002
|
// src/components/Icons/Undo.svelte
|
|
3090
|
-
function
|
|
3003
|
+
function create_fragment39(ctx) {
|
|
3091
3004
|
let svg;
|
|
3092
3005
|
let path0;
|
|
3093
3006
|
let path1;
|
|
@@ -3129,7 +3042,7 @@ function create_fragment40(ctx) {
|
|
|
3129
3042
|
}
|
|
3130
3043
|
};
|
|
3131
3044
|
}
|
|
3132
|
-
function
|
|
3045
|
+
function instance39($$self, $$props, $$invalidate) {
|
|
3133
3046
|
let { theme = "light" } = $$props;
|
|
3134
3047
|
let { active = false } = $$props;
|
|
3135
3048
|
$$self.$$set = ($$props2) => {
|
|
@@ -3143,13 +3056,13 @@ function instance40($$self, $$props, $$invalidate) {
|
|
|
3143
3056
|
var Undo = class extends SvelteComponent {
|
|
3144
3057
|
constructor(options) {
|
|
3145
3058
|
super();
|
|
3146
|
-
init(this, options,
|
|
3059
|
+
init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
|
|
3147
3060
|
}
|
|
3148
3061
|
};
|
|
3149
3062
|
var Undo_default = Undo;
|
|
3150
3063
|
|
|
3151
3064
|
// src/components/Icons/Up.svelte
|
|
3152
|
-
function
|
|
3065
|
+
function create_fragment40(ctx) {
|
|
3153
3066
|
let svg;
|
|
3154
3067
|
let path;
|
|
3155
3068
|
let svg_class_value;
|
|
@@ -3187,7 +3100,7 @@ function create_fragment41(ctx) {
|
|
|
3187
3100
|
}
|
|
3188
3101
|
};
|
|
3189
3102
|
}
|
|
3190
|
-
function
|
|
3103
|
+
function instance40($$self, $$props, $$invalidate) {
|
|
3191
3104
|
let { theme = "light" } = $$props;
|
|
3192
3105
|
let { active = false } = $$props;
|
|
3193
3106
|
$$self.$$set = ($$props2) => {
|
|
@@ -3201,13 +3114,13 @@ function instance41($$self, $$props, $$invalidate) {
|
|
|
3201
3114
|
var Up = class extends SvelteComponent {
|
|
3202
3115
|
constructor(options) {
|
|
3203
3116
|
super();
|
|
3204
|
-
init(this, options,
|
|
3117
|
+
init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
|
|
3205
3118
|
}
|
|
3206
3119
|
};
|
|
3207
3120
|
var Up_default = Up;
|
|
3208
3121
|
|
|
3209
3122
|
// src/components/Icons/WhiteboardAdd.svelte
|
|
3210
|
-
function
|
|
3123
|
+
function create_fragment41(ctx) {
|
|
3211
3124
|
let svg;
|
|
3212
3125
|
let path0;
|
|
3213
3126
|
let rect;
|
|
@@ -3265,7 +3178,7 @@ function create_fragment42(ctx) {
|
|
|
3265
3178
|
}
|
|
3266
3179
|
};
|
|
3267
3180
|
}
|
|
3268
|
-
function
|
|
3181
|
+
function instance41($$self, $$props, $$invalidate) {
|
|
3269
3182
|
let { theme = "light" } = $$props;
|
|
3270
3183
|
let { active = false } = $$props;
|
|
3271
3184
|
$$self.$$set = ($$props2) => {
|
|
@@ -3279,13 +3192,13 @@ function instance42($$self, $$props, $$invalidate) {
|
|
|
3279
3192
|
var WhiteboardAdd = class extends SvelteComponent {
|
|
3280
3193
|
constructor(options) {
|
|
3281
3194
|
super();
|
|
3282
|
-
init(this, options,
|
|
3195
|
+
init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
|
|
3283
3196
|
}
|
|
3284
3197
|
};
|
|
3285
3198
|
var WhiteboardAdd_default = WhiteboardAdd;
|
|
3286
3199
|
|
|
3287
3200
|
// src/components/Icons/Play.svelte
|
|
3288
|
-
function
|
|
3201
|
+
function create_fragment42(ctx) {
|
|
3289
3202
|
let svg;
|
|
3290
3203
|
let path;
|
|
3291
3204
|
let svg_class_value;
|
|
@@ -3321,7 +3234,7 @@ function create_fragment43(ctx) {
|
|
|
3321
3234
|
}
|
|
3322
3235
|
};
|
|
3323
3236
|
}
|
|
3324
|
-
function
|
|
3237
|
+
function instance42($$self, $$props, $$invalidate) {
|
|
3325
3238
|
let { theme = "light" } = $$props;
|
|
3326
3239
|
let { active = false } = $$props;
|
|
3327
3240
|
$$self.$$set = ($$props2) => {
|
|
@@ -3335,13 +3248,13 @@ function instance43($$self, $$props, $$invalidate) {
|
|
|
3335
3248
|
var Play = class extends SvelteComponent {
|
|
3336
3249
|
constructor(options) {
|
|
3337
3250
|
super();
|
|
3338
|
-
init(this, options,
|
|
3251
|
+
init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
|
|
3339
3252
|
}
|
|
3340
3253
|
};
|
|
3341
3254
|
var Play_default = Play;
|
|
3342
3255
|
|
|
3343
3256
|
// src/components/Icons/Pause.svelte
|
|
3344
|
-
function
|
|
3257
|
+
function create_fragment43(ctx) {
|
|
3345
3258
|
let svg;
|
|
3346
3259
|
let path;
|
|
3347
3260
|
let svg_class_value;
|
|
@@ -3377,7 +3290,7 @@ function create_fragment44(ctx) {
|
|
|
3377
3290
|
}
|
|
3378
3291
|
};
|
|
3379
3292
|
}
|
|
3380
|
-
function
|
|
3293
|
+
function instance43($$self, $$props, $$invalidate) {
|
|
3381
3294
|
let { theme = "light" } = $$props;
|
|
3382
3295
|
let { active = false } = $$props;
|
|
3383
3296
|
$$self.$$set = ($$props2) => {
|
|
@@ -3391,13 +3304,13 @@ function instance44($$self, $$props, $$invalidate) {
|
|
|
3391
3304
|
var Pause = class extends SvelteComponent {
|
|
3392
3305
|
constructor(options) {
|
|
3393
3306
|
super();
|
|
3394
|
-
init(this, options,
|
|
3307
|
+
init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
|
|
3395
3308
|
}
|
|
3396
3309
|
};
|
|
3397
3310
|
var Pause_default = Pause;
|
|
3398
3311
|
|
|
3399
3312
|
// src/components/Icons/Loading.svelte
|
|
3400
|
-
function
|
|
3313
|
+
function create_fragment44(ctx) {
|
|
3401
3314
|
let svg;
|
|
3402
3315
|
let path;
|
|
3403
3316
|
let svg_class_value;
|
|
@@ -3433,7 +3346,7 @@ function create_fragment45(ctx) {
|
|
|
3433
3346
|
}
|
|
3434
3347
|
};
|
|
3435
3348
|
}
|
|
3436
|
-
function
|
|
3349
|
+
function instance44($$self, $$props, $$invalidate) {
|
|
3437
3350
|
let { theme = "light" } = $$props;
|
|
3438
3351
|
let { active = false } = $$props;
|
|
3439
3352
|
$$self.$$set = ($$props2) => {
|
|
@@ -3447,7 +3360,7 @@ function instance45($$self, $$props, $$invalidate) {
|
|
|
3447
3360
|
var Loading = class extends SvelteComponent {
|
|
3448
3361
|
constructor(options) {
|
|
3449
3362
|
super();
|
|
3450
|
-
init(this, options,
|
|
3363
|
+
init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
|
|
3451
3364
|
}
|
|
3452
3365
|
};
|
|
3453
3366
|
var Loading_default = Loading;
|
|
@@ -3461,7 +3374,6 @@ var Icons = {
|
|
|
3461
3374
|
BalloonBolded: BalloonBolded_default,
|
|
3462
3375
|
Circle: Circle_default,
|
|
3463
3376
|
CircleBolded: CircleBolded_default,
|
|
3464
|
-
Clean: Clean_default,
|
|
3465
3377
|
Clear: Clear_default,
|
|
3466
3378
|
Click: Click_default,
|
|
3467
3379
|
ClickFilled: ClickFilled_default,
|
|
@@ -3513,12 +3425,12 @@ if (is_client) {
|
|
|
3513
3425
|
{
|
|
3514
3426
|
name: "className",
|
|
3515
3427
|
defaultValue: "",
|
|
3516
|
-
fn(
|
|
3428
|
+
fn(instance59) {
|
|
3517
3429
|
function add() {
|
|
3518
|
-
const el =
|
|
3430
|
+
const el = instance59.popper.firstElementChild;
|
|
3519
3431
|
if (el) {
|
|
3520
3432
|
el.classList.add("fastboard-tip");
|
|
3521
|
-
const extra = (
|
|
3433
|
+
const extra = (instance59.props.className || "").trim();
|
|
3522
3434
|
if (extra) {
|
|
3523
3435
|
el.classList.add(extra);
|
|
3524
3436
|
}
|
|
@@ -3526,7 +3438,7 @@ if (is_client) {
|
|
|
3526
3438
|
}
|
|
3527
3439
|
function remove() {
|
|
3528
3440
|
var _a;
|
|
3529
|
-
(_a =
|
|
3441
|
+
(_a = instance59.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3530
3442
|
}
|
|
3531
3443
|
return {
|
|
3532
3444
|
onCreate: add,
|
|
@@ -3539,21 +3451,21 @@ if (is_client) {
|
|
|
3539
3451
|
});
|
|
3540
3452
|
}
|
|
3541
3453
|
var tippy = function(node, props) {
|
|
3542
|
-
const
|
|
3454
|
+
const instance59 = (0, import_tippy.default)(node, props);
|
|
3543
3455
|
return {
|
|
3544
3456
|
update(props2) {
|
|
3545
|
-
|
|
3457
|
+
instance59.setProps(props2);
|
|
3546
3458
|
},
|
|
3547
3459
|
destroy() {
|
|
3548
|
-
|
|
3460
|
+
instance59.destroy();
|
|
3549
3461
|
}
|
|
3550
3462
|
};
|
|
3551
3463
|
};
|
|
3552
3464
|
function tippy_hide_all() {
|
|
3553
3465
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3554
|
-
const
|
|
3555
|
-
if (
|
|
3556
|
-
|
|
3466
|
+
const instance59 = el._tippy;
|
|
3467
|
+
if (instance59)
|
|
3468
|
+
instance59.hide();
|
|
3557
3469
|
});
|
|
3558
3470
|
}
|
|
3559
3471
|
var tippy_menu = {
|
|
@@ -3637,7 +3549,7 @@ function create_if_block2(ctx) {
|
|
|
3637
3549
|
return 0;
|
|
3638
3550
|
return 1;
|
|
3639
3551
|
}
|
|
3640
|
-
current_block_type_index = select_block_type_1(ctx
|
|
3552
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
3641
3553
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3642
3554
|
return {
|
|
3643
3555
|
c() {
|
|
@@ -3651,7 +3563,7 @@ function create_if_block2(ctx) {
|
|
|
3651
3563
|
},
|
|
3652
3564
|
p(ctx2, dirty) {
|
|
3653
3565
|
let previous_block_index = current_block_type_index;
|
|
3654
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
3566
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
3655
3567
|
if (current_block_type_index === previous_block_index) {
|
|
3656
3568
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3657
3569
|
} else {
|
|
@@ -3873,7 +3785,7 @@ function create_if_block_1(ctx) {
|
|
|
3873
3785
|
}
|
|
3874
3786
|
};
|
|
3875
3787
|
}
|
|
3876
|
-
function
|
|
3788
|
+
function create_fragment45(ctx) {
|
|
3877
3789
|
let current_block_type_index;
|
|
3878
3790
|
let if_block;
|
|
3879
3791
|
let if_block_anchor;
|
|
@@ -3885,7 +3797,7 @@ function create_fragment46(ctx) {
|
|
|
3885
3797
|
return 0;
|
|
3886
3798
|
return 1;
|
|
3887
3799
|
}
|
|
3888
|
-
current_block_type_index = select_block_type(ctx
|
|
3800
|
+
current_block_type_index = select_block_type(ctx);
|
|
3889
3801
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3890
3802
|
return {
|
|
3891
3803
|
c() {
|
|
@@ -3899,7 +3811,7 @@ function create_fragment46(ctx) {
|
|
|
3899
3811
|
},
|
|
3900
3812
|
p(ctx2, [dirty]) {
|
|
3901
3813
|
let previous_block_index = current_block_type_index;
|
|
3902
|
-
current_block_type_index = select_block_type(ctx2
|
|
3814
|
+
current_block_type_index = select_block_type(ctx2);
|
|
3903
3815
|
if (current_block_type_index === previous_block_index) {
|
|
3904
3816
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3905
3817
|
} else {
|
|
@@ -3936,7 +3848,7 @@ function create_fragment46(ctx) {
|
|
|
3936
3848
|
}
|
|
3937
3849
|
};
|
|
3938
3850
|
}
|
|
3939
|
-
function
|
|
3851
|
+
function instance45($$self, $$props, $$invalidate) {
|
|
3940
3852
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
3941
3853
|
let { class: className = "" } = $$props;
|
|
3942
3854
|
let { name: name10 = "fastboard-ui" } = $$props;
|
|
@@ -3994,7 +3906,7 @@ function instance46($$self, $$props, $$invalidate) {
|
|
|
3994
3906
|
var Button = class extends SvelteComponent {
|
|
3995
3907
|
constructor(options) {
|
|
3996
3908
|
super();
|
|
3997
|
-
init(this, options,
|
|
3909
|
+
init(this, options, instance45, create_fragment45, safe_not_equal, {
|
|
3998
3910
|
class: 0,
|
|
3999
3911
|
name: 1,
|
|
4000
3912
|
theme: 2,
|
|
@@ -4165,7 +4077,7 @@ function create_default_slot(ctx) {
|
|
|
4165
4077
|
}
|
|
4166
4078
|
};
|
|
4167
4079
|
}
|
|
4168
|
-
function
|
|
4080
|
+
function create_fragment46(ctx) {
|
|
4169
4081
|
let div;
|
|
4170
4082
|
let button0;
|
|
4171
4083
|
let t_1;
|
|
@@ -4266,7 +4178,7 @@ var i18n = {
|
|
|
4266
4178
|
}
|
|
4267
4179
|
};
|
|
4268
4180
|
var name = "fastboard-redo-undo";
|
|
4269
|
-
function
|
|
4181
|
+
function instance46($$self, $$props, $$invalidate) {
|
|
4270
4182
|
let writable2;
|
|
4271
4183
|
let disabled;
|
|
4272
4184
|
let t;
|
|
@@ -4303,36 +4215,28 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4303
4215
|
};
|
|
4304
4216
|
$$self.$$.update = () => {
|
|
4305
4217
|
if ($$self.$$.dirty & 2048) {
|
|
4306
|
-
|
|
4307
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4218
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4308
4219
|
}
|
|
4309
4220
|
if ($$self.$$.dirty & 65536) {
|
|
4310
|
-
|
|
4311
|
-
$$invalidate(13, disabled = !$writable);
|
|
4221
|
+
$$invalidate(13, disabled = !$writable);
|
|
4312
4222
|
}
|
|
4313
4223
|
if ($$self.$$.dirty & 4096) {
|
|
4314
|
-
|
|
4315
|
-
$$invalidate(7, t = i18n[language]);
|
|
4224
|
+
$$invalidate(7, t = i18n[language]);
|
|
4316
4225
|
}
|
|
4317
4226
|
if ($$self.$$.dirty & 8192) {
|
|
4318
|
-
|
|
4319
|
-
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4227
|
+
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4320
4228
|
}
|
|
4321
4229
|
if ($$self.$$.dirty & 2048) {
|
|
4322
|
-
|
|
4323
|
-
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4230
|
+
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4324
4231
|
}
|
|
4325
4232
|
if ($$self.$$.dirty & 2048) {
|
|
4326
|
-
|
|
4327
|
-
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4233
|
+
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4328
4234
|
}
|
|
4329
4235
|
if ($$self.$$.dirty & 40960) {
|
|
4330
|
-
|
|
4331
|
-
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4236
|
+
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4332
4237
|
}
|
|
4333
4238
|
if ($$self.$$.dirty & 24576) {
|
|
4334
|
-
|
|
4335
|
-
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4239
|
+
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4336
4240
|
}
|
|
4337
4241
|
};
|
|
4338
4242
|
return [
|
|
@@ -4358,7 +4262,7 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4358
4262
|
var RedoUndo = class extends SvelteComponent {
|
|
4359
4263
|
constructor(options) {
|
|
4360
4264
|
super();
|
|
4361
|
-
init(this, options,
|
|
4265
|
+
init(this, options, instance46, create_fragment46, safe_not_equal, {
|
|
4362
4266
|
app: 11,
|
|
4363
4267
|
theme: 0,
|
|
4364
4268
|
language: 12,
|
|
@@ -4651,7 +4555,7 @@ function create_default_slot2(ctx) {
|
|
|
4651
4555
|
}
|
|
4652
4556
|
};
|
|
4653
4557
|
}
|
|
4654
|
-
function
|
|
4558
|
+
function create_fragment47(ctx) {
|
|
4655
4559
|
let div;
|
|
4656
4560
|
let button0;
|
|
4657
4561
|
let t0;
|
|
@@ -4680,7 +4584,7 @@ function create_fragment48(ctx) {
|
|
|
4680
4584
|
return create_if_block3;
|
|
4681
4585
|
return create_else_block3;
|
|
4682
4586
|
}
|
|
4683
|
-
let current_block_type = select_block_type(ctx
|
|
4587
|
+
let current_block_type = select_block_type(ctx);
|
|
4684
4588
|
let if_block = current_block_type(ctx);
|
|
4685
4589
|
button1 = new Button_default({
|
|
4686
4590
|
props: {
|
|
@@ -4744,7 +4648,7 @@ function create_fragment48(ctx) {
|
|
|
4744
4648
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
4745
4649
|
}
|
|
4746
4650
|
button0.$set(button0_changes);
|
|
4747
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
4651
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
4748
4652
|
if_block.p(ctx2, dirty);
|
|
4749
4653
|
} else {
|
|
4750
4654
|
if_block.d(1);
|
|
@@ -4820,7 +4724,7 @@ var i18n2 = {
|
|
|
4820
4724
|
}
|
|
4821
4725
|
};
|
|
4822
4726
|
var name2 = "fastboard-page-control";
|
|
4823
|
-
function
|
|
4727
|
+
function instance47($$self, $$props, $$invalidate) {
|
|
4824
4728
|
let writable2;
|
|
4825
4729
|
let disabled;
|
|
4826
4730
|
let t;
|
|
@@ -4861,36 +4765,28 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4861
4765
|
};
|
|
4862
4766
|
$$self.$$.update = () => {
|
|
4863
4767
|
if ($$self.$$.dirty & 32768) {
|
|
4864
|
-
|
|
4865
|
-
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4768
|
+
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4866
4769
|
}
|
|
4867
4770
|
if ($$self.$$.dirty & 131072) {
|
|
4868
|
-
|
|
4869
|
-
$$invalidate(2, disabled = !$writable);
|
|
4771
|
+
$$invalidate(2, disabled = !$writable);
|
|
4870
4772
|
}
|
|
4871
4773
|
if ($$self.$$.dirty & 65536) {
|
|
4872
|
-
|
|
4873
|
-
$$invalidate(10, t = i18n2[language]);
|
|
4774
|
+
$$invalidate(10, t = i18n2[language]);
|
|
4874
4775
|
}
|
|
4875
4776
|
if ($$self.$$.dirty & 4) {
|
|
4876
|
-
|
|
4877
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4777
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4878
4778
|
}
|
|
4879
4779
|
if ($$self.$$.dirty & 32768) {
|
|
4880
|
-
|
|
4881
|
-
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4780
|
+
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4882
4781
|
}
|
|
4883
4782
|
if ($$self.$$.dirty & 32768) {
|
|
4884
|
-
|
|
4885
|
-
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4783
|
+
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4886
4784
|
}
|
|
4887
4785
|
if ($$self.$$.dirty & 20) {
|
|
4888
|
-
|
|
4889
|
-
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4786
|
+
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4890
4787
|
}
|
|
4891
4788
|
if ($$self.$$.dirty & 28) {
|
|
4892
|
-
|
|
4893
|
-
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4789
|
+
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4894
4790
|
}
|
|
4895
4791
|
};
|
|
4896
4792
|
return [
|
|
@@ -4917,7 +4813,7 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4917
4813
|
var PageControl = class extends SvelteComponent {
|
|
4918
4814
|
constructor(options) {
|
|
4919
4815
|
super();
|
|
4920
|
-
init(this, options,
|
|
4816
|
+
init(this, options, instance47, create_fragment47, safe_not_equal, {
|
|
4921
4817
|
app: 15,
|
|
4922
4818
|
theme: 0,
|
|
4923
4819
|
language: 16,
|
|
@@ -5208,7 +5104,7 @@ function create_default_slot3(ctx) {
|
|
|
5208
5104
|
}
|
|
5209
5105
|
};
|
|
5210
5106
|
}
|
|
5211
|
-
function
|
|
5107
|
+
function create_fragment48(ctx) {
|
|
5212
5108
|
let div;
|
|
5213
5109
|
let button0;
|
|
5214
5110
|
let t0;
|
|
@@ -5237,7 +5133,7 @@ function create_fragment49(ctx) {
|
|
|
5237
5133
|
return create_if_block4;
|
|
5238
5134
|
return create_else_block4;
|
|
5239
5135
|
}
|
|
5240
|
-
let current_block_type = select_block_type(ctx
|
|
5136
|
+
let current_block_type = select_block_type(ctx);
|
|
5241
5137
|
let if_block = current_block_type(ctx);
|
|
5242
5138
|
button1 = new Button_default({
|
|
5243
5139
|
props: {
|
|
@@ -5301,7 +5197,7 @@ function create_fragment49(ctx) {
|
|
|
5301
5197
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
5302
5198
|
}
|
|
5303
5199
|
button0.$set(button0_changes);
|
|
5304
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
5200
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
5305
5201
|
if_block.p(ctx2, dirty);
|
|
5306
5202
|
} else {
|
|
5307
5203
|
if_block.d(1);
|
|
@@ -5406,7 +5302,7 @@ function next_scale(scale, delta) {
|
|
|
5406
5302
|
return 1;
|
|
5407
5303
|
}
|
|
5408
5304
|
var name3 = "fastboard-zoom-control";
|
|
5409
|
-
function
|
|
5305
|
+
function instance48($$self, $$props, $$invalidate) {
|
|
5410
5306
|
let writable2;
|
|
5411
5307
|
let disabled;
|
|
5412
5308
|
let t;
|
|
@@ -5453,36 +5349,28 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5453
5349
|
$$self.$$.update = () => {
|
|
5454
5350
|
var _a;
|
|
5455
5351
|
if ($$self.$$.dirty & 16384) {
|
|
5456
|
-
|
|
5457
|
-
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5352
|
+
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5458
5353
|
}
|
|
5459
5354
|
if ($$self.$$.dirty & 65536) {
|
|
5460
|
-
|
|
5461
|
-
$$invalidate(3, disabled = !$writable);
|
|
5355
|
+
$$invalidate(3, disabled = !$writable);
|
|
5462
5356
|
}
|
|
5463
5357
|
if ($$self.$$.dirty & 32768) {
|
|
5464
|
-
|
|
5465
|
-
$$invalidate(9, t = i18n3[language]);
|
|
5358
|
+
$$invalidate(9, t = i18n3[language]);
|
|
5466
5359
|
}
|
|
5467
5360
|
if ($$self.$$.dirty & 8) {
|
|
5468
|
-
|
|
5469
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5361
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5470
5362
|
}
|
|
5471
5363
|
if ($$self.$$.dirty & 16384) {
|
|
5472
|
-
|
|
5473
|
-
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5364
|
+
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5474
5365
|
}
|
|
5475
5366
|
if ($$self.$$.dirty & 16) {
|
|
5476
|
-
|
|
5477
|
-
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5367
|
+
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5478
5368
|
}
|
|
5479
5369
|
if ($$self.$$.dirty & 12) {
|
|
5480
|
-
|
|
5481
|
-
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5370
|
+
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5482
5371
|
}
|
|
5483
5372
|
if ($$self.$$.dirty & 12) {
|
|
5484
|
-
|
|
5485
|
-
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5373
|
+
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5486
5374
|
}
|
|
5487
5375
|
};
|
|
5488
5376
|
return [
|
|
@@ -5508,7 +5396,7 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5508
5396
|
var ZoomControl = class extends SvelteComponent {
|
|
5509
5397
|
constructor(options) {
|
|
5510
5398
|
super();
|
|
5511
|
-
init(this, options,
|
|
5399
|
+
init(this, options, instance48, create_fragment48, safe_not_equal, {
|
|
5512
5400
|
app: 14,
|
|
5513
5401
|
theme: 0,
|
|
5514
5402
|
language: 15,
|
|
@@ -5736,7 +5624,10 @@ var apps = new AppsInToolbar([
|
|
|
5736
5624
|
icon: visual_studio_code_default,
|
|
5737
5625
|
label: "Code Editor",
|
|
5738
5626
|
onClick(app) {
|
|
5739
|
-
app.
|
|
5627
|
+
app.manager.addApp({
|
|
5628
|
+
kind: "Monaco",
|
|
5629
|
+
options: { title: "Code Editor" }
|
|
5630
|
+
});
|
|
5740
5631
|
}
|
|
5741
5632
|
},
|
|
5742
5633
|
{
|
|
@@ -5744,7 +5635,10 @@ var apps = new AppsInToolbar([
|
|
|
5744
5635
|
icon: geogebra_default,
|
|
5745
5636
|
label: "GeoGebra",
|
|
5746
5637
|
onClick(app) {
|
|
5747
|
-
app.
|
|
5638
|
+
app.manager.addApp({
|
|
5639
|
+
kind: "GeoGebra",
|
|
5640
|
+
options: { title: "GeoGebra" }
|
|
5641
|
+
});
|
|
5748
5642
|
}
|
|
5749
5643
|
},
|
|
5750
5644
|
{
|
|
@@ -5752,7 +5646,10 @@ var apps = new AppsInToolbar([
|
|
|
5752
5646
|
icon: countdown_default,
|
|
5753
5647
|
label: "Countdown",
|
|
5754
5648
|
onClick(app) {
|
|
5755
|
-
app.
|
|
5649
|
+
app.manager.addApp({
|
|
5650
|
+
kind: "Countdown",
|
|
5651
|
+
options: { title: "Countdown" }
|
|
5652
|
+
});
|
|
5756
5653
|
}
|
|
5757
5654
|
}
|
|
5758
5655
|
]);
|
|
@@ -5774,7 +5671,7 @@ function tooltip(text2, hotkey) {
|
|
|
5774
5671
|
}
|
|
5775
5672
|
|
|
5776
5673
|
// src/components/Toolbar/components/Slider.svelte
|
|
5777
|
-
function
|
|
5674
|
+
function create_fragment49(ctx) {
|
|
5778
5675
|
let div;
|
|
5779
5676
|
let input;
|
|
5780
5677
|
let input_class_value;
|
|
@@ -5862,7 +5759,7 @@ function create_fragment50(ctx) {
|
|
|
5862
5759
|
};
|
|
5863
5760
|
}
|
|
5864
5761
|
var name4 = "fastboard-slider";
|
|
5865
|
-
function
|
|
5762
|
+
function instance49($$self, $$props, $$invalidate) {
|
|
5866
5763
|
let percent;
|
|
5867
5764
|
const dispatch = createEventDispatcher();
|
|
5868
5765
|
let { class: className = "" } = $$props;
|
|
@@ -5904,14 +5801,12 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5904
5801
|
};
|
|
5905
5802
|
$$self.$$.update = () => {
|
|
5906
5803
|
if ($$self.$$.dirty & 385) {
|
|
5907
|
-
|
|
5908
|
-
if (value !== real_value && !grabbing) {
|
|
5804
|
+
if (value !== real_value && !grabbing) {
|
|
5909
5805
|
$$invalidate(7, real_value = value);
|
|
5910
5806
|
}
|
|
5911
5807
|
}
|
|
5912
5808
|
if ($$self.$$.dirty & 152) {
|
|
5913
|
-
|
|
5914
|
-
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5809
|
+
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5915
5810
|
}
|
|
5916
5811
|
};
|
|
5917
5812
|
return [
|
|
@@ -5933,7 +5828,7 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5933
5828
|
var Slider = class extends SvelteComponent {
|
|
5934
5829
|
constructor(options) {
|
|
5935
5830
|
super();
|
|
5936
|
-
init(this, options,
|
|
5831
|
+
init(this, options, instance49, create_fragment49, safe_not_equal, {
|
|
5937
5832
|
class: 1,
|
|
5938
5833
|
theme: 2,
|
|
5939
5834
|
min: 3,
|
|
@@ -5947,7 +5842,7 @@ var Slider = class extends SvelteComponent {
|
|
|
5947
5842
|
var Slider_default = Slider;
|
|
5948
5843
|
|
|
5949
5844
|
// src/components/Toolbar/components/StrokeWidth.svelte
|
|
5950
|
-
function
|
|
5845
|
+
function create_fragment50(ctx) {
|
|
5951
5846
|
let slider;
|
|
5952
5847
|
let current;
|
|
5953
5848
|
const slider_spread_levels = [
|
|
@@ -5994,7 +5889,7 @@ function create_fragment51(ctx) {
|
|
|
5994
5889
|
}
|
|
5995
5890
|
};
|
|
5996
5891
|
}
|
|
5997
|
-
function
|
|
5892
|
+
function instance50($$self, $$props, $$invalidate) {
|
|
5998
5893
|
let memberState;
|
|
5999
5894
|
let value;
|
|
6000
5895
|
let props;
|
|
@@ -6017,16 +5912,13 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6017
5912
|
$$self.$$.update = () => {
|
|
6018
5913
|
var _a;
|
|
6019
5914
|
if ($$self.$$.dirty & 8) {
|
|
6020
|
-
|
|
6021
|
-
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5915
|
+
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
6022
5916
|
}
|
|
6023
5917
|
if ($$self.$$.dirty & 128) {
|
|
6024
|
-
|
|
6025
|
-
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
5918
|
+
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
6026
5919
|
}
|
|
6027
5920
|
if ($$self.$$.dirty & 112) {
|
|
6028
|
-
|
|
6029
|
-
$$invalidate(0, props = { value, theme, disabled });
|
|
5921
|
+
$$invalidate(0, props = { value, theme, disabled });
|
|
6030
5922
|
}
|
|
6031
5923
|
};
|
|
6032
5924
|
return [
|
|
@@ -6043,7 +5935,7 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6043
5935
|
var StrokeWidth = class extends SvelteComponent {
|
|
6044
5936
|
constructor(options) {
|
|
6045
5937
|
super();
|
|
6046
|
-
init(this, options,
|
|
5938
|
+
init(this, options, instance50, create_fragment50, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
|
|
6047
5939
|
}
|
|
6048
5940
|
};
|
|
6049
5941
|
var StrokeWidth_default = StrokeWidth;
|
|
@@ -6059,7 +5951,6 @@ function create_each_block(key_1, ctx) {
|
|
|
6059
5951
|
let span;
|
|
6060
5952
|
let t;
|
|
6061
5953
|
let button_class_value;
|
|
6062
|
-
let button_data_color_key_value;
|
|
6063
5954
|
return {
|
|
6064
5955
|
key: key_1,
|
|
6065
5956
|
first: null,
|
|
@@ -6070,7 +5961,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6070
5961
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6071
5962
|
set_style(span, "background-color", ctx[7], false);
|
|
6072
5963
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6073
|
-
attr(button, "data-color-key",
|
|
5964
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6074
5965
|
button.disabled = ctx[1];
|
|
6075
5966
|
toggle_class(button, "is-active", is_equal_color(ctx[2], colors[ctx[7]]));
|
|
6076
5967
|
this.first = button;
|
|
@@ -6098,7 +5989,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6098
5989
|
}
|
|
6099
5990
|
};
|
|
6100
5991
|
}
|
|
6101
|
-
function
|
|
5992
|
+
function create_fragment51(ctx) {
|
|
6102
5993
|
let div;
|
|
6103
5994
|
let each_blocks = [];
|
|
6104
5995
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6155,7 +6046,7 @@ function create_fragment52(ctx) {
|
|
|
6155
6046
|
function is_equal_color(a, b) {
|
|
6156
6047
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6157
6048
|
}
|
|
6158
|
-
function
|
|
6049
|
+
function instance51($$self, $$props, $$invalidate) {
|
|
6159
6050
|
let memberState;
|
|
6160
6051
|
let strokeColor;
|
|
6161
6052
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6182,12 +6073,10 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6182
6073
|
};
|
|
6183
6074
|
$$self.$$.update = () => {
|
|
6184
6075
|
if ($$self.$$.dirty & 32) {
|
|
6185
|
-
|
|
6186
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6076
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6187
6077
|
}
|
|
6188
6078
|
if ($$self.$$.dirty & 64) {
|
|
6189
|
-
|
|
6190
|
-
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6079
|
+
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6191
6080
|
}
|
|
6192
6081
|
};
|
|
6193
6082
|
return [theme, disabled, strokeColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6195,7 +6084,7 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6195
6084
|
var StrokeColor = class extends SvelteComponent {
|
|
6196
6085
|
constructor(options) {
|
|
6197
6086
|
super();
|
|
6198
|
-
init(this, options,
|
|
6087
|
+
init(this, options, instance51, create_fragment51, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6199
6088
|
}
|
|
6200
6089
|
};
|
|
6201
6090
|
var StrokeColor_default = StrokeColor;
|
|
@@ -6211,7 +6100,6 @@ function create_each_block2(key_1, ctx) {
|
|
|
6211
6100
|
let span;
|
|
6212
6101
|
let t;
|
|
6213
6102
|
let button_class_value;
|
|
6214
|
-
let button_data_color_key_value;
|
|
6215
6103
|
return {
|
|
6216
6104
|
key: key_1,
|
|
6217
6105
|
first: null,
|
|
@@ -6222,7 +6110,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6222
6110
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6223
6111
|
set_style(span, "background-color", ctx[7], false);
|
|
6224
6112
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6225
|
-
attr(button, "data-color-key",
|
|
6113
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6226
6114
|
button.disabled = ctx[1];
|
|
6227
6115
|
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6228
6116
|
this.first = button;
|
|
@@ -6250,7 +6138,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6250
6138
|
}
|
|
6251
6139
|
};
|
|
6252
6140
|
}
|
|
6253
|
-
function
|
|
6141
|
+
function create_fragment52(ctx) {
|
|
6254
6142
|
let div;
|
|
6255
6143
|
let each_blocks = [];
|
|
6256
6144
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6307,7 +6195,7 @@ function create_fragment53(ctx) {
|
|
|
6307
6195
|
function is_equal_color2(a, b) {
|
|
6308
6196
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6309
6197
|
}
|
|
6310
|
-
function
|
|
6198
|
+
function instance52($$self, $$props, $$invalidate) {
|
|
6311
6199
|
let memberState;
|
|
6312
6200
|
let textColor;
|
|
6313
6201
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6334,12 +6222,10 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6334
6222
|
};
|
|
6335
6223
|
$$self.$$.update = () => {
|
|
6336
6224
|
if ($$self.$$.dirty & 32) {
|
|
6337
|
-
|
|
6338
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6225
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6339
6226
|
}
|
|
6340
6227
|
if ($$self.$$.dirty & 64) {
|
|
6341
|
-
|
|
6342
|
-
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6228
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6343
6229
|
}
|
|
6344
6230
|
};
|
|
6345
6231
|
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6347,7 +6233,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6347
6233
|
var TextColor = class extends SvelteComponent {
|
|
6348
6234
|
constructor(options) {
|
|
6349
6235
|
super();
|
|
6350
|
-
init(this, options,
|
|
6236
|
+
init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6351
6237
|
}
|
|
6352
6238
|
};
|
|
6353
6239
|
var TextColor_default = TextColor;
|
|
@@ -6506,7 +6392,6 @@ function create_each_block3(key_1, ctx) {
|
|
|
6506
6392
|
let if_block;
|
|
6507
6393
|
let t_1;
|
|
6508
6394
|
let button_class_value;
|
|
6509
|
-
let button_data_shape_key_value;
|
|
6510
6395
|
let tippy_action;
|
|
6511
6396
|
let current;
|
|
6512
6397
|
let mounted;
|
|
@@ -6518,7 +6403,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6518
6403
|
return 0;
|
|
6519
6404
|
return 1;
|
|
6520
6405
|
}
|
|
6521
|
-
current_block_type_index = select_block_type(ctx
|
|
6406
|
+
current_block_type_index = select_block_type(ctx);
|
|
6522
6407
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6523
6408
|
return {
|
|
6524
6409
|
key: key_1,
|
|
@@ -6528,7 +6413,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6528
6413
|
if_block.c();
|
|
6529
6414
|
t_1 = space();
|
|
6530
6415
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
|
|
6531
|
-
attr(button, "data-shape-key",
|
|
6416
|
+
attr(button, "data-shape-key", ctx[12]);
|
|
6532
6417
|
button.disabled = ctx[1];
|
|
6533
6418
|
toggle_class(button, "is-active", ctx[13]);
|
|
6534
6419
|
this.first = button;
|
|
@@ -6549,7 +6434,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6549
6434
|
p(new_ctx, dirty) {
|
|
6550
6435
|
ctx = new_ctx;
|
|
6551
6436
|
let previous_block_index = current_block_type_index;
|
|
6552
|
-
current_block_type_index = select_block_type(ctx
|
|
6437
|
+
current_block_type_index = select_block_type(ctx);
|
|
6553
6438
|
if (current_block_type_index === previous_block_index) {
|
|
6554
6439
|
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
6555
6440
|
} else {
|
|
@@ -6602,7 +6487,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6602
6487
|
}
|
|
6603
6488
|
};
|
|
6604
6489
|
}
|
|
6605
|
-
function
|
|
6490
|
+
function create_fragment53(ctx) {
|
|
6606
6491
|
let div;
|
|
6607
6492
|
let each_blocks = [];
|
|
6608
6493
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6694,7 +6579,7 @@ var i18n5 = {
|
|
|
6694
6579
|
speechBalloon: "\u6C14\u6CE1"
|
|
6695
6580
|
}
|
|
6696
6581
|
};
|
|
6697
|
-
function
|
|
6582
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6698
6583
|
let t;
|
|
6699
6584
|
let memberState;
|
|
6700
6585
|
let appliance;
|
|
@@ -6732,28 +6617,22 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6732
6617
|
};
|
|
6733
6618
|
$$self.$$.update = () => {
|
|
6734
6619
|
if ($$self.$$.dirty & 512) {
|
|
6735
|
-
|
|
6736
|
-
$$invalidate(6, t = i18n5[language]);
|
|
6620
|
+
$$invalidate(6, t = i18n5[language]);
|
|
6737
6621
|
}
|
|
6738
6622
|
if ($$self.$$.dirty & 256) {
|
|
6739
|
-
|
|
6740
|
-
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6623
|
+
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6741
6624
|
}
|
|
6742
6625
|
if ($$self.$$.dirty & 2048) {
|
|
6743
|
-
|
|
6744
|
-
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6626
|
+
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6745
6627
|
}
|
|
6746
6628
|
if ($$self.$$.dirty & 2048) {
|
|
6747
|
-
|
|
6748
|
-
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6629
|
+
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6749
6630
|
}
|
|
6750
6631
|
if ($$self.$$.dirty & 256) {
|
|
6751
|
-
|
|
6752
|
-
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6632
|
+
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6753
6633
|
}
|
|
6754
6634
|
if ($$self.$$.dirty & 1024) {
|
|
6755
|
-
|
|
6756
|
-
$$invalidate(2, c = {
|
|
6635
|
+
$$invalidate(2, c = {
|
|
6757
6636
|
rectangle: hotkeys == null ? void 0 : hotkeys.changeToRectangle,
|
|
6758
6637
|
ellipse: hotkeys == null ? void 0 : hotkeys.changeToEllipse,
|
|
6759
6638
|
straight: hotkeys == null ? void 0 : hotkeys.changeToStraight,
|
|
@@ -6779,7 +6658,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6779
6658
|
var Shapes = class extends SvelteComponent {
|
|
6780
6659
|
constructor(options) {
|
|
6781
6660
|
super();
|
|
6782
|
-
init(this, options,
|
|
6661
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, {
|
|
6783
6662
|
app: 8,
|
|
6784
6663
|
theme: 0,
|
|
6785
6664
|
language: 9,
|
|
@@ -6963,7 +6842,7 @@ function create_default_slot_8(ctx) {
|
|
|
6963
6842
|
return 0;
|
|
6964
6843
|
return 1;
|
|
6965
6844
|
}
|
|
6966
|
-
current_block_type_index = select_block_type(ctx
|
|
6845
|
+
current_block_type_index = select_block_type(ctx);
|
|
6967
6846
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6968
6847
|
return {
|
|
6969
6848
|
c() {
|
|
@@ -6977,7 +6856,7 @@ function create_default_slot_8(ctx) {
|
|
|
6977
6856
|
},
|
|
6978
6857
|
p(ctx2, dirty) {
|
|
6979
6858
|
let previous_block_index = current_block_type_index;
|
|
6980
|
-
current_block_type_index = select_block_type(ctx2
|
|
6859
|
+
current_block_type_index = select_block_type(ctx2);
|
|
6981
6860
|
if (current_block_type_index === previous_block_index) {
|
|
6982
6861
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
6983
6862
|
} else {
|
|
@@ -7094,7 +6973,7 @@ function create_default_slot_7(ctx) {
|
|
|
7094
6973
|
return 0;
|
|
7095
6974
|
return 1;
|
|
7096
6975
|
}
|
|
7097
|
-
current_block_type_index = select_block_type_1(ctx
|
|
6976
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
7098
6977
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7099
6978
|
return {
|
|
7100
6979
|
c() {
|
|
@@ -7108,7 +6987,7 @@ function create_default_slot_7(ctx) {
|
|
|
7108
6987
|
},
|
|
7109
6988
|
p(ctx2, dirty) {
|
|
7110
6989
|
let previous_block_index = current_block_type_index;
|
|
7111
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
6990
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
7112
6991
|
if (current_block_type_index === previous_block_index) {
|
|
7113
6992
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7114
6993
|
} else {
|
|
@@ -7225,7 +7104,7 @@ function create_default_slot_6(ctx) {
|
|
|
7225
7104
|
return 0;
|
|
7226
7105
|
return 1;
|
|
7227
7106
|
}
|
|
7228
|
-
current_block_type_index = select_block_type_2(ctx
|
|
7107
|
+
current_block_type_index = select_block_type_2(ctx);
|
|
7229
7108
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7230
7109
|
return {
|
|
7231
7110
|
c() {
|
|
@@ -7239,7 +7118,7 @@ function create_default_slot_6(ctx) {
|
|
|
7239
7118
|
},
|
|
7240
7119
|
p(ctx2, dirty) {
|
|
7241
7120
|
let previous_block_index = current_block_type_index;
|
|
7242
|
-
current_block_type_index = select_block_type_2(ctx2
|
|
7121
|
+
current_block_type_index = select_block_type_2(ctx2);
|
|
7243
7122
|
if (current_block_type_index === previous_block_index) {
|
|
7244
7123
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7245
7124
|
} else {
|
|
@@ -7356,7 +7235,7 @@ function create_default_slot_53(ctx) {
|
|
|
7356
7235
|
return 0;
|
|
7357
7236
|
return 1;
|
|
7358
7237
|
}
|
|
7359
|
-
current_block_type_index = select_block_type_3(ctx
|
|
7238
|
+
current_block_type_index = select_block_type_3(ctx);
|
|
7360
7239
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7361
7240
|
return {
|
|
7362
7241
|
c() {
|
|
@@ -7370,7 +7249,7 @@ function create_default_slot_53(ctx) {
|
|
|
7370
7249
|
},
|
|
7371
7250
|
p(ctx2, dirty) {
|
|
7372
7251
|
let previous_block_index = current_block_type_index;
|
|
7373
|
-
current_block_type_index = select_block_type_3(ctx2
|
|
7252
|
+
current_block_type_index = select_block_type_3(ctx2);
|
|
7374
7253
|
if (current_block_type_index === previous_block_index) {
|
|
7375
7254
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7376
7255
|
} else {
|
|
@@ -7559,7 +7438,7 @@ function create_default_slot_43(ctx) {
|
|
|
7559
7438
|
return 0;
|
|
7560
7439
|
return 1;
|
|
7561
7440
|
}
|
|
7562
|
-
current_block_type_index = select_block_type_4(ctx
|
|
7441
|
+
current_block_type_index = select_block_type_4(ctx);
|
|
7563
7442
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7564
7443
|
return {
|
|
7565
7444
|
c() {
|
|
@@ -7573,7 +7452,7 @@ function create_default_slot_43(ctx) {
|
|
|
7573
7452
|
},
|
|
7574
7453
|
p(ctx2, dirty) {
|
|
7575
7454
|
let previous_block_index = current_block_type_index;
|
|
7576
|
-
current_block_type_index = select_block_type_4(ctx2
|
|
7455
|
+
current_block_type_index = select_block_type_4(ctx2);
|
|
7577
7456
|
if (current_block_type_index === previous_block_index) {
|
|
7578
7457
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7579
7458
|
} else {
|
|
@@ -7690,7 +7569,7 @@ function create_default_slot_34(ctx) {
|
|
|
7690
7569
|
return 0;
|
|
7691
7570
|
return 1;
|
|
7692
7571
|
}
|
|
7693
|
-
current_block_type_index = select_block_type_5(ctx
|
|
7572
|
+
current_block_type_index = select_block_type_5(ctx);
|
|
7694
7573
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7695
7574
|
return {
|
|
7696
7575
|
c() {
|
|
@@ -7704,7 +7583,7 @@ function create_default_slot_34(ctx) {
|
|
|
7704
7583
|
},
|
|
7705
7584
|
p(ctx2, dirty) {
|
|
7706
7585
|
let previous_block_index = current_block_type_index;
|
|
7707
|
-
current_block_type_index = select_block_type_5(ctx2
|
|
7586
|
+
current_block_type_index = select_block_type_5(ctx2);
|
|
7708
7587
|
if (current_block_type_index === previous_block_index) {
|
|
7709
7588
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7710
7589
|
} else {
|
|
@@ -8043,7 +7922,7 @@ function create_each_block4(ctx) {
|
|
|
8043
7922
|
}
|
|
8044
7923
|
};
|
|
8045
7924
|
}
|
|
8046
|
-
function
|
|
7925
|
+
function create_fragment54(ctx) {
|
|
8047
7926
|
let t0;
|
|
8048
7927
|
let div0;
|
|
8049
7928
|
let button0;
|
|
@@ -8060,9 +7939,7 @@ function create_fragment55(ctx) {
|
|
|
8060
7939
|
let t6;
|
|
8061
7940
|
let button6;
|
|
8062
7941
|
let t7;
|
|
8063
|
-
let div0_class_value;
|
|
8064
7942
|
let scrollHeight_action;
|
|
8065
|
-
let scrollTop_action;
|
|
8066
7943
|
let t8;
|
|
8067
7944
|
let t9;
|
|
8068
7945
|
let div8;
|
|
@@ -8070,32 +7947,24 @@ function create_fragment55(ctx) {
|
|
|
8070
7947
|
let strokewidth0;
|
|
8071
7948
|
let t10;
|
|
8072
7949
|
let div1;
|
|
8073
|
-
let div1_class_value;
|
|
8074
7950
|
let t11;
|
|
8075
7951
|
let strokecolor0;
|
|
8076
|
-
let div2_class_value;
|
|
8077
7952
|
let t12;
|
|
8078
7953
|
let div3;
|
|
8079
7954
|
let textcolor;
|
|
8080
|
-
let div3_class_value;
|
|
8081
7955
|
let t13;
|
|
8082
7956
|
let div6;
|
|
8083
7957
|
let shapes2;
|
|
8084
7958
|
let t14;
|
|
8085
7959
|
let div4;
|
|
8086
|
-
let div4_class_value;
|
|
8087
7960
|
let t15;
|
|
8088
7961
|
let strokewidth1;
|
|
8089
7962
|
let t16;
|
|
8090
7963
|
let div5;
|
|
8091
|
-
let div5_class_value;
|
|
8092
7964
|
let t17;
|
|
8093
7965
|
let strokecolor1;
|
|
8094
|
-
let div6_class_value;
|
|
8095
7966
|
let t18;
|
|
8096
7967
|
let div7;
|
|
8097
|
-
let div7_class_value;
|
|
8098
|
-
let div8_class_value;
|
|
8099
7968
|
let current;
|
|
8100
7969
|
let mounted;
|
|
8101
7970
|
let dispose;
|
|
@@ -8295,17 +8164,17 @@ function create_fragment55(ctx) {
|
|
|
8295
8164
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8296
8165
|
each_blocks[i].c();
|
|
8297
8166
|
}
|
|
8298
|
-
attr(div0, "class",
|
|
8167
|
+
attr(div0, "class", name5 + "-scrollable");
|
|
8299
8168
|
toggle_class(div0, "scrollable", ctx[5]);
|
|
8300
|
-
attr(div1, "class",
|
|
8301
|
-
attr(div2, "class",
|
|
8302
|
-
attr(div3, "class",
|
|
8303
|
-
attr(div4, "class",
|
|
8304
|
-
attr(div5, "class",
|
|
8305
|
-
attr(div6, "class",
|
|
8306
|
-
attr(div7, "class",
|
|
8169
|
+
attr(div1, "class", name5 + "-panel-divider");
|
|
8170
|
+
attr(div2, "class", name5 + "-panel pencil");
|
|
8171
|
+
attr(div3, "class", name5 + "-panel text");
|
|
8172
|
+
attr(div4, "class", name5 + "-panel-divider");
|
|
8173
|
+
attr(div5, "class", name5 + "-panel-divider");
|
|
8174
|
+
attr(div6, "class", name5 + "-panel shapes");
|
|
8175
|
+
attr(div7, "class", name5 + "-panel apps");
|
|
8307
8176
|
set_style(div7, "--n", ctx[19].length);
|
|
8308
|
-
attr(div8, "class",
|
|
8177
|
+
attr(div8, "class", name5 + "-panel-wrapper");
|
|
8309
8178
|
set_style(div8, "display", "none");
|
|
8310
8179
|
},
|
|
8311
8180
|
m(target, anchor) {
|
|
@@ -8367,7 +8236,7 @@ function create_fragment55(ctx) {
|
|
|
8367
8236
|
if (!mounted) {
|
|
8368
8237
|
dispose = [
|
|
8369
8238
|
action_destroyer(scrollHeight_action = scrollHeight.call(null, div0, ctx[4])),
|
|
8370
|
-
action_destroyer(
|
|
8239
|
+
action_destroyer(scrollTop.call(null, div0, ctx[21]))
|
|
8371
8240
|
];
|
|
8372
8241
|
mounted = true;
|
|
8373
8242
|
}
|
|
@@ -8654,7 +8523,7 @@ function create_fragment55(ctx) {
|
|
|
8654
8523
|
};
|
|
8655
8524
|
}
|
|
8656
8525
|
var name5 = "fastboard-toolbar";
|
|
8657
|
-
function
|
|
8526
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
8658
8527
|
let t;
|
|
8659
8528
|
let hotkeys;
|
|
8660
8529
|
let c;
|
|
@@ -8764,8 +8633,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8764
8633
|
};
|
|
8765
8634
|
$$self.$$.update = () => {
|
|
8766
8635
|
if ($$self.$$.dirty[0] & 10) {
|
|
8767
|
-
|
|
8768
|
-
$$invalidate(15, btn_props = {
|
|
8636
|
+
$$invalidate(15, btn_props = {
|
|
8769
8637
|
name: name5,
|
|
8770
8638
|
theme,
|
|
8771
8639
|
disabled,
|
|
@@ -8773,16 +8641,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8773
8641
|
});
|
|
8774
8642
|
}
|
|
8775
8643
|
if ($$self.$$.dirty[0] & 4) {
|
|
8776
|
-
|
|
8777
|
-
$$invalidate(9, t = i18n4[language]);
|
|
8644
|
+
$$invalidate(9, t = i18n4[language]);
|
|
8778
8645
|
}
|
|
8779
8646
|
if ($$self.$$.dirty[0] & 1) {
|
|
8780
|
-
|
|
8781
|
-
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8647
|
+
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8782
8648
|
}
|
|
8783
8649
|
if ($$self.$$.dirty[0] & 512 | $$self.$$.dirty[1] & 2) {
|
|
8784
|
-
|
|
8785
|
-
$$invalidate(18, c = {
|
|
8650
|
+
$$invalidate(18, c = {
|
|
8786
8651
|
clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
|
|
8787
8652
|
selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
|
|
8788
8653
|
pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
|
|
@@ -8791,32 +8656,26 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8791
8656
|
});
|
|
8792
8657
|
}
|
|
8793
8658
|
if ($$self.$$.dirty[0] & 1) {
|
|
8794
|
-
|
|
8795
|
-
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8659
|
+
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8796
8660
|
}
|
|
8797
8661
|
if ($$self.$$.dirty[1] & 8) {
|
|
8798
|
-
|
|
8799
|
-
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8662
|
+
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8800
8663
|
}
|
|
8801
8664
|
if ($$self.$$.dirty[1] & 8) {
|
|
8802
|
-
|
|
8803
|
-
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8665
|
+
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8804
8666
|
}
|
|
8805
8667
|
if ($$self.$$.dirty[0] & 1) {
|
|
8806
|
-
|
|
8807
|
-
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8668
|
+
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8808
8669
|
}
|
|
8809
8670
|
if ($$self.$$.dirty[0] & 384) {
|
|
8810
|
-
|
|
8811
|
-
if (applianceShapes.includes(appliance)) {
|
|
8671
|
+
if (applianceShapes.includes(appliance)) {
|
|
8812
8672
|
$$invalidate(10, last_shape = appliance);
|
|
8813
8673
|
} else if (shape) {
|
|
8814
8674
|
$$invalidate(10, last_shape = shape);
|
|
8815
8675
|
}
|
|
8816
8676
|
}
|
|
8817
8677
|
if ($$self.$$.dirty[0] & 32 | $$self.$$.dirty[1] & 5) {
|
|
8818
|
-
|
|
8819
|
-
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8678
|
+
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8820
8679
|
}
|
|
8821
8680
|
};
|
|
8822
8681
|
return [
|
|
@@ -8864,7 +8723,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8864
8723
|
var Contents = class extends SvelteComponent {
|
|
8865
8724
|
constructor(options) {
|
|
8866
8725
|
super();
|
|
8867
|
-
init(this, options,
|
|
8726
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
8868
8727
|
app: 0,
|
|
8869
8728
|
theme: 1,
|
|
8870
8729
|
language: 2,
|
|
@@ -8881,20 +8740,18 @@ var Contents_default = Contents;
|
|
|
8881
8740
|
// src/components/Toolbar/Toolbar.svelte
|
|
8882
8741
|
function create_else_block7(ctx) {
|
|
8883
8742
|
let path0;
|
|
8884
|
-
let path0_class_value;
|
|
8885
8743
|
let path1;
|
|
8886
|
-
let path1_class_value;
|
|
8887
8744
|
return {
|
|
8888
8745
|
c() {
|
|
8889
8746
|
path0 = svg_element("path");
|
|
8890
8747
|
path1 = svg_element("path");
|
|
8891
8748
|
attr(path0, "stroke", "#000");
|
|
8892
8749
|
attr(path0, "d", "M20 52v16");
|
|
8893
|
-
attr(path0, "class",
|
|
8750
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8894
8751
|
attr(path1, "fill", "#000");
|
|
8895
8752
|
attr(path1, "stroke", "none");
|
|
8896
8753
|
attr(path1, "d", "M16 52v16l-8-8z");
|
|
8897
|
-
attr(path1, "class",
|
|
8754
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8898
8755
|
},
|
|
8899
8756
|
m(target, anchor) {
|
|
8900
8757
|
insert(target, path0, anchor);
|
|
@@ -8911,20 +8768,18 @@ function create_else_block7(ctx) {
|
|
|
8911
8768
|
}
|
|
8912
8769
|
function create_if_block7(ctx) {
|
|
8913
8770
|
let path0;
|
|
8914
|
-
let path0_class_value;
|
|
8915
8771
|
let path1;
|
|
8916
|
-
let path1_class_value;
|
|
8917
8772
|
return {
|
|
8918
8773
|
c() {
|
|
8919
8774
|
path0 = svg_element("path");
|
|
8920
8775
|
path1 = svg_element("path");
|
|
8921
8776
|
attr(path0, "stroke", "#000");
|
|
8922
8777
|
attr(path0, "d", "M10 52v16");
|
|
8923
|
-
attr(path0, "class",
|
|
8778
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8924
8779
|
attr(path1, "fill", "#000");
|
|
8925
8780
|
attr(path1, "stroke", "none");
|
|
8926
8781
|
attr(path1, "d", "M14 52v16l8-8z");
|
|
8927
|
-
attr(path1, "class",
|
|
8782
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8928
8783
|
},
|
|
8929
8784
|
m(target, anchor) {
|
|
8930
8785
|
insert(target, path0, anchor);
|
|
@@ -8939,7 +8794,7 @@ function create_if_block7(ctx) {
|
|
|
8939
8794
|
}
|
|
8940
8795
|
};
|
|
8941
8796
|
}
|
|
8942
|
-
function
|
|
8797
|
+
function create_fragment55(ctx) {
|
|
8943
8798
|
let div1;
|
|
8944
8799
|
let div0;
|
|
8945
8800
|
let contents;
|
|
@@ -8950,12 +8805,9 @@ function create_fragment56(ctx) {
|
|
|
8950
8805
|
let t1;
|
|
8951
8806
|
let svg;
|
|
8952
8807
|
let path0;
|
|
8953
|
-
let path0_class_value;
|
|
8954
8808
|
let path1;
|
|
8955
|
-
let path1_class_value;
|
|
8956
8809
|
let label_class_value;
|
|
8957
8810
|
let div1_class_value;
|
|
8958
|
-
let height_action;
|
|
8959
8811
|
let current;
|
|
8960
8812
|
let mounted;
|
|
8961
8813
|
let dispose;
|
|
@@ -8976,7 +8828,7 @@ function create_fragment56(ctx) {
|
|
|
8976
8828
|
return create_if_block7;
|
|
8977
8829
|
return create_else_block7;
|
|
8978
8830
|
}
|
|
8979
|
-
let current_block_type = select_block_type(ctx
|
|
8831
|
+
let current_block_type = select_block_type(ctx);
|
|
8980
8832
|
let if_block = current_block_type(ctx);
|
|
8981
8833
|
return {
|
|
8982
8834
|
c() {
|
|
@@ -8997,10 +8849,10 @@ function create_fragment56(ctx) {
|
|
|
8997
8849
|
attr(path0, "fill", "#fff");
|
|
8998
8850
|
attr(path0, "stroke", "none");
|
|
8999
8851
|
attr(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9000
|
-
attr(path0, "class",
|
|
8852
|
+
attr(path0, "class", name6 + "-handler-bg-color");
|
|
9001
8853
|
attr(path1, "stroke", "#000");
|
|
9002
8854
|
attr(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9003
|
-
attr(path1, "class",
|
|
8855
|
+
attr(path1, "class", name6 + "-handler-border-color");
|
|
9004
8856
|
attr(svg, "fill", "none");
|
|
9005
8857
|
attr(svg, "stroke-width", "2");
|
|
9006
8858
|
attr(svg, "viewBox", "0 0 32 120");
|
|
@@ -9025,7 +8877,7 @@ function create_fragment56(ctx) {
|
|
|
9025
8877
|
if (!mounted) {
|
|
9026
8878
|
dispose = [
|
|
9027
8879
|
listen(input, "change", ctx[15]),
|
|
9028
|
-
action_destroyer(
|
|
8880
|
+
action_destroyer(height.call(null, div1, ctx[9]))
|
|
9029
8881
|
];
|
|
9030
8882
|
mounted = true;
|
|
9031
8883
|
}
|
|
@@ -9056,7 +8908,7 @@ function create_fragment56(ctx) {
|
|
|
9056
8908
|
if (dirty & 8) {
|
|
9057
8909
|
input.checked = ctx2[3];
|
|
9058
8910
|
}
|
|
9059
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
8911
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
9060
8912
|
if_block.p(ctx2, dirty);
|
|
9061
8913
|
} else {
|
|
9062
8914
|
if_block.d(1);
|
|
@@ -9097,7 +8949,7 @@ function create_fragment56(ctx) {
|
|
|
9097
8949
|
};
|
|
9098
8950
|
}
|
|
9099
8951
|
var name6 = "fastboard-toolbar";
|
|
9100
|
-
function
|
|
8952
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
9101
8953
|
let writable2;
|
|
9102
8954
|
let disabled;
|
|
9103
8955
|
let computed_height;
|
|
@@ -9134,24 +8986,19 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9134
8986
|
$$self.$$.update = () => {
|
|
9135
8987
|
var _a;
|
|
9136
8988
|
if ($$self.$$.dirty & 1) {
|
|
9137
|
-
|
|
9138
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
8989
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
9139
8990
|
}
|
|
9140
8991
|
if ($$self.$$.dirty & 16384) {
|
|
9141
|
-
|
|
9142
|
-
$$invalidate(7, disabled = !$writable);
|
|
8992
|
+
$$invalidate(7, disabled = !$writable);
|
|
9143
8993
|
}
|
|
9144
8994
|
if ($$self.$$.dirty & 12288) {
|
|
9145
|
-
|
|
9146
|
-
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
8995
|
+
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
9147
8996
|
}
|
|
9148
8997
|
if ($$self.$$.dirty & 12288) {
|
|
9149
|
-
|
|
9150
|
-
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
8998
|
+
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
9151
8999
|
}
|
|
9152
9000
|
if ($$self.$$.dirty & 2048) {
|
|
9153
|
-
|
|
9154
|
-
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
9001
|
+
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
9155
9002
|
}
|
|
9156
9003
|
};
|
|
9157
9004
|
return [
|
|
@@ -9176,7 +9023,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9176
9023
|
var Toolbar = class extends SvelteComponent {
|
|
9177
9024
|
constructor(options) {
|
|
9178
9025
|
super();
|
|
9179
|
-
init(this, options,
|
|
9026
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
9180
9027
|
app: 0,
|
|
9181
9028
|
theme: 1,
|
|
9182
9029
|
language: 2,
|
|
@@ -9440,7 +9287,7 @@ function create_default_slot_25(ctx) {
|
|
|
9440
9287
|
return 1;
|
|
9441
9288
|
return 2;
|
|
9442
9289
|
}
|
|
9443
|
-
current_block_type_index = select_block_type(ctx
|
|
9290
|
+
current_block_type_index = select_block_type(ctx);
|
|
9444
9291
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9445
9292
|
return {
|
|
9446
9293
|
c() {
|
|
@@ -9454,7 +9301,7 @@ function create_default_slot_25(ctx) {
|
|
|
9454
9301
|
},
|
|
9455
9302
|
p(ctx2, dirty) {
|
|
9456
9303
|
let previous_block_index = current_block_type_index;
|
|
9457
|
-
current_block_type_index = select_block_type(ctx2
|
|
9304
|
+
current_block_type_index = select_block_type(ctx2);
|
|
9458
9305
|
if (current_block_type_index === previous_block_index) {
|
|
9459
9306
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9460
9307
|
} else {
|
|
@@ -9498,17 +9345,13 @@ function create_else_block8(ctx) {
|
|
|
9498
9345
|
let span0;
|
|
9499
9346
|
let t1_value = format(ctx[13]) + "";
|
|
9500
9347
|
let t1;
|
|
9501
|
-
let span0_class_value;
|
|
9502
9348
|
let t2;
|
|
9503
9349
|
let span1;
|
|
9504
9350
|
let t3;
|
|
9505
|
-
let span1_class_value;
|
|
9506
9351
|
let t4;
|
|
9507
9352
|
let span2;
|
|
9508
9353
|
let t5_value = format(ctx[14]) + "";
|
|
9509
9354
|
let t5;
|
|
9510
|
-
let span2_class_value;
|
|
9511
|
-
let span3_class_value;
|
|
9512
9355
|
let current;
|
|
9513
9356
|
slider = new Slider_default({
|
|
9514
9357
|
props: {
|
|
@@ -9533,10 +9376,10 @@ function create_else_block8(ctx) {
|
|
|
9533
9376
|
t4 = space();
|
|
9534
9377
|
span2 = element("span");
|
|
9535
9378
|
t5 = text(t5_value);
|
|
9536
|
-
attr(span0, "class",
|
|
9537
|
-
attr(span1, "class",
|
|
9538
|
-
attr(span2, "class",
|
|
9539
|
-
attr(span3, "class",
|
|
9379
|
+
attr(span0, "class", name7 + "-current");
|
|
9380
|
+
attr(span1, "class", name7 + "-slash");
|
|
9381
|
+
attr(span2, "class", name7 + "-duration");
|
|
9382
|
+
attr(span3, "class", name7 + "-progress");
|
|
9540
9383
|
},
|
|
9541
9384
|
m(target, anchor) {
|
|
9542
9385
|
mount_component(slider, target, anchor);
|
|
@@ -9590,7 +9433,6 @@ function create_if_block8(ctx) {
|
|
|
9590
9433
|
let t0;
|
|
9591
9434
|
let span;
|
|
9592
9435
|
let t1;
|
|
9593
|
-
let span_class_value;
|
|
9594
9436
|
let current;
|
|
9595
9437
|
slider = new Slider_default({
|
|
9596
9438
|
props: {
|
|
@@ -9604,7 +9446,7 @@ function create_if_block8(ctx) {
|
|
|
9604
9446
|
t0 = space();
|
|
9605
9447
|
span = element("span");
|
|
9606
9448
|
t1 = text("\u2026/\u2026");
|
|
9607
|
-
attr(span, "class",
|
|
9449
|
+
attr(span, "class", name7 + "-progress loading");
|
|
9608
9450
|
},
|
|
9609
9451
|
m(target, anchor) {
|
|
9610
9452
|
mount_component(slider, target, anchor);
|
|
@@ -9638,13 +9480,12 @@ function create_default_slot_15(ctx) {
|
|
|
9638
9480
|
let t0_value = (ctx[15] || 1) + "";
|
|
9639
9481
|
let t0;
|
|
9640
9482
|
let t1;
|
|
9641
|
-
let span_class_value;
|
|
9642
9483
|
return {
|
|
9643
9484
|
c() {
|
|
9644
9485
|
span = element("span");
|
|
9645
9486
|
t0 = text(t0_value);
|
|
9646
9487
|
t1 = text("x");
|
|
9647
|
-
attr(span, "class",
|
|
9488
|
+
attr(span, "class", name7 + "-speed-text");
|
|
9648
9489
|
},
|
|
9649
9490
|
m(target, anchor) {
|
|
9650
9491
|
insert(target, span, anchor);
|
|
@@ -9745,7 +9586,7 @@ function create_each_block5(key_1, ctx) {
|
|
|
9745
9586
|
}
|
|
9746
9587
|
};
|
|
9747
9588
|
}
|
|
9748
|
-
function
|
|
9589
|
+
function create_fragment56(ctx) {
|
|
9749
9590
|
let div0;
|
|
9750
9591
|
let button0;
|
|
9751
9592
|
let t0;
|
|
@@ -9759,7 +9600,6 @@ function create_fragment57(ctx) {
|
|
|
9759
9600
|
let div1;
|
|
9760
9601
|
let each_blocks = [];
|
|
9761
9602
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
9762
|
-
let div1_class_value;
|
|
9763
9603
|
let current;
|
|
9764
9604
|
button0 = new Button_default({
|
|
9765
9605
|
props: {
|
|
@@ -9780,7 +9620,7 @@ function create_fragment57(ctx) {
|
|
|
9780
9620
|
return 0;
|
|
9781
9621
|
return 1;
|
|
9782
9622
|
}
|
|
9783
|
-
current_block_type_index = select_block_type_1(ctx
|
|
9623
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
9784
9624
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9785
9625
|
button1 = new Button_default({
|
|
9786
9626
|
props: {
|
|
@@ -9817,7 +9657,7 @@ function create_fragment57(ctx) {
|
|
|
9817
9657
|
each_blocks[i].c();
|
|
9818
9658
|
}
|
|
9819
9659
|
attr(div0, "class", div0_class_value = name7 + " " + ctx[0]);
|
|
9820
|
-
attr(div1, "class",
|
|
9660
|
+
attr(div1, "class", name7 + "-panel speed");
|
|
9821
9661
|
set_style(div2, "display", "none");
|
|
9822
9662
|
},
|
|
9823
9663
|
m(target, anchor) {
|
|
@@ -9851,7 +9691,7 @@ function create_fragment57(ctx) {
|
|
|
9851
9691
|
}
|
|
9852
9692
|
button0.$set(button0_changes);
|
|
9853
9693
|
let previous_block_index = current_block_type_index;
|
|
9854
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
9694
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
9855
9695
|
if (current_block_type_index === previous_block_index) {
|
|
9856
9696
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9857
9697
|
} else {
|
|
@@ -9949,7 +9789,7 @@ function format(ms) {
|
|
|
9949
9789
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9950
9790
|
}
|
|
9951
9791
|
var name7 = "fastboard-player-control";
|
|
9952
|
-
function
|
|
9792
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
9953
9793
|
let t;
|
|
9954
9794
|
let canPlay;
|
|
9955
9795
|
let disabled;
|
|
@@ -10019,48 +9859,37 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10019
9859
|
};
|
|
10020
9860
|
$$self.$$.update = () => {
|
|
10021
9861
|
if ($$self.$$.dirty & 1048576) {
|
|
10022
|
-
|
|
10023
|
-
$$invalidate(12, t = i18n6[language]);
|
|
9862
|
+
$$invalidate(12, t = i18n6[language]);
|
|
10024
9863
|
}
|
|
10025
9864
|
if ($$self.$$.dirty & 524288) {
|
|
10026
|
-
|
|
10027
|
-
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9865
|
+
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
10028
9866
|
}
|
|
10029
9867
|
if ($$self.$$.dirty & 2097152) {
|
|
10030
|
-
|
|
10031
|
-
$$invalidate(4, disabled = !canPlay);
|
|
9868
|
+
$$invalidate(4, disabled = !canPlay);
|
|
10032
9869
|
}
|
|
10033
9870
|
if ($$self.$$.dirty & 16) {
|
|
10034
|
-
|
|
10035
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
9871
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
10036
9872
|
}
|
|
10037
9873
|
if ($$self.$$.dirty & 524288) {
|
|
10038
|
-
|
|
10039
|
-
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
9874
|
+
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
10040
9875
|
}
|
|
10041
9876
|
if ($$self.$$.dirty & 524288) {
|
|
10042
|
-
|
|
10043
|
-
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
9877
|
+
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
10044
9878
|
}
|
|
10045
9879
|
if ($$self.$$.dirty & 524288) {
|
|
10046
|
-
|
|
10047
|
-
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
9880
|
+
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
10048
9881
|
}
|
|
10049
9882
|
if ($$self.$$.dirty & 524288) {
|
|
10050
|
-
|
|
10051
|
-
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
9883
|
+
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
10052
9884
|
}
|
|
10053
9885
|
if ($$self.$$.dirty & 4194304) {
|
|
10054
|
-
|
|
10055
|
-
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
9886
|
+
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
10056
9887
|
}
|
|
10057
9888
|
if ($$self.$$.dirty & 4194304) {
|
|
10058
|
-
|
|
10059
|
-
$$invalidate(2, playing = $phase === "playing");
|
|
9889
|
+
$$invalidate(2, playing = $phase === "playing");
|
|
10060
9890
|
}
|
|
10061
9891
|
if ($$self.$$.dirty & 12) {
|
|
10062
|
-
|
|
10063
|
-
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
9892
|
+
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
10064
9893
|
}
|
|
10065
9894
|
};
|
|
10066
9895
|
return [
|
|
@@ -10094,7 +9923,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10094
9923
|
var PlayerControl = class extends SvelteComponent {
|
|
10095
9924
|
constructor(options) {
|
|
10096
9925
|
super();
|
|
10097
|
-
init(this, options,
|
|
9926
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, {
|
|
10098
9927
|
player: 19,
|
|
10099
9928
|
theme: 0,
|
|
10100
9929
|
language: 20,
|
|
@@ -10105,15 +9934,12 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
10105
9934
|
var PlayerControl_default = PlayerControl;
|
|
10106
9935
|
|
|
10107
9936
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
10108
|
-
function
|
|
9937
|
+
function create_fragment57(ctx) {
|
|
10109
9938
|
let div2;
|
|
10110
9939
|
let div0;
|
|
10111
|
-
let div0_class_value;
|
|
10112
9940
|
let t;
|
|
10113
9941
|
let div1;
|
|
10114
9942
|
let playercontrol;
|
|
10115
|
-
let div1_class_value;
|
|
10116
|
-
let div2_class_value;
|
|
10117
9943
|
let current;
|
|
10118
9944
|
let mounted;
|
|
10119
9945
|
let dispose;
|
|
@@ -10131,9 +9957,9 @@ function create_fragment58(ctx) {
|
|
|
10131
9957
|
t = space();
|
|
10132
9958
|
div1 = element("div");
|
|
10133
9959
|
create_component(playercontrol.$$.fragment);
|
|
10134
|
-
attr(div0, "class",
|
|
10135
|
-
attr(div1, "class",
|
|
10136
|
-
attr(div2, "class",
|
|
9960
|
+
attr(div0, "class", name8 + "-view");
|
|
9961
|
+
attr(div1, "class", name8 + "-bottom");
|
|
9962
|
+
attr(div2, "class", name8 + "-root");
|
|
10137
9963
|
toggle_class(div2, "loading", !ctx[0]);
|
|
10138
9964
|
},
|
|
10139
9965
|
m(target, anchor) {
|
|
@@ -10183,7 +10009,7 @@ function create_fragment58(ctx) {
|
|
|
10183
10009
|
};
|
|
10184
10010
|
}
|
|
10185
10011
|
var name8 = "fastboard";
|
|
10186
|
-
function
|
|
10012
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
10187
10013
|
let { player = null } = $$props;
|
|
10188
10014
|
let { theme = "light" } = $$props;
|
|
10189
10015
|
let { language = "en" } = $$props;
|
|
@@ -10216,8 +10042,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10216
10042
|
};
|
|
10217
10043
|
$$self.$$.update = () => {
|
|
10218
10044
|
if ($$self.$$.dirty & 9) {
|
|
10219
|
-
|
|
10220
|
-
try {
|
|
10045
|
+
try {
|
|
10221
10046
|
if (player && container)
|
|
10222
10047
|
player.bindContainer(container);
|
|
10223
10048
|
} catch (err) {
|
|
@@ -10226,8 +10051,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10226
10051
|
}
|
|
10227
10052
|
}
|
|
10228
10053
|
if ($$self.$$.dirty & 3) {
|
|
10229
|
-
|
|
10230
|
-
if (player && theme) {
|
|
10054
|
+
if (player && theme) {
|
|
10231
10055
|
player.manager.setPrefersColorScheme(theme);
|
|
10232
10056
|
}
|
|
10233
10057
|
}
|
|
@@ -10237,7 +10061,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10237
10061
|
var ReplayFastboard = class extends SvelteComponent {
|
|
10238
10062
|
constructor(options) {
|
|
10239
10063
|
super();
|
|
10240
|
-
init(this, options,
|
|
10064
|
+
init(this, options, instance57, create_fragment57, not_equal, {
|
|
10241
10065
|
player: 0,
|
|
10242
10066
|
theme: 1,
|
|
10243
10067
|
language: 2,
|
|
@@ -10423,22 +10247,17 @@ function create_if_block9(ctx) {
|
|
|
10423
10247
|
}
|
|
10424
10248
|
};
|
|
10425
10249
|
}
|
|
10426
|
-
function
|
|
10250
|
+
function create_fragment58(ctx) {
|
|
10427
10251
|
var _a, _b, _c, _d;
|
|
10428
10252
|
let div4;
|
|
10429
10253
|
let div0;
|
|
10430
|
-
let div0_class_value;
|
|
10431
10254
|
let t0;
|
|
10432
10255
|
let div1;
|
|
10433
|
-
let div1_class_value;
|
|
10434
10256
|
let t1;
|
|
10435
10257
|
let div2;
|
|
10436
10258
|
let t2;
|
|
10437
|
-
let div2_class_value;
|
|
10438
10259
|
let t3;
|
|
10439
10260
|
let div3;
|
|
10440
|
-
let div3_class_value;
|
|
10441
|
-
let div4_class_value;
|
|
10442
10261
|
let current;
|
|
10443
10262
|
let mounted;
|
|
10444
10263
|
let dispose;
|
|
@@ -10465,14 +10284,14 @@ function create_fragment59(ctx) {
|
|
|
10465
10284
|
div3 = element("div");
|
|
10466
10285
|
if (if_block3)
|
|
10467
10286
|
if_block3.c();
|
|
10468
|
-
attr(div0, "class",
|
|
10469
|
-
attr(div1, "class",
|
|
10287
|
+
attr(div0, "class", name9 + "-view");
|
|
10288
|
+
attr(div1, "class", name9 + "-left");
|
|
10470
10289
|
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10471
|
-
attr(div2, "class",
|
|
10290
|
+
attr(div2, "class", name9 + "-bottom-left");
|
|
10472
10291
|
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10473
|
-
attr(div3, "class",
|
|
10292
|
+
attr(div3, "class", name9 + "-bottom-right");
|
|
10474
10293
|
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10475
|
-
attr(div4, "class",
|
|
10294
|
+
attr(div4, "class", name9 + "-root");
|
|
10476
10295
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10477
10296
|
},
|
|
10478
10297
|
m(target, anchor) {
|
|
@@ -10625,7 +10444,7 @@ function create_fragment59(ctx) {
|
|
|
10625
10444
|
};
|
|
10626
10445
|
}
|
|
10627
10446
|
var name9 = "fastboard";
|
|
10628
|
-
function
|
|
10447
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
10629
10448
|
let writable2;
|
|
10630
10449
|
let boxState;
|
|
10631
10450
|
let focusedApp;
|
|
@@ -10672,20 +10491,16 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10672
10491
|
};
|
|
10673
10492
|
$$self.$$.update = () => {
|
|
10674
10493
|
if ($$self.$$.dirty & 1) {
|
|
10675
|
-
|
|
10676
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10494
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10677
10495
|
}
|
|
10678
10496
|
if ($$self.$$.dirty & 1) {
|
|
10679
|
-
|
|
10680
|
-
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10497
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10681
10498
|
}
|
|
10682
10499
|
if ($$self.$$.dirty & 1) {
|
|
10683
|
-
|
|
10684
|
-
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10500
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10685
10501
|
}
|
|
10686
10502
|
if ($$self.$$.dirty & 7168) {
|
|
10687
|
-
|
|
10688
|
-
if (!$writable) {
|
|
10503
|
+
if (!$writable) {
|
|
10689
10504
|
$$invalidate(5, layout = "hidden");
|
|
10690
10505
|
} else if ($boxState === "maximized") {
|
|
10691
10506
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
@@ -10698,8 +10513,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10698
10513
|
}
|
|
10699
10514
|
}
|
|
10700
10515
|
if ($$self.$$.dirty & 17) {
|
|
10701
|
-
|
|
10702
|
-
try {
|
|
10516
|
+
try {
|
|
10703
10517
|
if (app && container)
|
|
10704
10518
|
app.bindContainer(container);
|
|
10705
10519
|
} catch (err) {
|
|
@@ -10708,8 +10522,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10708
10522
|
}
|
|
10709
10523
|
}
|
|
10710
10524
|
if ($$self.$$.dirty & 3) {
|
|
10711
|
-
|
|
10712
|
-
if (app && theme) {
|
|
10525
|
+
if (app && theme) {
|
|
10713
10526
|
app.manager.setPrefersColorScheme(theme);
|
|
10714
10527
|
}
|
|
10715
10528
|
}
|
|
@@ -10734,7 +10547,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10734
10547
|
var Fastboard = class extends SvelteComponent {
|
|
10735
10548
|
constructor(options) {
|
|
10736
10549
|
super();
|
|
10737
|
-
init(this, options,
|
|
10550
|
+
init(this, options, instance58, create_fragment58, not_equal, {
|
|
10738
10551
|
app: 0,
|
|
10739
10552
|
theme: 1,
|
|
10740
10553
|
language: 2,
|