@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.mjs
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import Tippy from 'tippy.js';
|
|
2
|
+
|
|
1
3
|
var __defProp = Object.defineProperty;
|
|
2
4
|
var __defProps = Object.defineProperties;
|
|
3
5
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -49,6 +51,9 @@ function src_url_equal(element_src, url) {
|
|
|
49
51
|
src_url_equal_anchor.href = url;
|
|
50
52
|
return element_src === src_url_equal_anchor.href;
|
|
51
53
|
}
|
|
54
|
+
function not_equal(a, b) {
|
|
55
|
+
return a != a ? b == b : a !== b;
|
|
56
|
+
}
|
|
52
57
|
function is_empty(obj) {
|
|
53
58
|
return Object.keys(obj).length === 0;
|
|
54
59
|
}
|
|
@@ -114,13 +119,6 @@ function action_destroyer(action_result) {
|
|
|
114
119
|
return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
|
|
115
120
|
}
|
|
116
121
|
var is_client = typeof window !== "undefined";
|
|
117
|
-
var is_hydrating = false;
|
|
118
|
-
function start_hydrating() {
|
|
119
|
-
is_hydrating = true;
|
|
120
|
-
}
|
|
121
|
-
function end_hydrating() {
|
|
122
|
-
is_hydrating = false;
|
|
123
|
-
}
|
|
124
122
|
function append(target, node) {
|
|
125
123
|
target.appendChild(node);
|
|
126
124
|
}
|
|
@@ -316,7 +314,6 @@ function transition_out(block, local, detach2, callback) {
|
|
|
316
314
|
block.o(local);
|
|
317
315
|
}
|
|
318
316
|
}
|
|
319
|
-
var globals = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : global;
|
|
320
317
|
function destroy_block(block, lookup) {
|
|
321
318
|
block.d(1);
|
|
322
319
|
lookup.delete(block.key);
|
|
@@ -464,7 +461,7 @@ function make_dirty(component, i) {
|
|
|
464
461
|
}
|
|
465
462
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
466
463
|
}
|
|
467
|
-
function init(component, options,
|
|
464
|
+
function init(component, options, instance59, create_fragment59, not_equal2, props, append_styles, dirty = [-1]) {
|
|
468
465
|
const parent_component = current_component;
|
|
469
466
|
set_current_component(component);
|
|
470
467
|
const $$ = component.$$ = {
|
|
@@ -472,7 +469,7 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
472
469
|
ctx: null,
|
|
473
470
|
props,
|
|
474
471
|
update: noop,
|
|
475
|
-
not_equal,
|
|
472
|
+
not_equal: not_equal2,
|
|
476
473
|
bound: blank_object(),
|
|
477
474
|
on_mount: [],
|
|
478
475
|
on_destroy: [],
|
|
@@ -487,9 +484,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
487
484
|
};
|
|
488
485
|
append_styles && append_styles($$.root);
|
|
489
486
|
let ready = false;
|
|
490
|
-
$$.ctx =
|
|
487
|
+
$$.ctx = instance59 ? instance59(component, options.props || {}, (i, ret, ...rest) => {
|
|
491
488
|
const value = rest.length ? rest[0] : ret;
|
|
492
|
-
if ($$.ctx &&
|
|
489
|
+
if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
|
|
493
490
|
if (!$$.skip_bound && $$.bound[i])
|
|
494
491
|
$$.bound[i](value);
|
|
495
492
|
if (ready)
|
|
@@ -500,10 +497,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
500
497
|
$$.update();
|
|
501
498
|
ready = true;
|
|
502
499
|
run_all($$.before_update);
|
|
503
|
-
$$.fragment =
|
|
500
|
+
$$.fragment = create_fragment59 ? create_fragment59($$.ctx) : false;
|
|
504
501
|
if (options.target) {
|
|
505
502
|
if (options.hydrate) {
|
|
506
|
-
start_hydrating();
|
|
507
503
|
const nodes = children(options.target);
|
|
508
504
|
$$.fragment && $$.fragment.l(nodes);
|
|
509
505
|
nodes.forEach(detach);
|
|
@@ -513,53 +509,10 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
513
509
|
if (options.intro)
|
|
514
510
|
transition_in(component.$$.fragment);
|
|
515
511
|
mount_component(component, options.target, options.anchor, options.customElement);
|
|
516
|
-
end_hydrating();
|
|
517
512
|
flush();
|
|
518
513
|
}
|
|
519
514
|
set_current_component(parent_component);
|
|
520
515
|
}
|
|
521
|
-
var SvelteElement;
|
|
522
|
-
if (typeof HTMLElement === "function") {
|
|
523
|
-
SvelteElement = class extends HTMLElement {
|
|
524
|
-
constructor() {
|
|
525
|
-
super();
|
|
526
|
-
this.attachShadow({ mode: "open" });
|
|
527
|
-
}
|
|
528
|
-
connectedCallback() {
|
|
529
|
-
const { on_mount } = this.$$;
|
|
530
|
-
this.$$.on_disconnect = on_mount.map(run).filter(is_function);
|
|
531
|
-
for (const key in this.$$.slotted) {
|
|
532
|
-
this.appendChild(this.$$.slotted[key]);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
attributeChangedCallback(attr2, _oldValue, newValue) {
|
|
536
|
-
this[attr2] = newValue;
|
|
537
|
-
}
|
|
538
|
-
disconnectedCallback() {
|
|
539
|
-
run_all(this.$$.on_disconnect);
|
|
540
|
-
}
|
|
541
|
-
$destroy() {
|
|
542
|
-
destroy_component(this, 1);
|
|
543
|
-
this.$destroy = noop;
|
|
544
|
-
}
|
|
545
|
-
$on(type, callback) {
|
|
546
|
-
const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
|
|
547
|
-
callbacks.push(callback);
|
|
548
|
-
return () => {
|
|
549
|
-
const index = callbacks.indexOf(callback);
|
|
550
|
-
if (index !== -1)
|
|
551
|
-
callbacks.splice(index, 1);
|
|
552
|
-
};
|
|
553
|
-
}
|
|
554
|
-
$set($$props) {
|
|
555
|
-
if (this.$$set && !is_empty($$props)) {
|
|
556
|
-
this.$$.skip_bound = true;
|
|
557
|
-
this.$$set($$props);
|
|
558
|
-
this.$$.skip_bound = false;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
};
|
|
562
|
-
}
|
|
563
516
|
var SvelteComponent = class {
|
|
564
517
|
$destroy() {
|
|
565
518
|
destroy_component(this, 1);
|
|
@@ -668,7 +621,7 @@ function create_fragment(ctx) {
|
|
|
668
621
|
return 0;
|
|
669
622
|
return 1;
|
|
670
623
|
}
|
|
671
|
-
current_block_type_index = select_block_type(ctx
|
|
624
|
+
current_block_type_index = select_block_type(ctx);
|
|
672
625
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
673
626
|
return {
|
|
674
627
|
c() {
|
|
@@ -682,7 +635,7 @@ function create_fragment(ctx) {
|
|
|
682
635
|
},
|
|
683
636
|
p(ctx2, [dirty]) {
|
|
684
637
|
let previous_block_index = current_block_type_index;
|
|
685
|
-
current_block_type_index = select_block_type(ctx2
|
|
638
|
+
current_block_type_index = select_block_type(ctx2);
|
|
686
639
|
if (current_block_type_index === previous_block_index) {
|
|
687
640
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
688
641
|
} else {
|
|
@@ -1200,18 +1153,34 @@ var CircleBolded = class extends SvelteComponent {
|
|
|
1200
1153
|
};
|
|
1201
1154
|
var CircleBolded_default = CircleBolded;
|
|
1202
1155
|
|
|
1203
|
-
// src/components/Icons/
|
|
1156
|
+
// src/components/Icons/Clear.svelte
|
|
1204
1157
|
function create_fragment9(ctx) {
|
|
1205
1158
|
let svg;
|
|
1206
|
-
let
|
|
1159
|
+
let path0;
|
|
1160
|
+
let path1;
|
|
1161
|
+
let path2;
|
|
1207
1162
|
let svg_class_value;
|
|
1208
1163
|
return {
|
|
1209
1164
|
c() {
|
|
1210
1165
|
svg = svg_element("svg");
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
attr(
|
|
1166
|
+
path0 = svg_element("path");
|
|
1167
|
+
path1 = svg_element("path");
|
|
1168
|
+
path2 = svg_element("path");
|
|
1169
|
+
attr(path0, "d", "M19.6567 4.34323L13.9999 10.0001");
|
|
1170
|
+
attr(path0, "stroke", "#5D6066");
|
|
1171
|
+
attr(path0, "stroke-width", "1.25");
|
|
1172
|
+
attr(path0, "stroke-linejoin", "round");
|
|
1173
|
+
attr(path0, "class", "fastboard-icon-stroke-color");
|
|
1174
|
+
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");
|
|
1175
|
+
attr(path1, "stroke", "#5D6066");
|
|
1176
|
+
attr(path1, "stroke-width", "1.25");
|
|
1177
|
+
attr(path1, "stroke-linejoin", "round");
|
|
1178
|
+
attr(path1, "class", "fastboard-icon-stroke-color");
|
|
1179
|
+
attr(path2, "d", "M8.34292 10.0001L13.9998 15.6569L11.5856 19.8996L4.10028 11.4143L8.34292 10.0001Z");
|
|
1180
|
+
attr(path2, "stroke", "#5D6066");
|
|
1181
|
+
attr(path2, "stroke-width", "1.25");
|
|
1182
|
+
attr(path2, "stroke-linejoin", "round");
|
|
1183
|
+
attr(path2, "class", "fastboard-icon-stroke-color");
|
|
1215
1184
|
attr(svg, "fill", "none");
|
|
1216
1185
|
attr(svg, "viewBox", "0 0 24 24");
|
|
1217
1186
|
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
@@ -1219,7 +1188,9 @@ function create_fragment9(ctx) {
|
|
|
1219
1188
|
},
|
|
1220
1189
|
m(target, anchor) {
|
|
1221
1190
|
insert(target, svg, anchor);
|
|
1222
|
-
append(svg,
|
|
1191
|
+
append(svg, path0);
|
|
1192
|
+
append(svg, path1);
|
|
1193
|
+
append(svg, path2);
|
|
1223
1194
|
},
|
|
1224
1195
|
p(ctx2, [dirty]) {
|
|
1225
1196
|
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
@@ -1248,74 +1219,16 @@ function instance9($$self, $$props, $$invalidate) {
|
|
|
1248
1219
|
};
|
|
1249
1220
|
return [theme, active];
|
|
1250
1221
|
}
|
|
1251
|
-
var Clean = class extends SvelteComponent {
|
|
1252
|
-
constructor(options) {
|
|
1253
|
-
super();
|
|
1254
|
-
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1255
|
-
}
|
|
1256
|
-
};
|
|
1257
|
-
var Clean_default = Clean;
|
|
1258
|
-
|
|
1259
|
-
// src/components/Icons/Clear.svelte
|
|
1260
|
-
function create_fragment10(ctx) {
|
|
1261
|
-
let svg;
|
|
1262
|
-
let path;
|
|
1263
|
-
let svg_class_value;
|
|
1264
|
-
return {
|
|
1265
|
-
c() {
|
|
1266
|
-
svg = svg_element("svg");
|
|
1267
|
-
path = svg_element("path");
|
|
1268
|
-
attr(path, "stroke", "#5D6066");
|
|
1269
|
-
attr(path, "stroke-linejoin", "round");
|
|
1270
|
-
attr(path, "stroke-width", "1.25");
|
|
1271
|
-
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");
|
|
1272
|
-
attr(path, "class", "fastboard-icon-stroke-color");
|
|
1273
|
-
attr(svg, "fill", "none");
|
|
1274
|
-
attr(svg, "viewBox", "0 0 24 24");
|
|
1275
|
-
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
1276
|
-
toggle_class(svg, "is-active", ctx[1]);
|
|
1277
|
-
},
|
|
1278
|
-
m(target, anchor) {
|
|
1279
|
-
insert(target, svg, anchor);
|
|
1280
|
-
append(svg, path);
|
|
1281
|
-
},
|
|
1282
|
-
p(ctx2, [dirty]) {
|
|
1283
|
-
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
1284
|
-
attr(svg, "class", svg_class_value);
|
|
1285
|
-
}
|
|
1286
|
-
if (dirty & 3) {
|
|
1287
|
-
toggle_class(svg, "is-active", ctx2[1]);
|
|
1288
|
-
}
|
|
1289
|
-
},
|
|
1290
|
-
i: noop,
|
|
1291
|
-
o: noop,
|
|
1292
|
-
d(detaching) {
|
|
1293
|
-
if (detaching)
|
|
1294
|
-
detach(svg);
|
|
1295
|
-
}
|
|
1296
|
-
};
|
|
1297
|
-
}
|
|
1298
|
-
function instance10($$self, $$props, $$invalidate) {
|
|
1299
|
-
let { theme = "light" } = $$props;
|
|
1300
|
-
let { active = false } = $$props;
|
|
1301
|
-
$$self.$$set = ($$props2) => {
|
|
1302
|
-
if ("theme" in $$props2)
|
|
1303
|
-
$$invalidate(0, theme = $$props2.theme);
|
|
1304
|
-
if ("active" in $$props2)
|
|
1305
|
-
$$invalidate(1, active = $$props2.active);
|
|
1306
|
-
};
|
|
1307
|
-
return [theme, active];
|
|
1308
|
-
}
|
|
1309
1222
|
var Clear = class extends SvelteComponent {
|
|
1310
1223
|
constructor(options) {
|
|
1311
1224
|
super();
|
|
1312
|
-
init(this, options,
|
|
1225
|
+
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1313
1226
|
}
|
|
1314
1227
|
};
|
|
1315
1228
|
var Clear_default = Clear;
|
|
1316
1229
|
|
|
1317
1230
|
// src/components/Icons/Click.svelte
|
|
1318
|
-
function
|
|
1231
|
+
function create_fragment10(ctx) {
|
|
1319
1232
|
let svg;
|
|
1320
1233
|
let path;
|
|
1321
1234
|
let svg_class_value;
|
|
@@ -1353,7 +1266,7 @@ function create_fragment11(ctx) {
|
|
|
1353
1266
|
}
|
|
1354
1267
|
};
|
|
1355
1268
|
}
|
|
1356
|
-
function
|
|
1269
|
+
function instance10($$self, $$props, $$invalidate) {
|
|
1357
1270
|
let { theme = "light" } = $$props;
|
|
1358
1271
|
let { active = false } = $$props;
|
|
1359
1272
|
$$self.$$set = ($$props2) => {
|
|
@@ -1367,13 +1280,13 @@ function instance11($$self, $$props, $$invalidate) {
|
|
|
1367
1280
|
var Click = class extends SvelteComponent {
|
|
1368
1281
|
constructor(options) {
|
|
1369
1282
|
super();
|
|
1370
|
-
init(this, options,
|
|
1283
|
+
init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
|
|
1371
1284
|
}
|
|
1372
1285
|
};
|
|
1373
1286
|
var Click_default = Click;
|
|
1374
1287
|
|
|
1375
1288
|
// src/components/Icons/ClickFilled.svelte
|
|
1376
|
-
function
|
|
1289
|
+
function create_fragment11(ctx) {
|
|
1377
1290
|
let svg;
|
|
1378
1291
|
let path;
|
|
1379
1292
|
let svg_class_value;
|
|
@@ -1409,7 +1322,7 @@ function create_fragment12(ctx) {
|
|
|
1409
1322
|
}
|
|
1410
1323
|
};
|
|
1411
1324
|
}
|
|
1412
|
-
function
|
|
1325
|
+
function instance11($$self, $$props, $$invalidate) {
|
|
1413
1326
|
let { theme = "light" } = $$props;
|
|
1414
1327
|
let { active = false } = $$props;
|
|
1415
1328
|
$$self.$$set = ($$props2) => {
|
|
@@ -1423,13 +1336,13 @@ function instance12($$self, $$props, $$invalidate) {
|
|
|
1423
1336
|
var ClickFilled = class extends SvelteComponent {
|
|
1424
1337
|
constructor(options) {
|
|
1425
1338
|
super();
|
|
1426
|
-
init(this, options,
|
|
1339
|
+
init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
|
|
1427
1340
|
}
|
|
1428
1341
|
};
|
|
1429
1342
|
var ClickFilled_default = ClickFilled;
|
|
1430
1343
|
|
|
1431
1344
|
// src/components/Icons/Diamond.svelte
|
|
1432
|
-
function
|
|
1345
|
+
function create_fragment12(ctx) {
|
|
1433
1346
|
let svg;
|
|
1434
1347
|
let path;
|
|
1435
1348
|
let svg_class_value;
|
|
@@ -1467,7 +1380,7 @@ function create_fragment13(ctx) {
|
|
|
1467
1380
|
}
|
|
1468
1381
|
};
|
|
1469
1382
|
}
|
|
1470
|
-
function
|
|
1383
|
+
function instance12($$self, $$props, $$invalidate) {
|
|
1471
1384
|
let { theme = "light" } = $$props;
|
|
1472
1385
|
let { active = false } = $$props;
|
|
1473
1386
|
$$self.$$set = ($$props2) => {
|
|
@@ -1481,13 +1394,13 @@ function instance13($$self, $$props, $$invalidate) {
|
|
|
1481
1394
|
var Diamond = class extends SvelteComponent {
|
|
1482
1395
|
constructor(options) {
|
|
1483
1396
|
super();
|
|
1484
|
-
init(this, options,
|
|
1397
|
+
init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
|
|
1485
1398
|
}
|
|
1486
1399
|
};
|
|
1487
1400
|
var Diamond_default = Diamond;
|
|
1488
1401
|
|
|
1489
1402
|
// src/components/Icons/Down.svelte
|
|
1490
|
-
function
|
|
1403
|
+
function create_fragment13(ctx) {
|
|
1491
1404
|
let svg;
|
|
1492
1405
|
let path;
|
|
1493
1406
|
let svg_class_value;
|
|
@@ -1525,7 +1438,7 @@ function create_fragment14(ctx) {
|
|
|
1525
1438
|
}
|
|
1526
1439
|
};
|
|
1527
1440
|
}
|
|
1528
|
-
function
|
|
1441
|
+
function instance13($$self, $$props, $$invalidate) {
|
|
1529
1442
|
let { theme = "light" } = $$props;
|
|
1530
1443
|
let { active = false } = $$props;
|
|
1531
1444
|
$$self.$$set = ($$props2) => {
|
|
@@ -1539,13 +1452,13 @@ function instance14($$self, $$props, $$invalidate) {
|
|
|
1539
1452
|
var Down = class extends SvelteComponent {
|
|
1540
1453
|
constructor(options) {
|
|
1541
1454
|
super();
|
|
1542
|
-
init(this, options,
|
|
1455
|
+
init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
|
|
1543
1456
|
}
|
|
1544
1457
|
};
|
|
1545
1458
|
var Down_default = Down;
|
|
1546
1459
|
|
|
1547
1460
|
// src/components/Icons/Eraser.svelte
|
|
1548
|
-
function
|
|
1461
|
+
function create_fragment14(ctx) {
|
|
1549
1462
|
let svg;
|
|
1550
1463
|
let path;
|
|
1551
1464
|
let svg_class_value;
|
|
@@ -1583,7 +1496,7 @@ function create_fragment15(ctx) {
|
|
|
1583
1496
|
}
|
|
1584
1497
|
};
|
|
1585
1498
|
}
|
|
1586
|
-
function
|
|
1499
|
+
function instance14($$self, $$props, $$invalidate) {
|
|
1587
1500
|
let { theme = "light" } = $$props;
|
|
1588
1501
|
let { active = false } = $$props;
|
|
1589
1502
|
$$self.$$set = ($$props2) => {
|
|
@@ -1597,13 +1510,13 @@ function instance15($$self, $$props, $$invalidate) {
|
|
|
1597
1510
|
var Eraser = class extends SvelteComponent {
|
|
1598
1511
|
constructor(options) {
|
|
1599
1512
|
super();
|
|
1600
|
-
init(this, options,
|
|
1513
|
+
init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
|
|
1601
1514
|
}
|
|
1602
1515
|
};
|
|
1603
1516
|
var Eraser_default = Eraser;
|
|
1604
1517
|
|
|
1605
1518
|
// src/components/Icons/EraserFilled.svelte
|
|
1606
|
-
function
|
|
1519
|
+
function create_fragment15(ctx) {
|
|
1607
1520
|
let svg;
|
|
1608
1521
|
let path;
|
|
1609
1522
|
let svg_class_value;
|
|
@@ -1641,7 +1554,7 @@ function create_fragment16(ctx) {
|
|
|
1641
1554
|
}
|
|
1642
1555
|
};
|
|
1643
1556
|
}
|
|
1644
|
-
function
|
|
1557
|
+
function instance15($$self, $$props, $$invalidate) {
|
|
1645
1558
|
let { theme = "light" } = $$props;
|
|
1646
1559
|
let { active = false } = $$props;
|
|
1647
1560
|
$$self.$$set = ($$props2) => {
|
|
@@ -1655,13 +1568,13 @@ function instance16($$self, $$props, $$invalidate) {
|
|
|
1655
1568
|
var EraserFilled = class extends SvelteComponent {
|
|
1656
1569
|
constructor(options) {
|
|
1657
1570
|
super();
|
|
1658
|
-
init(this, options,
|
|
1571
|
+
init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
|
|
1659
1572
|
}
|
|
1660
1573
|
};
|
|
1661
1574
|
var EraserFilled_default = EraserFilled;
|
|
1662
1575
|
|
|
1663
1576
|
// src/components/Icons/Left.svelte
|
|
1664
|
-
function
|
|
1577
|
+
function create_fragment16(ctx) {
|
|
1665
1578
|
let svg;
|
|
1666
1579
|
let path;
|
|
1667
1580
|
let svg_class_value;
|
|
@@ -1699,7 +1612,7 @@ function create_fragment17(ctx) {
|
|
|
1699
1612
|
}
|
|
1700
1613
|
};
|
|
1701
1614
|
}
|
|
1702
|
-
function
|
|
1615
|
+
function instance16($$self, $$props, $$invalidate) {
|
|
1703
1616
|
let { theme = "light" } = $$props;
|
|
1704
1617
|
let { active = false } = $$props;
|
|
1705
1618
|
$$self.$$set = ($$props2) => {
|
|
@@ -1713,13 +1626,13 @@ function instance17($$self, $$props, $$invalidate) {
|
|
|
1713
1626
|
var Left = class extends SvelteComponent {
|
|
1714
1627
|
constructor(options) {
|
|
1715
1628
|
super();
|
|
1716
|
-
init(this, options,
|
|
1629
|
+
init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
|
|
1717
1630
|
}
|
|
1718
1631
|
};
|
|
1719
1632
|
var Left_default = Left;
|
|
1720
1633
|
|
|
1721
1634
|
// src/components/Icons/Line.svelte
|
|
1722
|
-
function
|
|
1635
|
+
function create_fragment17(ctx) {
|
|
1723
1636
|
let svg;
|
|
1724
1637
|
let path;
|
|
1725
1638
|
let svg_class_value;
|
|
@@ -1757,7 +1670,7 @@ function create_fragment18(ctx) {
|
|
|
1757
1670
|
}
|
|
1758
1671
|
};
|
|
1759
1672
|
}
|
|
1760
|
-
function
|
|
1673
|
+
function instance17($$self, $$props, $$invalidate) {
|
|
1761
1674
|
let { theme = "light" } = $$props;
|
|
1762
1675
|
let { active = false } = $$props;
|
|
1763
1676
|
$$self.$$set = ($$props2) => {
|
|
@@ -1771,13 +1684,13 @@ function instance18($$self, $$props, $$invalidate) {
|
|
|
1771
1684
|
var Line = class extends SvelteComponent {
|
|
1772
1685
|
constructor(options) {
|
|
1773
1686
|
super();
|
|
1774
|
-
init(this, options,
|
|
1687
|
+
init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
|
|
1775
1688
|
}
|
|
1776
1689
|
};
|
|
1777
1690
|
var Line_default = Line;
|
|
1778
1691
|
|
|
1779
1692
|
// src/components/Icons/LineBolded.svelte
|
|
1780
|
-
function
|
|
1693
|
+
function create_fragment18(ctx) {
|
|
1781
1694
|
let svg;
|
|
1782
1695
|
let path;
|
|
1783
1696
|
let svg_class_value;
|
|
@@ -1815,7 +1728,7 @@ function create_fragment19(ctx) {
|
|
|
1815
1728
|
}
|
|
1816
1729
|
};
|
|
1817
1730
|
}
|
|
1818
|
-
function
|
|
1731
|
+
function instance18($$self, $$props, $$invalidate) {
|
|
1819
1732
|
let { theme = "light" } = $$props;
|
|
1820
1733
|
let { active = false } = $$props;
|
|
1821
1734
|
$$self.$$set = ($$props2) => {
|
|
@@ -1829,13 +1742,13 @@ function instance19($$self, $$props, $$invalidate) {
|
|
|
1829
1742
|
var LineBolded = class extends SvelteComponent {
|
|
1830
1743
|
constructor(options) {
|
|
1831
1744
|
super();
|
|
1832
|
-
init(this, options,
|
|
1745
|
+
init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
|
|
1833
1746
|
}
|
|
1834
1747
|
};
|
|
1835
1748
|
var LineBolded_default = LineBolded;
|
|
1836
1749
|
|
|
1837
1750
|
// src/components/Icons/Minus.svelte
|
|
1838
|
-
function
|
|
1751
|
+
function create_fragment19(ctx) {
|
|
1839
1752
|
let svg;
|
|
1840
1753
|
let path;
|
|
1841
1754
|
let svg_class_value;
|
|
@@ -1873,7 +1786,7 @@ function create_fragment20(ctx) {
|
|
|
1873
1786
|
}
|
|
1874
1787
|
};
|
|
1875
1788
|
}
|
|
1876
|
-
function
|
|
1789
|
+
function instance19($$self, $$props, $$invalidate) {
|
|
1877
1790
|
let { theme = "light" } = $$props;
|
|
1878
1791
|
let { active = false } = $$props;
|
|
1879
1792
|
$$self.$$set = ($$props2) => {
|
|
@@ -1887,13 +1800,13 @@ function instance20($$self, $$props, $$invalidate) {
|
|
|
1887
1800
|
var Minus = class extends SvelteComponent {
|
|
1888
1801
|
constructor(options) {
|
|
1889
1802
|
super();
|
|
1890
|
-
init(this, options,
|
|
1803
|
+
init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
|
|
1891
1804
|
}
|
|
1892
1805
|
};
|
|
1893
1806
|
var Minus_default = Minus;
|
|
1894
1807
|
|
|
1895
1808
|
// src/components/Icons/Pencil.svelte
|
|
1896
|
-
function
|
|
1809
|
+
function create_fragment20(ctx) {
|
|
1897
1810
|
let svg;
|
|
1898
1811
|
let path0;
|
|
1899
1812
|
let path1;
|
|
@@ -1946,7 +1859,7 @@ function create_fragment21(ctx) {
|
|
|
1946
1859
|
}
|
|
1947
1860
|
};
|
|
1948
1861
|
}
|
|
1949
|
-
function
|
|
1862
|
+
function instance20($$self, $$props, $$invalidate) {
|
|
1950
1863
|
let { theme = "light" } = $$props;
|
|
1951
1864
|
let { active = false } = $$props;
|
|
1952
1865
|
$$self.$$set = ($$props2) => {
|
|
@@ -1960,13 +1873,13 @@ function instance21($$self, $$props, $$invalidate) {
|
|
|
1960
1873
|
var Pencil = class extends SvelteComponent {
|
|
1961
1874
|
constructor(options) {
|
|
1962
1875
|
super();
|
|
1963
|
-
init(this, options,
|
|
1876
|
+
init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
|
|
1964
1877
|
}
|
|
1965
1878
|
};
|
|
1966
1879
|
var Pencil_default = Pencil;
|
|
1967
1880
|
|
|
1968
1881
|
// src/components/Icons/PencilFilled.svelte
|
|
1969
|
-
function
|
|
1882
|
+
function create_fragment21(ctx) {
|
|
1970
1883
|
let svg;
|
|
1971
1884
|
let path;
|
|
1972
1885
|
let svg_class_value;
|
|
@@ -2004,7 +1917,7 @@ function create_fragment22(ctx) {
|
|
|
2004
1917
|
}
|
|
2005
1918
|
};
|
|
2006
1919
|
}
|
|
2007
|
-
function
|
|
1920
|
+
function instance21($$self, $$props, $$invalidate) {
|
|
2008
1921
|
let { theme = "light" } = $$props;
|
|
2009
1922
|
let { active = false } = $$props;
|
|
2010
1923
|
$$self.$$set = ($$props2) => {
|
|
@@ -2018,13 +1931,13 @@ function instance22($$self, $$props, $$invalidate) {
|
|
|
2018
1931
|
var PencilFilled = class extends SvelteComponent {
|
|
2019
1932
|
constructor(options) {
|
|
2020
1933
|
super();
|
|
2021
|
-
init(this, options,
|
|
1934
|
+
init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
|
|
2022
1935
|
}
|
|
2023
1936
|
};
|
|
2024
1937
|
var PencilFilled_default = PencilFilled;
|
|
2025
1938
|
|
|
2026
1939
|
// src/components/Icons/Plus.svelte
|
|
2027
|
-
function
|
|
1940
|
+
function create_fragment22(ctx) {
|
|
2028
1941
|
let svg;
|
|
2029
1942
|
let path;
|
|
2030
1943
|
let svg_class_value;
|
|
@@ -2062,7 +1975,7 @@ function create_fragment23(ctx) {
|
|
|
2062
1975
|
}
|
|
2063
1976
|
};
|
|
2064
1977
|
}
|
|
2065
|
-
function
|
|
1978
|
+
function instance22($$self, $$props, $$invalidate) {
|
|
2066
1979
|
let { theme = "light" } = $$props;
|
|
2067
1980
|
let { active = false } = $$props;
|
|
2068
1981
|
$$self.$$set = ($$props2) => {
|
|
@@ -2076,13 +1989,13 @@ function instance23($$self, $$props, $$invalidate) {
|
|
|
2076
1989
|
var Plus = class extends SvelteComponent {
|
|
2077
1990
|
constructor(options) {
|
|
2078
1991
|
super();
|
|
2079
|
-
init(this, options,
|
|
1992
|
+
init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
|
|
2080
1993
|
}
|
|
2081
1994
|
};
|
|
2082
1995
|
var Plus_default = Plus;
|
|
2083
1996
|
|
|
2084
1997
|
// src/components/Icons/Rectangle.svelte
|
|
2085
|
-
function
|
|
1998
|
+
function create_fragment23(ctx) {
|
|
2086
1999
|
let svg;
|
|
2087
2000
|
let path;
|
|
2088
2001
|
let svg_class_value;
|
|
@@ -2120,7 +2033,7 @@ function create_fragment24(ctx) {
|
|
|
2120
2033
|
}
|
|
2121
2034
|
};
|
|
2122
2035
|
}
|
|
2123
|
-
function
|
|
2036
|
+
function instance23($$self, $$props, $$invalidate) {
|
|
2124
2037
|
let { theme = "light" } = $$props;
|
|
2125
2038
|
let { active = false } = $$props;
|
|
2126
2039
|
$$self.$$set = ($$props2) => {
|
|
@@ -2134,13 +2047,13 @@ function instance24($$self, $$props, $$invalidate) {
|
|
|
2134
2047
|
var Rectangle = class extends SvelteComponent {
|
|
2135
2048
|
constructor(options) {
|
|
2136
2049
|
super();
|
|
2137
|
-
init(this, options,
|
|
2050
|
+
init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
|
|
2138
2051
|
}
|
|
2139
2052
|
};
|
|
2140
2053
|
var Rectangle_default = Rectangle;
|
|
2141
2054
|
|
|
2142
2055
|
// src/components/Icons/RectangleBolded.svelte
|
|
2143
|
-
function
|
|
2056
|
+
function create_fragment24(ctx) {
|
|
2144
2057
|
let svg;
|
|
2145
2058
|
let path;
|
|
2146
2059
|
let svg_class_value;
|
|
@@ -2178,7 +2091,7 @@ function create_fragment25(ctx) {
|
|
|
2178
2091
|
}
|
|
2179
2092
|
};
|
|
2180
2093
|
}
|
|
2181
|
-
function
|
|
2094
|
+
function instance24($$self, $$props, $$invalidate) {
|
|
2182
2095
|
let { theme = "light" } = $$props;
|
|
2183
2096
|
let { active = false } = $$props;
|
|
2184
2097
|
$$self.$$set = ($$props2) => {
|
|
@@ -2192,13 +2105,13 @@ function instance25($$self, $$props, $$invalidate) {
|
|
|
2192
2105
|
var RectangleBolded = class extends SvelteComponent {
|
|
2193
2106
|
constructor(options) {
|
|
2194
2107
|
super();
|
|
2195
|
-
init(this, options,
|
|
2108
|
+
init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
|
|
2196
2109
|
}
|
|
2197
2110
|
};
|
|
2198
2111
|
var RectangleBolded_default = RectangleBolded;
|
|
2199
2112
|
|
|
2200
2113
|
// src/components/Icons/Redo.svelte
|
|
2201
|
-
function
|
|
2114
|
+
function create_fragment25(ctx) {
|
|
2202
2115
|
let svg;
|
|
2203
2116
|
let path0;
|
|
2204
2117
|
let path1;
|
|
@@ -2240,7 +2153,7 @@ function create_fragment26(ctx) {
|
|
|
2240
2153
|
}
|
|
2241
2154
|
};
|
|
2242
2155
|
}
|
|
2243
|
-
function
|
|
2156
|
+
function instance25($$self, $$props, $$invalidate) {
|
|
2244
2157
|
let { theme = "light" } = $$props;
|
|
2245
2158
|
let { active = false } = $$props;
|
|
2246
2159
|
$$self.$$set = ($$props2) => {
|
|
@@ -2254,13 +2167,13 @@ function instance26($$self, $$props, $$invalidate) {
|
|
|
2254
2167
|
var Redo = class extends SvelteComponent {
|
|
2255
2168
|
constructor(options) {
|
|
2256
2169
|
super();
|
|
2257
|
-
init(this, options,
|
|
2170
|
+
init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
|
|
2258
2171
|
}
|
|
2259
2172
|
};
|
|
2260
2173
|
var Redo_default = Redo;
|
|
2261
2174
|
|
|
2262
2175
|
// src/components/Icons/Reset.svelte
|
|
2263
|
-
function
|
|
2176
|
+
function create_fragment26(ctx) {
|
|
2264
2177
|
let svg;
|
|
2265
2178
|
let circle0;
|
|
2266
2179
|
let path;
|
|
@@ -2316,7 +2229,7 @@ function create_fragment27(ctx) {
|
|
|
2316
2229
|
}
|
|
2317
2230
|
};
|
|
2318
2231
|
}
|
|
2319
|
-
function
|
|
2232
|
+
function instance26($$self, $$props, $$invalidate) {
|
|
2320
2233
|
let { theme = "light" } = $$props;
|
|
2321
2234
|
let { active = false } = $$props;
|
|
2322
2235
|
$$self.$$set = ($$props2) => {
|
|
@@ -2330,13 +2243,13 @@ function instance27($$self, $$props, $$invalidate) {
|
|
|
2330
2243
|
var Reset = class extends SvelteComponent {
|
|
2331
2244
|
constructor(options) {
|
|
2332
2245
|
super();
|
|
2333
|
-
init(this, options,
|
|
2246
|
+
init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
|
|
2334
2247
|
}
|
|
2335
2248
|
};
|
|
2336
2249
|
var Reset_default = Reset;
|
|
2337
2250
|
|
|
2338
2251
|
// src/components/Icons/Rhombus.svelte
|
|
2339
|
-
function
|
|
2252
|
+
function create_fragment27(ctx) {
|
|
2340
2253
|
let svg;
|
|
2341
2254
|
let path;
|
|
2342
2255
|
let svg_class_value;
|
|
@@ -2374,7 +2287,7 @@ function create_fragment28(ctx) {
|
|
|
2374
2287
|
}
|
|
2375
2288
|
};
|
|
2376
2289
|
}
|
|
2377
|
-
function
|
|
2290
|
+
function instance27($$self, $$props, $$invalidate) {
|
|
2378
2291
|
let { theme = "light" } = $$props;
|
|
2379
2292
|
let { active = false } = $$props;
|
|
2380
2293
|
$$self.$$set = ($$props2) => {
|
|
@@ -2388,13 +2301,13 @@ function instance28($$self, $$props, $$invalidate) {
|
|
|
2388
2301
|
var Rhombus = class extends SvelteComponent {
|
|
2389
2302
|
constructor(options) {
|
|
2390
2303
|
super();
|
|
2391
|
-
init(this, options,
|
|
2304
|
+
init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
|
|
2392
2305
|
}
|
|
2393
2306
|
};
|
|
2394
2307
|
var Rhombus_default = Rhombus;
|
|
2395
2308
|
|
|
2396
2309
|
// src/components/Icons/RhombusBolded.svelte
|
|
2397
|
-
function
|
|
2310
|
+
function create_fragment28(ctx) {
|
|
2398
2311
|
let svg;
|
|
2399
2312
|
let path;
|
|
2400
2313
|
let svg_class_value;
|
|
@@ -2432,7 +2345,7 @@ function create_fragment29(ctx) {
|
|
|
2432
2345
|
}
|
|
2433
2346
|
};
|
|
2434
2347
|
}
|
|
2435
|
-
function
|
|
2348
|
+
function instance28($$self, $$props, $$invalidate) {
|
|
2436
2349
|
let { theme = "light" } = $$props;
|
|
2437
2350
|
let { active = false } = $$props;
|
|
2438
2351
|
$$self.$$set = ($$props2) => {
|
|
@@ -2446,13 +2359,13 @@ function instance29($$self, $$props, $$invalidate) {
|
|
|
2446
2359
|
var RhombusBolded = class extends SvelteComponent {
|
|
2447
2360
|
constructor(options) {
|
|
2448
2361
|
super();
|
|
2449
|
-
init(this, options,
|
|
2362
|
+
init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
|
|
2450
2363
|
}
|
|
2451
2364
|
};
|
|
2452
2365
|
var RhombusBolded_default = RhombusBolded;
|
|
2453
2366
|
|
|
2454
2367
|
// src/components/Icons/Right.svelte
|
|
2455
|
-
function
|
|
2368
|
+
function create_fragment29(ctx) {
|
|
2456
2369
|
let svg;
|
|
2457
2370
|
let path;
|
|
2458
2371
|
let svg_class_value;
|
|
@@ -2490,7 +2403,7 @@ function create_fragment30(ctx) {
|
|
|
2490
2403
|
}
|
|
2491
2404
|
};
|
|
2492
2405
|
}
|
|
2493
|
-
function
|
|
2406
|
+
function instance29($$self, $$props, $$invalidate) {
|
|
2494
2407
|
let { theme = "light" } = $$props;
|
|
2495
2408
|
let { active = false } = $$props;
|
|
2496
2409
|
$$self.$$set = ($$props2) => {
|
|
@@ -2504,13 +2417,13 @@ function instance30($$self, $$props, $$invalidate) {
|
|
|
2504
2417
|
var Right = class extends SvelteComponent {
|
|
2505
2418
|
constructor(options) {
|
|
2506
2419
|
super();
|
|
2507
|
-
init(this, options,
|
|
2420
|
+
init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
|
|
2508
2421
|
}
|
|
2509
2422
|
};
|
|
2510
2423
|
var Right_default = Right;
|
|
2511
2424
|
|
|
2512
2425
|
// src/components/Icons/Selector.svelte
|
|
2513
|
-
function
|
|
2426
|
+
function create_fragment30(ctx) {
|
|
2514
2427
|
let svg;
|
|
2515
2428
|
let path0;
|
|
2516
2429
|
let path1;
|
|
@@ -2557,7 +2470,7 @@ function create_fragment31(ctx) {
|
|
|
2557
2470
|
}
|
|
2558
2471
|
};
|
|
2559
2472
|
}
|
|
2560
|
-
function
|
|
2473
|
+
function instance30($$self, $$props, $$invalidate) {
|
|
2561
2474
|
let { theme = "light" } = $$props;
|
|
2562
2475
|
let { active = false } = $$props;
|
|
2563
2476
|
$$self.$$set = ($$props2) => {
|
|
@@ -2571,13 +2484,13 @@ function instance31($$self, $$props, $$invalidate) {
|
|
|
2571
2484
|
var Selector = class extends SvelteComponent {
|
|
2572
2485
|
constructor(options) {
|
|
2573
2486
|
super();
|
|
2574
|
-
init(this, options,
|
|
2487
|
+
init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
|
|
2575
2488
|
}
|
|
2576
2489
|
};
|
|
2577
2490
|
var Selector_default = Selector;
|
|
2578
2491
|
|
|
2579
2492
|
// src/components/Icons/SelectorFilled.svelte
|
|
2580
|
-
function
|
|
2493
|
+
function create_fragment31(ctx) {
|
|
2581
2494
|
let svg;
|
|
2582
2495
|
let path0;
|
|
2583
2496
|
let path1;
|
|
@@ -2622,7 +2535,7 @@ function create_fragment32(ctx) {
|
|
|
2622
2535
|
}
|
|
2623
2536
|
};
|
|
2624
2537
|
}
|
|
2625
|
-
function
|
|
2538
|
+
function instance31($$self, $$props, $$invalidate) {
|
|
2626
2539
|
let { theme = "light" } = $$props;
|
|
2627
2540
|
let { active = false } = $$props;
|
|
2628
2541
|
$$self.$$set = ($$props2) => {
|
|
@@ -2636,13 +2549,13 @@ function instance32($$self, $$props, $$invalidate) {
|
|
|
2636
2549
|
var SelectorFilled = class extends SvelteComponent {
|
|
2637
2550
|
constructor(options) {
|
|
2638
2551
|
super();
|
|
2639
|
-
init(this, options,
|
|
2552
|
+
init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
|
|
2640
2553
|
}
|
|
2641
2554
|
};
|
|
2642
2555
|
var SelectorFilled_default = SelectorFilled;
|
|
2643
2556
|
|
|
2644
2557
|
// src/components/Icons/SpeechBalloon.svelte
|
|
2645
|
-
function
|
|
2558
|
+
function create_fragment32(ctx) {
|
|
2646
2559
|
let svg;
|
|
2647
2560
|
let path;
|
|
2648
2561
|
let svg_class_value;
|
|
@@ -2680,7 +2593,7 @@ function create_fragment33(ctx) {
|
|
|
2680
2593
|
}
|
|
2681
2594
|
};
|
|
2682
2595
|
}
|
|
2683
|
-
function
|
|
2596
|
+
function instance32($$self, $$props, $$invalidate) {
|
|
2684
2597
|
let { theme = "light" } = $$props;
|
|
2685
2598
|
let { active = false } = $$props;
|
|
2686
2599
|
$$self.$$set = ($$props2) => {
|
|
@@ -2694,13 +2607,13 @@ function instance33($$self, $$props, $$invalidate) {
|
|
|
2694
2607
|
var SpeechBalloon = class extends SvelteComponent {
|
|
2695
2608
|
constructor(options) {
|
|
2696
2609
|
super();
|
|
2697
|
-
init(this, options,
|
|
2610
|
+
init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
|
|
2698
2611
|
}
|
|
2699
2612
|
};
|
|
2700
2613
|
var SpeechBalloon_default = SpeechBalloon;
|
|
2701
2614
|
|
|
2702
2615
|
// src/components/Icons/Star.svelte
|
|
2703
|
-
function
|
|
2616
|
+
function create_fragment33(ctx) {
|
|
2704
2617
|
let svg;
|
|
2705
2618
|
let path;
|
|
2706
2619
|
let svg_class_value;
|
|
@@ -2738,7 +2651,7 @@ function create_fragment34(ctx) {
|
|
|
2738
2651
|
}
|
|
2739
2652
|
};
|
|
2740
2653
|
}
|
|
2741
|
-
function
|
|
2654
|
+
function instance33($$self, $$props, $$invalidate) {
|
|
2742
2655
|
let { theme = "light" } = $$props;
|
|
2743
2656
|
let { active = false } = $$props;
|
|
2744
2657
|
$$self.$$set = ($$props2) => {
|
|
@@ -2752,13 +2665,13 @@ function instance34($$self, $$props, $$invalidate) {
|
|
|
2752
2665
|
var Star = class extends SvelteComponent {
|
|
2753
2666
|
constructor(options) {
|
|
2754
2667
|
super();
|
|
2755
|
-
init(this, options,
|
|
2668
|
+
init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
|
|
2756
2669
|
}
|
|
2757
2670
|
};
|
|
2758
2671
|
var Star_default = Star;
|
|
2759
2672
|
|
|
2760
2673
|
// src/components/Icons/StarBolded.svelte
|
|
2761
|
-
function
|
|
2674
|
+
function create_fragment34(ctx) {
|
|
2762
2675
|
let svg;
|
|
2763
2676
|
let path;
|
|
2764
2677
|
let svg_class_value;
|
|
@@ -2796,7 +2709,7 @@ function create_fragment35(ctx) {
|
|
|
2796
2709
|
}
|
|
2797
2710
|
};
|
|
2798
2711
|
}
|
|
2799
|
-
function
|
|
2712
|
+
function instance34($$self, $$props, $$invalidate) {
|
|
2800
2713
|
let { theme = "light" } = $$props;
|
|
2801
2714
|
let { active = false } = $$props;
|
|
2802
2715
|
$$self.$$set = ($$props2) => {
|
|
@@ -2810,13 +2723,13 @@ function instance35($$self, $$props, $$invalidate) {
|
|
|
2810
2723
|
var StarBolded = class extends SvelteComponent {
|
|
2811
2724
|
constructor(options) {
|
|
2812
2725
|
super();
|
|
2813
|
-
init(this, options,
|
|
2726
|
+
init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
|
|
2814
2727
|
}
|
|
2815
2728
|
};
|
|
2816
2729
|
var StarBolded_default = StarBolded;
|
|
2817
2730
|
|
|
2818
2731
|
// src/components/Icons/Text.svelte
|
|
2819
|
-
function
|
|
2732
|
+
function create_fragment35(ctx) {
|
|
2820
2733
|
let svg;
|
|
2821
2734
|
let path;
|
|
2822
2735
|
let svg_class_value;
|
|
@@ -2854,7 +2767,7 @@ function create_fragment36(ctx) {
|
|
|
2854
2767
|
}
|
|
2855
2768
|
};
|
|
2856
2769
|
}
|
|
2857
|
-
function
|
|
2770
|
+
function instance35($$self, $$props, $$invalidate) {
|
|
2858
2771
|
let { theme = "light" } = $$props;
|
|
2859
2772
|
let { active = false } = $$props;
|
|
2860
2773
|
$$self.$$set = ($$props2) => {
|
|
@@ -2868,13 +2781,13 @@ function instance36($$self, $$props, $$invalidate) {
|
|
|
2868
2781
|
var Text = class extends SvelteComponent {
|
|
2869
2782
|
constructor(options) {
|
|
2870
2783
|
super();
|
|
2871
|
-
init(this, options,
|
|
2784
|
+
init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
|
|
2872
2785
|
}
|
|
2873
2786
|
};
|
|
2874
2787
|
var Text_default = Text;
|
|
2875
2788
|
|
|
2876
2789
|
// src/components/Icons/TextFilled.svelte
|
|
2877
|
-
function
|
|
2790
|
+
function create_fragment36(ctx) {
|
|
2878
2791
|
let svg;
|
|
2879
2792
|
let path0;
|
|
2880
2793
|
let path1;
|
|
@@ -2919,7 +2832,7 @@ function create_fragment37(ctx) {
|
|
|
2919
2832
|
}
|
|
2920
2833
|
};
|
|
2921
2834
|
}
|
|
2922
|
-
function
|
|
2835
|
+
function instance36($$self, $$props, $$invalidate) {
|
|
2923
2836
|
let { theme = "light" } = $$props;
|
|
2924
2837
|
let { active = false } = $$props;
|
|
2925
2838
|
$$self.$$set = ($$props2) => {
|
|
@@ -2933,13 +2846,13 @@ function instance37($$self, $$props, $$invalidate) {
|
|
|
2933
2846
|
var TextFilled = class extends SvelteComponent {
|
|
2934
2847
|
constructor(options) {
|
|
2935
2848
|
super();
|
|
2936
|
-
init(this, options,
|
|
2849
|
+
init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
|
|
2937
2850
|
}
|
|
2938
2851
|
};
|
|
2939
2852
|
var TextFilled_default = TextFilled;
|
|
2940
2853
|
|
|
2941
2854
|
// src/components/Icons/Triangle.svelte
|
|
2942
|
-
function
|
|
2855
|
+
function create_fragment37(ctx) {
|
|
2943
2856
|
let svg;
|
|
2944
2857
|
let path;
|
|
2945
2858
|
let svg_class_value;
|
|
@@ -2977,7 +2890,7 @@ function create_fragment38(ctx) {
|
|
|
2977
2890
|
}
|
|
2978
2891
|
};
|
|
2979
2892
|
}
|
|
2980
|
-
function
|
|
2893
|
+
function instance37($$self, $$props, $$invalidate) {
|
|
2981
2894
|
let { theme = "light" } = $$props;
|
|
2982
2895
|
let { active = false } = $$props;
|
|
2983
2896
|
$$self.$$set = ($$props2) => {
|
|
@@ -2991,13 +2904,13 @@ function instance38($$self, $$props, $$invalidate) {
|
|
|
2991
2904
|
var Triangle = class extends SvelteComponent {
|
|
2992
2905
|
constructor(options) {
|
|
2993
2906
|
super();
|
|
2994
|
-
init(this, options,
|
|
2907
|
+
init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
|
|
2995
2908
|
}
|
|
2996
2909
|
};
|
|
2997
2910
|
var Triangle_default = Triangle;
|
|
2998
2911
|
|
|
2999
2912
|
// src/components/Icons/TriangleBolded.svelte
|
|
3000
|
-
function
|
|
2913
|
+
function create_fragment38(ctx) {
|
|
3001
2914
|
let svg;
|
|
3002
2915
|
let path;
|
|
3003
2916
|
let svg_class_value;
|
|
@@ -3035,7 +2948,7 @@ function create_fragment39(ctx) {
|
|
|
3035
2948
|
}
|
|
3036
2949
|
};
|
|
3037
2950
|
}
|
|
3038
|
-
function
|
|
2951
|
+
function instance38($$self, $$props, $$invalidate) {
|
|
3039
2952
|
let { theme = "light" } = $$props;
|
|
3040
2953
|
let { active = false } = $$props;
|
|
3041
2954
|
$$self.$$set = ($$props2) => {
|
|
@@ -3049,13 +2962,13 @@ function instance39($$self, $$props, $$invalidate) {
|
|
|
3049
2962
|
var TriangleBolded = class extends SvelteComponent {
|
|
3050
2963
|
constructor(options) {
|
|
3051
2964
|
super();
|
|
3052
|
-
init(this, options,
|
|
2965
|
+
init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
|
|
3053
2966
|
}
|
|
3054
2967
|
};
|
|
3055
2968
|
var TriangleBolded_default = TriangleBolded;
|
|
3056
2969
|
|
|
3057
2970
|
// src/components/Icons/Undo.svelte
|
|
3058
|
-
function
|
|
2971
|
+
function create_fragment39(ctx) {
|
|
3059
2972
|
let svg;
|
|
3060
2973
|
let path0;
|
|
3061
2974
|
let path1;
|
|
@@ -3097,7 +3010,7 @@ function create_fragment40(ctx) {
|
|
|
3097
3010
|
}
|
|
3098
3011
|
};
|
|
3099
3012
|
}
|
|
3100
|
-
function
|
|
3013
|
+
function instance39($$self, $$props, $$invalidate) {
|
|
3101
3014
|
let { theme = "light" } = $$props;
|
|
3102
3015
|
let { active = false } = $$props;
|
|
3103
3016
|
$$self.$$set = ($$props2) => {
|
|
@@ -3111,13 +3024,13 @@ function instance40($$self, $$props, $$invalidate) {
|
|
|
3111
3024
|
var Undo = class extends SvelteComponent {
|
|
3112
3025
|
constructor(options) {
|
|
3113
3026
|
super();
|
|
3114
|
-
init(this, options,
|
|
3027
|
+
init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
|
|
3115
3028
|
}
|
|
3116
3029
|
};
|
|
3117
3030
|
var Undo_default = Undo;
|
|
3118
3031
|
|
|
3119
3032
|
// src/components/Icons/Up.svelte
|
|
3120
|
-
function
|
|
3033
|
+
function create_fragment40(ctx) {
|
|
3121
3034
|
let svg;
|
|
3122
3035
|
let path;
|
|
3123
3036
|
let svg_class_value;
|
|
@@ -3155,7 +3068,7 @@ function create_fragment41(ctx) {
|
|
|
3155
3068
|
}
|
|
3156
3069
|
};
|
|
3157
3070
|
}
|
|
3158
|
-
function
|
|
3071
|
+
function instance40($$self, $$props, $$invalidate) {
|
|
3159
3072
|
let { theme = "light" } = $$props;
|
|
3160
3073
|
let { active = false } = $$props;
|
|
3161
3074
|
$$self.$$set = ($$props2) => {
|
|
@@ -3169,13 +3082,13 @@ function instance41($$self, $$props, $$invalidate) {
|
|
|
3169
3082
|
var Up = class extends SvelteComponent {
|
|
3170
3083
|
constructor(options) {
|
|
3171
3084
|
super();
|
|
3172
|
-
init(this, options,
|
|
3085
|
+
init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
|
|
3173
3086
|
}
|
|
3174
3087
|
};
|
|
3175
3088
|
var Up_default = Up;
|
|
3176
3089
|
|
|
3177
3090
|
// src/components/Icons/WhiteboardAdd.svelte
|
|
3178
|
-
function
|
|
3091
|
+
function create_fragment41(ctx) {
|
|
3179
3092
|
let svg;
|
|
3180
3093
|
let path0;
|
|
3181
3094
|
let rect;
|
|
@@ -3233,7 +3146,7 @@ function create_fragment42(ctx) {
|
|
|
3233
3146
|
}
|
|
3234
3147
|
};
|
|
3235
3148
|
}
|
|
3236
|
-
function
|
|
3149
|
+
function instance41($$self, $$props, $$invalidate) {
|
|
3237
3150
|
let { theme = "light" } = $$props;
|
|
3238
3151
|
let { active = false } = $$props;
|
|
3239
3152
|
$$self.$$set = ($$props2) => {
|
|
@@ -3247,13 +3160,13 @@ function instance42($$self, $$props, $$invalidate) {
|
|
|
3247
3160
|
var WhiteboardAdd = class extends SvelteComponent {
|
|
3248
3161
|
constructor(options) {
|
|
3249
3162
|
super();
|
|
3250
|
-
init(this, options,
|
|
3163
|
+
init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
|
|
3251
3164
|
}
|
|
3252
3165
|
};
|
|
3253
3166
|
var WhiteboardAdd_default = WhiteboardAdd;
|
|
3254
3167
|
|
|
3255
3168
|
// src/components/Icons/Play.svelte
|
|
3256
|
-
function
|
|
3169
|
+
function create_fragment42(ctx) {
|
|
3257
3170
|
let svg;
|
|
3258
3171
|
let path;
|
|
3259
3172
|
let svg_class_value;
|
|
@@ -3289,7 +3202,7 @@ function create_fragment43(ctx) {
|
|
|
3289
3202
|
}
|
|
3290
3203
|
};
|
|
3291
3204
|
}
|
|
3292
|
-
function
|
|
3205
|
+
function instance42($$self, $$props, $$invalidate) {
|
|
3293
3206
|
let { theme = "light" } = $$props;
|
|
3294
3207
|
let { active = false } = $$props;
|
|
3295
3208
|
$$self.$$set = ($$props2) => {
|
|
@@ -3303,13 +3216,13 @@ function instance43($$self, $$props, $$invalidate) {
|
|
|
3303
3216
|
var Play = class extends SvelteComponent {
|
|
3304
3217
|
constructor(options) {
|
|
3305
3218
|
super();
|
|
3306
|
-
init(this, options,
|
|
3219
|
+
init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
|
|
3307
3220
|
}
|
|
3308
3221
|
};
|
|
3309
3222
|
var Play_default = Play;
|
|
3310
3223
|
|
|
3311
3224
|
// src/components/Icons/Pause.svelte
|
|
3312
|
-
function
|
|
3225
|
+
function create_fragment43(ctx) {
|
|
3313
3226
|
let svg;
|
|
3314
3227
|
let path;
|
|
3315
3228
|
let svg_class_value;
|
|
@@ -3345,7 +3258,7 @@ function create_fragment44(ctx) {
|
|
|
3345
3258
|
}
|
|
3346
3259
|
};
|
|
3347
3260
|
}
|
|
3348
|
-
function
|
|
3261
|
+
function instance43($$self, $$props, $$invalidate) {
|
|
3349
3262
|
let { theme = "light" } = $$props;
|
|
3350
3263
|
let { active = false } = $$props;
|
|
3351
3264
|
$$self.$$set = ($$props2) => {
|
|
@@ -3359,13 +3272,13 @@ function instance44($$self, $$props, $$invalidate) {
|
|
|
3359
3272
|
var Pause = class extends SvelteComponent {
|
|
3360
3273
|
constructor(options) {
|
|
3361
3274
|
super();
|
|
3362
|
-
init(this, options,
|
|
3275
|
+
init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
|
|
3363
3276
|
}
|
|
3364
3277
|
};
|
|
3365
3278
|
var Pause_default = Pause;
|
|
3366
3279
|
|
|
3367
3280
|
// src/components/Icons/Loading.svelte
|
|
3368
|
-
function
|
|
3281
|
+
function create_fragment44(ctx) {
|
|
3369
3282
|
let svg;
|
|
3370
3283
|
let path;
|
|
3371
3284
|
let svg_class_value;
|
|
@@ -3401,7 +3314,7 @@ function create_fragment45(ctx) {
|
|
|
3401
3314
|
}
|
|
3402
3315
|
};
|
|
3403
3316
|
}
|
|
3404
|
-
function
|
|
3317
|
+
function instance44($$self, $$props, $$invalidate) {
|
|
3405
3318
|
let { theme = "light" } = $$props;
|
|
3406
3319
|
let { active = false } = $$props;
|
|
3407
3320
|
$$self.$$set = ($$props2) => {
|
|
@@ -3415,7 +3328,7 @@ function instance45($$self, $$props, $$invalidate) {
|
|
|
3415
3328
|
var Loading = class extends SvelteComponent {
|
|
3416
3329
|
constructor(options) {
|
|
3417
3330
|
super();
|
|
3418
|
-
init(this, options,
|
|
3331
|
+
init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
|
|
3419
3332
|
}
|
|
3420
3333
|
};
|
|
3421
3334
|
var Loading_default = Loading;
|
|
@@ -3429,7 +3342,6 @@ var Icons = {
|
|
|
3429
3342
|
BalloonBolded: BalloonBolded_default,
|
|
3430
3343
|
Circle: Circle_default,
|
|
3431
3344
|
CircleBolded: CircleBolded_default,
|
|
3432
|
-
Clean: Clean_default,
|
|
3433
3345
|
Clear: Clear_default,
|
|
3434
3346
|
Click: Click_default,
|
|
3435
3347
|
ClickFilled: ClickFilled_default,
|
|
@@ -3468,9 +3380,6 @@ var Icons = {
|
|
|
3468
3380
|
Loading: Loading_default
|
|
3469
3381
|
};
|
|
3470
3382
|
var Icons_default = Icons;
|
|
3471
|
-
|
|
3472
|
-
// src/actions/tippy.ts
|
|
3473
|
-
import Tippy from "tippy.js";
|
|
3474
3383
|
if (is_client) {
|
|
3475
3384
|
Tippy.setDefaultProps({
|
|
3476
3385
|
delay: [1e3, 400],
|
|
@@ -3481,12 +3390,12 @@ if (is_client) {
|
|
|
3481
3390
|
{
|
|
3482
3391
|
name: "className",
|
|
3483
3392
|
defaultValue: "",
|
|
3484
|
-
fn(
|
|
3393
|
+
fn(instance59) {
|
|
3485
3394
|
function add() {
|
|
3486
|
-
const el =
|
|
3395
|
+
const el = instance59.popper.firstElementChild;
|
|
3487
3396
|
if (el) {
|
|
3488
3397
|
el.classList.add("fastboard-tip");
|
|
3489
|
-
const extra = (
|
|
3398
|
+
const extra = (instance59.props.className || "").trim();
|
|
3490
3399
|
if (extra) {
|
|
3491
3400
|
el.classList.add(extra);
|
|
3492
3401
|
}
|
|
@@ -3494,7 +3403,7 @@ if (is_client) {
|
|
|
3494
3403
|
}
|
|
3495
3404
|
function remove() {
|
|
3496
3405
|
var _a;
|
|
3497
|
-
(_a =
|
|
3406
|
+
(_a = instance59.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3498
3407
|
}
|
|
3499
3408
|
return {
|
|
3500
3409
|
onCreate: add,
|
|
@@ -3507,21 +3416,21 @@ if (is_client) {
|
|
|
3507
3416
|
});
|
|
3508
3417
|
}
|
|
3509
3418
|
var tippy = function(node, props) {
|
|
3510
|
-
const
|
|
3419
|
+
const instance59 = Tippy(node, props);
|
|
3511
3420
|
return {
|
|
3512
3421
|
update(props2) {
|
|
3513
|
-
|
|
3422
|
+
instance59.setProps(props2);
|
|
3514
3423
|
},
|
|
3515
3424
|
destroy() {
|
|
3516
|
-
|
|
3425
|
+
instance59.destroy();
|
|
3517
3426
|
}
|
|
3518
3427
|
};
|
|
3519
3428
|
};
|
|
3520
3429
|
function tippy_hide_all() {
|
|
3521
3430
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3522
|
-
const
|
|
3523
|
-
if (
|
|
3524
|
-
|
|
3431
|
+
const instance59 = el._tippy;
|
|
3432
|
+
if (instance59)
|
|
3433
|
+
instance59.hide();
|
|
3525
3434
|
});
|
|
3526
3435
|
}
|
|
3527
3436
|
var tippy_menu = {
|
|
@@ -3605,7 +3514,7 @@ function create_if_block2(ctx) {
|
|
|
3605
3514
|
return 0;
|
|
3606
3515
|
return 1;
|
|
3607
3516
|
}
|
|
3608
|
-
current_block_type_index = select_block_type_1(ctx
|
|
3517
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
3609
3518
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3610
3519
|
return {
|
|
3611
3520
|
c() {
|
|
@@ -3619,7 +3528,7 @@ function create_if_block2(ctx) {
|
|
|
3619
3528
|
},
|
|
3620
3529
|
p(ctx2, dirty) {
|
|
3621
3530
|
let previous_block_index = current_block_type_index;
|
|
3622
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
3531
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
3623
3532
|
if (current_block_type_index === previous_block_index) {
|
|
3624
3533
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3625
3534
|
} else {
|
|
@@ -3841,7 +3750,7 @@ function create_if_block_1(ctx) {
|
|
|
3841
3750
|
}
|
|
3842
3751
|
};
|
|
3843
3752
|
}
|
|
3844
|
-
function
|
|
3753
|
+
function create_fragment45(ctx) {
|
|
3845
3754
|
let current_block_type_index;
|
|
3846
3755
|
let if_block;
|
|
3847
3756
|
let if_block_anchor;
|
|
@@ -3853,7 +3762,7 @@ function create_fragment46(ctx) {
|
|
|
3853
3762
|
return 0;
|
|
3854
3763
|
return 1;
|
|
3855
3764
|
}
|
|
3856
|
-
current_block_type_index = select_block_type(ctx
|
|
3765
|
+
current_block_type_index = select_block_type(ctx);
|
|
3857
3766
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3858
3767
|
return {
|
|
3859
3768
|
c() {
|
|
@@ -3867,7 +3776,7 @@ function create_fragment46(ctx) {
|
|
|
3867
3776
|
},
|
|
3868
3777
|
p(ctx2, [dirty]) {
|
|
3869
3778
|
let previous_block_index = current_block_type_index;
|
|
3870
|
-
current_block_type_index = select_block_type(ctx2
|
|
3779
|
+
current_block_type_index = select_block_type(ctx2);
|
|
3871
3780
|
if (current_block_type_index === previous_block_index) {
|
|
3872
3781
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3873
3782
|
} else {
|
|
@@ -3904,7 +3813,7 @@ function create_fragment46(ctx) {
|
|
|
3904
3813
|
}
|
|
3905
3814
|
};
|
|
3906
3815
|
}
|
|
3907
|
-
function
|
|
3816
|
+
function instance45($$self, $$props, $$invalidate) {
|
|
3908
3817
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
3909
3818
|
let { class: className = "" } = $$props;
|
|
3910
3819
|
let { name: name10 = "fastboard-ui" } = $$props;
|
|
@@ -3962,7 +3871,7 @@ function instance46($$self, $$props, $$invalidate) {
|
|
|
3962
3871
|
var Button = class extends SvelteComponent {
|
|
3963
3872
|
constructor(options) {
|
|
3964
3873
|
super();
|
|
3965
|
-
init(this, options,
|
|
3874
|
+
init(this, options, instance45, create_fragment45, safe_not_equal, {
|
|
3966
3875
|
class: 0,
|
|
3967
3876
|
name: 1,
|
|
3968
3877
|
theme: 2,
|
|
@@ -4133,7 +4042,7 @@ function create_default_slot(ctx) {
|
|
|
4133
4042
|
}
|
|
4134
4043
|
};
|
|
4135
4044
|
}
|
|
4136
|
-
function
|
|
4045
|
+
function create_fragment46(ctx) {
|
|
4137
4046
|
let div;
|
|
4138
4047
|
let button0;
|
|
4139
4048
|
let t_1;
|
|
@@ -4234,7 +4143,7 @@ var i18n = {
|
|
|
4234
4143
|
}
|
|
4235
4144
|
};
|
|
4236
4145
|
var name = "fastboard-redo-undo";
|
|
4237
|
-
function
|
|
4146
|
+
function instance46($$self, $$props, $$invalidate) {
|
|
4238
4147
|
let writable2;
|
|
4239
4148
|
let disabled;
|
|
4240
4149
|
let t;
|
|
@@ -4271,36 +4180,28 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4271
4180
|
};
|
|
4272
4181
|
$$self.$$.update = () => {
|
|
4273
4182
|
if ($$self.$$.dirty & 2048) {
|
|
4274
|
-
|
|
4275
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4183
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4276
4184
|
}
|
|
4277
4185
|
if ($$self.$$.dirty & 65536) {
|
|
4278
|
-
|
|
4279
|
-
$$invalidate(13, disabled = !$writable);
|
|
4186
|
+
$$invalidate(13, disabled = !$writable);
|
|
4280
4187
|
}
|
|
4281
4188
|
if ($$self.$$.dirty & 4096) {
|
|
4282
|
-
|
|
4283
|
-
$$invalidate(7, t = i18n[language]);
|
|
4189
|
+
$$invalidate(7, t = i18n[language]);
|
|
4284
4190
|
}
|
|
4285
4191
|
if ($$self.$$.dirty & 8192) {
|
|
4286
|
-
|
|
4287
|
-
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4192
|
+
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4288
4193
|
}
|
|
4289
4194
|
if ($$self.$$.dirty & 2048) {
|
|
4290
|
-
|
|
4291
|
-
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4195
|
+
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4292
4196
|
}
|
|
4293
4197
|
if ($$self.$$.dirty & 2048) {
|
|
4294
|
-
|
|
4295
|
-
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4198
|
+
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4296
4199
|
}
|
|
4297
4200
|
if ($$self.$$.dirty & 40960) {
|
|
4298
|
-
|
|
4299
|
-
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4201
|
+
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4300
4202
|
}
|
|
4301
4203
|
if ($$self.$$.dirty & 24576) {
|
|
4302
|
-
|
|
4303
|
-
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4204
|
+
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4304
4205
|
}
|
|
4305
4206
|
};
|
|
4306
4207
|
return [
|
|
@@ -4326,7 +4227,7 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4326
4227
|
var RedoUndo = class extends SvelteComponent {
|
|
4327
4228
|
constructor(options) {
|
|
4328
4229
|
super();
|
|
4329
|
-
init(this, options,
|
|
4230
|
+
init(this, options, instance46, create_fragment46, safe_not_equal, {
|
|
4330
4231
|
app: 11,
|
|
4331
4232
|
theme: 0,
|
|
4332
4233
|
language: 12,
|
|
@@ -4619,7 +4520,7 @@ function create_default_slot2(ctx) {
|
|
|
4619
4520
|
}
|
|
4620
4521
|
};
|
|
4621
4522
|
}
|
|
4622
|
-
function
|
|
4523
|
+
function create_fragment47(ctx) {
|
|
4623
4524
|
let div;
|
|
4624
4525
|
let button0;
|
|
4625
4526
|
let t0;
|
|
@@ -4648,7 +4549,7 @@ function create_fragment48(ctx) {
|
|
|
4648
4549
|
return create_if_block3;
|
|
4649
4550
|
return create_else_block3;
|
|
4650
4551
|
}
|
|
4651
|
-
let current_block_type = select_block_type(ctx
|
|
4552
|
+
let current_block_type = select_block_type(ctx);
|
|
4652
4553
|
let if_block = current_block_type(ctx);
|
|
4653
4554
|
button1 = new Button_default({
|
|
4654
4555
|
props: {
|
|
@@ -4712,7 +4613,7 @@ function create_fragment48(ctx) {
|
|
|
4712
4613
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
4713
4614
|
}
|
|
4714
4615
|
button0.$set(button0_changes);
|
|
4715
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
4616
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
4716
4617
|
if_block.p(ctx2, dirty);
|
|
4717
4618
|
} else {
|
|
4718
4619
|
if_block.d(1);
|
|
@@ -4788,7 +4689,7 @@ var i18n2 = {
|
|
|
4788
4689
|
}
|
|
4789
4690
|
};
|
|
4790
4691
|
var name2 = "fastboard-page-control";
|
|
4791
|
-
function
|
|
4692
|
+
function instance47($$self, $$props, $$invalidate) {
|
|
4792
4693
|
let writable2;
|
|
4793
4694
|
let disabled;
|
|
4794
4695
|
let t;
|
|
@@ -4829,36 +4730,28 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4829
4730
|
};
|
|
4830
4731
|
$$self.$$.update = () => {
|
|
4831
4732
|
if ($$self.$$.dirty & 32768) {
|
|
4832
|
-
|
|
4833
|
-
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4733
|
+
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4834
4734
|
}
|
|
4835
4735
|
if ($$self.$$.dirty & 131072) {
|
|
4836
|
-
|
|
4837
|
-
$$invalidate(2, disabled = !$writable);
|
|
4736
|
+
$$invalidate(2, disabled = !$writable);
|
|
4838
4737
|
}
|
|
4839
4738
|
if ($$self.$$.dirty & 65536) {
|
|
4840
|
-
|
|
4841
|
-
$$invalidate(10, t = i18n2[language]);
|
|
4739
|
+
$$invalidate(10, t = i18n2[language]);
|
|
4842
4740
|
}
|
|
4843
4741
|
if ($$self.$$.dirty & 4) {
|
|
4844
|
-
|
|
4845
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4742
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4846
4743
|
}
|
|
4847
4744
|
if ($$self.$$.dirty & 32768) {
|
|
4848
|
-
|
|
4849
|
-
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4745
|
+
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4850
4746
|
}
|
|
4851
4747
|
if ($$self.$$.dirty & 32768) {
|
|
4852
|
-
|
|
4853
|
-
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4748
|
+
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4854
4749
|
}
|
|
4855
4750
|
if ($$self.$$.dirty & 20) {
|
|
4856
|
-
|
|
4857
|
-
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4751
|
+
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4858
4752
|
}
|
|
4859
4753
|
if ($$self.$$.dirty & 28) {
|
|
4860
|
-
|
|
4861
|
-
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4754
|
+
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4862
4755
|
}
|
|
4863
4756
|
};
|
|
4864
4757
|
return [
|
|
@@ -4885,7 +4778,7 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4885
4778
|
var PageControl = class extends SvelteComponent {
|
|
4886
4779
|
constructor(options) {
|
|
4887
4780
|
super();
|
|
4888
|
-
init(this, options,
|
|
4781
|
+
init(this, options, instance47, create_fragment47, safe_not_equal, {
|
|
4889
4782
|
app: 15,
|
|
4890
4783
|
theme: 0,
|
|
4891
4784
|
language: 16,
|
|
@@ -5176,7 +5069,7 @@ function create_default_slot3(ctx) {
|
|
|
5176
5069
|
}
|
|
5177
5070
|
};
|
|
5178
5071
|
}
|
|
5179
|
-
function
|
|
5072
|
+
function create_fragment48(ctx) {
|
|
5180
5073
|
let div;
|
|
5181
5074
|
let button0;
|
|
5182
5075
|
let t0;
|
|
@@ -5205,7 +5098,7 @@ function create_fragment49(ctx) {
|
|
|
5205
5098
|
return create_if_block4;
|
|
5206
5099
|
return create_else_block4;
|
|
5207
5100
|
}
|
|
5208
|
-
let current_block_type = select_block_type(ctx
|
|
5101
|
+
let current_block_type = select_block_type(ctx);
|
|
5209
5102
|
let if_block = current_block_type(ctx);
|
|
5210
5103
|
button1 = new Button_default({
|
|
5211
5104
|
props: {
|
|
@@ -5269,7 +5162,7 @@ function create_fragment49(ctx) {
|
|
|
5269
5162
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
5270
5163
|
}
|
|
5271
5164
|
button0.$set(button0_changes);
|
|
5272
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
5165
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
5273
5166
|
if_block.p(ctx2, dirty);
|
|
5274
5167
|
} else {
|
|
5275
5168
|
if_block.d(1);
|
|
@@ -5374,7 +5267,7 @@ function next_scale(scale, delta) {
|
|
|
5374
5267
|
return 1;
|
|
5375
5268
|
}
|
|
5376
5269
|
var name3 = "fastboard-zoom-control";
|
|
5377
|
-
function
|
|
5270
|
+
function instance48($$self, $$props, $$invalidate) {
|
|
5378
5271
|
let writable2;
|
|
5379
5272
|
let disabled;
|
|
5380
5273
|
let t;
|
|
@@ -5421,36 +5314,28 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5421
5314
|
$$self.$$.update = () => {
|
|
5422
5315
|
var _a;
|
|
5423
5316
|
if ($$self.$$.dirty & 16384) {
|
|
5424
|
-
|
|
5425
|
-
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5317
|
+
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5426
5318
|
}
|
|
5427
5319
|
if ($$self.$$.dirty & 65536) {
|
|
5428
|
-
|
|
5429
|
-
$$invalidate(3, disabled = !$writable);
|
|
5320
|
+
$$invalidate(3, disabled = !$writable);
|
|
5430
5321
|
}
|
|
5431
5322
|
if ($$self.$$.dirty & 32768) {
|
|
5432
|
-
|
|
5433
|
-
$$invalidate(9, t = i18n3[language]);
|
|
5323
|
+
$$invalidate(9, t = i18n3[language]);
|
|
5434
5324
|
}
|
|
5435
5325
|
if ($$self.$$.dirty & 8) {
|
|
5436
|
-
|
|
5437
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5326
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5438
5327
|
}
|
|
5439
5328
|
if ($$self.$$.dirty & 16384) {
|
|
5440
|
-
|
|
5441
|
-
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5329
|
+
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5442
5330
|
}
|
|
5443
5331
|
if ($$self.$$.dirty & 16) {
|
|
5444
|
-
|
|
5445
|
-
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5332
|
+
$$invalidate(2, scale = (_a = $camera == null ? void 0 : $camera.scale) != null ? _a : 1);
|
|
5446
5333
|
}
|
|
5447
5334
|
if ($$self.$$.dirty & 12) {
|
|
5448
|
-
|
|
5449
|
-
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5335
|
+
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5450
5336
|
}
|
|
5451
5337
|
if ($$self.$$.dirty & 12) {
|
|
5452
|
-
|
|
5453
|
-
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5338
|
+
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5454
5339
|
}
|
|
5455
5340
|
};
|
|
5456
5341
|
return [
|
|
@@ -5476,7 +5361,7 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5476
5361
|
var ZoomControl = class extends SvelteComponent {
|
|
5477
5362
|
constructor(options) {
|
|
5478
5363
|
super();
|
|
5479
|
-
init(this, options,
|
|
5364
|
+
init(this, options, instance48, create_fragment48, safe_not_equal, {
|
|
5480
5365
|
app: 14,
|
|
5481
5366
|
theme: 0,
|
|
5482
5367
|
language: 15,
|
|
@@ -5704,7 +5589,10 @@ var apps = new AppsInToolbar([
|
|
|
5704
5589
|
icon: visual_studio_code_default,
|
|
5705
5590
|
label: "Code Editor",
|
|
5706
5591
|
onClick(app) {
|
|
5707
|
-
app.
|
|
5592
|
+
app.manager.addApp({
|
|
5593
|
+
kind: "Monaco",
|
|
5594
|
+
options: { title: "Code Editor" }
|
|
5595
|
+
});
|
|
5708
5596
|
}
|
|
5709
5597
|
},
|
|
5710
5598
|
{
|
|
@@ -5712,7 +5600,10 @@ var apps = new AppsInToolbar([
|
|
|
5712
5600
|
icon: geogebra_default,
|
|
5713
5601
|
label: "GeoGebra",
|
|
5714
5602
|
onClick(app) {
|
|
5715
|
-
app.
|
|
5603
|
+
app.manager.addApp({
|
|
5604
|
+
kind: "GeoGebra",
|
|
5605
|
+
options: { title: "GeoGebra" }
|
|
5606
|
+
});
|
|
5716
5607
|
}
|
|
5717
5608
|
},
|
|
5718
5609
|
{
|
|
@@ -5720,7 +5611,10 @@ var apps = new AppsInToolbar([
|
|
|
5720
5611
|
icon: countdown_default,
|
|
5721
5612
|
label: "Countdown",
|
|
5722
5613
|
onClick(app) {
|
|
5723
|
-
app.
|
|
5614
|
+
app.manager.addApp({
|
|
5615
|
+
kind: "Countdown",
|
|
5616
|
+
options: { title: "Countdown" }
|
|
5617
|
+
});
|
|
5724
5618
|
}
|
|
5725
5619
|
}
|
|
5726
5620
|
]);
|
|
@@ -5742,7 +5636,7 @@ function tooltip(text2, hotkey) {
|
|
|
5742
5636
|
}
|
|
5743
5637
|
|
|
5744
5638
|
// src/components/Toolbar/components/Slider.svelte
|
|
5745
|
-
function
|
|
5639
|
+
function create_fragment49(ctx) {
|
|
5746
5640
|
let div;
|
|
5747
5641
|
let input;
|
|
5748
5642
|
let input_class_value;
|
|
@@ -5830,7 +5724,7 @@ function create_fragment50(ctx) {
|
|
|
5830
5724
|
};
|
|
5831
5725
|
}
|
|
5832
5726
|
var name4 = "fastboard-slider";
|
|
5833
|
-
function
|
|
5727
|
+
function instance49($$self, $$props, $$invalidate) {
|
|
5834
5728
|
let percent;
|
|
5835
5729
|
const dispatch = createEventDispatcher();
|
|
5836
5730
|
let { class: className = "" } = $$props;
|
|
@@ -5872,14 +5766,12 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5872
5766
|
};
|
|
5873
5767
|
$$self.$$.update = () => {
|
|
5874
5768
|
if ($$self.$$.dirty & 385) {
|
|
5875
|
-
|
|
5876
|
-
if (value !== real_value && !grabbing) {
|
|
5769
|
+
if (value !== real_value && !grabbing) {
|
|
5877
5770
|
$$invalidate(7, real_value = value);
|
|
5878
5771
|
}
|
|
5879
5772
|
}
|
|
5880
5773
|
if ($$self.$$.dirty & 152) {
|
|
5881
|
-
|
|
5882
|
-
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5774
|
+
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5883
5775
|
}
|
|
5884
5776
|
};
|
|
5885
5777
|
return [
|
|
@@ -5901,7 +5793,7 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5901
5793
|
var Slider = class extends SvelteComponent {
|
|
5902
5794
|
constructor(options) {
|
|
5903
5795
|
super();
|
|
5904
|
-
init(this, options,
|
|
5796
|
+
init(this, options, instance49, create_fragment49, safe_not_equal, {
|
|
5905
5797
|
class: 1,
|
|
5906
5798
|
theme: 2,
|
|
5907
5799
|
min: 3,
|
|
@@ -5915,7 +5807,7 @@ var Slider = class extends SvelteComponent {
|
|
|
5915
5807
|
var Slider_default = Slider;
|
|
5916
5808
|
|
|
5917
5809
|
// src/components/Toolbar/components/StrokeWidth.svelte
|
|
5918
|
-
function
|
|
5810
|
+
function create_fragment50(ctx) {
|
|
5919
5811
|
let slider;
|
|
5920
5812
|
let current;
|
|
5921
5813
|
const slider_spread_levels = [
|
|
@@ -5962,7 +5854,7 @@ function create_fragment51(ctx) {
|
|
|
5962
5854
|
}
|
|
5963
5855
|
};
|
|
5964
5856
|
}
|
|
5965
|
-
function
|
|
5857
|
+
function instance50($$self, $$props, $$invalidate) {
|
|
5966
5858
|
let memberState;
|
|
5967
5859
|
let value;
|
|
5968
5860
|
let props;
|
|
@@ -5985,16 +5877,13 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
5985
5877
|
$$self.$$.update = () => {
|
|
5986
5878
|
var _a;
|
|
5987
5879
|
if ($$self.$$.dirty & 8) {
|
|
5988
|
-
|
|
5989
|
-
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5880
|
+
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5990
5881
|
}
|
|
5991
5882
|
if ($$self.$$.dirty & 128) {
|
|
5992
|
-
|
|
5993
|
-
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
5883
|
+
$$invalidate(6, value = (_a = $memberState == null ? void 0 : $memberState.strokeWidth) != null ? _a : 1);
|
|
5994
5884
|
}
|
|
5995
5885
|
if ($$self.$$.dirty & 112) {
|
|
5996
|
-
|
|
5997
|
-
$$invalidate(0, props = { value, theme, disabled });
|
|
5886
|
+
$$invalidate(0, props = { value, theme, disabled });
|
|
5998
5887
|
}
|
|
5999
5888
|
};
|
|
6000
5889
|
return [
|
|
@@ -6011,7 +5900,7 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6011
5900
|
var StrokeWidth = class extends SvelteComponent {
|
|
6012
5901
|
constructor(options) {
|
|
6013
5902
|
super();
|
|
6014
|
-
init(this, options,
|
|
5903
|
+
init(this, options, instance50, create_fragment50, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
|
|
6015
5904
|
}
|
|
6016
5905
|
};
|
|
6017
5906
|
var StrokeWidth_default = StrokeWidth;
|
|
@@ -6027,7 +5916,6 @@ function create_each_block(key_1, ctx) {
|
|
|
6027
5916
|
let span;
|
|
6028
5917
|
let t;
|
|
6029
5918
|
let button_class_value;
|
|
6030
|
-
let button_data_color_key_value;
|
|
6031
5919
|
return {
|
|
6032
5920
|
key: key_1,
|
|
6033
5921
|
first: null,
|
|
@@ -6038,7 +5926,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6038
5926
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6039
5927
|
set_style(span, "background-color", ctx[7], false);
|
|
6040
5928
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6041
|
-
attr(button, "data-color-key",
|
|
5929
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6042
5930
|
button.disabled = ctx[1];
|
|
6043
5931
|
toggle_class(button, "is-active", is_equal_color(ctx[2], colors[ctx[7]]));
|
|
6044
5932
|
this.first = button;
|
|
@@ -6066,7 +5954,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6066
5954
|
}
|
|
6067
5955
|
};
|
|
6068
5956
|
}
|
|
6069
|
-
function
|
|
5957
|
+
function create_fragment51(ctx) {
|
|
6070
5958
|
let div;
|
|
6071
5959
|
let each_blocks = [];
|
|
6072
5960
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6123,7 +6011,7 @@ function create_fragment52(ctx) {
|
|
|
6123
6011
|
function is_equal_color(a, b) {
|
|
6124
6012
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6125
6013
|
}
|
|
6126
|
-
function
|
|
6014
|
+
function instance51($$self, $$props, $$invalidate) {
|
|
6127
6015
|
let memberState;
|
|
6128
6016
|
let strokeColor;
|
|
6129
6017
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6150,12 +6038,10 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6150
6038
|
};
|
|
6151
6039
|
$$self.$$.update = () => {
|
|
6152
6040
|
if ($$self.$$.dirty & 32) {
|
|
6153
|
-
|
|
6154
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6041
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6155
6042
|
}
|
|
6156
6043
|
if ($$self.$$.dirty & 64) {
|
|
6157
|
-
|
|
6158
|
-
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6044
|
+
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6159
6045
|
}
|
|
6160
6046
|
};
|
|
6161
6047
|
return [theme, disabled, strokeColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6163,7 +6049,7 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6163
6049
|
var StrokeColor = class extends SvelteComponent {
|
|
6164
6050
|
constructor(options) {
|
|
6165
6051
|
super();
|
|
6166
|
-
init(this, options,
|
|
6052
|
+
init(this, options, instance51, create_fragment51, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6167
6053
|
}
|
|
6168
6054
|
};
|
|
6169
6055
|
var StrokeColor_default = StrokeColor;
|
|
@@ -6179,7 +6065,6 @@ function create_each_block2(key_1, ctx) {
|
|
|
6179
6065
|
let span;
|
|
6180
6066
|
let t;
|
|
6181
6067
|
let button_class_value;
|
|
6182
|
-
let button_data_color_key_value;
|
|
6183
6068
|
return {
|
|
6184
6069
|
key: key_1,
|
|
6185
6070
|
first: null,
|
|
@@ -6190,7 +6075,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6190
6075
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6191
6076
|
set_style(span, "background-color", ctx[7], false);
|
|
6192
6077
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6193
|
-
attr(button, "data-color-key",
|
|
6078
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6194
6079
|
button.disabled = ctx[1];
|
|
6195
6080
|
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6196
6081
|
this.first = button;
|
|
@@ -6218,7 +6103,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6218
6103
|
}
|
|
6219
6104
|
};
|
|
6220
6105
|
}
|
|
6221
|
-
function
|
|
6106
|
+
function create_fragment52(ctx) {
|
|
6222
6107
|
let div;
|
|
6223
6108
|
let each_blocks = [];
|
|
6224
6109
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6275,7 +6160,7 @@ function create_fragment53(ctx) {
|
|
|
6275
6160
|
function is_equal_color2(a, b) {
|
|
6276
6161
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6277
6162
|
}
|
|
6278
|
-
function
|
|
6163
|
+
function instance52($$self, $$props, $$invalidate) {
|
|
6279
6164
|
let memberState;
|
|
6280
6165
|
let textColor;
|
|
6281
6166
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6302,12 +6187,10 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6302
6187
|
};
|
|
6303
6188
|
$$self.$$.update = () => {
|
|
6304
6189
|
if ($$self.$$.dirty & 32) {
|
|
6305
|
-
|
|
6306
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6190
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6307
6191
|
}
|
|
6308
6192
|
if ($$self.$$.dirty & 64) {
|
|
6309
|
-
|
|
6310
|
-
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6193
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6311
6194
|
}
|
|
6312
6195
|
};
|
|
6313
6196
|
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6315,7 +6198,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6315
6198
|
var TextColor = class extends SvelteComponent {
|
|
6316
6199
|
constructor(options) {
|
|
6317
6200
|
super();
|
|
6318
|
-
init(this, options,
|
|
6201
|
+
init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6319
6202
|
}
|
|
6320
6203
|
};
|
|
6321
6204
|
var TextColor_default = TextColor;
|
|
@@ -6474,7 +6357,6 @@ function create_each_block3(key_1, ctx) {
|
|
|
6474
6357
|
let if_block;
|
|
6475
6358
|
let t_1;
|
|
6476
6359
|
let button_class_value;
|
|
6477
|
-
let button_data_shape_key_value;
|
|
6478
6360
|
let tippy_action;
|
|
6479
6361
|
let current;
|
|
6480
6362
|
let mounted;
|
|
@@ -6486,7 +6368,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6486
6368
|
return 0;
|
|
6487
6369
|
return 1;
|
|
6488
6370
|
}
|
|
6489
|
-
current_block_type_index = select_block_type(ctx
|
|
6371
|
+
current_block_type_index = select_block_type(ctx);
|
|
6490
6372
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6491
6373
|
return {
|
|
6492
6374
|
key: key_1,
|
|
@@ -6496,7 +6378,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6496
6378
|
if_block.c();
|
|
6497
6379
|
t_1 = space();
|
|
6498
6380
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
|
|
6499
|
-
attr(button, "data-shape-key",
|
|
6381
|
+
attr(button, "data-shape-key", ctx[12]);
|
|
6500
6382
|
button.disabled = ctx[1];
|
|
6501
6383
|
toggle_class(button, "is-active", ctx[13]);
|
|
6502
6384
|
this.first = button;
|
|
@@ -6517,7 +6399,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6517
6399
|
p(new_ctx, dirty) {
|
|
6518
6400
|
ctx = new_ctx;
|
|
6519
6401
|
let previous_block_index = current_block_type_index;
|
|
6520
|
-
current_block_type_index = select_block_type(ctx
|
|
6402
|
+
current_block_type_index = select_block_type(ctx);
|
|
6521
6403
|
if (current_block_type_index === previous_block_index) {
|
|
6522
6404
|
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
6523
6405
|
} else {
|
|
@@ -6570,7 +6452,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6570
6452
|
}
|
|
6571
6453
|
};
|
|
6572
6454
|
}
|
|
6573
|
-
function
|
|
6455
|
+
function create_fragment53(ctx) {
|
|
6574
6456
|
let div;
|
|
6575
6457
|
let each_blocks = [];
|
|
6576
6458
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6662,7 +6544,7 @@ var i18n5 = {
|
|
|
6662
6544
|
speechBalloon: "\u6C14\u6CE1"
|
|
6663
6545
|
}
|
|
6664
6546
|
};
|
|
6665
|
-
function
|
|
6547
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6666
6548
|
let t;
|
|
6667
6549
|
let memberState;
|
|
6668
6550
|
let appliance;
|
|
@@ -6700,28 +6582,22 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6700
6582
|
};
|
|
6701
6583
|
$$self.$$.update = () => {
|
|
6702
6584
|
if ($$self.$$.dirty & 512) {
|
|
6703
|
-
|
|
6704
|
-
$$invalidate(6, t = i18n5[language]);
|
|
6585
|
+
$$invalidate(6, t = i18n5[language]);
|
|
6705
6586
|
}
|
|
6706
6587
|
if ($$self.$$.dirty & 256) {
|
|
6707
|
-
|
|
6708
|
-
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6588
|
+
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6709
6589
|
}
|
|
6710
6590
|
if ($$self.$$.dirty & 2048) {
|
|
6711
|
-
|
|
6712
|
-
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6591
|
+
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6713
6592
|
}
|
|
6714
6593
|
if ($$self.$$.dirty & 2048) {
|
|
6715
|
-
|
|
6716
|
-
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6594
|
+
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6717
6595
|
}
|
|
6718
6596
|
if ($$self.$$.dirty & 256) {
|
|
6719
|
-
|
|
6720
|
-
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6597
|
+
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6721
6598
|
}
|
|
6722
6599
|
if ($$self.$$.dirty & 1024) {
|
|
6723
|
-
|
|
6724
|
-
$$invalidate(2, c = {
|
|
6600
|
+
$$invalidate(2, c = {
|
|
6725
6601
|
rectangle: hotkeys == null ? void 0 : hotkeys.changeToRectangle,
|
|
6726
6602
|
ellipse: hotkeys == null ? void 0 : hotkeys.changeToEllipse,
|
|
6727
6603
|
straight: hotkeys == null ? void 0 : hotkeys.changeToStraight,
|
|
@@ -6747,7 +6623,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6747
6623
|
var Shapes = class extends SvelteComponent {
|
|
6748
6624
|
constructor(options) {
|
|
6749
6625
|
super();
|
|
6750
|
-
init(this, options,
|
|
6626
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, {
|
|
6751
6627
|
app: 8,
|
|
6752
6628
|
theme: 0,
|
|
6753
6629
|
language: 9,
|
|
@@ -6931,7 +6807,7 @@ function create_default_slot_8(ctx) {
|
|
|
6931
6807
|
return 0;
|
|
6932
6808
|
return 1;
|
|
6933
6809
|
}
|
|
6934
|
-
current_block_type_index = select_block_type(ctx
|
|
6810
|
+
current_block_type_index = select_block_type(ctx);
|
|
6935
6811
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6936
6812
|
return {
|
|
6937
6813
|
c() {
|
|
@@ -6945,7 +6821,7 @@ function create_default_slot_8(ctx) {
|
|
|
6945
6821
|
},
|
|
6946
6822
|
p(ctx2, dirty) {
|
|
6947
6823
|
let previous_block_index = current_block_type_index;
|
|
6948
|
-
current_block_type_index = select_block_type(ctx2
|
|
6824
|
+
current_block_type_index = select_block_type(ctx2);
|
|
6949
6825
|
if (current_block_type_index === previous_block_index) {
|
|
6950
6826
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
6951
6827
|
} else {
|
|
@@ -7062,7 +6938,7 @@ function create_default_slot_7(ctx) {
|
|
|
7062
6938
|
return 0;
|
|
7063
6939
|
return 1;
|
|
7064
6940
|
}
|
|
7065
|
-
current_block_type_index = select_block_type_1(ctx
|
|
6941
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
7066
6942
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7067
6943
|
return {
|
|
7068
6944
|
c() {
|
|
@@ -7076,7 +6952,7 @@ function create_default_slot_7(ctx) {
|
|
|
7076
6952
|
},
|
|
7077
6953
|
p(ctx2, dirty) {
|
|
7078
6954
|
let previous_block_index = current_block_type_index;
|
|
7079
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
6955
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
7080
6956
|
if (current_block_type_index === previous_block_index) {
|
|
7081
6957
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7082
6958
|
} else {
|
|
@@ -7193,7 +7069,7 @@ function create_default_slot_6(ctx) {
|
|
|
7193
7069
|
return 0;
|
|
7194
7070
|
return 1;
|
|
7195
7071
|
}
|
|
7196
|
-
current_block_type_index = select_block_type_2(ctx
|
|
7072
|
+
current_block_type_index = select_block_type_2(ctx);
|
|
7197
7073
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7198
7074
|
return {
|
|
7199
7075
|
c() {
|
|
@@ -7207,7 +7083,7 @@ function create_default_slot_6(ctx) {
|
|
|
7207
7083
|
},
|
|
7208
7084
|
p(ctx2, dirty) {
|
|
7209
7085
|
let previous_block_index = current_block_type_index;
|
|
7210
|
-
current_block_type_index = select_block_type_2(ctx2
|
|
7086
|
+
current_block_type_index = select_block_type_2(ctx2);
|
|
7211
7087
|
if (current_block_type_index === previous_block_index) {
|
|
7212
7088
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7213
7089
|
} else {
|
|
@@ -7324,7 +7200,7 @@ function create_default_slot_53(ctx) {
|
|
|
7324
7200
|
return 0;
|
|
7325
7201
|
return 1;
|
|
7326
7202
|
}
|
|
7327
|
-
current_block_type_index = select_block_type_3(ctx
|
|
7203
|
+
current_block_type_index = select_block_type_3(ctx);
|
|
7328
7204
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7329
7205
|
return {
|
|
7330
7206
|
c() {
|
|
@@ -7338,7 +7214,7 @@ function create_default_slot_53(ctx) {
|
|
|
7338
7214
|
},
|
|
7339
7215
|
p(ctx2, dirty) {
|
|
7340
7216
|
let previous_block_index = current_block_type_index;
|
|
7341
|
-
current_block_type_index = select_block_type_3(ctx2
|
|
7217
|
+
current_block_type_index = select_block_type_3(ctx2);
|
|
7342
7218
|
if (current_block_type_index === previous_block_index) {
|
|
7343
7219
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7344
7220
|
} else {
|
|
@@ -7527,7 +7403,7 @@ function create_default_slot_43(ctx) {
|
|
|
7527
7403
|
return 0;
|
|
7528
7404
|
return 1;
|
|
7529
7405
|
}
|
|
7530
|
-
current_block_type_index = select_block_type_4(ctx
|
|
7406
|
+
current_block_type_index = select_block_type_4(ctx);
|
|
7531
7407
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7532
7408
|
return {
|
|
7533
7409
|
c() {
|
|
@@ -7541,7 +7417,7 @@ function create_default_slot_43(ctx) {
|
|
|
7541
7417
|
},
|
|
7542
7418
|
p(ctx2, dirty) {
|
|
7543
7419
|
let previous_block_index = current_block_type_index;
|
|
7544
|
-
current_block_type_index = select_block_type_4(ctx2
|
|
7420
|
+
current_block_type_index = select_block_type_4(ctx2);
|
|
7545
7421
|
if (current_block_type_index === previous_block_index) {
|
|
7546
7422
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7547
7423
|
} else {
|
|
@@ -7658,7 +7534,7 @@ function create_default_slot_34(ctx) {
|
|
|
7658
7534
|
return 0;
|
|
7659
7535
|
return 1;
|
|
7660
7536
|
}
|
|
7661
|
-
current_block_type_index = select_block_type_5(ctx
|
|
7537
|
+
current_block_type_index = select_block_type_5(ctx);
|
|
7662
7538
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7663
7539
|
return {
|
|
7664
7540
|
c() {
|
|
@@ -7672,7 +7548,7 @@ function create_default_slot_34(ctx) {
|
|
|
7672
7548
|
},
|
|
7673
7549
|
p(ctx2, dirty) {
|
|
7674
7550
|
let previous_block_index = current_block_type_index;
|
|
7675
|
-
current_block_type_index = select_block_type_5(ctx2
|
|
7551
|
+
current_block_type_index = select_block_type_5(ctx2);
|
|
7676
7552
|
if (current_block_type_index === previous_block_index) {
|
|
7677
7553
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7678
7554
|
} else {
|
|
@@ -8011,7 +7887,7 @@ function create_each_block4(ctx) {
|
|
|
8011
7887
|
}
|
|
8012
7888
|
};
|
|
8013
7889
|
}
|
|
8014
|
-
function
|
|
7890
|
+
function create_fragment54(ctx) {
|
|
8015
7891
|
let t0;
|
|
8016
7892
|
let div0;
|
|
8017
7893
|
let button0;
|
|
@@ -8028,9 +7904,7 @@ function create_fragment55(ctx) {
|
|
|
8028
7904
|
let t6;
|
|
8029
7905
|
let button6;
|
|
8030
7906
|
let t7;
|
|
8031
|
-
let div0_class_value;
|
|
8032
7907
|
let scrollHeight_action;
|
|
8033
|
-
let scrollTop_action;
|
|
8034
7908
|
let t8;
|
|
8035
7909
|
let t9;
|
|
8036
7910
|
let div8;
|
|
@@ -8038,32 +7912,24 @@ function create_fragment55(ctx) {
|
|
|
8038
7912
|
let strokewidth0;
|
|
8039
7913
|
let t10;
|
|
8040
7914
|
let div1;
|
|
8041
|
-
let div1_class_value;
|
|
8042
7915
|
let t11;
|
|
8043
7916
|
let strokecolor0;
|
|
8044
|
-
let div2_class_value;
|
|
8045
7917
|
let t12;
|
|
8046
7918
|
let div3;
|
|
8047
7919
|
let textcolor;
|
|
8048
|
-
let div3_class_value;
|
|
8049
7920
|
let t13;
|
|
8050
7921
|
let div6;
|
|
8051
7922
|
let shapes2;
|
|
8052
7923
|
let t14;
|
|
8053
7924
|
let div4;
|
|
8054
|
-
let div4_class_value;
|
|
8055
7925
|
let t15;
|
|
8056
7926
|
let strokewidth1;
|
|
8057
7927
|
let t16;
|
|
8058
7928
|
let div5;
|
|
8059
|
-
let div5_class_value;
|
|
8060
7929
|
let t17;
|
|
8061
7930
|
let strokecolor1;
|
|
8062
|
-
let div6_class_value;
|
|
8063
7931
|
let t18;
|
|
8064
7932
|
let div7;
|
|
8065
|
-
let div7_class_value;
|
|
8066
|
-
let div8_class_value;
|
|
8067
7933
|
let current;
|
|
8068
7934
|
let mounted;
|
|
8069
7935
|
let dispose;
|
|
@@ -8263,17 +8129,17 @@ function create_fragment55(ctx) {
|
|
|
8263
8129
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8264
8130
|
each_blocks[i].c();
|
|
8265
8131
|
}
|
|
8266
|
-
attr(div0, "class",
|
|
8132
|
+
attr(div0, "class", name5 + "-scrollable");
|
|
8267
8133
|
toggle_class(div0, "scrollable", ctx[5]);
|
|
8268
|
-
attr(div1, "class",
|
|
8269
|
-
attr(div2, "class",
|
|
8270
|
-
attr(div3, "class",
|
|
8271
|
-
attr(div4, "class",
|
|
8272
|
-
attr(div5, "class",
|
|
8273
|
-
attr(div6, "class",
|
|
8274
|
-
attr(div7, "class",
|
|
8134
|
+
attr(div1, "class", name5 + "-panel-divider");
|
|
8135
|
+
attr(div2, "class", name5 + "-panel pencil");
|
|
8136
|
+
attr(div3, "class", name5 + "-panel text");
|
|
8137
|
+
attr(div4, "class", name5 + "-panel-divider");
|
|
8138
|
+
attr(div5, "class", name5 + "-panel-divider");
|
|
8139
|
+
attr(div6, "class", name5 + "-panel shapes");
|
|
8140
|
+
attr(div7, "class", name5 + "-panel apps");
|
|
8275
8141
|
set_style(div7, "--n", ctx[19].length);
|
|
8276
|
-
attr(div8, "class",
|
|
8142
|
+
attr(div8, "class", name5 + "-panel-wrapper");
|
|
8277
8143
|
set_style(div8, "display", "none");
|
|
8278
8144
|
},
|
|
8279
8145
|
m(target, anchor) {
|
|
@@ -8335,7 +8201,7 @@ function create_fragment55(ctx) {
|
|
|
8335
8201
|
if (!mounted) {
|
|
8336
8202
|
dispose = [
|
|
8337
8203
|
action_destroyer(scrollHeight_action = scrollHeight.call(null, div0, ctx[4])),
|
|
8338
|
-
action_destroyer(
|
|
8204
|
+
action_destroyer(scrollTop.call(null, div0, ctx[21]))
|
|
8339
8205
|
];
|
|
8340
8206
|
mounted = true;
|
|
8341
8207
|
}
|
|
@@ -8622,7 +8488,7 @@ function create_fragment55(ctx) {
|
|
|
8622
8488
|
};
|
|
8623
8489
|
}
|
|
8624
8490
|
var name5 = "fastboard-toolbar";
|
|
8625
|
-
function
|
|
8491
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
8626
8492
|
let t;
|
|
8627
8493
|
let hotkeys;
|
|
8628
8494
|
let c;
|
|
@@ -8732,8 +8598,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8732
8598
|
};
|
|
8733
8599
|
$$self.$$.update = () => {
|
|
8734
8600
|
if ($$self.$$.dirty[0] & 10) {
|
|
8735
|
-
|
|
8736
|
-
$$invalidate(15, btn_props = {
|
|
8601
|
+
$$invalidate(15, btn_props = {
|
|
8737
8602
|
name: name5,
|
|
8738
8603
|
theme,
|
|
8739
8604
|
disabled,
|
|
@@ -8741,16 +8606,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8741
8606
|
});
|
|
8742
8607
|
}
|
|
8743
8608
|
if ($$self.$$.dirty[0] & 4) {
|
|
8744
|
-
|
|
8745
|
-
$$invalidate(9, t = i18n4[language]);
|
|
8609
|
+
$$invalidate(9, t = i18n4[language]);
|
|
8746
8610
|
}
|
|
8747
8611
|
if ($$self.$$.dirty[0] & 1) {
|
|
8748
|
-
|
|
8749
|
-
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8612
|
+
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8750
8613
|
}
|
|
8751
8614
|
if ($$self.$$.dirty[0] & 512 | $$self.$$.dirty[1] & 2) {
|
|
8752
|
-
|
|
8753
|
-
$$invalidate(18, c = {
|
|
8615
|
+
$$invalidate(18, c = {
|
|
8754
8616
|
clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
|
|
8755
8617
|
selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
|
|
8756
8618
|
pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
|
|
@@ -8759,32 +8621,26 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8759
8621
|
});
|
|
8760
8622
|
}
|
|
8761
8623
|
if ($$self.$$.dirty[0] & 1) {
|
|
8762
|
-
|
|
8763
|
-
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8624
|
+
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8764
8625
|
}
|
|
8765
8626
|
if ($$self.$$.dirty[1] & 8) {
|
|
8766
|
-
|
|
8767
|
-
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8627
|
+
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8768
8628
|
}
|
|
8769
8629
|
if ($$self.$$.dirty[1] & 8) {
|
|
8770
|
-
|
|
8771
|
-
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8630
|
+
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8772
8631
|
}
|
|
8773
8632
|
if ($$self.$$.dirty[0] & 1) {
|
|
8774
|
-
|
|
8775
|
-
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8633
|
+
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8776
8634
|
}
|
|
8777
8635
|
if ($$self.$$.dirty[0] & 384) {
|
|
8778
|
-
|
|
8779
|
-
if (applianceShapes.includes(appliance)) {
|
|
8636
|
+
if (applianceShapes.includes(appliance)) {
|
|
8780
8637
|
$$invalidate(10, last_shape = appliance);
|
|
8781
8638
|
} else if (shape) {
|
|
8782
8639
|
$$invalidate(10, last_shape = shape);
|
|
8783
8640
|
}
|
|
8784
8641
|
}
|
|
8785
8642
|
if ($$self.$$.dirty[0] & 32 | $$self.$$.dirty[1] & 5) {
|
|
8786
|
-
|
|
8787
|
-
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8643
|
+
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8788
8644
|
}
|
|
8789
8645
|
};
|
|
8790
8646
|
return [
|
|
@@ -8832,7 +8688,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8832
8688
|
var Contents = class extends SvelteComponent {
|
|
8833
8689
|
constructor(options) {
|
|
8834
8690
|
super();
|
|
8835
|
-
init(this, options,
|
|
8691
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
8836
8692
|
app: 0,
|
|
8837
8693
|
theme: 1,
|
|
8838
8694
|
language: 2,
|
|
@@ -8849,20 +8705,18 @@ var Contents_default = Contents;
|
|
|
8849
8705
|
// src/components/Toolbar/Toolbar.svelte
|
|
8850
8706
|
function create_else_block7(ctx) {
|
|
8851
8707
|
let path0;
|
|
8852
|
-
let path0_class_value;
|
|
8853
8708
|
let path1;
|
|
8854
|
-
let path1_class_value;
|
|
8855
8709
|
return {
|
|
8856
8710
|
c() {
|
|
8857
8711
|
path0 = svg_element("path");
|
|
8858
8712
|
path1 = svg_element("path");
|
|
8859
8713
|
attr(path0, "stroke", "#000");
|
|
8860
8714
|
attr(path0, "d", "M20 52v16");
|
|
8861
|
-
attr(path0, "class",
|
|
8715
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8862
8716
|
attr(path1, "fill", "#000");
|
|
8863
8717
|
attr(path1, "stroke", "none");
|
|
8864
8718
|
attr(path1, "d", "M16 52v16l-8-8z");
|
|
8865
|
-
attr(path1, "class",
|
|
8719
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8866
8720
|
},
|
|
8867
8721
|
m(target, anchor) {
|
|
8868
8722
|
insert(target, path0, anchor);
|
|
@@ -8879,20 +8733,18 @@ function create_else_block7(ctx) {
|
|
|
8879
8733
|
}
|
|
8880
8734
|
function create_if_block7(ctx) {
|
|
8881
8735
|
let path0;
|
|
8882
|
-
let path0_class_value;
|
|
8883
8736
|
let path1;
|
|
8884
|
-
let path1_class_value;
|
|
8885
8737
|
return {
|
|
8886
8738
|
c() {
|
|
8887
8739
|
path0 = svg_element("path");
|
|
8888
8740
|
path1 = svg_element("path");
|
|
8889
8741
|
attr(path0, "stroke", "#000");
|
|
8890
8742
|
attr(path0, "d", "M10 52v16");
|
|
8891
|
-
attr(path0, "class",
|
|
8743
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8892
8744
|
attr(path1, "fill", "#000");
|
|
8893
8745
|
attr(path1, "stroke", "none");
|
|
8894
8746
|
attr(path1, "d", "M14 52v16l8-8z");
|
|
8895
|
-
attr(path1, "class",
|
|
8747
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8896
8748
|
},
|
|
8897
8749
|
m(target, anchor) {
|
|
8898
8750
|
insert(target, path0, anchor);
|
|
@@ -8907,7 +8759,7 @@ function create_if_block7(ctx) {
|
|
|
8907
8759
|
}
|
|
8908
8760
|
};
|
|
8909
8761
|
}
|
|
8910
|
-
function
|
|
8762
|
+
function create_fragment55(ctx) {
|
|
8911
8763
|
let div1;
|
|
8912
8764
|
let div0;
|
|
8913
8765
|
let contents;
|
|
@@ -8918,12 +8770,9 @@ function create_fragment56(ctx) {
|
|
|
8918
8770
|
let t1;
|
|
8919
8771
|
let svg;
|
|
8920
8772
|
let path0;
|
|
8921
|
-
let path0_class_value;
|
|
8922
8773
|
let path1;
|
|
8923
|
-
let path1_class_value;
|
|
8924
8774
|
let label_class_value;
|
|
8925
8775
|
let div1_class_value;
|
|
8926
|
-
let height_action;
|
|
8927
8776
|
let current;
|
|
8928
8777
|
let mounted;
|
|
8929
8778
|
let dispose;
|
|
@@ -8944,7 +8793,7 @@ function create_fragment56(ctx) {
|
|
|
8944
8793
|
return create_if_block7;
|
|
8945
8794
|
return create_else_block7;
|
|
8946
8795
|
}
|
|
8947
|
-
let current_block_type = select_block_type(ctx
|
|
8796
|
+
let current_block_type = select_block_type(ctx);
|
|
8948
8797
|
let if_block = current_block_type(ctx);
|
|
8949
8798
|
return {
|
|
8950
8799
|
c() {
|
|
@@ -8965,10 +8814,10 @@ function create_fragment56(ctx) {
|
|
|
8965
8814
|
attr(path0, "fill", "#fff");
|
|
8966
8815
|
attr(path0, "stroke", "none");
|
|
8967
8816
|
attr(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
8968
|
-
attr(path0, "class",
|
|
8817
|
+
attr(path0, "class", name6 + "-handler-bg-color");
|
|
8969
8818
|
attr(path1, "stroke", "#000");
|
|
8970
8819
|
attr(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
8971
|
-
attr(path1, "class",
|
|
8820
|
+
attr(path1, "class", name6 + "-handler-border-color");
|
|
8972
8821
|
attr(svg, "fill", "none");
|
|
8973
8822
|
attr(svg, "stroke-width", "2");
|
|
8974
8823
|
attr(svg, "viewBox", "0 0 32 120");
|
|
@@ -8993,7 +8842,7 @@ function create_fragment56(ctx) {
|
|
|
8993
8842
|
if (!mounted) {
|
|
8994
8843
|
dispose = [
|
|
8995
8844
|
listen(input, "change", ctx[15]),
|
|
8996
|
-
action_destroyer(
|
|
8845
|
+
action_destroyer(height.call(null, div1, ctx[9]))
|
|
8997
8846
|
];
|
|
8998
8847
|
mounted = true;
|
|
8999
8848
|
}
|
|
@@ -9024,7 +8873,7 @@ function create_fragment56(ctx) {
|
|
|
9024
8873
|
if (dirty & 8) {
|
|
9025
8874
|
input.checked = ctx2[3];
|
|
9026
8875
|
}
|
|
9027
|
-
if (current_block_type === (current_block_type = select_block_type(ctx2
|
|
8876
|
+
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
|
9028
8877
|
if_block.p(ctx2, dirty);
|
|
9029
8878
|
} else {
|
|
9030
8879
|
if_block.d(1);
|
|
@@ -9065,7 +8914,7 @@ function create_fragment56(ctx) {
|
|
|
9065
8914
|
};
|
|
9066
8915
|
}
|
|
9067
8916
|
var name6 = "fastboard-toolbar";
|
|
9068
|
-
function
|
|
8917
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
9069
8918
|
let writable2;
|
|
9070
8919
|
let disabled;
|
|
9071
8920
|
let computed_height;
|
|
@@ -9102,24 +8951,19 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9102
8951
|
$$self.$$.update = () => {
|
|
9103
8952
|
var _a;
|
|
9104
8953
|
if ($$self.$$.dirty & 1) {
|
|
9105
|
-
|
|
9106
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
8954
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
9107
8955
|
}
|
|
9108
8956
|
if ($$self.$$.dirty & 16384) {
|
|
9109
|
-
|
|
9110
|
-
$$invalidate(7, disabled = !$writable);
|
|
8957
|
+
$$invalidate(7, disabled = !$writable);
|
|
9111
8958
|
}
|
|
9112
8959
|
if ($$self.$$.dirty & 12288) {
|
|
9113
|
-
|
|
9114
|
-
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
8960
|
+
$$invalidate(6, computed_height = clamp($container_height, extra_height, $scroll_height + extra_height));
|
|
9115
8961
|
}
|
|
9116
8962
|
if ($$self.$$.dirty & 12288) {
|
|
9117
|
-
|
|
9118
|
-
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
8963
|
+
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
9119
8964
|
}
|
|
9120
8965
|
if ($$self.$$.dirty & 2048) {
|
|
9121
|
-
|
|
9122
|
-
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
8966
|
+
$$invalidate(4, hide_apps = ((_a = config.apps) == null ? void 0 : _a.enable) === false);
|
|
9123
8967
|
}
|
|
9124
8968
|
};
|
|
9125
8969
|
return [
|
|
@@ -9144,7 +8988,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9144
8988
|
var Toolbar = class extends SvelteComponent {
|
|
9145
8989
|
constructor(options) {
|
|
9146
8990
|
super();
|
|
9147
|
-
init(this, options,
|
|
8991
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
9148
8992
|
app: 0,
|
|
9149
8993
|
theme: 1,
|
|
9150
8994
|
language: 2,
|
|
@@ -9408,7 +9252,7 @@ function create_default_slot_25(ctx) {
|
|
|
9408
9252
|
return 1;
|
|
9409
9253
|
return 2;
|
|
9410
9254
|
}
|
|
9411
|
-
current_block_type_index = select_block_type(ctx
|
|
9255
|
+
current_block_type_index = select_block_type(ctx);
|
|
9412
9256
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9413
9257
|
return {
|
|
9414
9258
|
c() {
|
|
@@ -9422,7 +9266,7 @@ function create_default_slot_25(ctx) {
|
|
|
9422
9266
|
},
|
|
9423
9267
|
p(ctx2, dirty) {
|
|
9424
9268
|
let previous_block_index = current_block_type_index;
|
|
9425
|
-
current_block_type_index = select_block_type(ctx2
|
|
9269
|
+
current_block_type_index = select_block_type(ctx2);
|
|
9426
9270
|
if (current_block_type_index === previous_block_index) {
|
|
9427
9271
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9428
9272
|
} else {
|
|
@@ -9466,17 +9310,13 @@ function create_else_block8(ctx) {
|
|
|
9466
9310
|
let span0;
|
|
9467
9311
|
let t1_value = format(ctx[13]) + "";
|
|
9468
9312
|
let t1;
|
|
9469
|
-
let span0_class_value;
|
|
9470
9313
|
let t2;
|
|
9471
9314
|
let span1;
|
|
9472
9315
|
let t3;
|
|
9473
|
-
let span1_class_value;
|
|
9474
9316
|
let t4;
|
|
9475
9317
|
let span2;
|
|
9476
9318
|
let t5_value = format(ctx[14]) + "";
|
|
9477
9319
|
let t5;
|
|
9478
|
-
let span2_class_value;
|
|
9479
|
-
let span3_class_value;
|
|
9480
9320
|
let current;
|
|
9481
9321
|
slider = new Slider_default({
|
|
9482
9322
|
props: {
|
|
@@ -9501,10 +9341,10 @@ function create_else_block8(ctx) {
|
|
|
9501
9341
|
t4 = space();
|
|
9502
9342
|
span2 = element("span");
|
|
9503
9343
|
t5 = text(t5_value);
|
|
9504
|
-
attr(span0, "class",
|
|
9505
|
-
attr(span1, "class",
|
|
9506
|
-
attr(span2, "class",
|
|
9507
|
-
attr(span3, "class",
|
|
9344
|
+
attr(span0, "class", name7 + "-current");
|
|
9345
|
+
attr(span1, "class", name7 + "-slash");
|
|
9346
|
+
attr(span2, "class", name7 + "-duration");
|
|
9347
|
+
attr(span3, "class", name7 + "-progress");
|
|
9508
9348
|
},
|
|
9509
9349
|
m(target, anchor) {
|
|
9510
9350
|
mount_component(slider, target, anchor);
|
|
@@ -9558,7 +9398,6 @@ function create_if_block8(ctx) {
|
|
|
9558
9398
|
let t0;
|
|
9559
9399
|
let span;
|
|
9560
9400
|
let t1;
|
|
9561
|
-
let span_class_value;
|
|
9562
9401
|
let current;
|
|
9563
9402
|
slider = new Slider_default({
|
|
9564
9403
|
props: {
|
|
@@ -9572,7 +9411,7 @@ function create_if_block8(ctx) {
|
|
|
9572
9411
|
t0 = space();
|
|
9573
9412
|
span = element("span");
|
|
9574
9413
|
t1 = text("\u2026/\u2026");
|
|
9575
|
-
attr(span, "class",
|
|
9414
|
+
attr(span, "class", name7 + "-progress loading");
|
|
9576
9415
|
},
|
|
9577
9416
|
m(target, anchor) {
|
|
9578
9417
|
mount_component(slider, target, anchor);
|
|
@@ -9606,13 +9445,12 @@ function create_default_slot_15(ctx) {
|
|
|
9606
9445
|
let t0_value = (ctx[15] || 1) + "";
|
|
9607
9446
|
let t0;
|
|
9608
9447
|
let t1;
|
|
9609
|
-
let span_class_value;
|
|
9610
9448
|
return {
|
|
9611
9449
|
c() {
|
|
9612
9450
|
span = element("span");
|
|
9613
9451
|
t0 = text(t0_value);
|
|
9614
9452
|
t1 = text("x");
|
|
9615
|
-
attr(span, "class",
|
|
9453
|
+
attr(span, "class", name7 + "-speed-text");
|
|
9616
9454
|
},
|
|
9617
9455
|
m(target, anchor) {
|
|
9618
9456
|
insert(target, span, anchor);
|
|
@@ -9713,7 +9551,7 @@ function create_each_block5(key_1, ctx) {
|
|
|
9713
9551
|
}
|
|
9714
9552
|
};
|
|
9715
9553
|
}
|
|
9716
|
-
function
|
|
9554
|
+
function create_fragment56(ctx) {
|
|
9717
9555
|
let div0;
|
|
9718
9556
|
let button0;
|
|
9719
9557
|
let t0;
|
|
@@ -9727,7 +9565,6 @@ function create_fragment57(ctx) {
|
|
|
9727
9565
|
let div1;
|
|
9728
9566
|
let each_blocks = [];
|
|
9729
9567
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
9730
|
-
let div1_class_value;
|
|
9731
9568
|
let current;
|
|
9732
9569
|
button0 = new Button_default({
|
|
9733
9570
|
props: {
|
|
@@ -9748,7 +9585,7 @@ function create_fragment57(ctx) {
|
|
|
9748
9585
|
return 0;
|
|
9749
9586
|
return 1;
|
|
9750
9587
|
}
|
|
9751
|
-
current_block_type_index = select_block_type_1(ctx
|
|
9588
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
9752
9589
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9753
9590
|
button1 = new Button_default({
|
|
9754
9591
|
props: {
|
|
@@ -9785,7 +9622,7 @@ function create_fragment57(ctx) {
|
|
|
9785
9622
|
each_blocks[i].c();
|
|
9786
9623
|
}
|
|
9787
9624
|
attr(div0, "class", div0_class_value = name7 + " " + ctx[0]);
|
|
9788
|
-
attr(div1, "class",
|
|
9625
|
+
attr(div1, "class", name7 + "-panel speed");
|
|
9789
9626
|
set_style(div2, "display", "none");
|
|
9790
9627
|
},
|
|
9791
9628
|
m(target, anchor) {
|
|
@@ -9819,7 +9656,7 @@ function create_fragment57(ctx) {
|
|
|
9819
9656
|
}
|
|
9820
9657
|
button0.$set(button0_changes);
|
|
9821
9658
|
let previous_block_index = current_block_type_index;
|
|
9822
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
9659
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
9823
9660
|
if (current_block_type_index === previous_block_index) {
|
|
9824
9661
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9825
9662
|
} else {
|
|
@@ -9917,7 +9754,7 @@ function format(ms) {
|
|
|
9917
9754
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9918
9755
|
}
|
|
9919
9756
|
var name7 = "fastboard-player-control";
|
|
9920
|
-
function
|
|
9757
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
9921
9758
|
let t;
|
|
9922
9759
|
let canPlay;
|
|
9923
9760
|
let disabled;
|
|
@@ -9987,48 +9824,37 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9987
9824
|
};
|
|
9988
9825
|
$$self.$$.update = () => {
|
|
9989
9826
|
if ($$self.$$.dirty & 1048576) {
|
|
9990
|
-
|
|
9991
|
-
$$invalidate(12, t = i18n6[language]);
|
|
9827
|
+
$$invalidate(12, t = i18n6[language]);
|
|
9992
9828
|
}
|
|
9993
9829
|
if ($$self.$$.dirty & 524288) {
|
|
9994
|
-
|
|
9995
|
-
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9830
|
+
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9996
9831
|
}
|
|
9997
9832
|
if ($$self.$$.dirty & 2097152) {
|
|
9998
|
-
|
|
9999
|
-
$$invalidate(4, disabled = !canPlay);
|
|
9833
|
+
$$invalidate(4, disabled = !canPlay);
|
|
10000
9834
|
}
|
|
10001
9835
|
if ($$self.$$.dirty & 16) {
|
|
10002
|
-
|
|
10003
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
9836
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
10004
9837
|
}
|
|
10005
9838
|
if ($$self.$$.dirty & 524288) {
|
|
10006
|
-
|
|
10007
|
-
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
9839
|
+
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
10008
9840
|
}
|
|
10009
9841
|
if ($$self.$$.dirty & 524288) {
|
|
10010
|
-
|
|
10011
|
-
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
9842
|
+
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
10012
9843
|
}
|
|
10013
9844
|
if ($$self.$$.dirty & 524288) {
|
|
10014
|
-
|
|
10015
|
-
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
9845
|
+
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
10016
9846
|
}
|
|
10017
9847
|
if ($$self.$$.dirty & 524288) {
|
|
10018
|
-
|
|
10019
|
-
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
9848
|
+
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
10020
9849
|
}
|
|
10021
9850
|
if ($$self.$$.dirty & 4194304) {
|
|
10022
|
-
|
|
10023
|
-
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
9851
|
+
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
10024
9852
|
}
|
|
10025
9853
|
if ($$self.$$.dirty & 4194304) {
|
|
10026
|
-
|
|
10027
|
-
$$invalidate(2, playing = $phase === "playing");
|
|
9854
|
+
$$invalidate(2, playing = $phase === "playing");
|
|
10028
9855
|
}
|
|
10029
9856
|
if ($$self.$$.dirty & 12) {
|
|
10030
|
-
|
|
10031
|
-
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
9857
|
+
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
10032
9858
|
}
|
|
10033
9859
|
};
|
|
10034
9860
|
return [
|
|
@@ -10062,7 +9888,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10062
9888
|
var PlayerControl = class extends SvelteComponent {
|
|
10063
9889
|
constructor(options) {
|
|
10064
9890
|
super();
|
|
10065
|
-
init(this, options,
|
|
9891
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, {
|
|
10066
9892
|
player: 19,
|
|
10067
9893
|
theme: 0,
|
|
10068
9894
|
language: 20,
|
|
@@ -10073,15 +9899,12 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
10073
9899
|
var PlayerControl_default = PlayerControl;
|
|
10074
9900
|
|
|
10075
9901
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
10076
|
-
function
|
|
9902
|
+
function create_fragment57(ctx) {
|
|
10077
9903
|
let div2;
|
|
10078
9904
|
let div0;
|
|
10079
|
-
let div0_class_value;
|
|
10080
9905
|
let t;
|
|
10081
9906
|
let div1;
|
|
10082
9907
|
let playercontrol;
|
|
10083
|
-
let div1_class_value;
|
|
10084
|
-
let div2_class_value;
|
|
10085
9908
|
let current;
|
|
10086
9909
|
let mounted;
|
|
10087
9910
|
let dispose;
|
|
@@ -10099,15 +9922,15 @@ function create_fragment58(ctx) {
|
|
|
10099
9922
|
t = space();
|
|
10100
9923
|
div1 = element("div");
|
|
10101
9924
|
create_component(playercontrol.$$.fragment);
|
|
10102
|
-
attr(div0, "class",
|
|
10103
|
-
attr(div1, "class",
|
|
10104
|
-
attr(div2, "class",
|
|
9925
|
+
attr(div0, "class", name8 + "-view");
|
|
9926
|
+
attr(div1, "class", name8 + "-bottom");
|
|
9927
|
+
attr(div2, "class", name8 + "-root");
|
|
10105
9928
|
toggle_class(div2, "loading", !ctx[0]);
|
|
10106
9929
|
},
|
|
10107
9930
|
m(target, anchor) {
|
|
10108
9931
|
insert(target, div2, anchor);
|
|
10109
9932
|
append(div2, div0);
|
|
10110
|
-
ctx[
|
|
9933
|
+
ctx[6](div0);
|
|
10111
9934
|
append(div2, t);
|
|
10112
9935
|
append(div2, div1);
|
|
10113
9936
|
mount_component(playercontrol, div1, null);
|
|
@@ -10143,7 +9966,7 @@ function create_fragment58(ctx) {
|
|
|
10143
9966
|
d(detaching) {
|
|
10144
9967
|
if (detaching)
|
|
10145
9968
|
detach(div2);
|
|
10146
|
-
ctx[
|
|
9969
|
+
ctx[6](null);
|
|
10147
9970
|
destroy_component(playercontrol);
|
|
10148
9971
|
mounted = false;
|
|
10149
9972
|
dispose();
|
|
@@ -10151,12 +9974,13 @@ function create_fragment58(ctx) {
|
|
|
10151
9974
|
};
|
|
10152
9975
|
}
|
|
10153
9976
|
var name8 = "fastboard";
|
|
10154
|
-
function
|
|
9977
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
10155
9978
|
let { player = null } = $$props;
|
|
10156
9979
|
let { theme = "light" } = $$props;
|
|
10157
9980
|
let { language = "en" } = $$props;
|
|
10158
9981
|
let { containerRef = void 0 } = $$props;
|
|
10159
9982
|
let container;
|
|
9983
|
+
let mounted = false;
|
|
10160
9984
|
onMount(() => {
|
|
10161
9985
|
if (containerRef) {
|
|
10162
9986
|
containerRef(container);
|
|
@@ -10184,28 +10008,28 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10184
10008
|
};
|
|
10185
10009
|
$$self.$$.update = () => {
|
|
10186
10010
|
if ($$self.$$.dirty & 9) {
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
if (player && container)
|
|
10011
|
+
try {
|
|
10012
|
+
if (player && container) {
|
|
10190
10013
|
player.bindContainer(container);
|
|
10014
|
+
$$invalidate(5, mounted = true);
|
|
10015
|
+
}
|
|
10191
10016
|
} catch (err) {
|
|
10192
10017
|
console.error("[fastboard] An error occurred while binding container");
|
|
10193
10018
|
console.error(err);
|
|
10194
10019
|
}
|
|
10195
10020
|
}
|
|
10196
|
-
if ($$self.$$.dirty &
|
|
10197
|
-
|
|
10198
|
-
if (player && theme) {
|
|
10021
|
+
if ($$self.$$.dirty & 35) {
|
|
10022
|
+
if (player && theme && mounted) {
|
|
10199
10023
|
player.manager.setPrefersColorScheme(theme);
|
|
10200
10024
|
}
|
|
10201
10025
|
}
|
|
10202
10026
|
};
|
|
10203
|
-
return [player, theme, language, container, containerRef, div0_binding];
|
|
10027
|
+
return [player, theme, language, container, containerRef, mounted, div0_binding];
|
|
10204
10028
|
}
|
|
10205
10029
|
var ReplayFastboard = class extends SvelteComponent {
|
|
10206
10030
|
constructor(options) {
|
|
10207
10031
|
super();
|
|
10208
|
-
init(this, options,
|
|
10032
|
+
init(this, options, instance57, create_fragment57, not_equal, {
|
|
10209
10033
|
player: 0,
|
|
10210
10034
|
theme: 1,
|
|
10211
10035
|
language: 2,
|
|
@@ -10391,22 +10215,17 @@ function create_if_block9(ctx) {
|
|
|
10391
10215
|
}
|
|
10392
10216
|
};
|
|
10393
10217
|
}
|
|
10394
|
-
function
|
|
10218
|
+
function create_fragment58(ctx) {
|
|
10395
10219
|
var _a, _b, _c, _d;
|
|
10396
10220
|
let div4;
|
|
10397
10221
|
let div0;
|
|
10398
|
-
let div0_class_value;
|
|
10399
10222
|
let t0;
|
|
10400
10223
|
let div1;
|
|
10401
|
-
let div1_class_value;
|
|
10402
10224
|
let t1;
|
|
10403
10225
|
let div2;
|
|
10404
10226
|
let t2;
|
|
10405
|
-
let div2_class_value;
|
|
10406
10227
|
let t3;
|
|
10407
10228
|
let div3;
|
|
10408
|
-
let div3_class_value;
|
|
10409
|
-
let div4_class_value;
|
|
10410
10229
|
let current;
|
|
10411
10230
|
let mounted;
|
|
10412
10231
|
let dispose;
|
|
@@ -10433,20 +10252,20 @@ function create_fragment59(ctx) {
|
|
|
10433
10252
|
div3 = element("div");
|
|
10434
10253
|
if (if_block3)
|
|
10435
10254
|
if_block3.c();
|
|
10436
|
-
attr(div0, "class",
|
|
10437
|
-
attr(div1, "class",
|
|
10255
|
+
attr(div0, "class", name9 + "-view");
|
|
10256
|
+
attr(div1, "class", name9 + "-left");
|
|
10438
10257
|
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10439
|
-
attr(div2, "class",
|
|
10258
|
+
attr(div2, "class", name9 + "-bottom-left");
|
|
10440
10259
|
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10441
|
-
attr(div3, "class",
|
|
10260
|
+
attr(div3, "class", name9 + "-bottom-right");
|
|
10442
10261
|
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10443
|
-
attr(div4, "class",
|
|
10262
|
+
attr(div4, "class", name9 + "-root");
|
|
10444
10263
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10445
10264
|
},
|
|
10446
10265
|
m(target, anchor) {
|
|
10447
10266
|
insert(target, div4, anchor);
|
|
10448
10267
|
append(div4, div0);
|
|
10449
|
-
ctx[
|
|
10268
|
+
ctx[14](div0);
|
|
10450
10269
|
append(div4, t0);
|
|
10451
10270
|
append(div4, div1);
|
|
10452
10271
|
if (if_block0)
|
|
@@ -10578,7 +10397,7 @@ function create_fragment59(ctx) {
|
|
|
10578
10397
|
d(detaching) {
|
|
10579
10398
|
if (detaching)
|
|
10580
10399
|
detach(div4);
|
|
10581
|
-
ctx[
|
|
10400
|
+
ctx[14](null);
|
|
10582
10401
|
if (if_block0)
|
|
10583
10402
|
if_block0.d();
|
|
10584
10403
|
if (if_block1)
|
|
@@ -10593,13 +10412,13 @@ function create_fragment59(ctx) {
|
|
|
10593
10412
|
};
|
|
10594
10413
|
}
|
|
10595
10414
|
var name9 = "fastboard";
|
|
10596
|
-
function
|
|
10415
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
10597
10416
|
let writable2;
|
|
10598
10417
|
let boxState;
|
|
10599
10418
|
let focusedApp;
|
|
10600
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
10601
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
10602
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
10419
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(11, $focusedApp = $$value)), focusedApp);
|
|
10420
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(12, $boxState = $$value)), boxState);
|
|
10421
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(13, $writable = $$value)), writable2);
|
|
10603
10422
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
10604
10423
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
10605
10424
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -10611,6 +10430,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10611
10430
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
10612
10431
|
let container;
|
|
10613
10432
|
let layout = "hidden";
|
|
10433
|
+
let mounted = false;
|
|
10614
10434
|
onMount(() => {
|
|
10615
10435
|
if (containerRef) {
|
|
10616
10436
|
containerRef(container);
|
|
@@ -10640,20 +10460,16 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10640
10460
|
};
|
|
10641
10461
|
$$self.$$.update = () => {
|
|
10642
10462
|
if ($$self.$$.dirty & 1) {
|
|
10643
|
-
|
|
10644
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10463
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10645
10464
|
}
|
|
10646
10465
|
if ($$self.$$.dirty & 1) {
|
|
10647
|
-
|
|
10648
|
-
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10466
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10649
10467
|
}
|
|
10650
10468
|
if ($$self.$$.dirty & 1) {
|
|
10651
|
-
|
|
10652
|
-
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10469
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10653
10470
|
}
|
|
10654
|
-
if ($$self.$$.dirty &
|
|
10655
|
-
|
|
10656
|
-
if (!$writable) {
|
|
10471
|
+
if ($$self.$$.dirty & 14336) {
|
|
10472
|
+
if (!$writable) {
|
|
10657
10473
|
$$invalidate(5, layout = "hidden");
|
|
10658
10474
|
} else if ($boxState === "maximized") {
|
|
10659
10475
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
@@ -10666,18 +10482,18 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10666
10482
|
}
|
|
10667
10483
|
}
|
|
10668
10484
|
if ($$self.$$.dirty & 17) {
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
if (app && container)
|
|
10485
|
+
try {
|
|
10486
|
+
if (app && container) {
|
|
10672
10487
|
app.bindContainer(container);
|
|
10488
|
+
$$invalidate(10, mounted = true);
|
|
10489
|
+
}
|
|
10673
10490
|
} catch (err) {
|
|
10674
10491
|
console.error("[fastboard] An error occurred while binding container");
|
|
10675
10492
|
console.error(err);
|
|
10676
10493
|
}
|
|
10677
10494
|
}
|
|
10678
|
-
if ($$self.$$.dirty &
|
|
10679
|
-
|
|
10680
|
-
if (app && theme) {
|
|
10495
|
+
if ($$self.$$.dirty & 1027) {
|
|
10496
|
+
if (app && theme && mounted) {
|
|
10681
10497
|
app.manager.setPrefersColorScheme(theme);
|
|
10682
10498
|
}
|
|
10683
10499
|
}
|
|
@@ -10693,6 +10509,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10693
10509
|
boxState,
|
|
10694
10510
|
writable2,
|
|
10695
10511
|
containerRef,
|
|
10512
|
+
mounted,
|
|
10696
10513
|
$focusedApp,
|
|
10697
10514
|
$boxState,
|
|
10698
10515
|
$writable,
|
|
@@ -10702,7 +10519,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10702
10519
|
var Fastboard = class extends SvelteComponent {
|
|
10703
10520
|
constructor(options) {
|
|
10704
10521
|
super();
|
|
10705
|
-
init(this, options,
|
|
10522
|
+
init(this, options, instance58, create_fragment58, not_equal, {
|
|
10706
10523
|
app: 0,
|
|
10707
10524
|
theme: 1,
|
|
10708
10525
|
language: 2,
|
|
@@ -10713,6 +10530,62 @@ var Fastboard = class extends SvelteComponent {
|
|
|
10713
10530
|
};
|
|
10714
10531
|
var Fastboard_default = Fastboard;
|
|
10715
10532
|
|
|
10533
|
+
// src/helpers/index.ts
|
|
10534
|
+
function createUI(app, div) {
|
|
10535
|
+
let fastboard;
|
|
10536
|
+
const ui = {
|
|
10537
|
+
mount(div2, props) {
|
|
10538
|
+
if (fastboard) {
|
|
10539
|
+
fastboard.$destroy();
|
|
10540
|
+
}
|
|
10541
|
+
fastboard = new Fastboard_default({ target: div2, props: __spreadValues({ app }, props) });
|
|
10542
|
+
return ui;
|
|
10543
|
+
},
|
|
10544
|
+
update(props) {
|
|
10545
|
+
if (fastboard) {
|
|
10546
|
+
fastboard.$set(props);
|
|
10547
|
+
}
|
|
10548
|
+
},
|
|
10549
|
+
destroy() {
|
|
10550
|
+
if (fastboard) {
|
|
10551
|
+
fastboard.$destroy();
|
|
10552
|
+
}
|
|
10553
|
+
fastboard = void 0;
|
|
10554
|
+
}
|
|
10555
|
+
};
|
|
10556
|
+
if (div) {
|
|
10557
|
+
ui.mount(div);
|
|
10558
|
+
}
|
|
10559
|
+
return ui;
|
|
10560
|
+
}
|
|
10561
|
+
function createReplayUI(player, div) {
|
|
10562
|
+
let fastboard;
|
|
10563
|
+
const ui = {
|
|
10564
|
+
mount(div2, props) {
|
|
10565
|
+
if (fastboard) {
|
|
10566
|
+
fastboard.$destroy();
|
|
10567
|
+
}
|
|
10568
|
+
fastboard = new ReplayFastboard_default({ target: div2, props: __spreadValues({ player }, props) });
|
|
10569
|
+
return ui;
|
|
10570
|
+
},
|
|
10571
|
+
update(props) {
|
|
10572
|
+
if (fastboard) {
|
|
10573
|
+
fastboard.$set(props);
|
|
10574
|
+
}
|
|
10575
|
+
},
|
|
10576
|
+
destroy() {
|
|
10577
|
+
if (fastboard) {
|
|
10578
|
+
fastboard.$destroy();
|
|
10579
|
+
}
|
|
10580
|
+
fastboard = void 0;
|
|
10581
|
+
}
|
|
10582
|
+
};
|
|
10583
|
+
if (div) {
|
|
10584
|
+
ui.mount(div);
|
|
10585
|
+
}
|
|
10586
|
+
return ui;
|
|
10587
|
+
}
|
|
10588
|
+
|
|
10716
10589
|
// inline-sass-helper:inline-sass-style-helper.js
|
|
10717
10590
|
function injectStyle(text2) {
|
|
10718
10591
|
if (typeof document !== "undefined") {
|
|
@@ -10728,14 +10601,6 @@ var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:
|
|
|
10728
10601
|
|
|
10729
10602
|
// inline-sass-stub:./src/style.scss
|
|
10730
10603
|
injectStyle(style_default);
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
PageControl_default as PageControl,
|
|
10734
|
-
PlayerControl_default as PlayerControl,
|
|
10735
|
-
RedoUndo_default as RedoUndo,
|
|
10736
|
-
ReplayFastboard_default as ReplayFastboard,
|
|
10737
|
-
Toolbar_default as Toolbar,
|
|
10738
|
-
ZoomControl_default as ZoomControl,
|
|
10739
|
-
apps
|
|
10740
|
-
};
|
|
10604
|
+
|
|
10605
|
+
export { Fastboard_default as Fastboard, PageControl_default as PageControl, PlayerControl_default as PlayerControl, RedoUndo_default as RedoUndo, ReplayFastboard_default as ReplayFastboard, Toolbar_default as Toolbar, ZoomControl_default as ZoomControl, apps, createReplayUI, createUI };
|
|
10741
10606
|
//# sourceMappingURL=index.mjs.map
|