@netless/fastboard-ui 0.3.3 → 0.3.4-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +30 -1
- package/dist/index.js +422 -544
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +421 -556
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +2433 -3500
- 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 +8 -2
- package/src/components/Fastboard/ReplayFastboard.svelte +8 -2
- package/src/components/Icons/Clear.svelte +15 -1
- package/src/components/Icons/index.ts +0 -2
- package/src/helpers/index.ts +94 -0
- package/src/index.ts +1 -0
- 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;
|
|
@@ -46,7 +48,9 @@ __export(src_exports, {
|
|
|
46
48
|
ReplayFastboard: () => ReplayFastboard_default,
|
|
47
49
|
Toolbar: () => Toolbar_default,
|
|
48
50
|
ZoomControl: () => ZoomControl_default,
|
|
49
|
-
apps: () => apps
|
|
51
|
+
apps: () => apps,
|
|
52
|
+
createReplayUI: () => createReplayUI,
|
|
53
|
+
createUI: () => createUI
|
|
50
54
|
});
|
|
51
55
|
module.exports = __toCommonJS(src_exports);
|
|
52
56
|
|
|
@@ -81,6 +85,9 @@ function src_url_equal(element_src, url) {
|
|
|
81
85
|
src_url_equal_anchor.href = url;
|
|
82
86
|
return element_src === src_url_equal_anchor.href;
|
|
83
87
|
}
|
|
88
|
+
function not_equal(a, b) {
|
|
89
|
+
return a != a ? b == b : a !== b;
|
|
90
|
+
}
|
|
84
91
|
function is_empty(obj) {
|
|
85
92
|
return Object.keys(obj).length === 0;
|
|
86
93
|
}
|
|
@@ -146,13 +153,6 @@ function action_destroyer(action_result) {
|
|
|
146
153
|
return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
|
|
147
154
|
}
|
|
148
155
|
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
156
|
function append(target, node) {
|
|
157
157
|
target.appendChild(node);
|
|
158
158
|
}
|
|
@@ -348,7 +348,6 @@ function transition_out(block, local, detach2, callback) {
|
|
|
348
348
|
block.o(local);
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var globals = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : global;
|
|
352
351
|
function destroy_block(block, lookup) {
|
|
353
352
|
block.d(1);
|
|
354
353
|
lookup.delete(block.key);
|
|
@@ -496,7 +495,7 @@ function make_dirty(component, i) {
|
|
|
496
495
|
}
|
|
497
496
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
498
497
|
}
|
|
499
|
-
function init(component, options,
|
|
498
|
+
function init(component, options, instance59, create_fragment59, not_equal2, props, append_styles, dirty = [-1]) {
|
|
500
499
|
const parent_component = current_component;
|
|
501
500
|
set_current_component(component);
|
|
502
501
|
const $$ = component.$$ = {
|
|
@@ -504,7 +503,7 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
504
503
|
ctx: null,
|
|
505
504
|
props,
|
|
506
505
|
update: noop,
|
|
507
|
-
not_equal,
|
|
506
|
+
not_equal: not_equal2,
|
|
508
507
|
bound: blank_object(),
|
|
509
508
|
on_mount: [],
|
|
510
509
|
on_destroy: [],
|
|
@@ -519,9 +518,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
519
518
|
};
|
|
520
519
|
append_styles && append_styles($$.root);
|
|
521
520
|
let ready = false;
|
|
522
|
-
$$.ctx =
|
|
521
|
+
$$.ctx = instance59 ? instance59(component, options.props || {}, (i, ret, ...rest) => {
|
|
523
522
|
const value = rest.length ? rest[0] : ret;
|
|
524
|
-
if ($$.ctx &&
|
|
523
|
+
if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
|
|
525
524
|
if (!$$.skip_bound && $$.bound[i])
|
|
526
525
|
$$.bound[i](value);
|
|
527
526
|
if (ready)
|
|
@@ -532,10 +531,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
532
531
|
$$.update();
|
|
533
532
|
ready = true;
|
|
534
533
|
run_all($$.before_update);
|
|
535
|
-
$$.fragment =
|
|
534
|
+
$$.fragment = create_fragment59 ? create_fragment59($$.ctx) : false;
|
|
536
535
|
if (options.target) {
|
|
537
536
|
if (options.hydrate) {
|
|
538
|
-
start_hydrating();
|
|
539
537
|
const nodes = children(options.target);
|
|
540
538
|
$$.fragment && $$.fragment.l(nodes);
|
|
541
539
|
nodes.forEach(detach);
|
|
@@ -545,53 +543,10 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
545
543
|
if (options.intro)
|
|
546
544
|
transition_in(component.$$.fragment);
|
|
547
545
|
mount_component(component, options.target, options.anchor, options.customElement);
|
|
548
|
-
end_hydrating();
|
|
549
546
|
flush();
|
|
550
547
|
}
|
|
551
548
|
set_current_component(parent_component);
|
|
552
549
|
}
|
|
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
550
|
var SvelteComponent = class {
|
|
596
551
|
$destroy() {
|
|
597
552
|
destroy_component(this, 1);
|
|
@@ -700,7 +655,7 @@ function create_fragment(ctx) {
|
|
|
700
655
|
return 0;
|
|
701
656
|
return 1;
|
|
702
657
|
}
|
|
703
|
-
current_block_type_index = select_block_type(ctx
|
|
658
|
+
current_block_type_index = select_block_type(ctx);
|
|
704
659
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
705
660
|
return {
|
|
706
661
|
c() {
|
|
@@ -714,7 +669,7 @@ function create_fragment(ctx) {
|
|
|
714
669
|
},
|
|
715
670
|
p(ctx2, [dirty]) {
|
|
716
671
|
let previous_block_index = current_block_type_index;
|
|
717
|
-
current_block_type_index = select_block_type(ctx2
|
|
672
|
+
current_block_type_index = select_block_type(ctx2);
|
|
718
673
|
if (current_block_type_index === previous_block_index) {
|
|
719
674
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
720
675
|
} else {
|
|
@@ -1232,18 +1187,34 @@ var CircleBolded = class extends SvelteComponent {
|
|
|
1232
1187
|
};
|
|
1233
1188
|
var CircleBolded_default = CircleBolded;
|
|
1234
1189
|
|
|
1235
|
-
// src/components/Icons/
|
|
1190
|
+
// src/components/Icons/Clear.svelte
|
|
1236
1191
|
function create_fragment9(ctx) {
|
|
1237
1192
|
let svg;
|
|
1238
|
-
let
|
|
1193
|
+
let path0;
|
|
1194
|
+
let path1;
|
|
1195
|
+
let path2;
|
|
1239
1196
|
let svg_class_value;
|
|
1240
1197
|
return {
|
|
1241
1198
|
c() {
|
|
1242
1199
|
svg = svg_element("svg");
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
attr(
|
|
1200
|
+
path0 = svg_element("path");
|
|
1201
|
+
path1 = svg_element("path");
|
|
1202
|
+
path2 = svg_element("path");
|
|
1203
|
+
attr(path0, "d", "M19.6567 4.34323L13.9999 10.0001");
|
|
1204
|
+
attr(path0, "stroke", "#5D6066");
|
|
1205
|
+
attr(path0, "stroke-width", "1.25");
|
|
1206
|
+
attr(path0, "stroke-linejoin", "round");
|
|
1207
|
+
attr(path0, "class", "fastboard-icon-stroke-color");
|
|
1208
|
+
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");
|
|
1209
|
+
attr(path1, "stroke", "#5D6066");
|
|
1210
|
+
attr(path1, "stroke-width", "1.25");
|
|
1211
|
+
attr(path1, "stroke-linejoin", "round");
|
|
1212
|
+
attr(path1, "class", "fastboard-icon-stroke-color");
|
|
1213
|
+
attr(path2, "d", "M8.34292 10.0001L13.9998 15.6569L11.5856 19.8996L4.10028 11.4143L8.34292 10.0001Z");
|
|
1214
|
+
attr(path2, "stroke", "#5D6066");
|
|
1215
|
+
attr(path2, "stroke-width", "1.25");
|
|
1216
|
+
attr(path2, "stroke-linejoin", "round");
|
|
1217
|
+
attr(path2, "class", "fastboard-icon-stroke-color");
|
|
1247
1218
|
attr(svg, "fill", "none");
|
|
1248
1219
|
attr(svg, "viewBox", "0 0 24 24");
|
|
1249
1220
|
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
@@ -1251,7 +1222,9 @@ function create_fragment9(ctx) {
|
|
|
1251
1222
|
},
|
|
1252
1223
|
m(target, anchor) {
|
|
1253
1224
|
insert(target, svg, anchor);
|
|
1254
|
-
append(svg,
|
|
1225
|
+
append(svg, path0);
|
|
1226
|
+
append(svg, path1);
|
|
1227
|
+
append(svg, path2);
|
|
1255
1228
|
},
|
|
1256
1229
|
p(ctx2, [dirty]) {
|
|
1257
1230
|
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
@@ -1280,74 +1253,16 @@ function instance9($$self, $$props, $$invalidate) {
|
|
|
1280
1253
|
};
|
|
1281
1254
|
return [theme, active];
|
|
1282
1255
|
}
|
|
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
1256
|
var Clear = class extends SvelteComponent {
|
|
1342
1257
|
constructor(options) {
|
|
1343
1258
|
super();
|
|
1344
|
-
init(this, options,
|
|
1259
|
+
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1345
1260
|
}
|
|
1346
1261
|
};
|
|
1347
1262
|
var Clear_default = Clear;
|
|
1348
1263
|
|
|
1349
1264
|
// src/components/Icons/Click.svelte
|
|
1350
|
-
function
|
|
1265
|
+
function create_fragment10(ctx) {
|
|
1351
1266
|
let svg;
|
|
1352
1267
|
let path;
|
|
1353
1268
|
let svg_class_value;
|
|
@@ -1385,7 +1300,7 @@ function create_fragment11(ctx) {
|
|
|
1385
1300
|
}
|
|
1386
1301
|
};
|
|
1387
1302
|
}
|
|
1388
|
-
function
|
|
1303
|
+
function instance10($$self, $$props, $$invalidate) {
|
|
1389
1304
|
let { theme = "light" } = $$props;
|
|
1390
1305
|
let { active = false } = $$props;
|
|
1391
1306
|
$$self.$$set = ($$props2) => {
|
|
@@ -1399,13 +1314,13 @@ function instance11($$self, $$props, $$invalidate) {
|
|
|
1399
1314
|
var Click = class extends SvelteComponent {
|
|
1400
1315
|
constructor(options) {
|
|
1401
1316
|
super();
|
|
1402
|
-
init(this, options,
|
|
1317
|
+
init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
|
|
1403
1318
|
}
|
|
1404
1319
|
};
|
|
1405
1320
|
var Click_default = Click;
|
|
1406
1321
|
|
|
1407
1322
|
// src/components/Icons/ClickFilled.svelte
|
|
1408
|
-
function
|
|
1323
|
+
function create_fragment11(ctx) {
|
|
1409
1324
|
let svg;
|
|
1410
1325
|
let path;
|
|
1411
1326
|
let svg_class_value;
|
|
@@ -1441,7 +1356,7 @@ function create_fragment12(ctx) {
|
|
|
1441
1356
|
}
|
|
1442
1357
|
};
|
|
1443
1358
|
}
|
|
1444
|
-
function
|
|
1359
|
+
function instance11($$self, $$props, $$invalidate) {
|
|
1445
1360
|
let { theme = "light" } = $$props;
|
|
1446
1361
|
let { active = false } = $$props;
|
|
1447
1362
|
$$self.$$set = ($$props2) => {
|
|
@@ -1455,13 +1370,13 @@ function instance12($$self, $$props, $$invalidate) {
|
|
|
1455
1370
|
var ClickFilled = class extends SvelteComponent {
|
|
1456
1371
|
constructor(options) {
|
|
1457
1372
|
super();
|
|
1458
|
-
init(this, options,
|
|
1373
|
+
init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
|
|
1459
1374
|
}
|
|
1460
1375
|
};
|
|
1461
1376
|
var ClickFilled_default = ClickFilled;
|
|
1462
1377
|
|
|
1463
1378
|
// src/components/Icons/Diamond.svelte
|
|
1464
|
-
function
|
|
1379
|
+
function create_fragment12(ctx) {
|
|
1465
1380
|
let svg;
|
|
1466
1381
|
let path;
|
|
1467
1382
|
let svg_class_value;
|
|
@@ -1499,7 +1414,7 @@ function create_fragment13(ctx) {
|
|
|
1499
1414
|
}
|
|
1500
1415
|
};
|
|
1501
1416
|
}
|
|
1502
|
-
function
|
|
1417
|
+
function instance12($$self, $$props, $$invalidate) {
|
|
1503
1418
|
let { theme = "light" } = $$props;
|
|
1504
1419
|
let { active = false } = $$props;
|
|
1505
1420
|
$$self.$$set = ($$props2) => {
|
|
@@ -1513,13 +1428,13 @@ function instance13($$self, $$props, $$invalidate) {
|
|
|
1513
1428
|
var Diamond = class extends SvelteComponent {
|
|
1514
1429
|
constructor(options) {
|
|
1515
1430
|
super();
|
|
1516
|
-
init(this, options,
|
|
1431
|
+
init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
|
|
1517
1432
|
}
|
|
1518
1433
|
};
|
|
1519
1434
|
var Diamond_default = Diamond;
|
|
1520
1435
|
|
|
1521
1436
|
// src/components/Icons/Down.svelte
|
|
1522
|
-
function
|
|
1437
|
+
function create_fragment13(ctx) {
|
|
1523
1438
|
let svg;
|
|
1524
1439
|
let path;
|
|
1525
1440
|
let svg_class_value;
|
|
@@ -1557,7 +1472,7 @@ function create_fragment14(ctx) {
|
|
|
1557
1472
|
}
|
|
1558
1473
|
};
|
|
1559
1474
|
}
|
|
1560
|
-
function
|
|
1475
|
+
function instance13($$self, $$props, $$invalidate) {
|
|
1561
1476
|
let { theme = "light" } = $$props;
|
|
1562
1477
|
let { active = false } = $$props;
|
|
1563
1478
|
$$self.$$set = ($$props2) => {
|
|
@@ -1571,13 +1486,13 @@ function instance14($$self, $$props, $$invalidate) {
|
|
|
1571
1486
|
var Down = class extends SvelteComponent {
|
|
1572
1487
|
constructor(options) {
|
|
1573
1488
|
super();
|
|
1574
|
-
init(this, options,
|
|
1489
|
+
init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
|
|
1575
1490
|
}
|
|
1576
1491
|
};
|
|
1577
1492
|
var Down_default = Down;
|
|
1578
1493
|
|
|
1579
1494
|
// src/components/Icons/Eraser.svelte
|
|
1580
|
-
function
|
|
1495
|
+
function create_fragment14(ctx) {
|
|
1581
1496
|
let svg;
|
|
1582
1497
|
let path;
|
|
1583
1498
|
let svg_class_value;
|
|
@@ -1615,7 +1530,7 @@ function create_fragment15(ctx) {
|
|
|
1615
1530
|
}
|
|
1616
1531
|
};
|
|
1617
1532
|
}
|
|
1618
|
-
function
|
|
1533
|
+
function instance14($$self, $$props, $$invalidate) {
|
|
1619
1534
|
let { theme = "light" } = $$props;
|
|
1620
1535
|
let { active = false } = $$props;
|
|
1621
1536
|
$$self.$$set = ($$props2) => {
|
|
@@ -1629,13 +1544,13 @@ function instance15($$self, $$props, $$invalidate) {
|
|
|
1629
1544
|
var Eraser = class extends SvelteComponent {
|
|
1630
1545
|
constructor(options) {
|
|
1631
1546
|
super();
|
|
1632
|
-
init(this, options,
|
|
1547
|
+
init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
|
|
1633
1548
|
}
|
|
1634
1549
|
};
|
|
1635
1550
|
var Eraser_default = Eraser;
|
|
1636
1551
|
|
|
1637
1552
|
// src/components/Icons/EraserFilled.svelte
|
|
1638
|
-
function
|
|
1553
|
+
function create_fragment15(ctx) {
|
|
1639
1554
|
let svg;
|
|
1640
1555
|
let path;
|
|
1641
1556
|
let svg_class_value;
|
|
@@ -1673,7 +1588,7 @@ function create_fragment16(ctx) {
|
|
|
1673
1588
|
}
|
|
1674
1589
|
};
|
|
1675
1590
|
}
|
|
1676
|
-
function
|
|
1591
|
+
function instance15($$self, $$props, $$invalidate) {
|
|
1677
1592
|
let { theme = "light" } = $$props;
|
|
1678
1593
|
let { active = false } = $$props;
|
|
1679
1594
|
$$self.$$set = ($$props2) => {
|
|
@@ -1687,13 +1602,13 @@ function instance16($$self, $$props, $$invalidate) {
|
|
|
1687
1602
|
var EraserFilled = class extends SvelteComponent {
|
|
1688
1603
|
constructor(options) {
|
|
1689
1604
|
super();
|
|
1690
|
-
init(this, options,
|
|
1605
|
+
init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
|
|
1691
1606
|
}
|
|
1692
1607
|
};
|
|
1693
1608
|
var EraserFilled_default = EraserFilled;
|
|
1694
1609
|
|
|
1695
1610
|
// src/components/Icons/Left.svelte
|
|
1696
|
-
function
|
|
1611
|
+
function create_fragment16(ctx) {
|
|
1697
1612
|
let svg;
|
|
1698
1613
|
let path;
|
|
1699
1614
|
let svg_class_value;
|
|
@@ -1731,7 +1646,7 @@ function create_fragment17(ctx) {
|
|
|
1731
1646
|
}
|
|
1732
1647
|
};
|
|
1733
1648
|
}
|
|
1734
|
-
function
|
|
1649
|
+
function instance16($$self, $$props, $$invalidate) {
|
|
1735
1650
|
let { theme = "light" } = $$props;
|
|
1736
1651
|
let { active = false } = $$props;
|
|
1737
1652
|
$$self.$$set = ($$props2) => {
|
|
@@ -1745,13 +1660,13 @@ function instance17($$self, $$props, $$invalidate) {
|
|
|
1745
1660
|
var Left = class extends SvelteComponent {
|
|
1746
1661
|
constructor(options) {
|
|
1747
1662
|
super();
|
|
1748
|
-
init(this, options,
|
|
1663
|
+
init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
|
|
1749
1664
|
}
|
|
1750
1665
|
};
|
|
1751
1666
|
var Left_default = Left;
|
|
1752
1667
|
|
|
1753
1668
|
// src/components/Icons/Line.svelte
|
|
1754
|
-
function
|
|
1669
|
+
function create_fragment17(ctx) {
|
|
1755
1670
|
let svg;
|
|
1756
1671
|
let path;
|
|
1757
1672
|
let svg_class_value;
|
|
@@ -1789,7 +1704,7 @@ function create_fragment18(ctx) {
|
|
|
1789
1704
|
}
|
|
1790
1705
|
};
|
|
1791
1706
|
}
|
|
1792
|
-
function
|
|
1707
|
+
function instance17($$self, $$props, $$invalidate) {
|
|
1793
1708
|
let { theme = "light" } = $$props;
|
|
1794
1709
|
let { active = false } = $$props;
|
|
1795
1710
|
$$self.$$set = ($$props2) => {
|
|
@@ -1803,13 +1718,13 @@ function instance18($$self, $$props, $$invalidate) {
|
|
|
1803
1718
|
var Line = class extends SvelteComponent {
|
|
1804
1719
|
constructor(options) {
|
|
1805
1720
|
super();
|
|
1806
|
-
init(this, options,
|
|
1721
|
+
init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
|
|
1807
1722
|
}
|
|
1808
1723
|
};
|
|
1809
1724
|
var Line_default = Line;
|
|
1810
1725
|
|
|
1811
1726
|
// src/components/Icons/LineBolded.svelte
|
|
1812
|
-
function
|
|
1727
|
+
function create_fragment18(ctx) {
|
|
1813
1728
|
let svg;
|
|
1814
1729
|
let path;
|
|
1815
1730
|
let svg_class_value;
|
|
@@ -1847,7 +1762,7 @@ function create_fragment19(ctx) {
|
|
|
1847
1762
|
}
|
|
1848
1763
|
};
|
|
1849
1764
|
}
|
|
1850
|
-
function
|
|
1765
|
+
function instance18($$self, $$props, $$invalidate) {
|
|
1851
1766
|
let { theme = "light" } = $$props;
|
|
1852
1767
|
let { active = false } = $$props;
|
|
1853
1768
|
$$self.$$set = ($$props2) => {
|
|
@@ -1861,13 +1776,13 @@ function instance19($$self, $$props, $$invalidate) {
|
|
|
1861
1776
|
var LineBolded = class extends SvelteComponent {
|
|
1862
1777
|
constructor(options) {
|
|
1863
1778
|
super();
|
|
1864
|
-
init(this, options,
|
|
1779
|
+
init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
|
|
1865
1780
|
}
|
|
1866
1781
|
};
|
|
1867
1782
|
var LineBolded_default = LineBolded;
|
|
1868
1783
|
|
|
1869
1784
|
// src/components/Icons/Minus.svelte
|
|
1870
|
-
function
|
|
1785
|
+
function create_fragment19(ctx) {
|
|
1871
1786
|
let svg;
|
|
1872
1787
|
let path;
|
|
1873
1788
|
let svg_class_value;
|
|
@@ -1905,7 +1820,7 @@ function create_fragment20(ctx) {
|
|
|
1905
1820
|
}
|
|
1906
1821
|
};
|
|
1907
1822
|
}
|
|
1908
|
-
function
|
|
1823
|
+
function instance19($$self, $$props, $$invalidate) {
|
|
1909
1824
|
let { theme = "light" } = $$props;
|
|
1910
1825
|
let { active = false } = $$props;
|
|
1911
1826
|
$$self.$$set = ($$props2) => {
|
|
@@ -1919,13 +1834,13 @@ function instance20($$self, $$props, $$invalidate) {
|
|
|
1919
1834
|
var Minus = class extends SvelteComponent {
|
|
1920
1835
|
constructor(options) {
|
|
1921
1836
|
super();
|
|
1922
|
-
init(this, options,
|
|
1837
|
+
init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
|
|
1923
1838
|
}
|
|
1924
1839
|
};
|
|
1925
1840
|
var Minus_default = Minus;
|
|
1926
1841
|
|
|
1927
1842
|
// src/components/Icons/Pencil.svelte
|
|
1928
|
-
function
|
|
1843
|
+
function create_fragment20(ctx) {
|
|
1929
1844
|
let svg;
|
|
1930
1845
|
let path0;
|
|
1931
1846
|
let path1;
|
|
@@ -1978,7 +1893,7 @@ function create_fragment21(ctx) {
|
|
|
1978
1893
|
}
|
|
1979
1894
|
};
|
|
1980
1895
|
}
|
|
1981
|
-
function
|
|
1896
|
+
function instance20($$self, $$props, $$invalidate) {
|
|
1982
1897
|
let { theme = "light" } = $$props;
|
|
1983
1898
|
let { active = false } = $$props;
|
|
1984
1899
|
$$self.$$set = ($$props2) => {
|
|
@@ -1992,13 +1907,13 @@ function instance21($$self, $$props, $$invalidate) {
|
|
|
1992
1907
|
var Pencil = class extends SvelteComponent {
|
|
1993
1908
|
constructor(options) {
|
|
1994
1909
|
super();
|
|
1995
|
-
init(this, options,
|
|
1910
|
+
init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
|
|
1996
1911
|
}
|
|
1997
1912
|
};
|
|
1998
1913
|
var Pencil_default = Pencil;
|
|
1999
1914
|
|
|
2000
1915
|
// src/components/Icons/PencilFilled.svelte
|
|
2001
|
-
function
|
|
1916
|
+
function create_fragment21(ctx) {
|
|
2002
1917
|
let svg;
|
|
2003
1918
|
let path;
|
|
2004
1919
|
let svg_class_value;
|
|
@@ -2036,7 +1951,7 @@ function create_fragment22(ctx) {
|
|
|
2036
1951
|
}
|
|
2037
1952
|
};
|
|
2038
1953
|
}
|
|
2039
|
-
function
|
|
1954
|
+
function instance21($$self, $$props, $$invalidate) {
|
|
2040
1955
|
let { theme = "light" } = $$props;
|
|
2041
1956
|
let { active = false } = $$props;
|
|
2042
1957
|
$$self.$$set = ($$props2) => {
|
|
@@ -2050,13 +1965,13 @@ function instance22($$self, $$props, $$invalidate) {
|
|
|
2050
1965
|
var PencilFilled = class extends SvelteComponent {
|
|
2051
1966
|
constructor(options) {
|
|
2052
1967
|
super();
|
|
2053
|
-
init(this, options,
|
|
1968
|
+
init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
|
|
2054
1969
|
}
|
|
2055
1970
|
};
|
|
2056
1971
|
var PencilFilled_default = PencilFilled;
|
|
2057
1972
|
|
|
2058
1973
|
// src/components/Icons/Plus.svelte
|
|
2059
|
-
function
|
|
1974
|
+
function create_fragment22(ctx) {
|
|
2060
1975
|
let svg;
|
|
2061
1976
|
let path;
|
|
2062
1977
|
let svg_class_value;
|
|
@@ -2094,7 +2009,7 @@ function create_fragment23(ctx) {
|
|
|
2094
2009
|
}
|
|
2095
2010
|
};
|
|
2096
2011
|
}
|
|
2097
|
-
function
|
|
2012
|
+
function instance22($$self, $$props, $$invalidate) {
|
|
2098
2013
|
let { theme = "light" } = $$props;
|
|
2099
2014
|
let { active = false } = $$props;
|
|
2100
2015
|
$$self.$$set = ($$props2) => {
|
|
@@ -2108,13 +2023,13 @@ function instance23($$self, $$props, $$invalidate) {
|
|
|
2108
2023
|
var Plus = class extends SvelteComponent {
|
|
2109
2024
|
constructor(options) {
|
|
2110
2025
|
super();
|
|
2111
|
-
init(this, options,
|
|
2026
|
+
init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
|
|
2112
2027
|
}
|
|
2113
2028
|
};
|
|
2114
2029
|
var Plus_default = Plus;
|
|
2115
2030
|
|
|
2116
2031
|
// src/components/Icons/Rectangle.svelte
|
|
2117
|
-
function
|
|
2032
|
+
function create_fragment23(ctx) {
|
|
2118
2033
|
let svg;
|
|
2119
2034
|
let path;
|
|
2120
2035
|
let svg_class_value;
|
|
@@ -2152,7 +2067,7 @@ function create_fragment24(ctx) {
|
|
|
2152
2067
|
}
|
|
2153
2068
|
};
|
|
2154
2069
|
}
|
|
2155
|
-
function
|
|
2070
|
+
function instance23($$self, $$props, $$invalidate) {
|
|
2156
2071
|
let { theme = "light" } = $$props;
|
|
2157
2072
|
let { active = false } = $$props;
|
|
2158
2073
|
$$self.$$set = ($$props2) => {
|
|
@@ -2166,13 +2081,13 @@ function instance24($$self, $$props, $$invalidate) {
|
|
|
2166
2081
|
var Rectangle = class extends SvelteComponent {
|
|
2167
2082
|
constructor(options) {
|
|
2168
2083
|
super();
|
|
2169
|
-
init(this, options,
|
|
2084
|
+
init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
|
|
2170
2085
|
}
|
|
2171
2086
|
};
|
|
2172
2087
|
var Rectangle_default = Rectangle;
|
|
2173
2088
|
|
|
2174
2089
|
// src/components/Icons/RectangleBolded.svelte
|
|
2175
|
-
function
|
|
2090
|
+
function create_fragment24(ctx) {
|
|
2176
2091
|
let svg;
|
|
2177
2092
|
let path;
|
|
2178
2093
|
let svg_class_value;
|
|
@@ -2210,7 +2125,7 @@ function create_fragment25(ctx) {
|
|
|
2210
2125
|
}
|
|
2211
2126
|
};
|
|
2212
2127
|
}
|
|
2213
|
-
function
|
|
2128
|
+
function instance24($$self, $$props, $$invalidate) {
|
|
2214
2129
|
let { theme = "light" } = $$props;
|
|
2215
2130
|
let { active = false } = $$props;
|
|
2216
2131
|
$$self.$$set = ($$props2) => {
|
|
@@ -2224,13 +2139,13 @@ function instance25($$self, $$props, $$invalidate) {
|
|
|
2224
2139
|
var RectangleBolded = class extends SvelteComponent {
|
|
2225
2140
|
constructor(options) {
|
|
2226
2141
|
super();
|
|
2227
|
-
init(this, options,
|
|
2142
|
+
init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
|
|
2228
2143
|
}
|
|
2229
2144
|
};
|
|
2230
2145
|
var RectangleBolded_default = RectangleBolded;
|
|
2231
2146
|
|
|
2232
2147
|
// src/components/Icons/Redo.svelte
|
|
2233
|
-
function
|
|
2148
|
+
function create_fragment25(ctx) {
|
|
2234
2149
|
let svg;
|
|
2235
2150
|
let path0;
|
|
2236
2151
|
let path1;
|
|
@@ -2272,7 +2187,7 @@ function create_fragment26(ctx) {
|
|
|
2272
2187
|
}
|
|
2273
2188
|
};
|
|
2274
2189
|
}
|
|
2275
|
-
function
|
|
2190
|
+
function instance25($$self, $$props, $$invalidate) {
|
|
2276
2191
|
let { theme = "light" } = $$props;
|
|
2277
2192
|
let { active = false } = $$props;
|
|
2278
2193
|
$$self.$$set = ($$props2) => {
|
|
@@ -2286,13 +2201,13 @@ function instance26($$self, $$props, $$invalidate) {
|
|
|
2286
2201
|
var Redo = class extends SvelteComponent {
|
|
2287
2202
|
constructor(options) {
|
|
2288
2203
|
super();
|
|
2289
|
-
init(this, options,
|
|
2204
|
+
init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
|
|
2290
2205
|
}
|
|
2291
2206
|
};
|
|
2292
2207
|
var Redo_default = Redo;
|
|
2293
2208
|
|
|
2294
2209
|
// src/components/Icons/Reset.svelte
|
|
2295
|
-
function
|
|
2210
|
+
function create_fragment26(ctx) {
|
|
2296
2211
|
let svg;
|
|
2297
2212
|
let circle0;
|
|
2298
2213
|
let path;
|
|
@@ -2348,7 +2263,7 @@ function create_fragment27(ctx) {
|
|
|
2348
2263
|
}
|
|
2349
2264
|
};
|
|
2350
2265
|
}
|
|
2351
|
-
function
|
|
2266
|
+
function instance26($$self, $$props, $$invalidate) {
|
|
2352
2267
|
let { theme = "light" } = $$props;
|
|
2353
2268
|
let { active = false } = $$props;
|
|
2354
2269
|
$$self.$$set = ($$props2) => {
|
|
@@ -2362,13 +2277,13 @@ function instance27($$self, $$props, $$invalidate) {
|
|
|
2362
2277
|
var Reset = class extends SvelteComponent {
|
|
2363
2278
|
constructor(options) {
|
|
2364
2279
|
super();
|
|
2365
|
-
init(this, options,
|
|
2280
|
+
init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
|
|
2366
2281
|
}
|
|
2367
2282
|
};
|
|
2368
2283
|
var Reset_default = Reset;
|
|
2369
2284
|
|
|
2370
2285
|
// src/components/Icons/Rhombus.svelte
|
|
2371
|
-
function
|
|
2286
|
+
function create_fragment27(ctx) {
|
|
2372
2287
|
let svg;
|
|
2373
2288
|
let path;
|
|
2374
2289
|
let svg_class_value;
|
|
@@ -2406,7 +2321,7 @@ function create_fragment28(ctx) {
|
|
|
2406
2321
|
}
|
|
2407
2322
|
};
|
|
2408
2323
|
}
|
|
2409
|
-
function
|
|
2324
|
+
function instance27($$self, $$props, $$invalidate) {
|
|
2410
2325
|
let { theme = "light" } = $$props;
|
|
2411
2326
|
let { active = false } = $$props;
|
|
2412
2327
|
$$self.$$set = ($$props2) => {
|
|
@@ -2420,13 +2335,13 @@ function instance28($$self, $$props, $$invalidate) {
|
|
|
2420
2335
|
var Rhombus = class extends SvelteComponent {
|
|
2421
2336
|
constructor(options) {
|
|
2422
2337
|
super();
|
|
2423
|
-
init(this, options,
|
|
2338
|
+
init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
|
|
2424
2339
|
}
|
|
2425
2340
|
};
|
|
2426
2341
|
var Rhombus_default = Rhombus;
|
|
2427
2342
|
|
|
2428
2343
|
// src/components/Icons/RhombusBolded.svelte
|
|
2429
|
-
function
|
|
2344
|
+
function create_fragment28(ctx) {
|
|
2430
2345
|
let svg;
|
|
2431
2346
|
let path;
|
|
2432
2347
|
let svg_class_value;
|
|
@@ -2464,7 +2379,7 @@ function create_fragment29(ctx) {
|
|
|
2464
2379
|
}
|
|
2465
2380
|
};
|
|
2466
2381
|
}
|
|
2467
|
-
function
|
|
2382
|
+
function instance28($$self, $$props, $$invalidate) {
|
|
2468
2383
|
let { theme = "light" } = $$props;
|
|
2469
2384
|
let { active = false } = $$props;
|
|
2470
2385
|
$$self.$$set = ($$props2) => {
|
|
@@ -2478,13 +2393,13 @@ function instance29($$self, $$props, $$invalidate) {
|
|
|
2478
2393
|
var RhombusBolded = class extends SvelteComponent {
|
|
2479
2394
|
constructor(options) {
|
|
2480
2395
|
super();
|
|
2481
|
-
init(this, options,
|
|
2396
|
+
init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
|
|
2482
2397
|
}
|
|
2483
2398
|
};
|
|
2484
2399
|
var RhombusBolded_default = RhombusBolded;
|
|
2485
2400
|
|
|
2486
2401
|
// src/components/Icons/Right.svelte
|
|
2487
|
-
function
|
|
2402
|
+
function create_fragment29(ctx) {
|
|
2488
2403
|
let svg;
|
|
2489
2404
|
let path;
|
|
2490
2405
|
let svg_class_value;
|
|
@@ -2522,7 +2437,7 @@ function create_fragment30(ctx) {
|
|
|
2522
2437
|
}
|
|
2523
2438
|
};
|
|
2524
2439
|
}
|
|
2525
|
-
function
|
|
2440
|
+
function instance29($$self, $$props, $$invalidate) {
|
|
2526
2441
|
let { theme = "light" } = $$props;
|
|
2527
2442
|
let { active = false } = $$props;
|
|
2528
2443
|
$$self.$$set = ($$props2) => {
|
|
@@ -2536,13 +2451,13 @@ function instance30($$self, $$props, $$invalidate) {
|
|
|
2536
2451
|
var Right = class extends SvelteComponent {
|
|
2537
2452
|
constructor(options) {
|
|
2538
2453
|
super();
|
|
2539
|
-
init(this, options,
|
|
2454
|
+
init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
|
|
2540
2455
|
}
|
|
2541
2456
|
};
|
|
2542
2457
|
var Right_default = Right;
|
|
2543
2458
|
|
|
2544
2459
|
// src/components/Icons/Selector.svelte
|
|
2545
|
-
function
|
|
2460
|
+
function create_fragment30(ctx) {
|
|
2546
2461
|
let svg;
|
|
2547
2462
|
let path0;
|
|
2548
2463
|
let path1;
|
|
@@ -2589,7 +2504,7 @@ function create_fragment31(ctx) {
|
|
|
2589
2504
|
}
|
|
2590
2505
|
};
|
|
2591
2506
|
}
|
|
2592
|
-
function
|
|
2507
|
+
function instance30($$self, $$props, $$invalidate) {
|
|
2593
2508
|
let { theme = "light" } = $$props;
|
|
2594
2509
|
let { active = false } = $$props;
|
|
2595
2510
|
$$self.$$set = ($$props2) => {
|
|
@@ -2603,13 +2518,13 @@ function instance31($$self, $$props, $$invalidate) {
|
|
|
2603
2518
|
var Selector = class extends SvelteComponent {
|
|
2604
2519
|
constructor(options) {
|
|
2605
2520
|
super();
|
|
2606
|
-
init(this, options,
|
|
2521
|
+
init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
|
|
2607
2522
|
}
|
|
2608
2523
|
};
|
|
2609
2524
|
var Selector_default = Selector;
|
|
2610
2525
|
|
|
2611
2526
|
// src/components/Icons/SelectorFilled.svelte
|
|
2612
|
-
function
|
|
2527
|
+
function create_fragment31(ctx) {
|
|
2613
2528
|
let svg;
|
|
2614
2529
|
let path0;
|
|
2615
2530
|
let path1;
|
|
@@ -2654,7 +2569,7 @@ function create_fragment32(ctx) {
|
|
|
2654
2569
|
}
|
|
2655
2570
|
};
|
|
2656
2571
|
}
|
|
2657
|
-
function
|
|
2572
|
+
function instance31($$self, $$props, $$invalidate) {
|
|
2658
2573
|
let { theme = "light" } = $$props;
|
|
2659
2574
|
let { active = false } = $$props;
|
|
2660
2575
|
$$self.$$set = ($$props2) => {
|
|
@@ -2668,13 +2583,13 @@ function instance32($$self, $$props, $$invalidate) {
|
|
|
2668
2583
|
var SelectorFilled = class extends SvelteComponent {
|
|
2669
2584
|
constructor(options) {
|
|
2670
2585
|
super();
|
|
2671
|
-
init(this, options,
|
|
2586
|
+
init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
|
|
2672
2587
|
}
|
|
2673
2588
|
};
|
|
2674
2589
|
var SelectorFilled_default = SelectorFilled;
|
|
2675
2590
|
|
|
2676
2591
|
// src/components/Icons/SpeechBalloon.svelte
|
|
2677
|
-
function
|
|
2592
|
+
function create_fragment32(ctx) {
|
|
2678
2593
|
let svg;
|
|
2679
2594
|
let path;
|
|
2680
2595
|
let svg_class_value;
|
|
@@ -2712,7 +2627,7 @@ function create_fragment33(ctx) {
|
|
|
2712
2627
|
}
|
|
2713
2628
|
};
|
|
2714
2629
|
}
|
|
2715
|
-
function
|
|
2630
|
+
function instance32($$self, $$props, $$invalidate) {
|
|
2716
2631
|
let { theme = "light" } = $$props;
|
|
2717
2632
|
let { active = false } = $$props;
|
|
2718
2633
|
$$self.$$set = ($$props2) => {
|
|
@@ -2726,13 +2641,13 @@ function instance33($$self, $$props, $$invalidate) {
|
|
|
2726
2641
|
var SpeechBalloon = class extends SvelteComponent {
|
|
2727
2642
|
constructor(options) {
|
|
2728
2643
|
super();
|
|
2729
|
-
init(this, options,
|
|
2644
|
+
init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
|
|
2730
2645
|
}
|
|
2731
2646
|
};
|
|
2732
2647
|
var SpeechBalloon_default = SpeechBalloon;
|
|
2733
2648
|
|
|
2734
2649
|
// src/components/Icons/Star.svelte
|
|
2735
|
-
function
|
|
2650
|
+
function create_fragment33(ctx) {
|
|
2736
2651
|
let svg;
|
|
2737
2652
|
let path;
|
|
2738
2653
|
let svg_class_value;
|
|
@@ -2770,7 +2685,7 @@ function create_fragment34(ctx) {
|
|
|
2770
2685
|
}
|
|
2771
2686
|
};
|
|
2772
2687
|
}
|
|
2773
|
-
function
|
|
2688
|
+
function instance33($$self, $$props, $$invalidate) {
|
|
2774
2689
|
let { theme = "light" } = $$props;
|
|
2775
2690
|
let { active = false } = $$props;
|
|
2776
2691
|
$$self.$$set = ($$props2) => {
|
|
@@ -2784,13 +2699,13 @@ function instance34($$self, $$props, $$invalidate) {
|
|
|
2784
2699
|
var Star = class extends SvelteComponent {
|
|
2785
2700
|
constructor(options) {
|
|
2786
2701
|
super();
|
|
2787
|
-
init(this, options,
|
|
2702
|
+
init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
|
|
2788
2703
|
}
|
|
2789
2704
|
};
|
|
2790
2705
|
var Star_default = Star;
|
|
2791
2706
|
|
|
2792
2707
|
// src/components/Icons/StarBolded.svelte
|
|
2793
|
-
function
|
|
2708
|
+
function create_fragment34(ctx) {
|
|
2794
2709
|
let svg;
|
|
2795
2710
|
let path;
|
|
2796
2711
|
let svg_class_value;
|
|
@@ -2828,7 +2743,7 @@ function create_fragment35(ctx) {
|
|
|
2828
2743
|
}
|
|
2829
2744
|
};
|
|
2830
2745
|
}
|
|
2831
|
-
function
|
|
2746
|
+
function instance34($$self, $$props, $$invalidate) {
|
|
2832
2747
|
let { theme = "light" } = $$props;
|
|
2833
2748
|
let { active = false } = $$props;
|
|
2834
2749
|
$$self.$$set = ($$props2) => {
|
|
@@ -2842,13 +2757,13 @@ function instance35($$self, $$props, $$invalidate) {
|
|
|
2842
2757
|
var StarBolded = class extends SvelteComponent {
|
|
2843
2758
|
constructor(options) {
|
|
2844
2759
|
super();
|
|
2845
|
-
init(this, options,
|
|
2760
|
+
init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
|
|
2846
2761
|
}
|
|
2847
2762
|
};
|
|
2848
2763
|
var StarBolded_default = StarBolded;
|
|
2849
2764
|
|
|
2850
2765
|
// src/components/Icons/Text.svelte
|
|
2851
|
-
function
|
|
2766
|
+
function create_fragment35(ctx) {
|
|
2852
2767
|
let svg;
|
|
2853
2768
|
let path;
|
|
2854
2769
|
let svg_class_value;
|
|
@@ -2886,7 +2801,7 @@ function create_fragment36(ctx) {
|
|
|
2886
2801
|
}
|
|
2887
2802
|
};
|
|
2888
2803
|
}
|
|
2889
|
-
function
|
|
2804
|
+
function instance35($$self, $$props, $$invalidate) {
|
|
2890
2805
|
let { theme = "light" } = $$props;
|
|
2891
2806
|
let { active = false } = $$props;
|
|
2892
2807
|
$$self.$$set = ($$props2) => {
|
|
@@ -2900,13 +2815,13 @@ function instance36($$self, $$props, $$invalidate) {
|
|
|
2900
2815
|
var Text = class extends SvelteComponent {
|
|
2901
2816
|
constructor(options) {
|
|
2902
2817
|
super();
|
|
2903
|
-
init(this, options,
|
|
2818
|
+
init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
|
|
2904
2819
|
}
|
|
2905
2820
|
};
|
|
2906
2821
|
var Text_default = Text;
|
|
2907
2822
|
|
|
2908
2823
|
// src/components/Icons/TextFilled.svelte
|
|
2909
|
-
function
|
|
2824
|
+
function create_fragment36(ctx) {
|
|
2910
2825
|
let svg;
|
|
2911
2826
|
let path0;
|
|
2912
2827
|
let path1;
|
|
@@ -2951,7 +2866,7 @@ function create_fragment37(ctx) {
|
|
|
2951
2866
|
}
|
|
2952
2867
|
};
|
|
2953
2868
|
}
|
|
2954
|
-
function
|
|
2869
|
+
function instance36($$self, $$props, $$invalidate) {
|
|
2955
2870
|
let { theme = "light" } = $$props;
|
|
2956
2871
|
let { active = false } = $$props;
|
|
2957
2872
|
$$self.$$set = ($$props2) => {
|
|
@@ -2965,13 +2880,13 @@ function instance37($$self, $$props, $$invalidate) {
|
|
|
2965
2880
|
var TextFilled = class extends SvelteComponent {
|
|
2966
2881
|
constructor(options) {
|
|
2967
2882
|
super();
|
|
2968
|
-
init(this, options,
|
|
2883
|
+
init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
|
|
2969
2884
|
}
|
|
2970
2885
|
};
|
|
2971
2886
|
var TextFilled_default = TextFilled;
|
|
2972
2887
|
|
|
2973
2888
|
// src/components/Icons/Triangle.svelte
|
|
2974
|
-
function
|
|
2889
|
+
function create_fragment37(ctx) {
|
|
2975
2890
|
let svg;
|
|
2976
2891
|
let path;
|
|
2977
2892
|
let svg_class_value;
|
|
@@ -3009,7 +2924,7 @@ function create_fragment38(ctx) {
|
|
|
3009
2924
|
}
|
|
3010
2925
|
};
|
|
3011
2926
|
}
|
|
3012
|
-
function
|
|
2927
|
+
function instance37($$self, $$props, $$invalidate) {
|
|
3013
2928
|
let { theme = "light" } = $$props;
|
|
3014
2929
|
let { active = false } = $$props;
|
|
3015
2930
|
$$self.$$set = ($$props2) => {
|
|
@@ -3023,13 +2938,13 @@ function instance38($$self, $$props, $$invalidate) {
|
|
|
3023
2938
|
var Triangle = class extends SvelteComponent {
|
|
3024
2939
|
constructor(options) {
|
|
3025
2940
|
super();
|
|
3026
|
-
init(this, options,
|
|
2941
|
+
init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
|
|
3027
2942
|
}
|
|
3028
2943
|
};
|
|
3029
2944
|
var Triangle_default = Triangle;
|
|
3030
2945
|
|
|
3031
2946
|
// src/components/Icons/TriangleBolded.svelte
|
|
3032
|
-
function
|
|
2947
|
+
function create_fragment38(ctx) {
|
|
3033
2948
|
let svg;
|
|
3034
2949
|
let path;
|
|
3035
2950
|
let svg_class_value;
|
|
@@ -3067,7 +2982,7 @@ function create_fragment39(ctx) {
|
|
|
3067
2982
|
}
|
|
3068
2983
|
};
|
|
3069
2984
|
}
|
|
3070
|
-
function
|
|
2985
|
+
function instance38($$self, $$props, $$invalidate) {
|
|
3071
2986
|
let { theme = "light" } = $$props;
|
|
3072
2987
|
let { active = false } = $$props;
|
|
3073
2988
|
$$self.$$set = ($$props2) => {
|
|
@@ -3081,13 +2996,13 @@ function instance39($$self, $$props, $$invalidate) {
|
|
|
3081
2996
|
var TriangleBolded = class extends SvelteComponent {
|
|
3082
2997
|
constructor(options) {
|
|
3083
2998
|
super();
|
|
3084
|
-
init(this, options,
|
|
2999
|
+
init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
|
|
3085
3000
|
}
|
|
3086
3001
|
};
|
|
3087
3002
|
var TriangleBolded_default = TriangleBolded;
|
|
3088
3003
|
|
|
3089
3004
|
// src/components/Icons/Undo.svelte
|
|
3090
|
-
function
|
|
3005
|
+
function create_fragment39(ctx) {
|
|
3091
3006
|
let svg;
|
|
3092
3007
|
let path0;
|
|
3093
3008
|
let path1;
|
|
@@ -3129,7 +3044,7 @@ function create_fragment40(ctx) {
|
|
|
3129
3044
|
}
|
|
3130
3045
|
};
|
|
3131
3046
|
}
|
|
3132
|
-
function
|
|
3047
|
+
function instance39($$self, $$props, $$invalidate) {
|
|
3133
3048
|
let { theme = "light" } = $$props;
|
|
3134
3049
|
let { active = false } = $$props;
|
|
3135
3050
|
$$self.$$set = ($$props2) => {
|
|
@@ -3143,13 +3058,13 @@ function instance40($$self, $$props, $$invalidate) {
|
|
|
3143
3058
|
var Undo = class extends SvelteComponent {
|
|
3144
3059
|
constructor(options) {
|
|
3145
3060
|
super();
|
|
3146
|
-
init(this, options,
|
|
3061
|
+
init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
|
|
3147
3062
|
}
|
|
3148
3063
|
};
|
|
3149
3064
|
var Undo_default = Undo;
|
|
3150
3065
|
|
|
3151
3066
|
// src/components/Icons/Up.svelte
|
|
3152
|
-
function
|
|
3067
|
+
function create_fragment40(ctx) {
|
|
3153
3068
|
let svg;
|
|
3154
3069
|
let path;
|
|
3155
3070
|
let svg_class_value;
|
|
@@ -3187,7 +3102,7 @@ function create_fragment41(ctx) {
|
|
|
3187
3102
|
}
|
|
3188
3103
|
};
|
|
3189
3104
|
}
|
|
3190
|
-
function
|
|
3105
|
+
function instance40($$self, $$props, $$invalidate) {
|
|
3191
3106
|
let { theme = "light" } = $$props;
|
|
3192
3107
|
let { active = false } = $$props;
|
|
3193
3108
|
$$self.$$set = ($$props2) => {
|
|
@@ -3201,13 +3116,13 @@ function instance41($$self, $$props, $$invalidate) {
|
|
|
3201
3116
|
var Up = class extends SvelteComponent {
|
|
3202
3117
|
constructor(options) {
|
|
3203
3118
|
super();
|
|
3204
|
-
init(this, options,
|
|
3119
|
+
init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
|
|
3205
3120
|
}
|
|
3206
3121
|
};
|
|
3207
3122
|
var Up_default = Up;
|
|
3208
3123
|
|
|
3209
3124
|
// src/components/Icons/WhiteboardAdd.svelte
|
|
3210
|
-
function
|
|
3125
|
+
function create_fragment41(ctx) {
|
|
3211
3126
|
let svg;
|
|
3212
3127
|
let path0;
|
|
3213
3128
|
let rect;
|
|
@@ -3265,7 +3180,7 @@ function create_fragment42(ctx) {
|
|
|
3265
3180
|
}
|
|
3266
3181
|
};
|
|
3267
3182
|
}
|
|
3268
|
-
function
|
|
3183
|
+
function instance41($$self, $$props, $$invalidate) {
|
|
3269
3184
|
let { theme = "light" } = $$props;
|
|
3270
3185
|
let { active = false } = $$props;
|
|
3271
3186
|
$$self.$$set = ($$props2) => {
|
|
@@ -3279,13 +3194,13 @@ function instance42($$self, $$props, $$invalidate) {
|
|
|
3279
3194
|
var WhiteboardAdd = class extends SvelteComponent {
|
|
3280
3195
|
constructor(options) {
|
|
3281
3196
|
super();
|
|
3282
|
-
init(this, options,
|
|
3197
|
+
init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
|
|
3283
3198
|
}
|
|
3284
3199
|
};
|
|
3285
3200
|
var WhiteboardAdd_default = WhiteboardAdd;
|
|
3286
3201
|
|
|
3287
3202
|
// src/components/Icons/Play.svelte
|
|
3288
|
-
function
|
|
3203
|
+
function create_fragment42(ctx) {
|
|
3289
3204
|
let svg;
|
|
3290
3205
|
let path;
|
|
3291
3206
|
let svg_class_value;
|
|
@@ -3321,7 +3236,7 @@ function create_fragment43(ctx) {
|
|
|
3321
3236
|
}
|
|
3322
3237
|
};
|
|
3323
3238
|
}
|
|
3324
|
-
function
|
|
3239
|
+
function instance42($$self, $$props, $$invalidate) {
|
|
3325
3240
|
let { theme = "light" } = $$props;
|
|
3326
3241
|
let { active = false } = $$props;
|
|
3327
3242
|
$$self.$$set = ($$props2) => {
|
|
@@ -3335,13 +3250,13 @@ function instance43($$self, $$props, $$invalidate) {
|
|
|
3335
3250
|
var Play = class extends SvelteComponent {
|
|
3336
3251
|
constructor(options) {
|
|
3337
3252
|
super();
|
|
3338
|
-
init(this, options,
|
|
3253
|
+
init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
|
|
3339
3254
|
}
|
|
3340
3255
|
};
|
|
3341
3256
|
var Play_default = Play;
|
|
3342
3257
|
|
|
3343
3258
|
// src/components/Icons/Pause.svelte
|
|
3344
|
-
function
|
|
3259
|
+
function create_fragment43(ctx) {
|
|
3345
3260
|
let svg;
|
|
3346
3261
|
let path;
|
|
3347
3262
|
let svg_class_value;
|
|
@@ -3377,7 +3292,7 @@ function create_fragment44(ctx) {
|
|
|
3377
3292
|
}
|
|
3378
3293
|
};
|
|
3379
3294
|
}
|
|
3380
|
-
function
|
|
3295
|
+
function instance43($$self, $$props, $$invalidate) {
|
|
3381
3296
|
let { theme = "light" } = $$props;
|
|
3382
3297
|
let { active = false } = $$props;
|
|
3383
3298
|
$$self.$$set = ($$props2) => {
|
|
@@ -3391,13 +3306,13 @@ function instance44($$self, $$props, $$invalidate) {
|
|
|
3391
3306
|
var Pause = class extends SvelteComponent {
|
|
3392
3307
|
constructor(options) {
|
|
3393
3308
|
super();
|
|
3394
|
-
init(this, options,
|
|
3309
|
+
init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
|
|
3395
3310
|
}
|
|
3396
3311
|
};
|
|
3397
3312
|
var Pause_default = Pause;
|
|
3398
3313
|
|
|
3399
3314
|
// src/components/Icons/Loading.svelte
|
|
3400
|
-
function
|
|
3315
|
+
function create_fragment44(ctx) {
|
|
3401
3316
|
let svg;
|
|
3402
3317
|
let path;
|
|
3403
3318
|
let svg_class_value;
|
|
@@ -3433,7 +3348,7 @@ function create_fragment45(ctx) {
|
|
|
3433
3348
|
}
|
|
3434
3349
|
};
|
|
3435
3350
|
}
|
|
3436
|
-
function
|
|
3351
|
+
function instance44($$self, $$props, $$invalidate) {
|
|
3437
3352
|
let { theme = "light" } = $$props;
|
|
3438
3353
|
let { active = false } = $$props;
|
|
3439
3354
|
$$self.$$set = ($$props2) => {
|
|
@@ -3447,7 +3362,7 @@ function instance45($$self, $$props, $$invalidate) {
|
|
|
3447
3362
|
var Loading = class extends SvelteComponent {
|
|
3448
3363
|
constructor(options) {
|
|
3449
3364
|
super();
|
|
3450
|
-
init(this, options,
|
|
3365
|
+
init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
|
|
3451
3366
|
}
|
|
3452
3367
|
};
|
|
3453
3368
|
var Loading_default = Loading;
|
|
@@ -3461,7 +3376,6 @@ var Icons = {
|
|
|
3461
3376
|
BalloonBolded: BalloonBolded_default,
|
|
3462
3377
|
Circle: Circle_default,
|
|
3463
3378
|
CircleBolded: CircleBolded_default,
|
|
3464
|
-
Clean: Clean_default,
|
|
3465
3379
|
Clear: Clear_default,
|
|
3466
3380
|
Click: Click_default,
|
|
3467
3381
|
ClickFilled: ClickFilled_default,
|
|
@@ -3513,12 +3427,12 @@ if (is_client) {
|
|
|
3513
3427
|
{
|
|
3514
3428
|
name: "className",
|
|
3515
3429
|
defaultValue: "",
|
|
3516
|
-
fn(
|
|
3430
|
+
fn(instance59) {
|
|
3517
3431
|
function add() {
|
|
3518
|
-
const el =
|
|
3432
|
+
const el = instance59.popper.firstElementChild;
|
|
3519
3433
|
if (el) {
|
|
3520
3434
|
el.classList.add("fastboard-tip");
|
|
3521
|
-
const extra = (
|
|
3435
|
+
const extra = (instance59.props.className || "").trim();
|
|
3522
3436
|
if (extra) {
|
|
3523
3437
|
el.classList.add(extra);
|
|
3524
3438
|
}
|
|
@@ -3526,7 +3440,7 @@ if (is_client) {
|
|
|
3526
3440
|
}
|
|
3527
3441
|
function remove() {
|
|
3528
3442
|
var _a;
|
|
3529
|
-
(_a =
|
|
3443
|
+
(_a = instance59.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3530
3444
|
}
|
|
3531
3445
|
return {
|
|
3532
3446
|
onCreate: add,
|
|
@@ -3539,21 +3453,21 @@ if (is_client) {
|
|
|
3539
3453
|
});
|
|
3540
3454
|
}
|
|
3541
3455
|
var tippy = function(node, props) {
|
|
3542
|
-
const
|
|
3456
|
+
const instance59 = (0, import_tippy.default)(node, props);
|
|
3543
3457
|
return {
|
|
3544
3458
|
update(props2) {
|
|
3545
|
-
|
|
3459
|
+
instance59.setProps(props2);
|
|
3546
3460
|
},
|
|
3547
3461
|
destroy() {
|
|
3548
|
-
|
|
3462
|
+
instance59.destroy();
|
|
3549
3463
|
}
|
|
3550
3464
|
};
|
|
3551
3465
|
};
|
|
3552
3466
|
function tippy_hide_all() {
|
|
3553
3467
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3554
|
-
const
|
|
3555
|
-
if (
|
|
3556
|
-
|
|
3468
|
+
const instance59 = el._tippy;
|
|
3469
|
+
if (instance59)
|
|
3470
|
+
instance59.hide();
|
|
3557
3471
|
});
|
|
3558
3472
|
}
|
|
3559
3473
|
var tippy_menu = {
|
|
@@ -3637,7 +3551,7 @@ function create_if_block2(ctx) {
|
|
|
3637
3551
|
return 0;
|
|
3638
3552
|
return 1;
|
|
3639
3553
|
}
|
|
3640
|
-
current_block_type_index = select_block_type_1(ctx
|
|
3554
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
3641
3555
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3642
3556
|
return {
|
|
3643
3557
|
c() {
|
|
@@ -3651,7 +3565,7 @@ function create_if_block2(ctx) {
|
|
|
3651
3565
|
},
|
|
3652
3566
|
p(ctx2, dirty) {
|
|
3653
3567
|
let previous_block_index = current_block_type_index;
|
|
3654
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
3568
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
3655
3569
|
if (current_block_type_index === previous_block_index) {
|
|
3656
3570
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3657
3571
|
} else {
|
|
@@ -3873,7 +3787,7 @@ function create_if_block_1(ctx) {
|
|
|
3873
3787
|
}
|
|
3874
3788
|
};
|
|
3875
3789
|
}
|
|
3876
|
-
function
|
|
3790
|
+
function create_fragment45(ctx) {
|
|
3877
3791
|
let current_block_type_index;
|
|
3878
3792
|
let if_block;
|
|
3879
3793
|
let if_block_anchor;
|
|
@@ -3885,7 +3799,7 @@ function create_fragment46(ctx) {
|
|
|
3885
3799
|
return 0;
|
|
3886
3800
|
return 1;
|
|
3887
3801
|
}
|
|
3888
|
-
current_block_type_index = select_block_type(ctx
|
|
3802
|
+
current_block_type_index = select_block_type(ctx);
|
|
3889
3803
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3890
3804
|
return {
|
|
3891
3805
|
c() {
|
|
@@ -3899,7 +3813,7 @@ function create_fragment46(ctx) {
|
|
|
3899
3813
|
},
|
|
3900
3814
|
p(ctx2, [dirty]) {
|
|
3901
3815
|
let previous_block_index = current_block_type_index;
|
|
3902
|
-
current_block_type_index = select_block_type(ctx2
|
|
3816
|
+
current_block_type_index = select_block_type(ctx2);
|
|
3903
3817
|
if (current_block_type_index === previous_block_index) {
|
|
3904
3818
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3905
3819
|
} else {
|
|
@@ -3936,7 +3850,7 @@ function create_fragment46(ctx) {
|
|
|
3936
3850
|
}
|
|
3937
3851
|
};
|
|
3938
3852
|
}
|
|
3939
|
-
function
|
|
3853
|
+
function instance45($$self, $$props, $$invalidate) {
|
|
3940
3854
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
3941
3855
|
let { class: className = "" } = $$props;
|
|
3942
3856
|
let { name: name10 = "fastboard-ui" } = $$props;
|
|
@@ -3994,7 +3908,7 @@ function instance46($$self, $$props, $$invalidate) {
|
|
|
3994
3908
|
var Button = class extends SvelteComponent {
|
|
3995
3909
|
constructor(options) {
|
|
3996
3910
|
super();
|
|
3997
|
-
init(this, options,
|
|
3911
|
+
init(this, options, instance45, create_fragment45, safe_not_equal, {
|
|
3998
3912
|
class: 0,
|
|
3999
3913
|
name: 1,
|
|
4000
3914
|
theme: 2,
|
|
@@ -4165,7 +4079,7 @@ function create_default_slot(ctx) {
|
|
|
4165
4079
|
}
|
|
4166
4080
|
};
|
|
4167
4081
|
}
|
|
4168
|
-
function
|
|
4082
|
+
function create_fragment46(ctx) {
|
|
4169
4083
|
let div;
|
|
4170
4084
|
let button0;
|
|
4171
4085
|
let t_1;
|
|
@@ -4266,7 +4180,7 @@ var i18n = {
|
|
|
4266
4180
|
}
|
|
4267
4181
|
};
|
|
4268
4182
|
var name = "fastboard-redo-undo";
|
|
4269
|
-
function
|
|
4183
|
+
function instance46($$self, $$props, $$invalidate) {
|
|
4270
4184
|
let writable2;
|
|
4271
4185
|
let disabled;
|
|
4272
4186
|
let t;
|
|
@@ -4303,36 +4217,28 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4303
4217
|
};
|
|
4304
4218
|
$$self.$$.update = () => {
|
|
4305
4219
|
if ($$self.$$.dirty & 2048) {
|
|
4306
|
-
|
|
4307
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4220
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4308
4221
|
}
|
|
4309
4222
|
if ($$self.$$.dirty & 65536) {
|
|
4310
|
-
|
|
4311
|
-
$$invalidate(13, disabled = !$writable);
|
|
4223
|
+
$$invalidate(13, disabled = !$writable);
|
|
4312
4224
|
}
|
|
4313
4225
|
if ($$self.$$.dirty & 4096) {
|
|
4314
|
-
|
|
4315
|
-
$$invalidate(7, t = i18n[language]);
|
|
4226
|
+
$$invalidate(7, t = i18n[language]);
|
|
4316
4227
|
}
|
|
4317
4228
|
if ($$self.$$.dirty & 8192) {
|
|
4318
|
-
|
|
4319
|
-
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4229
|
+
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4320
4230
|
}
|
|
4321
4231
|
if ($$self.$$.dirty & 2048) {
|
|
4322
|
-
|
|
4323
|
-
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4232
|
+
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4324
4233
|
}
|
|
4325
4234
|
if ($$self.$$.dirty & 2048) {
|
|
4326
|
-
|
|
4327
|
-
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4235
|
+
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4328
4236
|
}
|
|
4329
4237
|
if ($$self.$$.dirty & 40960) {
|
|
4330
|
-
|
|
4331
|
-
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4238
|
+
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4332
4239
|
}
|
|
4333
4240
|
if ($$self.$$.dirty & 24576) {
|
|
4334
|
-
|
|
4335
|
-
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4241
|
+
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4336
4242
|
}
|
|
4337
4243
|
};
|
|
4338
4244
|
return [
|
|
@@ -4358,7 +4264,7 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4358
4264
|
var RedoUndo = class extends SvelteComponent {
|
|
4359
4265
|
constructor(options) {
|
|
4360
4266
|
super();
|
|
4361
|
-
init(this, options,
|
|
4267
|
+
init(this, options, instance46, create_fragment46, safe_not_equal, {
|
|
4362
4268
|
app: 11,
|
|
4363
4269
|
theme: 0,
|
|
4364
4270
|
language: 12,
|
|
@@ -4651,7 +4557,7 @@ function create_default_slot2(ctx) {
|
|
|
4651
4557
|
}
|
|
4652
4558
|
};
|
|
4653
4559
|
}
|
|
4654
|
-
function
|
|
4560
|
+
function create_fragment47(ctx) {
|
|
4655
4561
|
let div;
|
|
4656
4562
|
let button0;
|
|
4657
4563
|
let t0;
|
|
@@ -4680,7 +4586,7 @@ function create_fragment48(ctx) {
|
|
|
4680
4586
|
return create_if_block3;
|
|
4681
4587
|
return create_else_block3;
|
|
4682
4588
|
}
|
|
4683
|
-
let current_block_type = select_block_type(ctx
|
|
4589
|
+
let current_block_type = select_block_type(ctx);
|
|
4684
4590
|
let if_block = current_block_type(ctx);
|
|
4685
4591
|
button1 = new Button_default({
|
|
4686
4592
|
props: {
|
|
@@ -4744,7 +4650,7 @@ function create_fragment48(ctx) {
|
|
|
4744
4650
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
4745
4651
|
}
|
|
4746
4652
|
button0.$set(button0_changes);
|
|
4747
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
4653
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
4748
4654
|
if_block.p(ctx2, dirty);
|
|
4749
4655
|
} else {
|
|
4750
4656
|
if_block.d(1);
|
|
@@ -4820,7 +4726,7 @@ var i18n2 = {
|
|
|
4820
4726
|
}
|
|
4821
4727
|
};
|
|
4822
4728
|
var name2 = "fastboard-page-control";
|
|
4823
|
-
function
|
|
4729
|
+
function instance47($$self, $$props, $$invalidate) {
|
|
4824
4730
|
let writable2;
|
|
4825
4731
|
let disabled;
|
|
4826
4732
|
let t;
|
|
@@ -4861,36 +4767,28 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4861
4767
|
};
|
|
4862
4768
|
$$self.$$.update = () => {
|
|
4863
4769
|
if ($$self.$$.dirty & 32768) {
|
|
4864
|
-
|
|
4865
|
-
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4770
|
+
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4866
4771
|
}
|
|
4867
4772
|
if ($$self.$$.dirty & 131072) {
|
|
4868
|
-
|
|
4869
|
-
$$invalidate(2, disabled = !$writable);
|
|
4773
|
+
$$invalidate(2, disabled = !$writable);
|
|
4870
4774
|
}
|
|
4871
4775
|
if ($$self.$$.dirty & 65536) {
|
|
4872
|
-
|
|
4873
|
-
$$invalidate(10, t = i18n2[language]);
|
|
4776
|
+
$$invalidate(10, t = i18n2[language]);
|
|
4874
4777
|
}
|
|
4875
4778
|
if ($$self.$$.dirty & 4) {
|
|
4876
|
-
|
|
4877
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4779
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4878
4780
|
}
|
|
4879
4781
|
if ($$self.$$.dirty & 32768) {
|
|
4880
|
-
|
|
4881
|
-
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4782
|
+
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4882
4783
|
}
|
|
4883
4784
|
if ($$self.$$.dirty & 32768) {
|
|
4884
|
-
|
|
4885
|
-
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4785
|
+
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4886
4786
|
}
|
|
4887
4787
|
if ($$self.$$.dirty & 20) {
|
|
4888
|
-
|
|
4889
|
-
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4788
|
+
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4890
4789
|
}
|
|
4891
4790
|
if ($$self.$$.dirty & 28) {
|
|
4892
|
-
|
|
4893
|
-
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4791
|
+
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4894
4792
|
}
|
|
4895
4793
|
};
|
|
4896
4794
|
return [
|
|
@@ -4917,7 +4815,7 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4917
4815
|
var PageControl = class extends SvelteComponent {
|
|
4918
4816
|
constructor(options) {
|
|
4919
4817
|
super();
|
|
4920
|
-
init(this, options,
|
|
4818
|
+
init(this, options, instance47, create_fragment47, safe_not_equal, {
|
|
4921
4819
|
app: 15,
|
|
4922
4820
|
theme: 0,
|
|
4923
4821
|
language: 16,
|
|
@@ -5208,7 +5106,7 @@ function create_default_slot3(ctx) {
|
|
|
5208
5106
|
}
|
|
5209
5107
|
};
|
|
5210
5108
|
}
|
|
5211
|
-
function
|
|
5109
|
+
function create_fragment48(ctx) {
|
|
5212
5110
|
let div;
|
|
5213
5111
|
let button0;
|
|
5214
5112
|
let t0;
|
|
@@ -5237,7 +5135,7 @@ function create_fragment49(ctx) {
|
|
|
5237
5135
|
return create_if_block4;
|
|
5238
5136
|
return create_else_block4;
|
|
5239
5137
|
}
|
|
5240
|
-
let current_block_type = select_block_type(ctx
|
|
5138
|
+
let current_block_type = select_block_type(ctx);
|
|
5241
5139
|
let if_block = current_block_type(ctx);
|
|
5242
5140
|
button1 = new Button_default({
|
|
5243
5141
|
props: {
|
|
@@ -5301,7 +5199,7 @@ function create_fragment49(ctx) {
|
|
|
5301
5199
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
5302
5200
|
}
|
|
5303
5201
|
button0.$set(button0_changes);
|
|
5304
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
5202
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
5305
5203
|
if_block.p(ctx2, dirty);
|
|
5306
5204
|
} else {
|
|
5307
5205
|
if_block.d(1);
|
|
@@ -5406,7 +5304,7 @@ function next_scale(scale, delta) {
|
|
|
5406
5304
|
return 1;
|
|
5407
5305
|
}
|
|
5408
5306
|
var name3 = "fastboard-zoom-control";
|
|
5409
|
-
function
|
|
5307
|
+
function instance48($$self, $$props, $$invalidate) {
|
|
5410
5308
|
let writable2;
|
|
5411
5309
|
let disabled;
|
|
5412
5310
|
let t;
|
|
@@ -5453,36 +5351,28 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5453
5351
|
$$self.$$.update = () => {
|
|
5454
5352
|
var _a;
|
|
5455
5353
|
if ($$self.$$.dirty & 16384) {
|
|
5456
|
-
|
|
5457
|
-
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5354
|
+
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5458
5355
|
}
|
|
5459
5356
|
if ($$self.$$.dirty & 65536) {
|
|
5460
|
-
|
|
5461
|
-
$$invalidate(3, disabled = !$writable);
|
|
5357
|
+
$$invalidate(3, disabled = !$writable);
|
|
5462
5358
|
}
|
|
5463
5359
|
if ($$self.$$.dirty & 32768) {
|
|
5464
|
-
|
|
5465
|
-
$$invalidate(9, t = i18n3[language]);
|
|
5360
|
+
$$invalidate(9, t = i18n3[language]);
|
|
5466
5361
|
}
|
|
5467
5362
|
if ($$self.$$.dirty & 8) {
|
|
5468
|
-
|
|
5469
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5363
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5470
5364
|
}
|
|
5471
5365
|
if ($$self.$$.dirty & 16384) {
|
|
5472
|
-
|
|
5473
|
-
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5366
|
+
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5474
5367
|
}
|
|
5475
5368
|
if ($$self.$$.dirty & 16) {
|
|
5476
|
-
|
|
5477
|
-
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5369
|
+
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5478
5370
|
}
|
|
5479
5371
|
if ($$self.$$.dirty & 12) {
|
|
5480
|
-
|
|
5481
|
-
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5372
|
+
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5482
5373
|
}
|
|
5483
5374
|
if ($$self.$$.dirty & 12) {
|
|
5484
|
-
|
|
5485
|
-
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5375
|
+
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5486
5376
|
}
|
|
5487
5377
|
};
|
|
5488
5378
|
return [
|
|
@@ -5508,7 +5398,7 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5508
5398
|
var ZoomControl = class extends SvelteComponent {
|
|
5509
5399
|
constructor(options) {
|
|
5510
5400
|
super();
|
|
5511
|
-
init(this, options,
|
|
5401
|
+
init(this, options, instance48, create_fragment48, safe_not_equal, {
|
|
5512
5402
|
app: 14,
|
|
5513
5403
|
theme: 0,
|
|
5514
5404
|
language: 15,
|
|
@@ -5736,7 +5626,10 @@ var apps = new AppsInToolbar([
|
|
|
5736
5626
|
icon: visual_studio_code_default,
|
|
5737
5627
|
label: "Code Editor",
|
|
5738
5628
|
onClick(app) {
|
|
5739
|
-
app.
|
|
5629
|
+
app.manager.addApp({
|
|
5630
|
+
kind: "Monaco",
|
|
5631
|
+
options: { title: "Code Editor" }
|
|
5632
|
+
});
|
|
5740
5633
|
}
|
|
5741
5634
|
},
|
|
5742
5635
|
{
|
|
@@ -5744,7 +5637,10 @@ var apps = new AppsInToolbar([
|
|
|
5744
5637
|
icon: geogebra_default,
|
|
5745
5638
|
label: "GeoGebra",
|
|
5746
5639
|
onClick(app) {
|
|
5747
|
-
app.
|
|
5640
|
+
app.manager.addApp({
|
|
5641
|
+
kind: "GeoGebra",
|
|
5642
|
+
options: { title: "GeoGebra" }
|
|
5643
|
+
});
|
|
5748
5644
|
}
|
|
5749
5645
|
},
|
|
5750
5646
|
{
|
|
@@ -5752,7 +5648,10 @@ var apps = new AppsInToolbar([
|
|
|
5752
5648
|
icon: countdown_default,
|
|
5753
5649
|
label: "Countdown",
|
|
5754
5650
|
onClick(app) {
|
|
5755
|
-
app.
|
|
5651
|
+
app.manager.addApp({
|
|
5652
|
+
kind: "Countdown",
|
|
5653
|
+
options: { title: "Countdown" }
|
|
5654
|
+
});
|
|
5756
5655
|
}
|
|
5757
5656
|
}
|
|
5758
5657
|
]);
|
|
@@ -5774,7 +5673,7 @@ function tooltip(text2, hotkey) {
|
|
|
5774
5673
|
}
|
|
5775
5674
|
|
|
5776
5675
|
// src/components/Toolbar/components/Slider.svelte
|
|
5777
|
-
function
|
|
5676
|
+
function create_fragment49(ctx) {
|
|
5778
5677
|
let div;
|
|
5779
5678
|
let input;
|
|
5780
5679
|
let input_class_value;
|
|
@@ -5862,7 +5761,7 @@ function create_fragment50(ctx) {
|
|
|
5862
5761
|
};
|
|
5863
5762
|
}
|
|
5864
5763
|
var name4 = "fastboard-slider";
|
|
5865
|
-
function
|
|
5764
|
+
function instance49($$self, $$props, $$invalidate) {
|
|
5866
5765
|
let percent;
|
|
5867
5766
|
const dispatch = createEventDispatcher();
|
|
5868
5767
|
let { class: className = "" } = $$props;
|
|
@@ -5904,14 +5803,12 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5904
5803
|
};
|
|
5905
5804
|
$$self.$$.update = () => {
|
|
5906
5805
|
if ($$self.$$.dirty & 385) {
|
|
5907
|
-
|
|
5908
|
-
if (value !== real_value && !grabbing) {
|
|
5806
|
+
if (value !== real_value && !grabbing) {
|
|
5909
5807
|
$$invalidate(7, real_value = value);
|
|
5910
5808
|
}
|
|
5911
5809
|
}
|
|
5912
5810
|
if ($$self.$$.dirty & 152) {
|
|
5913
|
-
|
|
5914
|
-
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5811
|
+
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5915
5812
|
}
|
|
5916
5813
|
};
|
|
5917
5814
|
return [
|
|
@@ -5933,7 +5830,7 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5933
5830
|
var Slider = class extends SvelteComponent {
|
|
5934
5831
|
constructor(options) {
|
|
5935
5832
|
super();
|
|
5936
|
-
init(this, options,
|
|
5833
|
+
init(this, options, instance49, create_fragment49, safe_not_equal, {
|
|
5937
5834
|
class: 1,
|
|
5938
5835
|
theme: 2,
|
|
5939
5836
|
min: 3,
|
|
@@ -5947,7 +5844,7 @@ var Slider = class extends SvelteComponent {
|
|
|
5947
5844
|
var Slider_default = Slider;
|
|
5948
5845
|
|
|
5949
5846
|
// src/components/Toolbar/components/StrokeWidth.svelte
|
|
5950
|
-
function
|
|
5847
|
+
function create_fragment50(ctx) {
|
|
5951
5848
|
let slider;
|
|
5952
5849
|
let current;
|
|
5953
5850
|
const slider_spread_levels = [
|
|
@@ -5994,7 +5891,7 @@ function create_fragment51(ctx) {
|
|
|
5994
5891
|
}
|
|
5995
5892
|
};
|
|
5996
5893
|
}
|
|
5997
|
-
function
|
|
5894
|
+
function instance50($$self, $$props, $$invalidate) {
|
|
5998
5895
|
let memberState;
|
|
5999
5896
|
let value;
|
|
6000
5897
|
let props;
|
|
@@ -6017,16 +5914,13 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6017
5914
|
$$self.$$.update = () => {
|
|
6018
5915
|
var _a;
|
|
6019
5916
|
if ($$self.$$.dirty & 8) {
|
|
6020
|
-
|
|
6021
|
-
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5917
|
+
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
6022
5918
|
}
|
|
6023
5919
|
if ($$self.$$.dirty & 128) {
|
|
6024
|
-
|
|
6025
|
-
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
5920
|
+
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
6026
5921
|
}
|
|
6027
5922
|
if ($$self.$$.dirty & 112) {
|
|
6028
|
-
|
|
6029
|
-
$$invalidate(0, props = { value, theme, disabled });
|
|
5923
|
+
$$invalidate(0, props = { value, theme, disabled });
|
|
6030
5924
|
}
|
|
6031
5925
|
};
|
|
6032
5926
|
return [
|
|
@@ -6043,7 +5937,7 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6043
5937
|
var StrokeWidth = class extends SvelteComponent {
|
|
6044
5938
|
constructor(options) {
|
|
6045
5939
|
super();
|
|
6046
|
-
init(this, options,
|
|
5940
|
+
init(this, options, instance50, create_fragment50, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
|
|
6047
5941
|
}
|
|
6048
5942
|
};
|
|
6049
5943
|
var StrokeWidth_default = StrokeWidth;
|
|
@@ -6059,7 +5953,6 @@ function create_each_block(key_1, ctx) {
|
|
|
6059
5953
|
let span;
|
|
6060
5954
|
let t;
|
|
6061
5955
|
let button_class_value;
|
|
6062
|
-
let button_data_color_key_value;
|
|
6063
5956
|
return {
|
|
6064
5957
|
key: key_1,
|
|
6065
5958
|
first: null,
|
|
@@ -6070,7 +5963,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6070
5963
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6071
5964
|
set_style(span, "background-color", ctx[7], false);
|
|
6072
5965
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6073
|
-
attr(button, "data-color-key",
|
|
5966
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6074
5967
|
button.disabled = ctx[1];
|
|
6075
5968
|
toggle_class(button, "is-active", is_equal_color(ctx[2], colors[ctx[7]]));
|
|
6076
5969
|
this.first = button;
|
|
@@ -6098,7 +5991,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6098
5991
|
}
|
|
6099
5992
|
};
|
|
6100
5993
|
}
|
|
6101
|
-
function
|
|
5994
|
+
function create_fragment51(ctx) {
|
|
6102
5995
|
let div;
|
|
6103
5996
|
let each_blocks = [];
|
|
6104
5997
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6155,7 +6048,7 @@ function create_fragment52(ctx) {
|
|
|
6155
6048
|
function is_equal_color(a, b) {
|
|
6156
6049
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6157
6050
|
}
|
|
6158
|
-
function
|
|
6051
|
+
function instance51($$self, $$props, $$invalidate) {
|
|
6159
6052
|
let memberState;
|
|
6160
6053
|
let strokeColor;
|
|
6161
6054
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6182,12 +6075,10 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6182
6075
|
};
|
|
6183
6076
|
$$self.$$.update = () => {
|
|
6184
6077
|
if ($$self.$$.dirty & 32) {
|
|
6185
|
-
|
|
6186
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6078
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6187
6079
|
}
|
|
6188
6080
|
if ($$self.$$.dirty & 64) {
|
|
6189
|
-
|
|
6190
|
-
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6081
|
+
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6191
6082
|
}
|
|
6192
6083
|
};
|
|
6193
6084
|
return [theme, disabled, strokeColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6195,7 +6086,7 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6195
6086
|
var StrokeColor = class extends SvelteComponent {
|
|
6196
6087
|
constructor(options) {
|
|
6197
6088
|
super();
|
|
6198
|
-
init(this, options,
|
|
6089
|
+
init(this, options, instance51, create_fragment51, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6199
6090
|
}
|
|
6200
6091
|
};
|
|
6201
6092
|
var StrokeColor_default = StrokeColor;
|
|
@@ -6211,7 +6102,6 @@ function create_each_block2(key_1, ctx) {
|
|
|
6211
6102
|
let span;
|
|
6212
6103
|
let t;
|
|
6213
6104
|
let button_class_value;
|
|
6214
|
-
let button_data_color_key_value;
|
|
6215
6105
|
return {
|
|
6216
6106
|
key: key_1,
|
|
6217
6107
|
first: null,
|
|
@@ -6222,7 +6112,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6222
6112
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6223
6113
|
set_style(span, "background-color", ctx[7], false);
|
|
6224
6114
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6225
|
-
attr(button, "data-color-key",
|
|
6115
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6226
6116
|
button.disabled = ctx[1];
|
|
6227
6117
|
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6228
6118
|
this.first = button;
|
|
@@ -6250,7 +6140,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6250
6140
|
}
|
|
6251
6141
|
};
|
|
6252
6142
|
}
|
|
6253
|
-
function
|
|
6143
|
+
function create_fragment52(ctx) {
|
|
6254
6144
|
let div;
|
|
6255
6145
|
let each_blocks = [];
|
|
6256
6146
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6307,7 +6197,7 @@ function create_fragment53(ctx) {
|
|
|
6307
6197
|
function is_equal_color2(a, b) {
|
|
6308
6198
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6309
6199
|
}
|
|
6310
|
-
function
|
|
6200
|
+
function instance52($$self, $$props, $$invalidate) {
|
|
6311
6201
|
let memberState;
|
|
6312
6202
|
let textColor;
|
|
6313
6203
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6334,12 +6224,10 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6334
6224
|
};
|
|
6335
6225
|
$$self.$$.update = () => {
|
|
6336
6226
|
if ($$self.$$.dirty & 32) {
|
|
6337
|
-
|
|
6338
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6227
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6339
6228
|
}
|
|
6340
6229
|
if ($$self.$$.dirty & 64) {
|
|
6341
|
-
|
|
6342
|
-
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6230
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6343
6231
|
}
|
|
6344
6232
|
};
|
|
6345
6233
|
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6347,7 +6235,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6347
6235
|
var TextColor = class extends SvelteComponent {
|
|
6348
6236
|
constructor(options) {
|
|
6349
6237
|
super();
|
|
6350
|
-
init(this, options,
|
|
6238
|
+
init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6351
6239
|
}
|
|
6352
6240
|
};
|
|
6353
6241
|
var TextColor_default = TextColor;
|
|
@@ -6506,7 +6394,6 @@ function create_each_block3(key_1, ctx) {
|
|
|
6506
6394
|
let if_block;
|
|
6507
6395
|
let t_1;
|
|
6508
6396
|
let button_class_value;
|
|
6509
|
-
let button_data_shape_key_value;
|
|
6510
6397
|
let tippy_action;
|
|
6511
6398
|
let current;
|
|
6512
6399
|
let mounted;
|
|
@@ -6518,7 +6405,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6518
6405
|
return 0;
|
|
6519
6406
|
return 1;
|
|
6520
6407
|
}
|
|
6521
|
-
current_block_type_index = select_block_type(ctx
|
|
6408
|
+
current_block_type_index = select_block_type(ctx);
|
|
6522
6409
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6523
6410
|
return {
|
|
6524
6411
|
key: key_1,
|
|
@@ -6528,7 +6415,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6528
6415
|
if_block.c();
|
|
6529
6416
|
t_1 = space();
|
|
6530
6417
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
|
|
6531
|
-
attr(button, "data-shape-key",
|
|
6418
|
+
attr(button, "data-shape-key", ctx[12]);
|
|
6532
6419
|
button.disabled = ctx[1];
|
|
6533
6420
|
toggle_class(button, "is-active", ctx[13]);
|
|
6534
6421
|
this.first = button;
|
|
@@ -6549,7 +6436,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6549
6436
|
p(new_ctx, dirty) {
|
|
6550
6437
|
ctx = new_ctx;
|
|
6551
6438
|
let previous_block_index = current_block_type_index;
|
|
6552
|
-
current_block_type_index = select_block_type(ctx
|
|
6439
|
+
current_block_type_index = select_block_type(ctx);
|
|
6553
6440
|
if (current_block_type_index === previous_block_index) {
|
|
6554
6441
|
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
6555
6442
|
} else {
|
|
@@ -6602,7 +6489,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6602
6489
|
}
|
|
6603
6490
|
};
|
|
6604
6491
|
}
|
|
6605
|
-
function
|
|
6492
|
+
function create_fragment53(ctx) {
|
|
6606
6493
|
let div;
|
|
6607
6494
|
let each_blocks = [];
|
|
6608
6495
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6694,7 +6581,7 @@ var i18n5 = {
|
|
|
6694
6581
|
speechBalloon: "\u6C14\u6CE1"
|
|
6695
6582
|
}
|
|
6696
6583
|
};
|
|
6697
|
-
function
|
|
6584
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6698
6585
|
let t;
|
|
6699
6586
|
let memberState;
|
|
6700
6587
|
let appliance;
|
|
@@ -6732,28 +6619,22 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6732
6619
|
};
|
|
6733
6620
|
$$self.$$.update = () => {
|
|
6734
6621
|
if ($$self.$$.dirty & 512) {
|
|
6735
|
-
|
|
6736
|
-
$$invalidate(6, t = i18n5[language]);
|
|
6622
|
+
$$invalidate(6, t = i18n5[language]);
|
|
6737
6623
|
}
|
|
6738
6624
|
if ($$self.$$.dirty & 256) {
|
|
6739
|
-
|
|
6740
|
-
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6625
|
+
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6741
6626
|
}
|
|
6742
6627
|
if ($$self.$$.dirty & 2048) {
|
|
6743
|
-
|
|
6744
|
-
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6628
|
+
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6745
6629
|
}
|
|
6746
6630
|
if ($$self.$$.dirty & 2048) {
|
|
6747
|
-
|
|
6748
|
-
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6631
|
+
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6749
6632
|
}
|
|
6750
6633
|
if ($$self.$$.dirty & 256) {
|
|
6751
|
-
|
|
6752
|
-
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6634
|
+
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6753
6635
|
}
|
|
6754
6636
|
if ($$self.$$.dirty & 1024) {
|
|
6755
|
-
|
|
6756
|
-
$$invalidate(2, c = {
|
|
6637
|
+
$$invalidate(2, c = {
|
|
6757
6638
|
rectangle: hotkeys == null ? void 0 : hotkeys.changeToRectangle,
|
|
6758
6639
|
ellipse: hotkeys == null ? void 0 : hotkeys.changeToEllipse,
|
|
6759
6640
|
straight: hotkeys == null ? void 0 : hotkeys.changeToStraight,
|
|
@@ -6779,7 +6660,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6779
6660
|
var Shapes = class extends SvelteComponent {
|
|
6780
6661
|
constructor(options) {
|
|
6781
6662
|
super();
|
|
6782
|
-
init(this, options,
|
|
6663
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, {
|
|
6783
6664
|
app: 8,
|
|
6784
6665
|
theme: 0,
|
|
6785
6666
|
language: 9,
|
|
@@ -6963,7 +6844,7 @@ function create_default_slot_8(ctx) {
|
|
|
6963
6844
|
return 0;
|
|
6964
6845
|
return 1;
|
|
6965
6846
|
}
|
|
6966
|
-
current_block_type_index = select_block_type(ctx
|
|
6847
|
+
current_block_type_index = select_block_type(ctx);
|
|
6967
6848
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6968
6849
|
return {
|
|
6969
6850
|
c() {
|
|
@@ -6977,7 +6858,7 @@ function create_default_slot_8(ctx) {
|
|
|
6977
6858
|
},
|
|
6978
6859
|
p(ctx2, dirty) {
|
|
6979
6860
|
let previous_block_index = current_block_type_index;
|
|
6980
|
-
current_block_type_index = select_block_type(ctx2
|
|
6861
|
+
current_block_type_index = select_block_type(ctx2);
|
|
6981
6862
|
if (current_block_type_index === previous_block_index) {
|
|
6982
6863
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
6983
6864
|
} else {
|
|
@@ -7094,7 +6975,7 @@ function create_default_slot_7(ctx) {
|
|
|
7094
6975
|
return 0;
|
|
7095
6976
|
return 1;
|
|
7096
6977
|
}
|
|
7097
|
-
current_block_type_index = select_block_type_1(ctx
|
|
6978
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
7098
6979
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7099
6980
|
return {
|
|
7100
6981
|
c() {
|
|
@@ -7108,7 +6989,7 @@ function create_default_slot_7(ctx) {
|
|
|
7108
6989
|
},
|
|
7109
6990
|
p(ctx2, dirty) {
|
|
7110
6991
|
let previous_block_index = current_block_type_index;
|
|
7111
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
6992
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
7112
6993
|
if (current_block_type_index === previous_block_index) {
|
|
7113
6994
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7114
6995
|
} else {
|
|
@@ -7225,7 +7106,7 @@ function create_default_slot_6(ctx) {
|
|
|
7225
7106
|
return 0;
|
|
7226
7107
|
return 1;
|
|
7227
7108
|
}
|
|
7228
|
-
current_block_type_index = select_block_type_2(ctx
|
|
7109
|
+
current_block_type_index = select_block_type_2(ctx);
|
|
7229
7110
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7230
7111
|
return {
|
|
7231
7112
|
c() {
|
|
@@ -7239,7 +7120,7 @@ function create_default_slot_6(ctx) {
|
|
|
7239
7120
|
},
|
|
7240
7121
|
p(ctx2, dirty) {
|
|
7241
7122
|
let previous_block_index = current_block_type_index;
|
|
7242
|
-
current_block_type_index = select_block_type_2(ctx2
|
|
7123
|
+
current_block_type_index = select_block_type_2(ctx2);
|
|
7243
7124
|
if (current_block_type_index === previous_block_index) {
|
|
7244
7125
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7245
7126
|
} else {
|
|
@@ -7356,7 +7237,7 @@ function create_default_slot_53(ctx) {
|
|
|
7356
7237
|
return 0;
|
|
7357
7238
|
return 1;
|
|
7358
7239
|
}
|
|
7359
|
-
current_block_type_index = select_block_type_3(ctx
|
|
7240
|
+
current_block_type_index = select_block_type_3(ctx);
|
|
7360
7241
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7361
7242
|
return {
|
|
7362
7243
|
c() {
|
|
@@ -7370,7 +7251,7 @@ function create_default_slot_53(ctx) {
|
|
|
7370
7251
|
},
|
|
7371
7252
|
p(ctx2, dirty) {
|
|
7372
7253
|
let previous_block_index = current_block_type_index;
|
|
7373
|
-
current_block_type_index = select_block_type_3(ctx2
|
|
7254
|
+
current_block_type_index = select_block_type_3(ctx2);
|
|
7374
7255
|
if (current_block_type_index === previous_block_index) {
|
|
7375
7256
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7376
7257
|
} else {
|
|
@@ -7559,7 +7440,7 @@ function create_default_slot_43(ctx) {
|
|
|
7559
7440
|
return 0;
|
|
7560
7441
|
return 1;
|
|
7561
7442
|
}
|
|
7562
|
-
current_block_type_index = select_block_type_4(ctx
|
|
7443
|
+
current_block_type_index = select_block_type_4(ctx);
|
|
7563
7444
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7564
7445
|
return {
|
|
7565
7446
|
c() {
|
|
@@ -7573,7 +7454,7 @@ function create_default_slot_43(ctx) {
|
|
|
7573
7454
|
},
|
|
7574
7455
|
p(ctx2, dirty) {
|
|
7575
7456
|
let previous_block_index = current_block_type_index;
|
|
7576
|
-
current_block_type_index = select_block_type_4(ctx2
|
|
7457
|
+
current_block_type_index = select_block_type_4(ctx2);
|
|
7577
7458
|
if (current_block_type_index === previous_block_index) {
|
|
7578
7459
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7579
7460
|
} else {
|
|
@@ -7690,7 +7571,7 @@ function create_default_slot_34(ctx) {
|
|
|
7690
7571
|
return 0;
|
|
7691
7572
|
return 1;
|
|
7692
7573
|
}
|
|
7693
|
-
current_block_type_index = select_block_type_5(ctx
|
|
7574
|
+
current_block_type_index = select_block_type_5(ctx);
|
|
7694
7575
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7695
7576
|
return {
|
|
7696
7577
|
c() {
|
|
@@ -7704,7 +7585,7 @@ function create_default_slot_34(ctx) {
|
|
|
7704
7585
|
},
|
|
7705
7586
|
p(ctx2, dirty) {
|
|
7706
7587
|
let previous_block_index = current_block_type_index;
|
|
7707
|
-
current_block_type_index = select_block_type_5(ctx2
|
|
7588
|
+
current_block_type_index = select_block_type_5(ctx2);
|
|
7708
7589
|
if (current_block_type_index === previous_block_index) {
|
|
7709
7590
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7710
7591
|
} else {
|
|
@@ -8043,7 +7924,7 @@ function create_each_block4(ctx) {
|
|
|
8043
7924
|
}
|
|
8044
7925
|
};
|
|
8045
7926
|
}
|
|
8046
|
-
function
|
|
7927
|
+
function create_fragment54(ctx) {
|
|
8047
7928
|
let t0;
|
|
8048
7929
|
let div0;
|
|
8049
7930
|
let button0;
|
|
@@ -8060,9 +7941,7 @@ function create_fragment55(ctx) {
|
|
|
8060
7941
|
let t6;
|
|
8061
7942
|
let button6;
|
|
8062
7943
|
let t7;
|
|
8063
|
-
let div0_class_value;
|
|
8064
7944
|
let scrollHeight_action;
|
|
8065
|
-
let scrollTop_action;
|
|
8066
7945
|
let t8;
|
|
8067
7946
|
let t9;
|
|
8068
7947
|
let div8;
|
|
@@ -8070,32 +7949,24 @@ function create_fragment55(ctx) {
|
|
|
8070
7949
|
let strokewidth0;
|
|
8071
7950
|
let t10;
|
|
8072
7951
|
let div1;
|
|
8073
|
-
let div1_class_value;
|
|
8074
7952
|
let t11;
|
|
8075
7953
|
let strokecolor0;
|
|
8076
|
-
let div2_class_value;
|
|
8077
7954
|
let t12;
|
|
8078
7955
|
let div3;
|
|
8079
7956
|
let textcolor;
|
|
8080
|
-
let div3_class_value;
|
|
8081
7957
|
let t13;
|
|
8082
7958
|
let div6;
|
|
8083
7959
|
let shapes2;
|
|
8084
7960
|
let t14;
|
|
8085
7961
|
let div4;
|
|
8086
|
-
let div4_class_value;
|
|
8087
7962
|
let t15;
|
|
8088
7963
|
let strokewidth1;
|
|
8089
7964
|
let t16;
|
|
8090
7965
|
let div5;
|
|
8091
|
-
let div5_class_value;
|
|
8092
7966
|
let t17;
|
|
8093
7967
|
let strokecolor1;
|
|
8094
|
-
let div6_class_value;
|
|
8095
7968
|
let t18;
|
|
8096
7969
|
let div7;
|
|
8097
|
-
let div7_class_value;
|
|
8098
|
-
let div8_class_value;
|
|
8099
7970
|
let current;
|
|
8100
7971
|
let mounted;
|
|
8101
7972
|
let dispose;
|
|
@@ -8295,17 +8166,17 @@ function create_fragment55(ctx) {
|
|
|
8295
8166
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8296
8167
|
each_blocks[i].c();
|
|
8297
8168
|
}
|
|
8298
|
-
attr(div0, "class",
|
|
8169
|
+
attr(div0, "class", name5 + "-scrollable");
|
|
8299
8170
|
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",
|
|
8171
|
+
attr(div1, "class", name5 + "-panel-divider");
|
|
8172
|
+
attr(div2, "class", name5 + "-panel pencil");
|
|
8173
|
+
attr(div3, "class", name5 + "-panel text");
|
|
8174
|
+
attr(div4, "class", name5 + "-panel-divider");
|
|
8175
|
+
attr(div5, "class", name5 + "-panel-divider");
|
|
8176
|
+
attr(div6, "class", name5 + "-panel shapes");
|
|
8177
|
+
attr(div7, "class", name5 + "-panel apps");
|
|
8307
8178
|
set_style(div7, "--n", ctx[19].length);
|
|
8308
|
-
attr(div8, "class",
|
|
8179
|
+
attr(div8, "class", name5 + "-panel-wrapper");
|
|
8309
8180
|
set_style(div8, "display", "none");
|
|
8310
8181
|
},
|
|
8311
8182
|
m(target, anchor) {
|
|
@@ -8367,7 +8238,7 @@ function create_fragment55(ctx) {
|
|
|
8367
8238
|
if (!mounted) {
|
|
8368
8239
|
dispose = [
|
|
8369
8240
|
action_destroyer(scrollHeight_action = scrollHeight.call(null, div0, ctx[4])),
|
|
8370
|
-
action_destroyer(
|
|
8241
|
+
action_destroyer(scrollTop.call(null, div0, ctx[21]))
|
|
8371
8242
|
];
|
|
8372
8243
|
mounted = true;
|
|
8373
8244
|
}
|
|
@@ -8654,7 +8525,7 @@ function create_fragment55(ctx) {
|
|
|
8654
8525
|
};
|
|
8655
8526
|
}
|
|
8656
8527
|
var name5 = "fastboard-toolbar";
|
|
8657
|
-
function
|
|
8528
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
8658
8529
|
let t;
|
|
8659
8530
|
let hotkeys;
|
|
8660
8531
|
let c;
|
|
@@ -8764,8 +8635,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8764
8635
|
};
|
|
8765
8636
|
$$self.$$.update = () => {
|
|
8766
8637
|
if ($$self.$$.dirty[0] & 10) {
|
|
8767
|
-
|
|
8768
|
-
$$invalidate(15, btn_props = {
|
|
8638
|
+
$$invalidate(15, btn_props = {
|
|
8769
8639
|
name: name5,
|
|
8770
8640
|
theme,
|
|
8771
8641
|
disabled,
|
|
@@ -8773,16 +8643,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8773
8643
|
});
|
|
8774
8644
|
}
|
|
8775
8645
|
if ($$self.$$.dirty[0] & 4) {
|
|
8776
|
-
|
|
8777
|
-
$$invalidate(9, t = i18n4[language]);
|
|
8646
|
+
$$invalidate(9, t = i18n4[language]);
|
|
8778
8647
|
}
|
|
8779
8648
|
if ($$self.$$.dirty[0] & 1) {
|
|
8780
|
-
|
|
8781
|
-
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8649
|
+
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8782
8650
|
}
|
|
8783
8651
|
if ($$self.$$.dirty[0] & 512 | $$self.$$.dirty[1] & 2) {
|
|
8784
|
-
|
|
8785
|
-
$$invalidate(18, c = {
|
|
8652
|
+
$$invalidate(18, c = {
|
|
8786
8653
|
clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
|
|
8787
8654
|
selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
|
|
8788
8655
|
pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
|
|
@@ -8791,32 +8658,26 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8791
8658
|
});
|
|
8792
8659
|
}
|
|
8793
8660
|
if ($$self.$$.dirty[0] & 1) {
|
|
8794
|
-
|
|
8795
|
-
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8661
|
+
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8796
8662
|
}
|
|
8797
8663
|
if ($$self.$$.dirty[1] & 8) {
|
|
8798
|
-
|
|
8799
|
-
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8664
|
+
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8800
8665
|
}
|
|
8801
8666
|
if ($$self.$$.dirty[1] & 8) {
|
|
8802
|
-
|
|
8803
|
-
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8667
|
+
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8804
8668
|
}
|
|
8805
8669
|
if ($$self.$$.dirty[0] & 1) {
|
|
8806
|
-
|
|
8807
|
-
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8670
|
+
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8808
8671
|
}
|
|
8809
8672
|
if ($$self.$$.dirty[0] & 384) {
|
|
8810
|
-
|
|
8811
|
-
if (applianceShapes.includes(appliance)) {
|
|
8673
|
+
if (applianceShapes.includes(appliance)) {
|
|
8812
8674
|
$$invalidate(10, last_shape = appliance);
|
|
8813
8675
|
} else if (shape) {
|
|
8814
8676
|
$$invalidate(10, last_shape = shape);
|
|
8815
8677
|
}
|
|
8816
8678
|
}
|
|
8817
8679
|
if ($$self.$$.dirty[0] & 32 | $$self.$$.dirty[1] & 5) {
|
|
8818
|
-
|
|
8819
|
-
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8680
|
+
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8820
8681
|
}
|
|
8821
8682
|
};
|
|
8822
8683
|
return [
|
|
@@ -8864,7 +8725,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8864
8725
|
var Contents = class extends SvelteComponent {
|
|
8865
8726
|
constructor(options) {
|
|
8866
8727
|
super();
|
|
8867
|
-
init(this, options,
|
|
8728
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
8868
8729
|
app: 0,
|
|
8869
8730
|
theme: 1,
|
|
8870
8731
|
language: 2,
|
|
@@ -8881,20 +8742,18 @@ var Contents_default = Contents;
|
|
|
8881
8742
|
// src/components/Toolbar/Toolbar.svelte
|
|
8882
8743
|
function create_else_block7(ctx) {
|
|
8883
8744
|
let path0;
|
|
8884
|
-
let path0_class_value;
|
|
8885
8745
|
let path1;
|
|
8886
|
-
let path1_class_value;
|
|
8887
8746
|
return {
|
|
8888
8747
|
c() {
|
|
8889
8748
|
path0 = svg_element("path");
|
|
8890
8749
|
path1 = svg_element("path");
|
|
8891
8750
|
attr(path0, "stroke", "#000");
|
|
8892
8751
|
attr(path0, "d", "M20 52v16");
|
|
8893
|
-
attr(path0, "class",
|
|
8752
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8894
8753
|
attr(path1, "fill", "#000");
|
|
8895
8754
|
attr(path1, "stroke", "none");
|
|
8896
8755
|
attr(path1, "d", "M16 52v16l-8-8z");
|
|
8897
|
-
attr(path1, "class",
|
|
8756
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8898
8757
|
},
|
|
8899
8758
|
m(target, anchor) {
|
|
8900
8759
|
insert(target, path0, anchor);
|
|
@@ -8911,20 +8770,18 @@ function create_else_block7(ctx) {
|
|
|
8911
8770
|
}
|
|
8912
8771
|
function create_if_block7(ctx) {
|
|
8913
8772
|
let path0;
|
|
8914
|
-
let path0_class_value;
|
|
8915
8773
|
let path1;
|
|
8916
|
-
let path1_class_value;
|
|
8917
8774
|
return {
|
|
8918
8775
|
c() {
|
|
8919
8776
|
path0 = svg_element("path");
|
|
8920
8777
|
path1 = svg_element("path");
|
|
8921
8778
|
attr(path0, "stroke", "#000");
|
|
8922
8779
|
attr(path0, "d", "M10 52v16");
|
|
8923
|
-
attr(path0, "class",
|
|
8780
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8924
8781
|
attr(path1, "fill", "#000");
|
|
8925
8782
|
attr(path1, "stroke", "none");
|
|
8926
8783
|
attr(path1, "d", "M14 52v16l8-8z");
|
|
8927
|
-
attr(path1, "class",
|
|
8784
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8928
8785
|
},
|
|
8929
8786
|
m(target, anchor) {
|
|
8930
8787
|
insert(target, path0, anchor);
|
|
@@ -8939,7 +8796,7 @@ function create_if_block7(ctx) {
|
|
|
8939
8796
|
}
|
|
8940
8797
|
};
|
|
8941
8798
|
}
|
|
8942
|
-
function
|
|
8799
|
+
function create_fragment55(ctx) {
|
|
8943
8800
|
let div1;
|
|
8944
8801
|
let div0;
|
|
8945
8802
|
let contents;
|
|
@@ -8950,12 +8807,9 @@ function create_fragment56(ctx) {
|
|
|
8950
8807
|
let t1;
|
|
8951
8808
|
let svg;
|
|
8952
8809
|
let path0;
|
|
8953
|
-
let path0_class_value;
|
|
8954
8810
|
let path1;
|
|
8955
|
-
let path1_class_value;
|
|
8956
8811
|
let label_class_value;
|
|
8957
8812
|
let div1_class_value;
|
|
8958
|
-
let height_action;
|
|
8959
8813
|
let current;
|
|
8960
8814
|
let mounted;
|
|
8961
8815
|
let dispose;
|
|
@@ -8976,7 +8830,7 @@ function create_fragment56(ctx) {
|
|
|
8976
8830
|
return create_if_block7;
|
|
8977
8831
|
return create_else_block7;
|
|
8978
8832
|
}
|
|
8979
|
-
let current_block_type = select_block_type(ctx
|
|
8833
|
+
let current_block_type = select_block_type(ctx);
|
|
8980
8834
|
let if_block = current_block_type(ctx);
|
|
8981
8835
|
return {
|
|
8982
8836
|
c() {
|
|
@@ -8997,10 +8851,10 @@ function create_fragment56(ctx) {
|
|
|
8997
8851
|
attr(path0, "fill", "#fff");
|
|
8998
8852
|
attr(path0, "stroke", "none");
|
|
8999
8853
|
attr(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9000
|
-
attr(path0, "class",
|
|
8854
|
+
attr(path0, "class", name6 + "-handler-bg-color");
|
|
9001
8855
|
attr(path1, "stroke", "#000");
|
|
9002
8856
|
attr(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
9003
|
-
attr(path1, "class",
|
|
8857
|
+
attr(path1, "class", name6 + "-handler-border-color");
|
|
9004
8858
|
attr(svg, "fill", "none");
|
|
9005
8859
|
attr(svg, "stroke-width", "2");
|
|
9006
8860
|
attr(svg, "viewBox", "0 0 32 120");
|
|
@@ -9025,7 +8879,7 @@ function create_fragment56(ctx) {
|
|
|
9025
8879
|
if (!mounted) {
|
|
9026
8880
|
dispose = [
|
|
9027
8881
|
listen(input, "change", ctx[15]),
|
|
9028
|
-
action_destroyer(
|
|
8882
|
+
action_destroyer(height.call(null, div1, ctx[9]))
|
|
9029
8883
|
];
|
|
9030
8884
|
mounted = true;
|
|
9031
8885
|
}
|
|
@@ -9056,7 +8910,7 @@ function create_fragment56(ctx) {
|
|
|
9056
8910
|
if (dirty & 8) {
|
|
9057
8911
|
input.checked = ctx2[3];
|
|
9058
8912
|
}
|
|
9059
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
8913
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
9060
8914
|
if_block.p(ctx2, dirty);
|
|
9061
8915
|
} else {
|
|
9062
8916
|
if_block.d(1);
|
|
@@ -9097,7 +8951,7 @@ function create_fragment56(ctx) {
|
|
|
9097
8951
|
};
|
|
9098
8952
|
}
|
|
9099
8953
|
var name6 = "fastboard-toolbar";
|
|
9100
|
-
function
|
|
8954
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
9101
8955
|
let writable2;
|
|
9102
8956
|
let disabled;
|
|
9103
8957
|
let computed_height;
|
|
@@ -9134,24 +8988,19 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9134
8988
|
$$self.$$.update = () => {
|
|
9135
8989
|
var _a;
|
|
9136
8990
|
if ($$self.$$.dirty & 1) {
|
|
9137
|
-
|
|
9138
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
8991
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
9139
8992
|
}
|
|
9140
8993
|
if ($$self.$$.dirty & 16384) {
|
|
9141
|
-
|
|
9142
|
-
$$invalidate(7, disabled = !$writable);
|
|
8994
|
+
$$invalidate(7, disabled = !$writable);
|
|
9143
8995
|
}
|
|
9144
8996
|
if ($$self.$$.dirty & 12288) {
|
|
9145
|
-
|
|
9146
|
-
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
8997
|
+
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
9147
8998
|
}
|
|
9148
8999
|
if ($$self.$$.dirty & 12288) {
|
|
9149
|
-
|
|
9150
|
-
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
9000
|
+
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
9151
9001
|
}
|
|
9152
9002
|
if ($$self.$$.dirty & 2048) {
|
|
9153
|
-
|
|
9154
|
-
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
9003
|
+
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
9155
9004
|
}
|
|
9156
9005
|
};
|
|
9157
9006
|
return [
|
|
@@ -9176,7 +9025,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9176
9025
|
var Toolbar = class extends SvelteComponent {
|
|
9177
9026
|
constructor(options) {
|
|
9178
9027
|
super();
|
|
9179
|
-
init(this, options,
|
|
9028
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
9180
9029
|
app: 0,
|
|
9181
9030
|
theme: 1,
|
|
9182
9031
|
language: 2,
|
|
@@ -9440,7 +9289,7 @@ function create_default_slot_25(ctx) {
|
|
|
9440
9289
|
return 1;
|
|
9441
9290
|
return 2;
|
|
9442
9291
|
}
|
|
9443
|
-
current_block_type_index = select_block_type(ctx
|
|
9292
|
+
current_block_type_index = select_block_type(ctx);
|
|
9444
9293
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9445
9294
|
return {
|
|
9446
9295
|
c() {
|
|
@@ -9454,7 +9303,7 @@ function create_default_slot_25(ctx) {
|
|
|
9454
9303
|
},
|
|
9455
9304
|
p(ctx2, dirty) {
|
|
9456
9305
|
let previous_block_index = current_block_type_index;
|
|
9457
|
-
current_block_type_index = select_block_type(ctx2
|
|
9306
|
+
current_block_type_index = select_block_type(ctx2);
|
|
9458
9307
|
if (current_block_type_index === previous_block_index) {
|
|
9459
9308
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9460
9309
|
} else {
|
|
@@ -9498,17 +9347,13 @@ function create_else_block8(ctx) {
|
|
|
9498
9347
|
let span0;
|
|
9499
9348
|
let t1_value = format(ctx[13]) + "";
|
|
9500
9349
|
let t1;
|
|
9501
|
-
let span0_class_value;
|
|
9502
9350
|
let t2;
|
|
9503
9351
|
let span1;
|
|
9504
9352
|
let t3;
|
|
9505
|
-
let span1_class_value;
|
|
9506
9353
|
let t4;
|
|
9507
9354
|
let span2;
|
|
9508
9355
|
let t5_value = format(ctx[14]) + "";
|
|
9509
9356
|
let t5;
|
|
9510
|
-
let span2_class_value;
|
|
9511
|
-
let span3_class_value;
|
|
9512
9357
|
let current;
|
|
9513
9358
|
slider = new Slider_default({
|
|
9514
9359
|
props: {
|
|
@@ -9533,10 +9378,10 @@ function create_else_block8(ctx) {
|
|
|
9533
9378
|
t4 = space();
|
|
9534
9379
|
span2 = element("span");
|
|
9535
9380
|
t5 = text(t5_value);
|
|
9536
|
-
attr(span0, "class",
|
|
9537
|
-
attr(span1, "class",
|
|
9538
|
-
attr(span2, "class",
|
|
9539
|
-
attr(span3, "class",
|
|
9381
|
+
attr(span0, "class", name7 + "-current");
|
|
9382
|
+
attr(span1, "class", name7 + "-slash");
|
|
9383
|
+
attr(span2, "class", name7 + "-duration");
|
|
9384
|
+
attr(span3, "class", name7 + "-progress");
|
|
9540
9385
|
},
|
|
9541
9386
|
m(target, anchor) {
|
|
9542
9387
|
mount_component(slider, target, anchor);
|
|
@@ -9590,7 +9435,6 @@ function create_if_block8(ctx) {
|
|
|
9590
9435
|
let t0;
|
|
9591
9436
|
let span;
|
|
9592
9437
|
let t1;
|
|
9593
|
-
let span_class_value;
|
|
9594
9438
|
let current;
|
|
9595
9439
|
slider = new Slider_default({
|
|
9596
9440
|
props: {
|
|
@@ -9604,7 +9448,7 @@ function create_if_block8(ctx) {
|
|
|
9604
9448
|
t0 = space();
|
|
9605
9449
|
span = element("span");
|
|
9606
9450
|
t1 = text("\u2026/\u2026");
|
|
9607
|
-
attr(span, "class",
|
|
9451
|
+
attr(span, "class", name7 + "-progress loading");
|
|
9608
9452
|
},
|
|
9609
9453
|
m(target, anchor) {
|
|
9610
9454
|
mount_component(slider, target, anchor);
|
|
@@ -9638,13 +9482,12 @@ function create_default_slot_15(ctx) {
|
|
|
9638
9482
|
let t0_value = (ctx[15] || 1) + "";
|
|
9639
9483
|
let t0;
|
|
9640
9484
|
let t1;
|
|
9641
|
-
let span_class_value;
|
|
9642
9485
|
return {
|
|
9643
9486
|
c() {
|
|
9644
9487
|
span = element("span");
|
|
9645
9488
|
t0 = text(t0_value);
|
|
9646
9489
|
t1 = text("x");
|
|
9647
|
-
attr(span, "class",
|
|
9490
|
+
attr(span, "class", name7 + "-speed-text");
|
|
9648
9491
|
},
|
|
9649
9492
|
m(target, anchor) {
|
|
9650
9493
|
insert(target, span, anchor);
|
|
@@ -9745,7 +9588,7 @@ function create_each_block5(key_1, ctx) {
|
|
|
9745
9588
|
}
|
|
9746
9589
|
};
|
|
9747
9590
|
}
|
|
9748
|
-
function
|
|
9591
|
+
function create_fragment56(ctx) {
|
|
9749
9592
|
let div0;
|
|
9750
9593
|
let button0;
|
|
9751
9594
|
let t0;
|
|
@@ -9759,7 +9602,6 @@ function create_fragment57(ctx) {
|
|
|
9759
9602
|
let div1;
|
|
9760
9603
|
let each_blocks = [];
|
|
9761
9604
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
9762
|
-
let div1_class_value;
|
|
9763
9605
|
let current;
|
|
9764
9606
|
button0 = new Button_default({
|
|
9765
9607
|
props: {
|
|
@@ -9780,7 +9622,7 @@ function create_fragment57(ctx) {
|
|
|
9780
9622
|
return 0;
|
|
9781
9623
|
return 1;
|
|
9782
9624
|
}
|
|
9783
|
-
current_block_type_index = select_block_type_1(ctx
|
|
9625
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
9784
9626
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9785
9627
|
button1 = new Button_default({
|
|
9786
9628
|
props: {
|
|
@@ -9817,7 +9659,7 @@ function create_fragment57(ctx) {
|
|
|
9817
9659
|
each_blocks[i].c();
|
|
9818
9660
|
}
|
|
9819
9661
|
attr(div0, "class", div0_class_value = name7 + " " + ctx[0]);
|
|
9820
|
-
attr(div1, "class",
|
|
9662
|
+
attr(div1, "class", name7 + "-panel speed");
|
|
9821
9663
|
set_style(div2, "display", "none");
|
|
9822
9664
|
},
|
|
9823
9665
|
m(target, anchor) {
|
|
@@ -9851,7 +9693,7 @@ function create_fragment57(ctx) {
|
|
|
9851
9693
|
}
|
|
9852
9694
|
button0.$set(button0_changes);
|
|
9853
9695
|
let previous_block_index = current_block_type_index;
|
|
9854
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
9696
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
9855
9697
|
if (current_block_type_index === previous_block_index) {
|
|
9856
9698
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9857
9699
|
} else {
|
|
@@ -9949,7 +9791,7 @@ function format(ms) {
|
|
|
9949
9791
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9950
9792
|
}
|
|
9951
9793
|
var name7 = "fastboard-player-control";
|
|
9952
|
-
function
|
|
9794
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
9953
9795
|
let t;
|
|
9954
9796
|
let canPlay;
|
|
9955
9797
|
let disabled;
|
|
@@ -10019,48 +9861,37 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10019
9861
|
};
|
|
10020
9862
|
$$self.$$.update = () => {
|
|
10021
9863
|
if ($$self.$$.dirty & 1048576) {
|
|
10022
|
-
|
|
10023
|
-
$$invalidate(12, t = i18n6[language]);
|
|
9864
|
+
$$invalidate(12, t = i18n6[language]);
|
|
10024
9865
|
}
|
|
10025
9866
|
if ($$self.$$.dirty & 524288) {
|
|
10026
|
-
|
|
10027
|
-
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9867
|
+
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
10028
9868
|
}
|
|
10029
9869
|
if ($$self.$$.dirty & 2097152) {
|
|
10030
|
-
|
|
10031
|
-
$$invalidate(4, disabled = !canPlay);
|
|
9870
|
+
$$invalidate(4, disabled = !canPlay);
|
|
10032
9871
|
}
|
|
10033
9872
|
if ($$self.$$.dirty & 16) {
|
|
10034
|
-
|
|
10035
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
9873
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
10036
9874
|
}
|
|
10037
9875
|
if ($$self.$$.dirty & 524288) {
|
|
10038
|
-
|
|
10039
|
-
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
9876
|
+
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
10040
9877
|
}
|
|
10041
9878
|
if ($$self.$$.dirty & 524288) {
|
|
10042
|
-
|
|
10043
|
-
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
9879
|
+
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
10044
9880
|
}
|
|
10045
9881
|
if ($$self.$$.dirty & 524288) {
|
|
10046
|
-
|
|
10047
|
-
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
9882
|
+
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
10048
9883
|
}
|
|
10049
9884
|
if ($$self.$$.dirty & 524288) {
|
|
10050
|
-
|
|
10051
|
-
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
9885
|
+
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
10052
9886
|
}
|
|
10053
9887
|
if ($$self.$$.dirty & 4194304) {
|
|
10054
|
-
|
|
10055
|
-
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
9888
|
+
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
10056
9889
|
}
|
|
10057
9890
|
if ($$self.$$.dirty & 4194304) {
|
|
10058
|
-
|
|
10059
|
-
$$invalidate(2, playing = $phase === "playing");
|
|
9891
|
+
$$invalidate(2, playing = $phase === "playing");
|
|
10060
9892
|
}
|
|
10061
9893
|
if ($$self.$$.dirty & 12) {
|
|
10062
|
-
|
|
10063
|
-
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
9894
|
+
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
10064
9895
|
}
|
|
10065
9896
|
};
|
|
10066
9897
|
return [
|
|
@@ -10094,7 +9925,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10094
9925
|
var PlayerControl = class extends SvelteComponent {
|
|
10095
9926
|
constructor(options) {
|
|
10096
9927
|
super();
|
|
10097
|
-
init(this, options,
|
|
9928
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, {
|
|
10098
9929
|
player: 19,
|
|
10099
9930
|
theme: 0,
|
|
10100
9931
|
language: 20,
|
|
@@ -10105,15 +9936,12 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
10105
9936
|
var PlayerControl_default = PlayerControl;
|
|
10106
9937
|
|
|
10107
9938
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
10108
|
-
function
|
|
9939
|
+
function create_fragment57(ctx) {
|
|
10109
9940
|
let div2;
|
|
10110
9941
|
let div0;
|
|
10111
|
-
let div0_class_value;
|
|
10112
9942
|
let t;
|
|
10113
9943
|
let div1;
|
|
10114
9944
|
let playercontrol;
|
|
10115
|
-
let div1_class_value;
|
|
10116
|
-
let div2_class_value;
|
|
10117
9945
|
let current;
|
|
10118
9946
|
let mounted;
|
|
10119
9947
|
let dispose;
|
|
@@ -10131,15 +9959,15 @@ function create_fragment58(ctx) {
|
|
|
10131
9959
|
t = space();
|
|
10132
9960
|
div1 = element("div");
|
|
10133
9961
|
create_component(playercontrol.$$.fragment);
|
|
10134
|
-
attr(div0, "class",
|
|
10135
|
-
attr(div1, "class",
|
|
10136
|
-
attr(div2, "class",
|
|
9962
|
+
attr(div0, "class", name8 + "-view");
|
|
9963
|
+
attr(div1, "class", name8 + "-bottom");
|
|
9964
|
+
attr(div2, "class", name8 + "-root");
|
|
10137
9965
|
toggle_class(div2, "loading", !ctx[0]);
|
|
10138
9966
|
},
|
|
10139
9967
|
m(target, anchor) {
|
|
10140
9968
|
insert(target, div2, anchor);
|
|
10141
9969
|
append(div2, div0);
|
|
10142
|
-
ctx[
|
|
9970
|
+
ctx[6](div0);
|
|
10143
9971
|
append(div2, t);
|
|
10144
9972
|
append(div2, div1);
|
|
10145
9973
|
mount_component(playercontrol, div1, null);
|
|
@@ -10175,7 +10003,7 @@ function create_fragment58(ctx) {
|
|
|
10175
10003
|
d(detaching) {
|
|
10176
10004
|
if (detaching)
|
|
10177
10005
|
detach(div2);
|
|
10178
|
-
ctx[
|
|
10006
|
+
ctx[6](null);
|
|
10179
10007
|
destroy_component(playercontrol);
|
|
10180
10008
|
mounted = false;
|
|
10181
10009
|
dispose();
|
|
@@ -10183,12 +10011,13 @@ function create_fragment58(ctx) {
|
|
|
10183
10011
|
};
|
|
10184
10012
|
}
|
|
10185
10013
|
var name8 = "fastboard";
|
|
10186
|
-
function
|
|
10014
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
10187
10015
|
let { player = null } = $$props;
|
|
10188
10016
|
let { theme = "light" } = $$props;
|
|
10189
10017
|
let { language = "en" } = $$props;
|
|
10190
10018
|
let { containerRef = void 0 } = $$props;
|
|
10191
10019
|
let container;
|
|
10020
|
+
let mounted = false;
|
|
10192
10021
|
onMount(() => {
|
|
10193
10022
|
if (containerRef) {
|
|
10194
10023
|
containerRef(container);
|
|
@@ -10216,28 +10045,28 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10216
10045
|
};
|
|
10217
10046
|
$$self.$$.update = () => {
|
|
10218
10047
|
if ($$self.$$.dirty & 9) {
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
if (player && container)
|
|
10048
|
+
try {
|
|
10049
|
+
if (player && container) {
|
|
10222
10050
|
player.bindContainer(container);
|
|
10051
|
+
$$invalidate(5, mounted = true);
|
|
10052
|
+
}
|
|
10223
10053
|
} catch (err) {
|
|
10224
10054
|
console.error("[fastboard] An error occurred while binding container");
|
|
10225
10055
|
console.error(err);
|
|
10226
10056
|
}
|
|
10227
10057
|
}
|
|
10228
|
-
if ($$self.$$.dirty &
|
|
10229
|
-
|
|
10230
|
-
if (player && theme) {
|
|
10058
|
+
if ($$self.$$.dirty & 35) {
|
|
10059
|
+
if (player && theme && mounted) {
|
|
10231
10060
|
player.manager.setPrefersColorScheme(theme);
|
|
10232
10061
|
}
|
|
10233
10062
|
}
|
|
10234
10063
|
};
|
|
10235
|
-
return [player, theme, language, container, containerRef, div0_binding];
|
|
10064
|
+
return [player, theme, language, container, containerRef, mounted, div0_binding];
|
|
10236
10065
|
}
|
|
10237
10066
|
var ReplayFastboard = class extends SvelteComponent {
|
|
10238
10067
|
constructor(options) {
|
|
10239
10068
|
super();
|
|
10240
|
-
init(this, options,
|
|
10069
|
+
init(this, options, instance57, create_fragment57, not_equal, {
|
|
10241
10070
|
player: 0,
|
|
10242
10071
|
theme: 1,
|
|
10243
10072
|
language: 2,
|
|
@@ -10423,22 +10252,17 @@ function create_if_block9(ctx) {
|
|
|
10423
10252
|
}
|
|
10424
10253
|
};
|
|
10425
10254
|
}
|
|
10426
|
-
function
|
|
10255
|
+
function create_fragment58(ctx) {
|
|
10427
10256
|
var _a, _b, _c, _d;
|
|
10428
10257
|
let div4;
|
|
10429
10258
|
let div0;
|
|
10430
|
-
let div0_class_value;
|
|
10431
10259
|
let t0;
|
|
10432
10260
|
let div1;
|
|
10433
|
-
let div1_class_value;
|
|
10434
10261
|
let t1;
|
|
10435
10262
|
let div2;
|
|
10436
10263
|
let t2;
|
|
10437
|
-
let div2_class_value;
|
|
10438
10264
|
let t3;
|
|
10439
10265
|
let div3;
|
|
10440
|
-
let div3_class_value;
|
|
10441
|
-
let div4_class_value;
|
|
10442
10266
|
let current;
|
|
10443
10267
|
let mounted;
|
|
10444
10268
|
let dispose;
|
|
@@ -10465,20 +10289,20 @@ function create_fragment59(ctx) {
|
|
|
10465
10289
|
div3 = element("div");
|
|
10466
10290
|
if (if_block3)
|
|
10467
10291
|
if_block3.c();
|
|
10468
|
-
attr(div0, "class",
|
|
10469
|
-
attr(div1, "class",
|
|
10292
|
+
attr(div0, "class", name9 + "-view");
|
|
10293
|
+
attr(div1, "class", name9 + "-left");
|
|
10470
10294
|
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10471
|
-
attr(div2, "class",
|
|
10295
|
+
attr(div2, "class", name9 + "-bottom-left");
|
|
10472
10296
|
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10473
|
-
attr(div3, "class",
|
|
10297
|
+
attr(div3, "class", name9 + "-bottom-right");
|
|
10474
10298
|
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10475
|
-
attr(div4, "class",
|
|
10299
|
+
attr(div4, "class", name9 + "-root");
|
|
10476
10300
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10477
10301
|
},
|
|
10478
10302
|
m(target, anchor) {
|
|
10479
10303
|
insert(target, div4, anchor);
|
|
10480
10304
|
append(div4, div0);
|
|
10481
|
-
ctx[
|
|
10305
|
+
ctx[14](div0);
|
|
10482
10306
|
append(div4, t0);
|
|
10483
10307
|
append(div4, div1);
|
|
10484
10308
|
if (if_block0)
|
|
@@ -10610,7 +10434,7 @@ function create_fragment59(ctx) {
|
|
|
10610
10434
|
d(detaching) {
|
|
10611
10435
|
if (detaching)
|
|
10612
10436
|
detach(div4);
|
|
10613
|
-
ctx[
|
|
10437
|
+
ctx[14](null);
|
|
10614
10438
|
if (if_block0)
|
|
10615
10439
|
if_block0.d();
|
|
10616
10440
|
if (if_block1)
|
|
@@ -10625,13 +10449,13 @@ function create_fragment59(ctx) {
|
|
|
10625
10449
|
};
|
|
10626
10450
|
}
|
|
10627
10451
|
var name9 = "fastboard";
|
|
10628
|
-
function
|
|
10452
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
10629
10453
|
let writable2;
|
|
10630
10454
|
let boxState;
|
|
10631
10455
|
let focusedApp;
|
|
10632
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
10633
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
10634
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
10456
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(11, $focusedApp = $$value)), focusedApp);
|
|
10457
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(12, $boxState = $$value)), boxState);
|
|
10458
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(13, $writable = $$value)), writable2);
|
|
10635
10459
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
10636
10460
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
10637
10461
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -10643,6 +10467,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10643
10467
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
10644
10468
|
let container;
|
|
10645
10469
|
let layout = "hidden";
|
|
10470
|
+
let mounted = false;
|
|
10646
10471
|
onMount(() => {
|
|
10647
10472
|
if (containerRef) {
|
|
10648
10473
|
containerRef(container);
|
|
@@ -10672,20 +10497,16 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10672
10497
|
};
|
|
10673
10498
|
$$self.$$.update = () => {
|
|
10674
10499
|
if ($$self.$$.dirty & 1) {
|
|
10675
|
-
|
|
10676
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10500
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10677
10501
|
}
|
|
10678
10502
|
if ($$self.$$.dirty & 1) {
|
|
10679
|
-
|
|
10680
|
-
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10503
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10681
10504
|
}
|
|
10682
10505
|
if ($$self.$$.dirty & 1) {
|
|
10683
|
-
|
|
10684
|
-
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10506
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10685
10507
|
}
|
|
10686
|
-
if ($$self.$$.dirty &
|
|
10687
|
-
|
|
10688
|
-
if (!$writable) {
|
|
10508
|
+
if ($$self.$$.dirty & 14336) {
|
|
10509
|
+
if (!$writable) {
|
|
10689
10510
|
$$invalidate(5, layout = "hidden");
|
|
10690
10511
|
} else if ($boxState === "maximized") {
|
|
10691
10512
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
@@ -10698,18 +10519,18 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10698
10519
|
}
|
|
10699
10520
|
}
|
|
10700
10521
|
if ($$self.$$.dirty & 17) {
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
if (app && container)
|
|
10522
|
+
try {
|
|
10523
|
+
if (app && container) {
|
|
10704
10524
|
app.bindContainer(container);
|
|
10525
|
+
$$invalidate(10, mounted = true);
|
|
10526
|
+
}
|
|
10705
10527
|
} catch (err) {
|
|
10706
10528
|
console.error("[fastboard] An error occurred while binding container");
|
|
10707
10529
|
console.error(err);
|
|
10708
10530
|
}
|
|
10709
10531
|
}
|
|
10710
|
-
if ($$self.$$.dirty &
|
|
10711
|
-
|
|
10712
|
-
if (app && theme) {
|
|
10532
|
+
if ($$self.$$.dirty & 1027) {
|
|
10533
|
+
if (app && theme && mounted) {
|
|
10713
10534
|
app.manager.setPrefersColorScheme(theme);
|
|
10714
10535
|
}
|
|
10715
10536
|
}
|
|
@@ -10725,6 +10546,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10725
10546
|
boxState,
|
|
10726
10547
|
writable2,
|
|
10727
10548
|
containerRef,
|
|
10549
|
+
mounted,
|
|
10728
10550
|
$focusedApp,
|
|
10729
10551
|
$boxState,
|
|
10730
10552
|
$writable,
|
|
@@ -10734,7 +10556,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10734
10556
|
var Fastboard = class extends SvelteComponent {
|
|
10735
10557
|
constructor(options) {
|
|
10736
10558
|
super();
|
|
10737
|
-
init(this, options,
|
|
10559
|
+
init(this, options, instance58, create_fragment58, not_equal, {
|
|
10738
10560
|
app: 0,
|
|
10739
10561
|
theme: 1,
|
|
10740
10562
|
language: 2,
|
|
@@ -10745,6 +10567,62 @@ var Fastboard = class extends SvelteComponent {
|
|
|
10745
10567
|
};
|
|
10746
10568
|
var Fastboard_default = Fastboard;
|
|
10747
10569
|
|
|
10570
|
+
// src/helpers/index.ts
|
|
10571
|
+
function createUI(app, div) {
|
|
10572
|
+
let fastboard;
|
|
10573
|
+
const ui = {
|
|
10574
|
+
mount(div2, props) {
|
|
10575
|
+
if (fastboard) {
|
|
10576
|
+
fastboard.$destroy();
|
|
10577
|
+
}
|
|
10578
|
+
fastboard = new Fastboard_default({ target: div2, props: __spreadValues({ app }, props) });
|
|
10579
|
+
return ui;
|
|
10580
|
+
},
|
|
10581
|
+
update(props) {
|
|
10582
|
+
if (fastboard) {
|
|
10583
|
+
fastboard.$set(props);
|
|
10584
|
+
}
|
|
10585
|
+
},
|
|
10586
|
+
destroy() {
|
|
10587
|
+
if (fastboard) {
|
|
10588
|
+
fastboard.$destroy();
|
|
10589
|
+
}
|
|
10590
|
+
fastboard = void 0;
|
|
10591
|
+
}
|
|
10592
|
+
};
|
|
10593
|
+
if (div) {
|
|
10594
|
+
ui.mount(div);
|
|
10595
|
+
}
|
|
10596
|
+
return ui;
|
|
10597
|
+
}
|
|
10598
|
+
function createReplayUI(player, div) {
|
|
10599
|
+
let fastboard;
|
|
10600
|
+
const ui = {
|
|
10601
|
+
mount(div2, props) {
|
|
10602
|
+
if (fastboard) {
|
|
10603
|
+
fastboard.$destroy();
|
|
10604
|
+
}
|
|
10605
|
+
fastboard = new ReplayFastboard_default({ target: div2, props: __spreadValues({ player }, props) });
|
|
10606
|
+
return ui;
|
|
10607
|
+
},
|
|
10608
|
+
update(props) {
|
|
10609
|
+
if (fastboard) {
|
|
10610
|
+
fastboard.$set(props);
|
|
10611
|
+
}
|
|
10612
|
+
},
|
|
10613
|
+
destroy() {
|
|
10614
|
+
if (fastboard) {
|
|
10615
|
+
fastboard.$destroy();
|
|
10616
|
+
}
|
|
10617
|
+
fastboard = void 0;
|
|
10618
|
+
}
|
|
10619
|
+
};
|
|
10620
|
+
if (div) {
|
|
10621
|
+
ui.mount(div);
|
|
10622
|
+
}
|
|
10623
|
+
return ui;
|
|
10624
|
+
}
|
|
10625
|
+
|
|
10748
10626
|
// inline-sass-helper:inline-sass-style-helper.js
|
|
10749
10627
|
function injectStyle(text2) {
|
|
10750
10628
|
if (typeof document !== "undefined") {
|