@netless/fastboard-ui 0.3.2 → 0.3.4-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +370 -550
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +372 -563
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +2376 -3501
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +4 -5
- package/src/behaviors/apps.ts +12 -3
- package/src/components/Fastboard/Fastboard.svelte +3 -1
- package/src/components/Fastboard/ReplayFastboard.svelte +3 -1
- package/src/components/Icons/Clear.svelte +15 -1
- package/src/components/Icons/index.ts +0 -2
- package/src/components/Toolbar/components/Contents.svelte +6 -1
- 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;
|
|
@@ -18,7 +20,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
20
|
};
|
|
19
21
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
22
|
|
|
21
|
-
// ../../node_modules/.pnpm/svelte@3.
|
|
23
|
+
// ../../node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/internal/index.mjs
|
|
22
24
|
function noop() {
|
|
23
25
|
}
|
|
24
26
|
function assign(tar, src) {
|
|
@@ -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
|
}
|
|
@@ -185,9 +183,9 @@ function set_style(node, key, value, important) {
|
|
|
185
183
|
function toggle_class(element2, name10, toggle) {
|
|
186
184
|
element2.classList[toggle ? "add" : "remove"](name10);
|
|
187
185
|
}
|
|
188
|
-
function custom_event(type, detail, bubbles = false) {
|
|
186
|
+
function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {
|
|
189
187
|
const e = document.createEvent("CustomEvent");
|
|
190
|
-
e.initCustomEvent(type, bubbles,
|
|
188
|
+
e.initCustomEvent(type, bubbles, cancelable, detail);
|
|
191
189
|
return e;
|
|
192
190
|
}
|
|
193
191
|
var current_component;
|
|
@@ -204,14 +202,16 @@ function onMount(fn) {
|
|
|
204
202
|
}
|
|
205
203
|
function createEventDispatcher() {
|
|
206
204
|
const component = get_current_component();
|
|
207
|
-
return (type, detail) => {
|
|
205
|
+
return (type, detail, { cancelable = false } = {}) => {
|
|
208
206
|
const callbacks = component.$$.callbacks[type];
|
|
209
207
|
if (callbacks) {
|
|
210
|
-
const event = custom_event(type, detail);
|
|
208
|
+
const event = custom_event(type, detail, { cancelable });
|
|
211
209
|
callbacks.slice().forEach((fn) => {
|
|
212
210
|
fn.call(component, event);
|
|
213
211
|
});
|
|
212
|
+
return !event.defaultPrevented;
|
|
214
213
|
}
|
|
214
|
+
return true;
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
function bubble(component, event) {
|
|
@@ -314,7 +314,6 @@ function transition_out(block, local, detach2, callback) {
|
|
|
314
314
|
block.o(local);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
var globals = typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : global;
|
|
318
317
|
function destroy_block(block, lookup) {
|
|
319
318
|
block.d(1);
|
|
320
319
|
lookup.delete(block.key);
|
|
@@ -462,7 +461,7 @@ function make_dirty(component, i) {
|
|
|
462
461
|
}
|
|
463
462
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
464
463
|
}
|
|
465
|
-
function init(component, options,
|
|
464
|
+
function init(component, options, instance59, create_fragment59, not_equal2, props, append_styles, dirty = [-1]) {
|
|
466
465
|
const parent_component = current_component;
|
|
467
466
|
set_current_component(component);
|
|
468
467
|
const $$ = component.$$ = {
|
|
@@ -470,7 +469,7 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
470
469
|
ctx: null,
|
|
471
470
|
props,
|
|
472
471
|
update: noop,
|
|
473
|
-
not_equal,
|
|
472
|
+
not_equal: not_equal2,
|
|
474
473
|
bound: blank_object(),
|
|
475
474
|
on_mount: [],
|
|
476
475
|
on_destroy: [],
|
|
@@ -485,9 +484,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
485
484
|
};
|
|
486
485
|
append_styles && append_styles($$.root);
|
|
487
486
|
let ready = false;
|
|
488
|
-
$$.ctx =
|
|
487
|
+
$$.ctx = instance59 ? instance59(component, options.props || {}, (i, ret, ...rest) => {
|
|
489
488
|
const value = rest.length ? rest[0] : ret;
|
|
490
|
-
if ($$.ctx &&
|
|
489
|
+
if ($$.ctx && not_equal2($$.ctx[i], $$.ctx[i] = value)) {
|
|
491
490
|
if (!$$.skip_bound && $$.bound[i])
|
|
492
491
|
$$.bound[i](value);
|
|
493
492
|
if (ready)
|
|
@@ -498,10 +497,9 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
498
497
|
$$.update();
|
|
499
498
|
ready = true;
|
|
500
499
|
run_all($$.before_update);
|
|
501
|
-
$$.fragment =
|
|
500
|
+
$$.fragment = create_fragment59 ? create_fragment59($$.ctx) : false;
|
|
502
501
|
if (options.target) {
|
|
503
502
|
if (options.hydrate) {
|
|
504
|
-
start_hydrating();
|
|
505
503
|
const nodes = children(options.target);
|
|
506
504
|
$$.fragment && $$.fragment.l(nodes);
|
|
507
505
|
nodes.forEach(detach);
|
|
@@ -511,53 +509,10 @@ function init(component, options, instance60, create_fragment60, not_equal, prop
|
|
|
511
509
|
if (options.intro)
|
|
512
510
|
transition_in(component.$$.fragment);
|
|
513
511
|
mount_component(component, options.target, options.anchor, options.customElement);
|
|
514
|
-
end_hydrating();
|
|
515
512
|
flush();
|
|
516
513
|
}
|
|
517
514
|
set_current_component(parent_component);
|
|
518
515
|
}
|
|
519
|
-
var SvelteElement;
|
|
520
|
-
if (typeof HTMLElement === "function") {
|
|
521
|
-
SvelteElement = class extends HTMLElement {
|
|
522
|
-
constructor() {
|
|
523
|
-
super();
|
|
524
|
-
this.attachShadow({ mode: "open" });
|
|
525
|
-
}
|
|
526
|
-
connectedCallback() {
|
|
527
|
-
const { on_mount } = this.$$;
|
|
528
|
-
this.$$.on_disconnect = on_mount.map(run).filter(is_function);
|
|
529
|
-
for (const key in this.$$.slotted) {
|
|
530
|
-
this.appendChild(this.$$.slotted[key]);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
attributeChangedCallback(attr2, _oldValue, newValue) {
|
|
534
|
-
this[attr2] = newValue;
|
|
535
|
-
}
|
|
536
|
-
disconnectedCallback() {
|
|
537
|
-
run_all(this.$$.on_disconnect);
|
|
538
|
-
}
|
|
539
|
-
$destroy() {
|
|
540
|
-
destroy_component(this, 1);
|
|
541
|
-
this.$destroy = noop;
|
|
542
|
-
}
|
|
543
|
-
$on(type, callback) {
|
|
544
|
-
const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
|
|
545
|
-
callbacks.push(callback);
|
|
546
|
-
return () => {
|
|
547
|
-
const index = callbacks.indexOf(callback);
|
|
548
|
-
if (index !== -1)
|
|
549
|
-
callbacks.splice(index, 1);
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
$set($$props) {
|
|
553
|
-
if (this.$$set && !is_empty($$props)) {
|
|
554
|
-
this.$$.skip_bound = true;
|
|
555
|
-
this.$$set($$props);
|
|
556
|
-
this.$$.skip_bound = false;
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
}
|
|
561
516
|
var SvelteComponent = class {
|
|
562
517
|
$destroy() {
|
|
563
518
|
destroy_component(this, 1);
|
|
@@ -666,7 +621,7 @@ function create_fragment(ctx) {
|
|
|
666
621
|
return 0;
|
|
667
622
|
return 1;
|
|
668
623
|
}
|
|
669
|
-
current_block_type_index = select_block_type(ctx
|
|
624
|
+
current_block_type_index = select_block_type(ctx);
|
|
670
625
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
671
626
|
return {
|
|
672
627
|
c() {
|
|
@@ -680,7 +635,7 @@ function create_fragment(ctx) {
|
|
|
680
635
|
},
|
|
681
636
|
p(ctx2, [dirty]) {
|
|
682
637
|
let previous_block_index = current_block_type_index;
|
|
683
|
-
current_block_type_index = select_block_type(ctx2
|
|
638
|
+
current_block_type_index = select_block_type(ctx2);
|
|
684
639
|
if (current_block_type_index === previous_block_index) {
|
|
685
640
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
686
641
|
} else {
|
|
@@ -1198,18 +1153,34 @@ var CircleBolded = class extends SvelteComponent {
|
|
|
1198
1153
|
};
|
|
1199
1154
|
var CircleBolded_default = CircleBolded;
|
|
1200
1155
|
|
|
1201
|
-
// src/components/Icons/
|
|
1156
|
+
// src/components/Icons/Clear.svelte
|
|
1202
1157
|
function create_fragment9(ctx) {
|
|
1203
1158
|
let svg;
|
|
1204
|
-
let
|
|
1159
|
+
let path0;
|
|
1160
|
+
let path1;
|
|
1161
|
+
let path2;
|
|
1205
1162
|
let svg_class_value;
|
|
1206
1163
|
return {
|
|
1207
1164
|
c() {
|
|
1208
1165
|
svg = svg_element("svg");
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
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");
|
|
1213
1184
|
attr(svg, "fill", "none");
|
|
1214
1185
|
attr(svg, "viewBox", "0 0 24 24");
|
|
1215
1186
|
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
@@ -1217,7 +1188,9 @@ function create_fragment9(ctx) {
|
|
|
1217
1188
|
},
|
|
1218
1189
|
m(target, anchor) {
|
|
1219
1190
|
insert(target, svg, anchor);
|
|
1220
|
-
append(svg,
|
|
1191
|
+
append(svg, path0);
|
|
1192
|
+
append(svg, path1);
|
|
1193
|
+
append(svg, path2);
|
|
1221
1194
|
},
|
|
1222
1195
|
p(ctx2, [dirty]) {
|
|
1223
1196
|
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
@@ -1246,74 +1219,16 @@ function instance9($$self, $$props, $$invalidate) {
|
|
|
1246
1219
|
};
|
|
1247
1220
|
return [theme, active];
|
|
1248
1221
|
}
|
|
1249
|
-
var Clean = class extends SvelteComponent {
|
|
1250
|
-
constructor(options) {
|
|
1251
|
-
super();
|
|
1252
|
-
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1253
|
-
}
|
|
1254
|
-
};
|
|
1255
|
-
var Clean_default = Clean;
|
|
1256
|
-
|
|
1257
|
-
// src/components/Icons/Clear.svelte
|
|
1258
|
-
function create_fragment10(ctx) {
|
|
1259
|
-
let svg;
|
|
1260
|
-
let path;
|
|
1261
|
-
let svg_class_value;
|
|
1262
|
-
return {
|
|
1263
|
-
c() {
|
|
1264
|
-
svg = svg_element("svg");
|
|
1265
|
-
path = svg_element("path");
|
|
1266
|
-
attr(path, "stroke", "#5D6066");
|
|
1267
|
-
attr(path, "stroke-linejoin", "round");
|
|
1268
|
-
attr(path, "stroke-width", "1.25");
|
|
1269
|
-
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");
|
|
1270
|
-
attr(path, "class", "fastboard-icon-stroke-color");
|
|
1271
|
-
attr(svg, "fill", "none");
|
|
1272
|
-
attr(svg, "viewBox", "0 0 24 24");
|
|
1273
|
-
attr(svg, "class", svg_class_value = "fastboard-icon " + ctx[0]);
|
|
1274
|
-
toggle_class(svg, "is-active", ctx[1]);
|
|
1275
|
-
},
|
|
1276
|
-
m(target, anchor) {
|
|
1277
|
-
insert(target, svg, anchor);
|
|
1278
|
-
append(svg, path);
|
|
1279
|
-
},
|
|
1280
|
-
p(ctx2, [dirty]) {
|
|
1281
|
-
if (dirty & 1 && svg_class_value !== (svg_class_value = "fastboard-icon " + ctx2[0])) {
|
|
1282
|
-
attr(svg, "class", svg_class_value);
|
|
1283
|
-
}
|
|
1284
|
-
if (dirty & 3) {
|
|
1285
|
-
toggle_class(svg, "is-active", ctx2[1]);
|
|
1286
|
-
}
|
|
1287
|
-
},
|
|
1288
|
-
i: noop,
|
|
1289
|
-
o: noop,
|
|
1290
|
-
d(detaching) {
|
|
1291
|
-
if (detaching)
|
|
1292
|
-
detach(svg);
|
|
1293
|
-
}
|
|
1294
|
-
};
|
|
1295
|
-
}
|
|
1296
|
-
function instance10($$self, $$props, $$invalidate) {
|
|
1297
|
-
let { theme = "light" } = $$props;
|
|
1298
|
-
let { active = false } = $$props;
|
|
1299
|
-
$$self.$$set = ($$props2) => {
|
|
1300
|
-
if ("theme" in $$props2)
|
|
1301
|
-
$$invalidate(0, theme = $$props2.theme);
|
|
1302
|
-
if ("active" in $$props2)
|
|
1303
|
-
$$invalidate(1, active = $$props2.active);
|
|
1304
|
-
};
|
|
1305
|
-
return [theme, active];
|
|
1306
|
-
}
|
|
1307
1222
|
var Clear = class extends SvelteComponent {
|
|
1308
1223
|
constructor(options) {
|
|
1309
1224
|
super();
|
|
1310
|
-
init(this, options,
|
|
1225
|
+
init(this, options, instance9, create_fragment9, safe_not_equal, { theme: 0, active: 1 });
|
|
1311
1226
|
}
|
|
1312
1227
|
};
|
|
1313
1228
|
var Clear_default = Clear;
|
|
1314
1229
|
|
|
1315
1230
|
// src/components/Icons/Click.svelte
|
|
1316
|
-
function
|
|
1231
|
+
function create_fragment10(ctx) {
|
|
1317
1232
|
let svg;
|
|
1318
1233
|
let path;
|
|
1319
1234
|
let svg_class_value;
|
|
@@ -1351,7 +1266,7 @@ function create_fragment11(ctx) {
|
|
|
1351
1266
|
}
|
|
1352
1267
|
};
|
|
1353
1268
|
}
|
|
1354
|
-
function
|
|
1269
|
+
function instance10($$self, $$props, $$invalidate) {
|
|
1355
1270
|
let { theme = "light" } = $$props;
|
|
1356
1271
|
let { active = false } = $$props;
|
|
1357
1272
|
$$self.$$set = ($$props2) => {
|
|
@@ -1365,13 +1280,13 @@ function instance11($$self, $$props, $$invalidate) {
|
|
|
1365
1280
|
var Click = class extends SvelteComponent {
|
|
1366
1281
|
constructor(options) {
|
|
1367
1282
|
super();
|
|
1368
|
-
init(this, options,
|
|
1283
|
+
init(this, options, instance10, create_fragment10, safe_not_equal, { theme: 0, active: 1 });
|
|
1369
1284
|
}
|
|
1370
1285
|
};
|
|
1371
1286
|
var Click_default = Click;
|
|
1372
1287
|
|
|
1373
1288
|
// src/components/Icons/ClickFilled.svelte
|
|
1374
|
-
function
|
|
1289
|
+
function create_fragment11(ctx) {
|
|
1375
1290
|
let svg;
|
|
1376
1291
|
let path;
|
|
1377
1292
|
let svg_class_value;
|
|
@@ -1407,7 +1322,7 @@ function create_fragment12(ctx) {
|
|
|
1407
1322
|
}
|
|
1408
1323
|
};
|
|
1409
1324
|
}
|
|
1410
|
-
function
|
|
1325
|
+
function instance11($$self, $$props, $$invalidate) {
|
|
1411
1326
|
let { theme = "light" } = $$props;
|
|
1412
1327
|
let { active = false } = $$props;
|
|
1413
1328
|
$$self.$$set = ($$props2) => {
|
|
@@ -1421,13 +1336,13 @@ function instance12($$self, $$props, $$invalidate) {
|
|
|
1421
1336
|
var ClickFilled = class extends SvelteComponent {
|
|
1422
1337
|
constructor(options) {
|
|
1423
1338
|
super();
|
|
1424
|
-
init(this, options,
|
|
1339
|
+
init(this, options, instance11, create_fragment11, safe_not_equal, { theme: 0, active: 1 });
|
|
1425
1340
|
}
|
|
1426
1341
|
};
|
|
1427
1342
|
var ClickFilled_default = ClickFilled;
|
|
1428
1343
|
|
|
1429
1344
|
// src/components/Icons/Diamond.svelte
|
|
1430
|
-
function
|
|
1345
|
+
function create_fragment12(ctx) {
|
|
1431
1346
|
let svg;
|
|
1432
1347
|
let path;
|
|
1433
1348
|
let svg_class_value;
|
|
@@ -1465,7 +1380,7 @@ function create_fragment13(ctx) {
|
|
|
1465
1380
|
}
|
|
1466
1381
|
};
|
|
1467
1382
|
}
|
|
1468
|
-
function
|
|
1383
|
+
function instance12($$self, $$props, $$invalidate) {
|
|
1469
1384
|
let { theme = "light" } = $$props;
|
|
1470
1385
|
let { active = false } = $$props;
|
|
1471
1386
|
$$self.$$set = ($$props2) => {
|
|
@@ -1479,13 +1394,13 @@ function instance13($$self, $$props, $$invalidate) {
|
|
|
1479
1394
|
var Diamond = class extends SvelteComponent {
|
|
1480
1395
|
constructor(options) {
|
|
1481
1396
|
super();
|
|
1482
|
-
init(this, options,
|
|
1397
|
+
init(this, options, instance12, create_fragment12, safe_not_equal, { theme: 0, active: 1 });
|
|
1483
1398
|
}
|
|
1484
1399
|
};
|
|
1485
1400
|
var Diamond_default = Diamond;
|
|
1486
1401
|
|
|
1487
1402
|
// src/components/Icons/Down.svelte
|
|
1488
|
-
function
|
|
1403
|
+
function create_fragment13(ctx) {
|
|
1489
1404
|
let svg;
|
|
1490
1405
|
let path;
|
|
1491
1406
|
let svg_class_value;
|
|
@@ -1523,7 +1438,7 @@ function create_fragment14(ctx) {
|
|
|
1523
1438
|
}
|
|
1524
1439
|
};
|
|
1525
1440
|
}
|
|
1526
|
-
function
|
|
1441
|
+
function instance13($$self, $$props, $$invalidate) {
|
|
1527
1442
|
let { theme = "light" } = $$props;
|
|
1528
1443
|
let { active = false } = $$props;
|
|
1529
1444
|
$$self.$$set = ($$props2) => {
|
|
@@ -1537,13 +1452,13 @@ function instance14($$self, $$props, $$invalidate) {
|
|
|
1537
1452
|
var Down = class extends SvelteComponent {
|
|
1538
1453
|
constructor(options) {
|
|
1539
1454
|
super();
|
|
1540
|
-
init(this, options,
|
|
1455
|
+
init(this, options, instance13, create_fragment13, safe_not_equal, { theme: 0, active: 1 });
|
|
1541
1456
|
}
|
|
1542
1457
|
};
|
|
1543
1458
|
var Down_default = Down;
|
|
1544
1459
|
|
|
1545
1460
|
// src/components/Icons/Eraser.svelte
|
|
1546
|
-
function
|
|
1461
|
+
function create_fragment14(ctx) {
|
|
1547
1462
|
let svg;
|
|
1548
1463
|
let path;
|
|
1549
1464
|
let svg_class_value;
|
|
@@ -1581,7 +1496,7 @@ function create_fragment15(ctx) {
|
|
|
1581
1496
|
}
|
|
1582
1497
|
};
|
|
1583
1498
|
}
|
|
1584
|
-
function
|
|
1499
|
+
function instance14($$self, $$props, $$invalidate) {
|
|
1585
1500
|
let { theme = "light" } = $$props;
|
|
1586
1501
|
let { active = false } = $$props;
|
|
1587
1502
|
$$self.$$set = ($$props2) => {
|
|
@@ -1595,13 +1510,13 @@ function instance15($$self, $$props, $$invalidate) {
|
|
|
1595
1510
|
var Eraser = class extends SvelteComponent {
|
|
1596
1511
|
constructor(options) {
|
|
1597
1512
|
super();
|
|
1598
|
-
init(this, options,
|
|
1513
|
+
init(this, options, instance14, create_fragment14, safe_not_equal, { theme: 0, active: 1 });
|
|
1599
1514
|
}
|
|
1600
1515
|
};
|
|
1601
1516
|
var Eraser_default = Eraser;
|
|
1602
1517
|
|
|
1603
1518
|
// src/components/Icons/EraserFilled.svelte
|
|
1604
|
-
function
|
|
1519
|
+
function create_fragment15(ctx) {
|
|
1605
1520
|
let svg;
|
|
1606
1521
|
let path;
|
|
1607
1522
|
let svg_class_value;
|
|
@@ -1639,7 +1554,7 @@ function create_fragment16(ctx) {
|
|
|
1639
1554
|
}
|
|
1640
1555
|
};
|
|
1641
1556
|
}
|
|
1642
|
-
function
|
|
1557
|
+
function instance15($$self, $$props, $$invalidate) {
|
|
1643
1558
|
let { theme = "light" } = $$props;
|
|
1644
1559
|
let { active = false } = $$props;
|
|
1645
1560
|
$$self.$$set = ($$props2) => {
|
|
@@ -1653,13 +1568,13 @@ function instance16($$self, $$props, $$invalidate) {
|
|
|
1653
1568
|
var EraserFilled = class extends SvelteComponent {
|
|
1654
1569
|
constructor(options) {
|
|
1655
1570
|
super();
|
|
1656
|
-
init(this, options,
|
|
1571
|
+
init(this, options, instance15, create_fragment15, safe_not_equal, { theme: 0, active: 1 });
|
|
1657
1572
|
}
|
|
1658
1573
|
};
|
|
1659
1574
|
var EraserFilled_default = EraserFilled;
|
|
1660
1575
|
|
|
1661
1576
|
// src/components/Icons/Left.svelte
|
|
1662
|
-
function
|
|
1577
|
+
function create_fragment16(ctx) {
|
|
1663
1578
|
let svg;
|
|
1664
1579
|
let path;
|
|
1665
1580
|
let svg_class_value;
|
|
@@ -1697,7 +1612,7 @@ function create_fragment17(ctx) {
|
|
|
1697
1612
|
}
|
|
1698
1613
|
};
|
|
1699
1614
|
}
|
|
1700
|
-
function
|
|
1615
|
+
function instance16($$self, $$props, $$invalidate) {
|
|
1701
1616
|
let { theme = "light" } = $$props;
|
|
1702
1617
|
let { active = false } = $$props;
|
|
1703
1618
|
$$self.$$set = ($$props2) => {
|
|
@@ -1711,13 +1626,13 @@ function instance17($$self, $$props, $$invalidate) {
|
|
|
1711
1626
|
var Left = class extends SvelteComponent {
|
|
1712
1627
|
constructor(options) {
|
|
1713
1628
|
super();
|
|
1714
|
-
init(this, options,
|
|
1629
|
+
init(this, options, instance16, create_fragment16, safe_not_equal, { theme: 0, active: 1 });
|
|
1715
1630
|
}
|
|
1716
1631
|
};
|
|
1717
1632
|
var Left_default = Left;
|
|
1718
1633
|
|
|
1719
1634
|
// src/components/Icons/Line.svelte
|
|
1720
|
-
function
|
|
1635
|
+
function create_fragment17(ctx) {
|
|
1721
1636
|
let svg;
|
|
1722
1637
|
let path;
|
|
1723
1638
|
let svg_class_value;
|
|
@@ -1755,7 +1670,7 @@ function create_fragment18(ctx) {
|
|
|
1755
1670
|
}
|
|
1756
1671
|
};
|
|
1757
1672
|
}
|
|
1758
|
-
function
|
|
1673
|
+
function instance17($$self, $$props, $$invalidate) {
|
|
1759
1674
|
let { theme = "light" } = $$props;
|
|
1760
1675
|
let { active = false } = $$props;
|
|
1761
1676
|
$$self.$$set = ($$props2) => {
|
|
@@ -1769,13 +1684,13 @@ function instance18($$self, $$props, $$invalidate) {
|
|
|
1769
1684
|
var Line = class extends SvelteComponent {
|
|
1770
1685
|
constructor(options) {
|
|
1771
1686
|
super();
|
|
1772
|
-
init(this, options,
|
|
1687
|
+
init(this, options, instance17, create_fragment17, safe_not_equal, { theme: 0, active: 1 });
|
|
1773
1688
|
}
|
|
1774
1689
|
};
|
|
1775
1690
|
var Line_default = Line;
|
|
1776
1691
|
|
|
1777
1692
|
// src/components/Icons/LineBolded.svelte
|
|
1778
|
-
function
|
|
1693
|
+
function create_fragment18(ctx) {
|
|
1779
1694
|
let svg;
|
|
1780
1695
|
let path;
|
|
1781
1696
|
let svg_class_value;
|
|
@@ -1813,7 +1728,7 @@ function create_fragment19(ctx) {
|
|
|
1813
1728
|
}
|
|
1814
1729
|
};
|
|
1815
1730
|
}
|
|
1816
|
-
function
|
|
1731
|
+
function instance18($$self, $$props, $$invalidate) {
|
|
1817
1732
|
let { theme = "light" } = $$props;
|
|
1818
1733
|
let { active = false } = $$props;
|
|
1819
1734
|
$$self.$$set = ($$props2) => {
|
|
@@ -1827,13 +1742,13 @@ function instance19($$self, $$props, $$invalidate) {
|
|
|
1827
1742
|
var LineBolded = class extends SvelteComponent {
|
|
1828
1743
|
constructor(options) {
|
|
1829
1744
|
super();
|
|
1830
|
-
init(this, options,
|
|
1745
|
+
init(this, options, instance18, create_fragment18, safe_not_equal, { theme: 0, active: 1 });
|
|
1831
1746
|
}
|
|
1832
1747
|
};
|
|
1833
1748
|
var LineBolded_default = LineBolded;
|
|
1834
1749
|
|
|
1835
1750
|
// src/components/Icons/Minus.svelte
|
|
1836
|
-
function
|
|
1751
|
+
function create_fragment19(ctx) {
|
|
1837
1752
|
let svg;
|
|
1838
1753
|
let path;
|
|
1839
1754
|
let svg_class_value;
|
|
@@ -1871,7 +1786,7 @@ function create_fragment20(ctx) {
|
|
|
1871
1786
|
}
|
|
1872
1787
|
};
|
|
1873
1788
|
}
|
|
1874
|
-
function
|
|
1789
|
+
function instance19($$self, $$props, $$invalidate) {
|
|
1875
1790
|
let { theme = "light" } = $$props;
|
|
1876
1791
|
let { active = false } = $$props;
|
|
1877
1792
|
$$self.$$set = ($$props2) => {
|
|
@@ -1885,13 +1800,13 @@ function instance20($$self, $$props, $$invalidate) {
|
|
|
1885
1800
|
var Minus = class extends SvelteComponent {
|
|
1886
1801
|
constructor(options) {
|
|
1887
1802
|
super();
|
|
1888
|
-
init(this, options,
|
|
1803
|
+
init(this, options, instance19, create_fragment19, safe_not_equal, { theme: 0, active: 1 });
|
|
1889
1804
|
}
|
|
1890
1805
|
};
|
|
1891
1806
|
var Minus_default = Minus;
|
|
1892
1807
|
|
|
1893
1808
|
// src/components/Icons/Pencil.svelte
|
|
1894
|
-
function
|
|
1809
|
+
function create_fragment20(ctx) {
|
|
1895
1810
|
let svg;
|
|
1896
1811
|
let path0;
|
|
1897
1812
|
let path1;
|
|
@@ -1944,7 +1859,7 @@ function create_fragment21(ctx) {
|
|
|
1944
1859
|
}
|
|
1945
1860
|
};
|
|
1946
1861
|
}
|
|
1947
|
-
function
|
|
1862
|
+
function instance20($$self, $$props, $$invalidate) {
|
|
1948
1863
|
let { theme = "light" } = $$props;
|
|
1949
1864
|
let { active = false } = $$props;
|
|
1950
1865
|
$$self.$$set = ($$props2) => {
|
|
@@ -1958,13 +1873,13 @@ function instance21($$self, $$props, $$invalidate) {
|
|
|
1958
1873
|
var Pencil = class extends SvelteComponent {
|
|
1959
1874
|
constructor(options) {
|
|
1960
1875
|
super();
|
|
1961
|
-
init(this, options,
|
|
1876
|
+
init(this, options, instance20, create_fragment20, safe_not_equal, { theme: 0, active: 1 });
|
|
1962
1877
|
}
|
|
1963
1878
|
};
|
|
1964
1879
|
var Pencil_default = Pencil;
|
|
1965
1880
|
|
|
1966
1881
|
// src/components/Icons/PencilFilled.svelte
|
|
1967
|
-
function
|
|
1882
|
+
function create_fragment21(ctx) {
|
|
1968
1883
|
let svg;
|
|
1969
1884
|
let path;
|
|
1970
1885
|
let svg_class_value;
|
|
@@ -2002,7 +1917,7 @@ function create_fragment22(ctx) {
|
|
|
2002
1917
|
}
|
|
2003
1918
|
};
|
|
2004
1919
|
}
|
|
2005
|
-
function
|
|
1920
|
+
function instance21($$self, $$props, $$invalidate) {
|
|
2006
1921
|
let { theme = "light" } = $$props;
|
|
2007
1922
|
let { active = false } = $$props;
|
|
2008
1923
|
$$self.$$set = ($$props2) => {
|
|
@@ -2016,13 +1931,13 @@ function instance22($$self, $$props, $$invalidate) {
|
|
|
2016
1931
|
var PencilFilled = class extends SvelteComponent {
|
|
2017
1932
|
constructor(options) {
|
|
2018
1933
|
super();
|
|
2019
|
-
init(this, options,
|
|
1934
|
+
init(this, options, instance21, create_fragment21, safe_not_equal, { theme: 0, active: 1 });
|
|
2020
1935
|
}
|
|
2021
1936
|
};
|
|
2022
1937
|
var PencilFilled_default = PencilFilled;
|
|
2023
1938
|
|
|
2024
1939
|
// src/components/Icons/Plus.svelte
|
|
2025
|
-
function
|
|
1940
|
+
function create_fragment22(ctx) {
|
|
2026
1941
|
let svg;
|
|
2027
1942
|
let path;
|
|
2028
1943
|
let svg_class_value;
|
|
@@ -2060,7 +1975,7 @@ function create_fragment23(ctx) {
|
|
|
2060
1975
|
}
|
|
2061
1976
|
};
|
|
2062
1977
|
}
|
|
2063
|
-
function
|
|
1978
|
+
function instance22($$self, $$props, $$invalidate) {
|
|
2064
1979
|
let { theme = "light" } = $$props;
|
|
2065
1980
|
let { active = false } = $$props;
|
|
2066
1981
|
$$self.$$set = ($$props2) => {
|
|
@@ -2074,13 +1989,13 @@ function instance23($$self, $$props, $$invalidate) {
|
|
|
2074
1989
|
var Plus = class extends SvelteComponent {
|
|
2075
1990
|
constructor(options) {
|
|
2076
1991
|
super();
|
|
2077
|
-
init(this, options,
|
|
1992
|
+
init(this, options, instance22, create_fragment22, safe_not_equal, { theme: 0, active: 1 });
|
|
2078
1993
|
}
|
|
2079
1994
|
};
|
|
2080
1995
|
var Plus_default = Plus;
|
|
2081
1996
|
|
|
2082
1997
|
// src/components/Icons/Rectangle.svelte
|
|
2083
|
-
function
|
|
1998
|
+
function create_fragment23(ctx) {
|
|
2084
1999
|
let svg;
|
|
2085
2000
|
let path;
|
|
2086
2001
|
let svg_class_value;
|
|
@@ -2118,7 +2033,7 @@ function create_fragment24(ctx) {
|
|
|
2118
2033
|
}
|
|
2119
2034
|
};
|
|
2120
2035
|
}
|
|
2121
|
-
function
|
|
2036
|
+
function instance23($$self, $$props, $$invalidate) {
|
|
2122
2037
|
let { theme = "light" } = $$props;
|
|
2123
2038
|
let { active = false } = $$props;
|
|
2124
2039
|
$$self.$$set = ($$props2) => {
|
|
@@ -2132,13 +2047,13 @@ function instance24($$self, $$props, $$invalidate) {
|
|
|
2132
2047
|
var Rectangle = class extends SvelteComponent {
|
|
2133
2048
|
constructor(options) {
|
|
2134
2049
|
super();
|
|
2135
|
-
init(this, options,
|
|
2050
|
+
init(this, options, instance23, create_fragment23, safe_not_equal, { theme: 0, active: 1 });
|
|
2136
2051
|
}
|
|
2137
2052
|
};
|
|
2138
2053
|
var Rectangle_default = Rectangle;
|
|
2139
2054
|
|
|
2140
2055
|
// src/components/Icons/RectangleBolded.svelte
|
|
2141
|
-
function
|
|
2056
|
+
function create_fragment24(ctx) {
|
|
2142
2057
|
let svg;
|
|
2143
2058
|
let path;
|
|
2144
2059
|
let svg_class_value;
|
|
@@ -2176,7 +2091,7 @@ function create_fragment25(ctx) {
|
|
|
2176
2091
|
}
|
|
2177
2092
|
};
|
|
2178
2093
|
}
|
|
2179
|
-
function
|
|
2094
|
+
function instance24($$self, $$props, $$invalidate) {
|
|
2180
2095
|
let { theme = "light" } = $$props;
|
|
2181
2096
|
let { active = false } = $$props;
|
|
2182
2097
|
$$self.$$set = ($$props2) => {
|
|
@@ -2190,13 +2105,13 @@ function instance25($$self, $$props, $$invalidate) {
|
|
|
2190
2105
|
var RectangleBolded = class extends SvelteComponent {
|
|
2191
2106
|
constructor(options) {
|
|
2192
2107
|
super();
|
|
2193
|
-
init(this, options,
|
|
2108
|
+
init(this, options, instance24, create_fragment24, safe_not_equal, { theme: 0, active: 1 });
|
|
2194
2109
|
}
|
|
2195
2110
|
};
|
|
2196
2111
|
var RectangleBolded_default = RectangleBolded;
|
|
2197
2112
|
|
|
2198
2113
|
// src/components/Icons/Redo.svelte
|
|
2199
|
-
function
|
|
2114
|
+
function create_fragment25(ctx) {
|
|
2200
2115
|
let svg;
|
|
2201
2116
|
let path0;
|
|
2202
2117
|
let path1;
|
|
@@ -2238,7 +2153,7 @@ function create_fragment26(ctx) {
|
|
|
2238
2153
|
}
|
|
2239
2154
|
};
|
|
2240
2155
|
}
|
|
2241
|
-
function
|
|
2156
|
+
function instance25($$self, $$props, $$invalidate) {
|
|
2242
2157
|
let { theme = "light" } = $$props;
|
|
2243
2158
|
let { active = false } = $$props;
|
|
2244
2159
|
$$self.$$set = ($$props2) => {
|
|
@@ -2252,13 +2167,13 @@ function instance26($$self, $$props, $$invalidate) {
|
|
|
2252
2167
|
var Redo = class extends SvelteComponent {
|
|
2253
2168
|
constructor(options) {
|
|
2254
2169
|
super();
|
|
2255
|
-
init(this, options,
|
|
2170
|
+
init(this, options, instance25, create_fragment25, safe_not_equal, { theme: 0, active: 1 });
|
|
2256
2171
|
}
|
|
2257
2172
|
};
|
|
2258
2173
|
var Redo_default = Redo;
|
|
2259
2174
|
|
|
2260
2175
|
// src/components/Icons/Reset.svelte
|
|
2261
|
-
function
|
|
2176
|
+
function create_fragment26(ctx) {
|
|
2262
2177
|
let svg;
|
|
2263
2178
|
let circle0;
|
|
2264
2179
|
let path;
|
|
@@ -2314,7 +2229,7 @@ function create_fragment27(ctx) {
|
|
|
2314
2229
|
}
|
|
2315
2230
|
};
|
|
2316
2231
|
}
|
|
2317
|
-
function
|
|
2232
|
+
function instance26($$self, $$props, $$invalidate) {
|
|
2318
2233
|
let { theme = "light" } = $$props;
|
|
2319
2234
|
let { active = false } = $$props;
|
|
2320
2235
|
$$self.$$set = ($$props2) => {
|
|
@@ -2328,13 +2243,13 @@ function instance27($$self, $$props, $$invalidate) {
|
|
|
2328
2243
|
var Reset = class extends SvelteComponent {
|
|
2329
2244
|
constructor(options) {
|
|
2330
2245
|
super();
|
|
2331
|
-
init(this, options,
|
|
2246
|
+
init(this, options, instance26, create_fragment26, safe_not_equal, { theme: 0, active: 1 });
|
|
2332
2247
|
}
|
|
2333
2248
|
};
|
|
2334
2249
|
var Reset_default = Reset;
|
|
2335
2250
|
|
|
2336
2251
|
// src/components/Icons/Rhombus.svelte
|
|
2337
|
-
function
|
|
2252
|
+
function create_fragment27(ctx) {
|
|
2338
2253
|
let svg;
|
|
2339
2254
|
let path;
|
|
2340
2255
|
let svg_class_value;
|
|
@@ -2372,7 +2287,7 @@ function create_fragment28(ctx) {
|
|
|
2372
2287
|
}
|
|
2373
2288
|
};
|
|
2374
2289
|
}
|
|
2375
|
-
function
|
|
2290
|
+
function instance27($$self, $$props, $$invalidate) {
|
|
2376
2291
|
let { theme = "light" } = $$props;
|
|
2377
2292
|
let { active = false } = $$props;
|
|
2378
2293
|
$$self.$$set = ($$props2) => {
|
|
@@ -2386,13 +2301,13 @@ function instance28($$self, $$props, $$invalidate) {
|
|
|
2386
2301
|
var Rhombus = class extends SvelteComponent {
|
|
2387
2302
|
constructor(options) {
|
|
2388
2303
|
super();
|
|
2389
|
-
init(this, options,
|
|
2304
|
+
init(this, options, instance27, create_fragment27, safe_not_equal, { theme: 0, active: 1 });
|
|
2390
2305
|
}
|
|
2391
2306
|
};
|
|
2392
2307
|
var Rhombus_default = Rhombus;
|
|
2393
2308
|
|
|
2394
2309
|
// src/components/Icons/RhombusBolded.svelte
|
|
2395
|
-
function
|
|
2310
|
+
function create_fragment28(ctx) {
|
|
2396
2311
|
let svg;
|
|
2397
2312
|
let path;
|
|
2398
2313
|
let svg_class_value;
|
|
@@ -2430,7 +2345,7 @@ function create_fragment29(ctx) {
|
|
|
2430
2345
|
}
|
|
2431
2346
|
};
|
|
2432
2347
|
}
|
|
2433
|
-
function
|
|
2348
|
+
function instance28($$self, $$props, $$invalidate) {
|
|
2434
2349
|
let { theme = "light" } = $$props;
|
|
2435
2350
|
let { active = false } = $$props;
|
|
2436
2351
|
$$self.$$set = ($$props2) => {
|
|
@@ -2444,13 +2359,13 @@ function instance29($$self, $$props, $$invalidate) {
|
|
|
2444
2359
|
var RhombusBolded = class extends SvelteComponent {
|
|
2445
2360
|
constructor(options) {
|
|
2446
2361
|
super();
|
|
2447
|
-
init(this, options,
|
|
2362
|
+
init(this, options, instance28, create_fragment28, safe_not_equal, { theme: 0, active: 1 });
|
|
2448
2363
|
}
|
|
2449
2364
|
};
|
|
2450
2365
|
var RhombusBolded_default = RhombusBolded;
|
|
2451
2366
|
|
|
2452
2367
|
// src/components/Icons/Right.svelte
|
|
2453
|
-
function
|
|
2368
|
+
function create_fragment29(ctx) {
|
|
2454
2369
|
let svg;
|
|
2455
2370
|
let path;
|
|
2456
2371
|
let svg_class_value;
|
|
@@ -2488,7 +2403,7 @@ function create_fragment30(ctx) {
|
|
|
2488
2403
|
}
|
|
2489
2404
|
};
|
|
2490
2405
|
}
|
|
2491
|
-
function
|
|
2406
|
+
function instance29($$self, $$props, $$invalidate) {
|
|
2492
2407
|
let { theme = "light" } = $$props;
|
|
2493
2408
|
let { active = false } = $$props;
|
|
2494
2409
|
$$self.$$set = ($$props2) => {
|
|
@@ -2502,13 +2417,13 @@ function instance30($$self, $$props, $$invalidate) {
|
|
|
2502
2417
|
var Right = class extends SvelteComponent {
|
|
2503
2418
|
constructor(options) {
|
|
2504
2419
|
super();
|
|
2505
|
-
init(this, options,
|
|
2420
|
+
init(this, options, instance29, create_fragment29, safe_not_equal, { theme: 0, active: 1 });
|
|
2506
2421
|
}
|
|
2507
2422
|
};
|
|
2508
2423
|
var Right_default = Right;
|
|
2509
2424
|
|
|
2510
2425
|
// src/components/Icons/Selector.svelte
|
|
2511
|
-
function
|
|
2426
|
+
function create_fragment30(ctx) {
|
|
2512
2427
|
let svg;
|
|
2513
2428
|
let path0;
|
|
2514
2429
|
let path1;
|
|
@@ -2555,7 +2470,7 @@ function create_fragment31(ctx) {
|
|
|
2555
2470
|
}
|
|
2556
2471
|
};
|
|
2557
2472
|
}
|
|
2558
|
-
function
|
|
2473
|
+
function instance30($$self, $$props, $$invalidate) {
|
|
2559
2474
|
let { theme = "light" } = $$props;
|
|
2560
2475
|
let { active = false } = $$props;
|
|
2561
2476
|
$$self.$$set = ($$props2) => {
|
|
@@ -2569,13 +2484,13 @@ function instance31($$self, $$props, $$invalidate) {
|
|
|
2569
2484
|
var Selector = class extends SvelteComponent {
|
|
2570
2485
|
constructor(options) {
|
|
2571
2486
|
super();
|
|
2572
|
-
init(this, options,
|
|
2487
|
+
init(this, options, instance30, create_fragment30, safe_not_equal, { theme: 0, active: 1 });
|
|
2573
2488
|
}
|
|
2574
2489
|
};
|
|
2575
2490
|
var Selector_default = Selector;
|
|
2576
2491
|
|
|
2577
2492
|
// src/components/Icons/SelectorFilled.svelte
|
|
2578
|
-
function
|
|
2493
|
+
function create_fragment31(ctx) {
|
|
2579
2494
|
let svg;
|
|
2580
2495
|
let path0;
|
|
2581
2496
|
let path1;
|
|
@@ -2620,7 +2535,7 @@ function create_fragment32(ctx) {
|
|
|
2620
2535
|
}
|
|
2621
2536
|
};
|
|
2622
2537
|
}
|
|
2623
|
-
function
|
|
2538
|
+
function instance31($$self, $$props, $$invalidate) {
|
|
2624
2539
|
let { theme = "light" } = $$props;
|
|
2625
2540
|
let { active = false } = $$props;
|
|
2626
2541
|
$$self.$$set = ($$props2) => {
|
|
@@ -2634,13 +2549,13 @@ function instance32($$self, $$props, $$invalidate) {
|
|
|
2634
2549
|
var SelectorFilled = class extends SvelteComponent {
|
|
2635
2550
|
constructor(options) {
|
|
2636
2551
|
super();
|
|
2637
|
-
init(this, options,
|
|
2552
|
+
init(this, options, instance31, create_fragment31, safe_not_equal, { theme: 0, active: 1 });
|
|
2638
2553
|
}
|
|
2639
2554
|
};
|
|
2640
2555
|
var SelectorFilled_default = SelectorFilled;
|
|
2641
2556
|
|
|
2642
2557
|
// src/components/Icons/SpeechBalloon.svelte
|
|
2643
|
-
function
|
|
2558
|
+
function create_fragment32(ctx) {
|
|
2644
2559
|
let svg;
|
|
2645
2560
|
let path;
|
|
2646
2561
|
let svg_class_value;
|
|
@@ -2678,7 +2593,7 @@ function create_fragment33(ctx) {
|
|
|
2678
2593
|
}
|
|
2679
2594
|
};
|
|
2680
2595
|
}
|
|
2681
|
-
function
|
|
2596
|
+
function instance32($$self, $$props, $$invalidate) {
|
|
2682
2597
|
let { theme = "light" } = $$props;
|
|
2683
2598
|
let { active = false } = $$props;
|
|
2684
2599
|
$$self.$$set = ($$props2) => {
|
|
@@ -2692,13 +2607,13 @@ function instance33($$self, $$props, $$invalidate) {
|
|
|
2692
2607
|
var SpeechBalloon = class extends SvelteComponent {
|
|
2693
2608
|
constructor(options) {
|
|
2694
2609
|
super();
|
|
2695
|
-
init(this, options,
|
|
2610
|
+
init(this, options, instance32, create_fragment32, safe_not_equal, { theme: 0, active: 1 });
|
|
2696
2611
|
}
|
|
2697
2612
|
};
|
|
2698
2613
|
var SpeechBalloon_default = SpeechBalloon;
|
|
2699
2614
|
|
|
2700
2615
|
// src/components/Icons/Star.svelte
|
|
2701
|
-
function
|
|
2616
|
+
function create_fragment33(ctx) {
|
|
2702
2617
|
let svg;
|
|
2703
2618
|
let path;
|
|
2704
2619
|
let svg_class_value;
|
|
@@ -2736,7 +2651,7 @@ function create_fragment34(ctx) {
|
|
|
2736
2651
|
}
|
|
2737
2652
|
};
|
|
2738
2653
|
}
|
|
2739
|
-
function
|
|
2654
|
+
function instance33($$self, $$props, $$invalidate) {
|
|
2740
2655
|
let { theme = "light" } = $$props;
|
|
2741
2656
|
let { active = false } = $$props;
|
|
2742
2657
|
$$self.$$set = ($$props2) => {
|
|
@@ -2750,13 +2665,13 @@ function instance34($$self, $$props, $$invalidate) {
|
|
|
2750
2665
|
var Star = class extends SvelteComponent {
|
|
2751
2666
|
constructor(options) {
|
|
2752
2667
|
super();
|
|
2753
|
-
init(this, options,
|
|
2668
|
+
init(this, options, instance33, create_fragment33, safe_not_equal, { theme: 0, active: 1 });
|
|
2754
2669
|
}
|
|
2755
2670
|
};
|
|
2756
2671
|
var Star_default = Star;
|
|
2757
2672
|
|
|
2758
2673
|
// src/components/Icons/StarBolded.svelte
|
|
2759
|
-
function
|
|
2674
|
+
function create_fragment34(ctx) {
|
|
2760
2675
|
let svg;
|
|
2761
2676
|
let path;
|
|
2762
2677
|
let svg_class_value;
|
|
@@ -2794,7 +2709,7 @@ function create_fragment35(ctx) {
|
|
|
2794
2709
|
}
|
|
2795
2710
|
};
|
|
2796
2711
|
}
|
|
2797
|
-
function
|
|
2712
|
+
function instance34($$self, $$props, $$invalidate) {
|
|
2798
2713
|
let { theme = "light" } = $$props;
|
|
2799
2714
|
let { active = false } = $$props;
|
|
2800
2715
|
$$self.$$set = ($$props2) => {
|
|
@@ -2808,13 +2723,13 @@ function instance35($$self, $$props, $$invalidate) {
|
|
|
2808
2723
|
var StarBolded = class extends SvelteComponent {
|
|
2809
2724
|
constructor(options) {
|
|
2810
2725
|
super();
|
|
2811
|
-
init(this, options,
|
|
2726
|
+
init(this, options, instance34, create_fragment34, safe_not_equal, { theme: 0, active: 1 });
|
|
2812
2727
|
}
|
|
2813
2728
|
};
|
|
2814
2729
|
var StarBolded_default = StarBolded;
|
|
2815
2730
|
|
|
2816
2731
|
// src/components/Icons/Text.svelte
|
|
2817
|
-
function
|
|
2732
|
+
function create_fragment35(ctx) {
|
|
2818
2733
|
let svg;
|
|
2819
2734
|
let path;
|
|
2820
2735
|
let svg_class_value;
|
|
@@ -2852,7 +2767,7 @@ function create_fragment36(ctx) {
|
|
|
2852
2767
|
}
|
|
2853
2768
|
};
|
|
2854
2769
|
}
|
|
2855
|
-
function
|
|
2770
|
+
function instance35($$self, $$props, $$invalidate) {
|
|
2856
2771
|
let { theme = "light" } = $$props;
|
|
2857
2772
|
let { active = false } = $$props;
|
|
2858
2773
|
$$self.$$set = ($$props2) => {
|
|
@@ -2866,13 +2781,13 @@ function instance36($$self, $$props, $$invalidate) {
|
|
|
2866
2781
|
var Text = class extends SvelteComponent {
|
|
2867
2782
|
constructor(options) {
|
|
2868
2783
|
super();
|
|
2869
|
-
init(this, options,
|
|
2784
|
+
init(this, options, instance35, create_fragment35, safe_not_equal, { theme: 0, active: 1 });
|
|
2870
2785
|
}
|
|
2871
2786
|
};
|
|
2872
2787
|
var Text_default = Text;
|
|
2873
2788
|
|
|
2874
2789
|
// src/components/Icons/TextFilled.svelte
|
|
2875
|
-
function
|
|
2790
|
+
function create_fragment36(ctx) {
|
|
2876
2791
|
let svg;
|
|
2877
2792
|
let path0;
|
|
2878
2793
|
let path1;
|
|
@@ -2917,7 +2832,7 @@ function create_fragment37(ctx) {
|
|
|
2917
2832
|
}
|
|
2918
2833
|
};
|
|
2919
2834
|
}
|
|
2920
|
-
function
|
|
2835
|
+
function instance36($$self, $$props, $$invalidate) {
|
|
2921
2836
|
let { theme = "light" } = $$props;
|
|
2922
2837
|
let { active = false } = $$props;
|
|
2923
2838
|
$$self.$$set = ($$props2) => {
|
|
@@ -2931,13 +2846,13 @@ function instance37($$self, $$props, $$invalidate) {
|
|
|
2931
2846
|
var TextFilled = class extends SvelteComponent {
|
|
2932
2847
|
constructor(options) {
|
|
2933
2848
|
super();
|
|
2934
|
-
init(this, options,
|
|
2849
|
+
init(this, options, instance36, create_fragment36, safe_not_equal, { theme: 0, active: 1 });
|
|
2935
2850
|
}
|
|
2936
2851
|
};
|
|
2937
2852
|
var TextFilled_default = TextFilled;
|
|
2938
2853
|
|
|
2939
2854
|
// src/components/Icons/Triangle.svelte
|
|
2940
|
-
function
|
|
2855
|
+
function create_fragment37(ctx) {
|
|
2941
2856
|
let svg;
|
|
2942
2857
|
let path;
|
|
2943
2858
|
let svg_class_value;
|
|
@@ -2975,7 +2890,7 @@ function create_fragment38(ctx) {
|
|
|
2975
2890
|
}
|
|
2976
2891
|
};
|
|
2977
2892
|
}
|
|
2978
|
-
function
|
|
2893
|
+
function instance37($$self, $$props, $$invalidate) {
|
|
2979
2894
|
let { theme = "light" } = $$props;
|
|
2980
2895
|
let { active = false } = $$props;
|
|
2981
2896
|
$$self.$$set = ($$props2) => {
|
|
@@ -2989,13 +2904,13 @@ function instance38($$self, $$props, $$invalidate) {
|
|
|
2989
2904
|
var Triangle = class extends SvelteComponent {
|
|
2990
2905
|
constructor(options) {
|
|
2991
2906
|
super();
|
|
2992
|
-
init(this, options,
|
|
2907
|
+
init(this, options, instance37, create_fragment37, safe_not_equal, { theme: 0, active: 1 });
|
|
2993
2908
|
}
|
|
2994
2909
|
};
|
|
2995
2910
|
var Triangle_default = Triangle;
|
|
2996
2911
|
|
|
2997
2912
|
// src/components/Icons/TriangleBolded.svelte
|
|
2998
|
-
function
|
|
2913
|
+
function create_fragment38(ctx) {
|
|
2999
2914
|
let svg;
|
|
3000
2915
|
let path;
|
|
3001
2916
|
let svg_class_value;
|
|
@@ -3033,7 +2948,7 @@ function create_fragment39(ctx) {
|
|
|
3033
2948
|
}
|
|
3034
2949
|
};
|
|
3035
2950
|
}
|
|
3036
|
-
function
|
|
2951
|
+
function instance38($$self, $$props, $$invalidate) {
|
|
3037
2952
|
let { theme = "light" } = $$props;
|
|
3038
2953
|
let { active = false } = $$props;
|
|
3039
2954
|
$$self.$$set = ($$props2) => {
|
|
@@ -3047,13 +2962,13 @@ function instance39($$self, $$props, $$invalidate) {
|
|
|
3047
2962
|
var TriangleBolded = class extends SvelteComponent {
|
|
3048
2963
|
constructor(options) {
|
|
3049
2964
|
super();
|
|
3050
|
-
init(this, options,
|
|
2965
|
+
init(this, options, instance38, create_fragment38, safe_not_equal, { theme: 0, active: 1 });
|
|
3051
2966
|
}
|
|
3052
2967
|
};
|
|
3053
2968
|
var TriangleBolded_default = TriangleBolded;
|
|
3054
2969
|
|
|
3055
2970
|
// src/components/Icons/Undo.svelte
|
|
3056
|
-
function
|
|
2971
|
+
function create_fragment39(ctx) {
|
|
3057
2972
|
let svg;
|
|
3058
2973
|
let path0;
|
|
3059
2974
|
let path1;
|
|
@@ -3095,7 +3010,7 @@ function create_fragment40(ctx) {
|
|
|
3095
3010
|
}
|
|
3096
3011
|
};
|
|
3097
3012
|
}
|
|
3098
|
-
function
|
|
3013
|
+
function instance39($$self, $$props, $$invalidate) {
|
|
3099
3014
|
let { theme = "light" } = $$props;
|
|
3100
3015
|
let { active = false } = $$props;
|
|
3101
3016
|
$$self.$$set = ($$props2) => {
|
|
@@ -3109,13 +3024,13 @@ function instance40($$self, $$props, $$invalidate) {
|
|
|
3109
3024
|
var Undo = class extends SvelteComponent {
|
|
3110
3025
|
constructor(options) {
|
|
3111
3026
|
super();
|
|
3112
|
-
init(this, options,
|
|
3027
|
+
init(this, options, instance39, create_fragment39, safe_not_equal, { theme: 0, active: 1 });
|
|
3113
3028
|
}
|
|
3114
3029
|
};
|
|
3115
3030
|
var Undo_default = Undo;
|
|
3116
3031
|
|
|
3117
3032
|
// src/components/Icons/Up.svelte
|
|
3118
|
-
function
|
|
3033
|
+
function create_fragment40(ctx) {
|
|
3119
3034
|
let svg;
|
|
3120
3035
|
let path;
|
|
3121
3036
|
let svg_class_value;
|
|
@@ -3153,7 +3068,7 @@ function create_fragment41(ctx) {
|
|
|
3153
3068
|
}
|
|
3154
3069
|
};
|
|
3155
3070
|
}
|
|
3156
|
-
function
|
|
3071
|
+
function instance40($$self, $$props, $$invalidate) {
|
|
3157
3072
|
let { theme = "light" } = $$props;
|
|
3158
3073
|
let { active = false } = $$props;
|
|
3159
3074
|
$$self.$$set = ($$props2) => {
|
|
@@ -3167,13 +3082,13 @@ function instance41($$self, $$props, $$invalidate) {
|
|
|
3167
3082
|
var Up = class extends SvelteComponent {
|
|
3168
3083
|
constructor(options) {
|
|
3169
3084
|
super();
|
|
3170
|
-
init(this, options,
|
|
3085
|
+
init(this, options, instance40, create_fragment40, safe_not_equal, { theme: 0, active: 1 });
|
|
3171
3086
|
}
|
|
3172
3087
|
};
|
|
3173
3088
|
var Up_default = Up;
|
|
3174
3089
|
|
|
3175
3090
|
// src/components/Icons/WhiteboardAdd.svelte
|
|
3176
|
-
function
|
|
3091
|
+
function create_fragment41(ctx) {
|
|
3177
3092
|
let svg;
|
|
3178
3093
|
let path0;
|
|
3179
3094
|
let rect;
|
|
@@ -3231,7 +3146,7 @@ function create_fragment42(ctx) {
|
|
|
3231
3146
|
}
|
|
3232
3147
|
};
|
|
3233
3148
|
}
|
|
3234
|
-
function
|
|
3149
|
+
function instance41($$self, $$props, $$invalidate) {
|
|
3235
3150
|
let { theme = "light" } = $$props;
|
|
3236
3151
|
let { active = false } = $$props;
|
|
3237
3152
|
$$self.$$set = ($$props2) => {
|
|
@@ -3245,13 +3160,13 @@ function instance42($$self, $$props, $$invalidate) {
|
|
|
3245
3160
|
var WhiteboardAdd = class extends SvelteComponent {
|
|
3246
3161
|
constructor(options) {
|
|
3247
3162
|
super();
|
|
3248
|
-
init(this, options,
|
|
3163
|
+
init(this, options, instance41, create_fragment41, safe_not_equal, { theme: 0, active: 1 });
|
|
3249
3164
|
}
|
|
3250
3165
|
};
|
|
3251
3166
|
var WhiteboardAdd_default = WhiteboardAdd;
|
|
3252
3167
|
|
|
3253
3168
|
// src/components/Icons/Play.svelte
|
|
3254
|
-
function
|
|
3169
|
+
function create_fragment42(ctx) {
|
|
3255
3170
|
let svg;
|
|
3256
3171
|
let path;
|
|
3257
3172
|
let svg_class_value;
|
|
@@ -3287,7 +3202,7 @@ function create_fragment43(ctx) {
|
|
|
3287
3202
|
}
|
|
3288
3203
|
};
|
|
3289
3204
|
}
|
|
3290
|
-
function
|
|
3205
|
+
function instance42($$self, $$props, $$invalidate) {
|
|
3291
3206
|
let { theme = "light" } = $$props;
|
|
3292
3207
|
let { active = false } = $$props;
|
|
3293
3208
|
$$self.$$set = ($$props2) => {
|
|
@@ -3301,13 +3216,13 @@ function instance43($$self, $$props, $$invalidate) {
|
|
|
3301
3216
|
var Play = class extends SvelteComponent {
|
|
3302
3217
|
constructor(options) {
|
|
3303
3218
|
super();
|
|
3304
|
-
init(this, options,
|
|
3219
|
+
init(this, options, instance42, create_fragment42, safe_not_equal, { theme: 0, active: 1 });
|
|
3305
3220
|
}
|
|
3306
3221
|
};
|
|
3307
3222
|
var Play_default = Play;
|
|
3308
3223
|
|
|
3309
3224
|
// src/components/Icons/Pause.svelte
|
|
3310
|
-
function
|
|
3225
|
+
function create_fragment43(ctx) {
|
|
3311
3226
|
let svg;
|
|
3312
3227
|
let path;
|
|
3313
3228
|
let svg_class_value;
|
|
@@ -3343,7 +3258,7 @@ function create_fragment44(ctx) {
|
|
|
3343
3258
|
}
|
|
3344
3259
|
};
|
|
3345
3260
|
}
|
|
3346
|
-
function
|
|
3261
|
+
function instance43($$self, $$props, $$invalidate) {
|
|
3347
3262
|
let { theme = "light" } = $$props;
|
|
3348
3263
|
let { active = false } = $$props;
|
|
3349
3264
|
$$self.$$set = ($$props2) => {
|
|
@@ -3357,13 +3272,13 @@ function instance44($$self, $$props, $$invalidate) {
|
|
|
3357
3272
|
var Pause = class extends SvelteComponent {
|
|
3358
3273
|
constructor(options) {
|
|
3359
3274
|
super();
|
|
3360
|
-
init(this, options,
|
|
3275
|
+
init(this, options, instance43, create_fragment43, safe_not_equal, { theme: 0, active: 1 });
|
|
3361
3276
|
}
|
|
3362
3277
|
};
|
|
3363
3278
|
var Pause_default = Pause;
|
|
3364
3279
|
|
|
3365
3280
|
// src/components/Icons/Loading.svelte
|
|
3366
|
-
function
|
|
3281
|
+
function create_fragment44(ctx) {
|
|
3367
3282
|
let svg;
|
|
3368
3283
|
let path;
|
|
3369
3284
|
let svg_class_value;
|
|
@@ -3399,7 +3314,7 @@ function create_fragment45(ctx) {
|
|
|
3399
3314
|
}
|
|
3400
3315
|
};
|
|
3401
3316
|
}
|
|
3402
|
-
function
|
|
3317
|
+
function instance44($$self, $$props, $$invalidate) {
|
|
3403
3318
|
let { theme = "light" } = $$props;
|
|
3404
3319
|
let { active = false } = $$props;
|
|
3405
3320
|
$$self.$$set = ($$props2) => {
|
|
@@ -3413,7 +3328,7 @@ function instance45($$self, $$props, $$invalidate) {
|
|
|
3413
3328
|
var Loading = class extends SvelteComponent {
|
|
3414
3329
|
constructor(options) {
|
|
3415
3330
|
super();
|
|
3416
|
-
init(this, options,
|
|
3331
|
+
init(this, options, instance44, create_fragment44, safe_not_equal, { theme: 0, active: 1 });
|
|
3417
3332
|
}
|
|
3418
3333
|
};
|
|
3419
3334
|
var Loading_default = Loading;
|
|
@@ -3427,7 +3342,6 @@ var Icons = {
|
|
|
3427
3342
|
BalloonBolded: BalloonBolded_default,
|
|
3428
3343
|
Circle: Circle_default,
|
|
3429
3344
|
CircleBolded: CircleBolded_default,
|
|
3430
|
-
Clean: Clean_default,
|
|
3431
3345
|
Clear: Clear_default,
|
|
3432
3346
|
Click: Click_default,
|
|
3433
3347
|
ClickFilled: ClickFilled_default,
|
|
@@ -3466,9 +3380,6 @@ var Icons = {
|
|
|
3466
3380
|
Loading: Loading_default
|
|
3467
3381
|
};
|
|
3468
3382
|
var Icons_default = Icons;
|
|
3469
|
-
|
|
3470
|
-
// src/actions/tippy.ts
|
|
3471
|
-
import Tippy from "tippy.js";
|
|
3472
3383
|
if (is_client) {
|
|
3473
3384
|
Tippy.setDefaultProps({
|
|
3474
3385
|
delay: [1e3, 400],
|
|
@@ -3479,12 +3390,12 @@ if (is_client) {
|
|
|
3479
3390
|
{
|
|
3480
3391
|
name: "className",
|
|
3481
3392
|
defaultValue: "",
|
|
3482
|
-
fn(
|
|
3393
|
+
fn(instance59) {
|
|
3483
3394
|
function add() {
|
|
3484
|
-
const el =
|
|
3395
|
+
const el = instance59.popper.firstElementChild;
|
|
3485
3396
|
if (el) {
|
|
3486
3397
|
el.classList.add("fastboard-tip");
|
|
3487
|
-
const extra = (
|
|
3398
|
+
const extra = (instance59.props.className || "").trim();
|
|
3488
3399
|
if (extra) {
|
|
3489
3400
|
el.classList.add(extra);
|
|
3490
3401
|
}
|
|
@@ -3492,7 +3403,7 @@ if (is_client) {
|
|
|
3492
3403
|
}
|
|
3493
3404
|
function remove() {
|
|
3494
3405
|
var _a;
|
|
3495
|
-
(_a =
|
|
3406
|
+
(_a = instance59.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3496
3407
|
}
|
|
3497
3408
|
return {
|
|
3498
3409
|
onCreate: add,
|
|
@@ -3505,21 +3416,21 @@ if (is_client) {
|
|
|
3505
3416
|
});
|
|
3506
3417
|
}
|
|
3507
3418
|
var tippy = function(node, props) {
|
|
3508
|
-
const
|
|
3419
|
+
const instance59 = Tippy(node, props);
|
|
3509
3420
|
return {
|
|
3510
3421
|
update(props2) {
|
|
3511
|
-
|
|
3422
|
+
instance59.setProps(props2);
|
|
3512
3423
|
},
|
|
3513
3424
|
destroy() {
|
|
3514
|
-
|
|
3425
|
+
instance59.destroy();
|
|
3515
3426
|
}
|
|
3516
3427
|
};
|
|
3517
3428
|
};
|
|
3518
3429
|
function tippy_hide_all() {
|
|
3519
3430
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3520
|
-
const
|
|
3521
|
-
if (
|
|
3522
|
-
|
|
3431
|
+
const instance59 = el._tippy;
|
|
3432
|
+
if (instance59)
|
|
3433
|
+
instance59.hide();
|
|
3523
3434
|
});
|
|
3524
3435
|
}
|
|
3525
3436
|
var tippy_menu = {
|
|
@@ -3603,7 +3514,7 @@ function create_if_block2(ctx) {
|
|
|
3603
3514
|
return 0;
|
|
3604
3515
|
return 1;
|
|
3605
3516
|
}
|
|
3606
|
-
current_block_type_index = select_block_type_1(ctx
|
|
3517
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
3607
3518
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3608
3519
|
return {
|
|
3609
3520
|
c() {
|
|
@@ -3617,7 +3528,7 @@ function create_if_block2(ctx) {
|
|
|
3617
3528
|
},
|
|
3618
3529
|
p(ctx2, dirty) {
|
|
3619
3530
|
let previous_block_index = current_block_type_index;
|
|
3620
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
3531
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
3621
3532
|
if (current_block_type_index === previous_block_index) {
|
|
3622
3533
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3623
3534
|
} else {
|
|
@@ -3839,7 +3750,7 @@ function create_if_block_1(ctx) {
|
|
|
3839
3750
|
}
|
|
3840
3751
|
};
|
|
3841
3752
|
}
|
|
3842
|
-
function
|
|
3753
|
+
function create_fragment45(ctx) {
|
|
3843
3754
|
let current_block_type_index;
|
|
3844
3755
|
let if_block;
|
|
3845
3756
|
let if_block_anchor;
|
|
@@ -3851,7 +3762,7 @@ function create_fragment46(ctx) {
|
|
|
3851
3762
|
return 0;
|
|
3852
3763
|
return 1;
|
|
3853
3764
|
}
|
|
3854
|
-
current_block_type_index = select_block_type(ctx
|
|
3765
|
+
current_block_type_index = select_block_type(ctx);
|
|
3855
3766
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
3856
3767
|
return {
|
|
3857
3768
|
c() {
|
|
@@ -3865,7 +3776,7 @@ function create_fragment46(ctx) {
|
|
|
3865
3776
|
},
|
|
3866
3777
|
p(ctx2, [dirty]) {
|
|
3867
3778
|
let previous_block_index = current_block_type_index;
|
|
3868
|
-
current_block_type_index = select_block_type(ctx2
|
|
3779
|
+
current_block_type_index = select_block_type(ctx2);
|
|
3869
3780
|
if (current_block_type_index === previous_block_index) {
|
|
3870
3781
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
3871
3782
|
} else {
|
|
@@ -3902,7 +3813,7 @@ function create_fragment46(ctx) {
|
|
|
3902
3813
|
}
|
|
3903
3814
|
};
|
|
3904
3815
|
}
|
|
3905
|
-
function
|
|
3816
|
+
function instance45($$self, $$props, $$invalidate) {
|
|
3906
3817
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
3907
3818
|
let { class: className = "" } = $$props;
|
|
3908
3819
|
let { name: name10 = "fastboard-ui" } = $$props;
|
|
@@ -3960,7 +3871,7 @@ function instance46($$self, $$props, $$invalidate) {
|
|
|
3960
3871
|
var Button = class extends SvelteComponent {
|
|
3961
3872
|
constructor(options) {
|
|
3962
3873
|
super();
|
|
3963
|
-
init(this, options,
|
|
3874
|
+
init(this, options, instance45, create_fragment45, safe_not_equal, {
|
|
3964
3875
|
class: 0,
|
|
3965
3876
|
name: 1,
|
|
3966
3877
|
theme: 2,
|
|
@@ -4131,7 +4042,7 @@ function create_default_slot(ctx) {
|
|
|
4131
4042
|
}
|
|
4132
4043
|
};
|
|
4133
4044
|
}
|
|
4134
|
-
function
|
|
4045
|
+
function create_fragment46(ctx) {
|
|
4135
4046
|
let div;
|
|
4136
4047
|
let button0;
|
|
4137
4048
|
let t_1;
|
|
@@ -4232,7 +4143,7 @@ var i18n = {
|
|
|
4232
4143
|
}
|
|
4233
4144
|
};
|
|
4234
4145
|
var name = "fastboard-redo-undo";
|
|
4235
|
-
function
|
|
4146
|
+
function instance46($$self, $$props, $$invalidate) {
|
|
4236
4147
|
let writable2;
|
|
4237
4148
|
let disabled;
|
|
4238
4149
|
let t;
|
|
@@ -4269,36 +4180,28 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4269
4180
|
};
|
|
4270
4181
|
$$self.$$.update = () => {
|
|
4271
4182
|
if ($$self.$$.dirty & 2048) {
|
|
4272
|
-
|
|
4273
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4183
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
4274
4184
|
}
|
|
4275
4185
|
if ($$self.$$.dirty & 65536) {
|
|
4276
|
-
|
|
4277
|
-
$$invalidate(13, disabled = !$writable);
|
|
4186
|
+
$$invalidate(13, disabled = !$writable);
|
|
4278
4187
|
}
|
|
4279
4188
|
if ($$self.$$.dirty & 4096) {
|
|
4280
|
-
|
|
4281
|
-
$$invalidate(7, t = i18n[language]);
|
|
4189
|
+
$$invalidate(7, t = i18n[language]);
|
|
4282
4190
|
}
|
|
4283
4191
|
if ($$self.$$.dirty & 8192) {
|
|
4284
|
-
|
|
4285
|
-
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4192
|
+
$$invalidate(2, type = disabled ? "disable" : "normal");
|
|
4286
4193
|
}
|
|
4287
4194
|
if ($$self.$$.dirty & 2048) {
|
|
4288
|
-
|
|
4289
|
-
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4195
|
+
$$subscribe_undoSteps($$invalidate(6, undoSteps = app == null ? void 0 : app.canUndoSteps));
|
|
4290
4196
|
}
|
|
4291
4197
|
if ($$self.$$.dirty & 2048) {
|
|
4292
|
-
|
|
4293
|
-
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4198
|
+
$$subscribe_redoSteps($$invalidate(5, redoSteps = app == null ? void 0 : app.canRedoSteps));
|
|
4294
4199
|
}
|
|
4295
4200
|
if ($$self.$$.dirty & 40960) {
|
|
4296
|
-
|
|
4297
|
-
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4201
|
+
$$invalidate(4, undo_disabled = disabled || !$undoSteps);
|
|
4298
4202
|
}
|
|
4299
4203
|
if ($$self.$$.dirty & 24576) {
|
|
4300
|
-
|
|
4301
|
-
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4204
|
+
$$invalidate(3, redo_disabled = disabled || !$redoSteps);
|
|
4302
4205
|
}
|
|
4303
4206
|
};
|
|
4304
4207
|
return [
|
|
@@ -4324,7 +4227,7 @@ function instance47($$self, $$props, $$invalidate) {
|
|
|
4324
4227
|
var RedoUndo = class extends SvelteComponent {
|
|
4325
4228
|
constructor(options) {
|
|
4326
4229
|
super();
|
|
4327
|
-
init(this, options,
|
|
4230
|
+
init(this, options, instance46, create_fragment46, safe_not_equal, {
|
|
4328
4231
|
app: 11,
|
|
4329
4232
|
theme: 0,
|
|
4330
4233
|
language: 12,
|
|
@@ -4617,7 +4520,7 @@ function create_default_slot2(ctx) {
|
|
|
4617
4520
|
}
|
|
4618
4521
|
};
|
|
4619
4522
|
}
|
|
4620
|
-
function
|
|
4523
|
+
function create_fragment47(ctx) {
|
|
4621
4524
|
let div;
|
|
4622
4525
|
let button0;
|
|
4623
4526
|
let t0;
|
|
@@ -4646,7 +4549,7 @@ function create_fragment48(ctx) {
|
|
|
4646
4549
|
return create_if_block3;
|
|
4647
4550
|
return create_else_block3;
|
|
4648
4551
|
}
|
|
4649
|
-
let current_block_type = select_block_type(ctx
|
|
4552
|
+
let current_block_type = select_block_type(ctx);
|
|
4650
4553
|
let if_block = current_block_type(ctx);
|
|
4651
4554
|
button1 = new Button_default({
|
|
4652
4555
|
props: {
|
|
@@ -4710,7 +4613,7 @@ function create_fragment48(ctx) {
|
|
|
4710
4613
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
4711
4614
|
}
|
|
4712
4615
|
button0.$set(button0_changes);
|
|
4713
|
-
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) {
|
|
4714
4617
|
if_block.p(ctx2, dirty);
|
|
4715
4618
|
} else {
|
|
4716
4619
|
if_block.d(1);
|
|
@@ -4786,7 +4689,7 @@ var i18n2 = {
|
|
|
4786
4689
|
}
|
|
4787
4690
|
};
|
|
4788
4691
|
var name2 = "fastboard-page-control";
|
|
4789
|
-
function
|
|
4692
|
+
function instance47($$self, $$props, $$invalidate) {
|
|
4790
4693
|
let writable2;
|
|
4791
4694
|
let disabled;
|
|
4792
4695
|
let t;
|
|
@@ -4827,36 +4730,28 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4827
4730
|
};
|
|
4828
4731
|
$$self.$$.update = () => {
|
|
4829
4732
|
if ($$self.$$.dirty & 32768) {
|
|
4830
|
-
|
|
4831
|
-
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4733
|
+
$$subscribe_writable($$invalidate(11, writable2 = app == null ? void 0 : app.writable));
|
|
4832
4734
|
}
|
|
4833
4735
|
if ($$self.$$.dirty & 131072) {
|
|
4834
|
-
|
|
4835
|
-
$$invalidate(2, disabled = !$writable);
|
|
4736
|
+
$$invalidate(2, disabled = !$writable);
|
|
4836
4737
|
}
|
|
4837
4738
|
if ($$self.$$.dirty & 65536) {
|
|
4838
|
-
|
|
4839
|
-
$$invalidate(10, t = i18n2[language]);
|
|
4739
|
+
$$invalidate(10, t = i18n2[language]);
|
|
4840
4740
|
}
|
|
4841
4741
|
if ($$self.$$.dirty & 4) {
|
|
4842
|
-
|
|
4843
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4742
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
4844
4743
|
}
|
|
4845
4744
|
if ($$self.$$.dirty & 32768) {
|
|
4846
|
-
|
|
4847
|
-
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4745
|
+
$$subscribe_index($$invalidate(9, index = app == null ? void 0 : app.sceneIndex));
|
|
4848
4746
|
}
|
|
4849
4747
|
if ($$self.$$.dirty & 32768) {
|
|
4850
|
-
|
|
4851
|
-
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4748
|
+
$$subscribe_length($$invalidate(8, length = app == null ? void 0 : app.sceneLength));
|
|
4852
4749
|
}
|
|
4853
4750
|
if ($$self.$$.dirty & 20) {
|
|
4854
|
-
|
|
4855
|
-
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4751
|
+
$$invalidate(7, prev_disabled = disabled || !$index);
|
|
4856
4752
|
}
|
|
4857
4753
|
if ($$self.$$.dirty & 28) {
|
|
4858
|
-
|
|
4859
|
-
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4754
|
+
$$invalidate(6, next_disabled = disabled || $length == null || $index === $length - 1);
|
|
4860
4755
|
}
|
|
4861
4756
|
};
|
|
4862
4757
|
return [
|
|
@@ -4883,7 +4778,7 @@ function instance48($$self, $$props, $$invalidate) {
|
|
|
4883
4778
|
var PageControl = class extends SvelteComponent {
|
|
4884
4779
|
constructor(options) {
|
|
4885
4780
|
super();
|
|
4886
|
-
init(this, options,
|
|
4781
|
+
init(this, options, instance47, create_fragment47, safe_not_equal, {
|
|
4887
4782
|
app: 15,
|
|
4888
4783
|
theme: 0,
|
|
4889
4784
|
language: 16,
|
|
@@ -5174,7 +5069,7 @@ function create_default_slot3(ctx) {
|
|
|
5174
5069
|
}
|
|
5175
5070
|
};
|
|
5176
5071
|
}
|
|
5177
|
-
function
|
|
5072
|
+
function create_fragment48(ctx) {
|
|
5178
5073
|
let div;
|
|
5179
5074
|
let button0;
|
|
5180
5075
|
let t0;
|
|
@@ -5203,7 +5098,7 @@ function create_fragment49(ctx) {
|
|
|
5203
5098
|
return create_if_block4;
|
|
5204
5099
|
return create_else_block4;
|
|
5205
5100
|
}
|
|
5206
|
-
let current_block_type = select_block_type(ctx
|
|
5101
|
+
let current_block_type = select_block_type(ctx);
|
|
5207
5102
|
let if_block = current_block_type(ctx);
|
|
5208
5103
|
button1 = new Button_default({
|
|
5209
5104
|
props: {
|
|
@@ -5267,7 +5162,7 @@ function create_fragment49(ctx) {
|
|
|
5267
5162
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
5268
5163
|
}
|
|
5269
5164
|
button0.$set(button0_changes);
|
|
5270
|
-
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) {
|
|
5271
5166
|
if_block.p(ctx2, dirty);
|
|
5272
5167
|
} else {
|
|
5273
5168
|
if_block.d(1);
|
|
@@ -5372,7 +5267,7 @@ function next_scale(scale, delta) {
|
|
|
5372
5267
|
return 1;
|
|
5373
5268
|
}
|
|
5374
5269
|
var name3 = "fastboard-zoom-control";
|
|
5375
|
-
function
|
|
5270
|
+
function instance48($$self, $$props, $$invalidate) {
|
|
5376
5271
|
let writable2;
|
|
5377
5272
|
let disabled;
|
|
5378
5273
|
let t;
|
|
@@ -5419,36 +5314,28 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5419
5314
|
$$self.$$.update = () => {
|
|
5420
5315
|
var _a;
|
|
5421
5316
|
if ($$self.$$.dirty & 16384) {
|
|
5422
|
-
|
|
5423
|
-
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5317
|
+
$$subscribe_writable($$invalidate(10, writable2 = app == null ? void 0 : app.writable));
|
|
5424
5318
|
}
|
|
5425
5319
|
if ($$self.$$.dirty & 65536) {
|
|
5426
|
-
|
|
5427
|
-
$$invalidate(3, disabled = !$writable);
|
|
5320
|
+
$$invalidate(3, disabled = !$writable);
|
|
5428
5321
|
}
|
|
5429
5322
|
if ($$self.$$.dirty & 32768) {
|
|
5430
|
-
|
|
5431
|
-
$$invalidate(9, t = i18n3[language]);
|
|
5323
|
+
$$invalidate(9, t = i18n3[language]);
|
|
5432
5324
|
}
|
|
5433
5325
|
if ($$self.$$.dirty & 8) {
|
|
5434
|
-
|
|
5435
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5326
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
5436
5327
|
}
|
|
5437
5328
|
if ($$self.$$.dirty & 16384) {
|
|
5438
|
-
|
|
5439
|
-
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5329
|
+
$$subscribe_camera($$invalidate(8, camera = app == null ? void 0 : app.camera));
|
|
5440
5330
|
}
|
|
5441
5331
|
if ($$self.$$.dirty & 16) {
|
|
5442
|
-
|
|
5443
|
-
$$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);
|
|
5444
5333
|
}
|
|
5445
5334
|
if ($$self.$$.dirty & 12) {
|
|
5446
|
-
|
|
5447
|
-
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5335
|
+
$$invalidate(7, plus_disabled = disabled || next_scale(scale, 1) === scale);
|
|
5448
5336
|
}
|
|
5449
5337
|
if ($$self.$$.dirty & 12) {
|
|
5450
|
-
|
|
5451
|
-
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5338
|
+
$$invalidate(6, minus_disabled = disabled || next_scale(scale, -1) === scale);
|
|
5452
5339
|
}
|
|
5453
5340
|
};
|
|
5454
5341
|
return [
|
|
@@ -5474,7 +5361,7 @@ function instance49($$self, $$props, $$invalidate) {
|
|
|
5474
5361
|
var ZoomControl = class extends SvelteComponent {
|
|
5475
5362
|
constructor(options) {
|
|
5476
5363
|
super();
|
|
5477
|
-
init(this, options,
|
|
5364
|
+
init(this, options, instance48, create_fragment48, safe_not_equal, {
|
|
5478
5365
|
app: 14,
|
|
5479
5366
|
theme: 0,
|
|
5480
5367
|
language: 15,
|
|
@@ -5484,7 +5371,7 @@ var ZoomControl = class extends SvelteComponent {
|
|
|
5484
5371
|
};
|
|
5485
5372
|
var ZoomControl_default = ZoomControl;
|
|
5486
5373
|
|
|
5487
|
-
// ../../node_modules/.pnpm/svelte@3.
|
|
5374
|
+
// ../../node_modules/.pnpm/svelte@3.48.0/node_modules/svelte/store/index.mjs
|
|
5488
5375
|
var subscriber_queue = [];
|
|
5489
5376
|
function writable(value, start = noop) {
|
|
5490
5377
|
let stop;
|
|
@@ -5702,7 +5589,10 @@ var apps = new AppsInToolbar([
|
|
|
5702
5589
|
icon: visual_studio_code_default,
|
|
5703
5590
|
label: "Code Editor",
|
|
5704
5591
|
onClick(app) {
|
|
5705
|
-
app.
|
|
5592
|
+
app.manager.addApp({
|
|
5593
|
+
kind: "Monaco",
|
|
5594
|
+
options: { title: "Code Editor" }
|
|
5595
|
+
});
|
|
5706
5596
|
}
|
|
5707
5597
|
},
|
|
5708
5598
|
{
|
|
@@ -5710,7 +5600,10 @@ var apps = new AppsInToolbar([
|
|
|
5710
5600
|
icon: geogebra_default,
|
|
5711
5601
|
label: "GeoGebra",
|
|
5712
5602
|
onClick(app) {
|
|
5713
|
-
app.
|
|
5603
|
+
app.manager.addApp({
|
|
5604
|
+
kind: "GeoGebra",
|
|
5605
|
+
options: { title: "GeoGebra" }
|
|
5606
|
+
});
|
|
5714
5607
|
}
|
|
5715
5608
|
},
|
|
5716
5609
|
{
|
|
@@ -5718,7 +5611,10 @@ var apps = new AppsInToolbar([
|
|
|
5718
5611
|
icon: countdown_default,
|
|
5719
5612
|
label: "Countdown",
|
|
5720
5613
|
onClick(app) {
|
|
5721
|
-
app.
|
|
5614
|
+
app.manager.addApp({
|
|
5615
|
+
kind: "Countdown",
|
|
5616
|
+
options: { title: "Countdown" }
|
|
5617
|
+
});
|
|
5722
5618
|
}
|
|
5723
5619
|
}
|
|
5724
5620
|
]);
|
|
@@ -5740,7 +5636,7 @@ function tooltip(text2, hotkey) {
|
|
|
5740
5636
|
}
|
|
5741
5637
|
|
|
5742
5638
|
// src/components/Toolbar/components/Slider.svelte
|
|
5743
|
-
function
|
|
5639
|
+
function create_fragment49(ctx) {
|
|
5744
5640
|
let div;
|
|
5745
5641
|
let input;
|
|
5746
5642
|
let input_class_value;
|
|
@@ -5828,7 +5724,7 @@ function create_fragment50(ctx) {
|
|
|
5828
5724
|
};
|
|
5829
5725
|
}
|
|
5830
5726
|
var name4 = "fastboard-slider";
|
|
5831
|
-
function
|
|
5727
|
+
function instance49($$self, $$props, $$invalidate) {
|
|
5832
5728
|
let percent;
|
|
5833
5729
|
const dispatch = createEventDispatcher();
|
|
5834
5730
|
let { class: className = "" } = $$props;
|
|
@@ -5870,14 +5766,12 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5870
5766
|
};
|
|
5871
5767
|
$$self.$$.update = () => {
|
|
5872
5768
|
if ($$self.$$.dirty & 385) {
|
|
5873
|
-
|
|
5874
|
-
if (value !== real_value && !grabbing) {
|
|
5769
|
+
if (value !== real_value && !grabbing) {
|
|
5875
5770
|
$$invalidate(7, real_value = value);
|
|
5876
5771
|
}
|
|
5877
5772
|
}
|
|
5878
5773
|
if ($$self.$$.dirty & 152) {
|
|
5879
|
-
|
|
5880
|
-
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5774
|
+
$$invalidate(9, percent = 100 * (real_value - min) / (max - min));
|
|
5881
5775
|
}
|
|
5882
5776
|
};
|
|
5883
5777
|
return [
|
|
@@ -5899,7 +5793,7 @@ function instance50($$self, $$props, $$invalidate) {
|
|
|
5899
5793
|
var Slider = class extends SvelteComponent {
|
|
5900
5794
|
constructor(options) {
|
|
5901
5795
|
super();
|
|
5902
|
-
init(this, options,
|
|
5796
|
+
init(this, options, instance49, create_fragment49, safe_not_equal, {
|
|
5903
5797
|
class: 1,
|
|
5904
5798
|
theme: 2,
|
|
5905
5799
|
min: 3,
|
|
@@ -5913,7 +5807,7 @@ var Slider = class extends SvelteComponent {
|
|
|
5913
5807
|
var Slider_default = Slider;
|
|
5914
5808
|
|
|
5915
5809
|
// src/components/Toolbar/components/StrokeWidth.svelte
|
|
5916
|
-
function
|
|
5810
|
+
function create_fragment50(ctx) {
|
|
5917
5811
|
let slider;
|
|
5918
5812
|
let current;
|
|
5919
5813
|
const slider_spread_levels = [
|
|
@@ -5960,7 +5854,7 @@ function create_fragment51(ctx) {
|
|
|
5960
5854
|
}
|
|
5961
5855
|
};
|
|
5962
5856
|
}
|
|
5963
|
-
function
|
|
5857
|
+
function instance50($$self, $$props, $$invalidate) {
|
|
5964
5858
|
let memberState;
|
|
5965
5859
|
let value;
|
|
5966
5860
|
let props;
|
|
@@ -5983,16 +5877,13 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
5983
5877
|
$$self.$$.update = () => {
|
|
5984
5878
|
var _a;
|
|
5985
5879
|
if ($$self.$$.dirty & 8) {
|
|
5986
|
-
|
|
5987
|
-
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5880
|
+
$$subscribe_memberState($$invalidate(1, memberState = app == null ? void 0 : app.memberState));
|
|
5988
5881
|
}
|
|
5989
5882
|
if ($$self.$$.dirty & 128) {
|
|
5990
|
-
|
|
5991
|
-
$$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);
|
|
5992
5884
|
}
|
|
5993
5885
|
if ($$self.$$.dirty & 112) {
|
|
5994
|
-
|
|
5995
|
-
$$invalidate(0, props = { value, theme, disabled });
|
|
5886
|
+
$$invalidate(0, props = { value, theme, disabled });
|
|
5996
5887
|
}
|
|
5997
5888
|
};
|
|
5998
5889
|
return [
|
|
@@ -6009,7 +5900,7 @@ function instance51($$self, $$props, $$invalidate) {
|
|
|
6009
5900
|
var StrokeWidth = class extends SvelteComponent {
|
|
6010
5901
|
constructor(options) {
|
|
6011
5902
|
super();
|
|
6012
|
-
init(this, options,
|
|
5903
|
+
init(this, options, instance50, create_fragment50, safe_not_equal, { app: 3, theme: 4, disabled: 5 });
|
|
6013
5904
|
}
|
|
6014
5905
|
};
|
|
6015
5906
|
var StrokeWidth_default = StrokeWidth;
|
|
@@ -6025,7 +5916,6 @@ function create_each_block(key_1, ctx) {
|
|
|
6025
5916
|
let span;
|
|
6026
5917
|
let t;
|
|
6027
5918
|
let button_class_value;
|
|
6028
|
-
let button_data_color_key_value;
|
|
6029
5919
|
return {
|
|
6030
5920
|
key: key_1,
|
|
6031
5921
|
first: null,
|
|
@@ -6036,7 +5926,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6036
5926
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6037
5927
|
set_style(span, "background-color", ctx[7], false);
|
|
6038
5928
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6039
|
-
attr(button, "data-color-key",
|
|
5929
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6040
5930
|
button.disabled = ctx[1];
|
|
6041
5931
|
toggle_class(button, "is-active", is_equal_color(ctx[2], colors[ctx[7]]));
|
|
6042
5932
|
this.first = button;
|
|
@@ -6064,7 +5954,7 @@ function create_each_block(key_1, ctx) {
|
|
|
6064
5954
|
}
|
|
6065
5955
|
};
|
|
6066
5956
|
}
|
|
6067
|
-
function
|
|
5957
|
+
function create_fragment51(ctx) {
|
|
6068
5958
|
let div;
|
|
6069
5959
|
let each_blocks = [];
|
|
6070
5960
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6121,7 +6011,7 @@ function create_fragment52(ctx) {
|
|
|
6121
6011
|
function is_equal_color(a, b) {
|
|
6122
6012
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6123
6013
|
}
|
|
6124
|
-
function
|
|
6014
|
+
function instance51($$self, $$props, $$invalidate) {
|
|
6125
6015
|
let memberState;
|
|
6126
6016
|
let strokeColor;
|
|
6127
6017
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6148,12 +6038,10 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6148
6038
|
};
|
|
6149
6039
|
$$self.$$.update = () => {
|
|
6150
6040
|
if ($$self.$$.dirty & 32) {
|
|
6151
|
-
|
|
6152
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6041
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6153
6042
|
}
|
|
6154
6043
|
if ($$self.$$.dirty & 64) {
|
|
6155
|
-
|
|
6156
|
-
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6044
|
+
$$invalidate(2, strokeColor = $memberState == null ? void 0 : $memberState.strokeColor);
|
|
6157
6045
|
}
|
|
6158
6046
|
};
|
|
6159
6047
|
return [theme, disabled, strokeColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6161,7 +6049,7 @@ function instance52($$self, $$props, $$invalidate) {
|
|
|
6161
6049
|
var StrokeColor = class extends SvelteComponent {
|
|
6162
6050
|
constructor(options) {
|
|
6163
6051
|
super();
|
|
6164
|
-
init(this, options,
|
|
6052
|
+
init(this, options, instance51, create_fragment51, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6165
6053
|
}
|
|
6166
6054
|
};
|
|
6167
6055
|
var StrokeColor_default = StrokeColor;
|
|
@@ -6177,7 +6065,6 @@ function create_each_block2(key_1, ctx) {
|
|
|
6177
6065
|
let span;
|
|
6178
6066
|
let t;
|
|
6179
6067
|
let button_class_value;
|
|
6180
|
-
let button_data_color_key_value;
|
|
6181
6068
|
return {
|
|
6182
6069
|
key: key_1,
|
|
6183
6070
|
first: null,
|
|
@@ -6188,7 +6075,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6188
6075
|
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6189
6076
|
set_style(span, "background-color", ctx[7], false);
|
|
6190
6077
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6191
|
-
attr(button, "data-color-key",
|
|
6078
|
+
attr(button, "data-color-key", ctx[7]);
|
|
6192
6079
|
button.disabled = ctx[1];
|
|
6193
6080
|
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6194
6081
|
this.first = button;
|
|
@@ -6216,7 +6103,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6216
6103
|
}
|
|
6217
6104
|
};
|
|
6218
6105
|
}
|
|
6219
|
-
function
|
|
6106
|
+
function create_fragment52(ctx) {
|
|
6220
6107
|
let div;
|
|
6221
6108
|
let each_blocks = [];
|
|
6222
6109
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6273,7 +6160,7 @@ function create_fragment53(ctx) {
|
|
|
6273
6160
|
function is_equal_color2(a, b) {
|
|
6274
6161
|
return a && b && a.every((v, i) => v === b[i]);
|
|
6275
6162
|
}
|
|
6276
|
-
function
|
|
6163
|
+
function instance52($$self, $$props, $$invalidate) {
|
|
6277
6164
|
let memberState;
|
|
6278
6165
|
let textColor;
|
|
6279
6166
|
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
@@ -6300,12 +6187,10 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6300
6187
|
};
|
|
6301
6188
|
$$self.$$.update = () => {
|
|
6302
6189
|
if ($$self.$$.dirty & 32) {
|
|
6303
|
-
|
|
6304
|
-
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6190
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6305
6191
|
}
|
|
6306
6192
|
if ($$self.$$.dirty & 64) {
|
|
6307
|
-
|
|
6308
|
-
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6193
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6309
6194
|
}
|
|
6310
6195
|
};
|
|
6311
6196
|
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
@@ -6313,7 +6198,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6313
6198
|
var TextColor = class extends SvelteComponent {
|
|
6314
6199
|
constructor(options) {
|
|
6315
6200
|
super();
|
|
6316
|
-
init(this, options,
|
|
6201
|
+
init(this, options, instance52, create_fragment52, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6317
6202
|
}
|
|
6318
6203
|
};
|
|
6319
6204
|
var TextColor_default = TextColor;
|
|
@@ -6472,7 +6357,6 @@ function create_each_block3(key_1, ctx) {
|
|
|
6472
6357
|
let if_block;
|
|
6473
6358
|
let t_1;
|
|
6474
6359
|
let button_class_value;
|
|
6475
|
-
let button_data_shape_key_value;
|
|
6476
6360
|
let tippy_action;
|
|
6477
6361
|
let current;
|
|
6478
6362
|
let mounted;
|
|
@@ -6484,7 +6368,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6484
6368
|
return 0;
|
|
6485
6369
|
return 1;
|
|
6486
6370
|
}
|
|
6487
|
-
current_block_type_index = select_block_type(ctx
|
|
6371
|
+
current_block_type_index = select_block_type(ctx);
|
|
6488
6372
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6489
6373
|
return {
|
|
6490
6374
|
key: key_1,
|
|
@@ -6494,7 +6378,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6494
6378
|
if_block.c();
|
|
6495
6379
|
t_1 = space();
|
|
6496
6380
|
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-shape-btn " + ctx[0] + " " + ctx[12]);
|
|
6497
|
-
attr(button, "data-shape-key",
|
|
6381
|
+
attr(button, "data-shape-key", ctx[12]);
|
|
6498
6382
|
button.disabled = ctx[1];
|
|
6499
6383
|
toggle_class(button, "is-active", ctx[13]);
|
|
6500
6384
|
this.first = button;
|
|
@@ -6515,7 +6399,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6515
6399
|
p(new_ctx, dirty) {
|
|
6516
6400
|
ctx = new_ctx;
|
|
6517
6401
|
let previous_block_index = current_block_type_index;
|
|
6518
|
-
current_block_type_index = select_block_type(ctx
|
|
6402
|
+
current_block_type_index = select_block_type(ctx);
|
|
6519
6403
|
if (current_block_type_index === previous_block_index) {
|
|
6520
6404
|
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
6521
6405
|
} else {
|
|
@@ -6568,7 +6452,7 @@ function create_each_block3(key_1, ctx) {
|
|
|
6568
6452
|
}
|
|
6569
6453
|
};
|
|
6570
6454
|
}
|
|
6571
|
-
function
|
|
6455
|
+
function create_fragment53(ctx) {
|
|
6572
6456
|
let div;
|
|
6573
6457
|
let each_blocks = [];
|
|
6574
6458
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6660,7 +6544,7 @@ var i18n5 = {
|
|
|
6660
6544
|
speechBalloon: "\u6C14\u6CE1"
|
|
6661
6545
|
}
|
|
6662
6546
|
};
|
|
6663
|
-
function
|
|
6547
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6664
6548
|
let t;
|
|
6665
6549
|
let memberState;
|
|
6666
6550
|
let appliance;
|
|
@@ -6698,28 +6582,22 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6698
6582
|
};
|
|
6699
6583
|
$$self.$$.update = () => {
|
|
6700
6584
|
if ($$self.$$.dirty & 512) {
|
|
6701
|
-
|
|
6702
|
-
$$invalidate(6, t = i18n5[language]);
|
|
6585
|
+
$$invalidate(6, t = i18n5[language]);
|
|
6703
6586
|
}
|
|
6704
6587
|
if ($$self.$$.dirty & 256) {
|
|
6705
|
-
|
|
6706
|
-
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6588
|
+
$$subscribe_memberState($$invalidate(5, memberState = app == null ? void 0 : app.memberState));
|
|
6707
6589
|
}
|
|
6708
6590
|
if ($$self.$$.dirty & 2048) {
|
|
6709
|
-
|
|
6710
|
-
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6591
|
+
$$invalidate(4, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
6711
6592
|
}
|
|
6712
6593
|
if ($$self.$$.dirty & 2048) {
|
|
6713
|
-
|
|
6714
|
-
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6594
|
+
$$invalidate(3, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
6715
6595
|
}
|
|
6716
6596
|
if ($$self.$$.dirty & 256) {
|
|
6717
|
-
|
|
6718
|
-
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6597
|
+
$$invalidate(10, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
6719
6598
|
}
|
|
6720
6599
|
if ($$self.$$.dirty & 1024) {
|
|
6721
|
-
|
|
6722
|
-
$$invalidate(2, c = {
|
|
6600
|
+
$$invalidate(2, c = {
|
|
6723
6601
|
rectangle: hotkeys == null ? void 0 : hotkeys.changeToRectangle,
|
|
6724
6602
|
ellipse: hotkeys == null ? void 0 : hotkeys.changeToEllipse,
|
|
6725
6603
|
straight: hotkeys == null ? void 0 : hotkeys.changeToStraight,
|
|
@@ -6745,7 +6623,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
6745
6623
|
var Shapes = class extends SvelteComponent {
|
|
6746
6624
|
constructor(options) {
|
|
6747
6625
|
super();
|
|
6748
|
-
init(this, options,
|
|
6626
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, {
|
|
6749
6627
|
app: 8,
|
|
6750
6628
|
theme: 0,
|
|
6751
6629
|
language: 9,
|
|
@@ -6766,6 +6644,11 @@ function get_each_context4(ctx, list, i) {
|
|
|
6766
6644
|
child_ctx[45] = constants_0.onClick;
|
|
6767
6645
|
const constants_1 = child_ctx[20] && child_ctx[20][child_ctx[44]];
|
|
6768
6646
|
child_ctx[46] = constants_1;
|
|
6647
|
+
const constants_2 = () => {
|
|
6648
|
+
child_ctx[0] && child_ctx[45](child_ctx[0]);
|
|
6649
|
+
tippy_hide_all();
|
|
6650
|
+
};
|
|
6651
|
+
child_ctx[47] = constants_2;
|
|
6769
6652
|
return child_ctx;
|
|
6770
6653
|
}
|
|
6771
6654
|
function create_if_block_8(ctx) {
|
|
@@ -6791,7 +6674,7 @@ function create_if_block_8(ctx) {
|
|
|
6791
6674
|
},
|
|
6792
6675
|
p(ctx2, dirty) {
|
|
6793
6676
|
const button_changes = dirty[0] & 32768 ? get_spread_update(button_spread_levels, [button_spread_levels[0], get_spread_object(ctx2[15])]) : {};
|
|
6794
|
-
if (dirty[0] & 2 | dirty[1] &
|
|
6677
|
+
if (dirty[0] & 2 | dirty[1] & 524288) {
|
|
6795
6678
|
button_changes.$$scope = { dirty, ctx: ctx2 };
|
|
6796
6679
|
}
|
|
6797
6680
|
button.$set(button_changes);
|
|
@@ -6924,7 +6807,7 @@ function create_default_slot_8(ctx) {
|
|
|
6924
6807
|
return 0;
|
|
6925
6808
|
return 1;
|
|
6926
6809
|
}
|
|
6927
|
-
current_block_type_index = select_block_type(ctx
|
|
6810
|
+
current_block_type_index = select_block_type(ctx);
|
|
6928
6811
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
6929
6812
|
return {
|
|
6930
6813
|
c() {
|
|
@@ -6938,7 +6821,7 @@ function create_default_slot_8(ctx) {
|
|
|
6938
6821
|
},
|
|
6939
6822
|
p(ctx2, dirty) {
|
|
6940
6823
|
let previous_block_index = current_block_type_index;
|
|
6941
|
-
current_block_type_index = select_block_type(ctx2
|
|
6824
|
+
current_block_type_index = select_block_type(ctx2);
|
|
6942
6825
|
if (current_block_type_index === previous_block_index) {
|
|
6943
6826
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
6944
6827
|
} else {
|
|
@@ -7055,7 +6938,7 @@ function create_default_slot_7(ctx) {
|
|
|
7055
6938
|
return 0;
|
|
7056
6939
|
return 1;
|
|
7057
6940
|
}
|
|
7058
|
-
current_block_type_index = select_block_type_1(ctx
|
|
6941
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
7059
6942
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7060
6943
|
return {
|
|
7061
6944
|
c() {
|
|
@@ -7069,7 +6952,7 @@ function create_default_slot_7(ctx) {
|
|
|
7069
6952
|
},
|
|
7070
6953
|
p(ctx2, dirty) {
|
|
7071
6954
|
let previous_block_index = current_block_type_index;
|
|
7072
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
6955
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
7073
6956
|
if (current_block_type_index === previous_block_index) {
|
|
7074
6957
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7075
6958
|
} else {
|
|
@@ -7186,7 +7069,7 @@ function create_default_slot_6(ctx) {
|
|
|
7186
7069
|
return 0;
|
|
7187
7070
|
return 1;
|
|
7188
7071
|
}
|
|
7189
|
-
current_block_type_index = select_block_type_2(ctx
|
|
7072
|
+
current_block_type_index = select_block_type_2(ctx);
|
|
7190
7073
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7191
7074
|
return {
|
|
7192
7075
|
c() {
|
|
@@ -7200,7 +7083,7 @@ function create_default_slot_6(ctx) {
|
|
|
7200
7083
|
},
|
|
7201
7084
|
p(ctx2, dirty) {
|
|
7202
7085
|
let previous_block_index = current_block_type_index;
|
|
7203
|
-
current_block_type_index = select_block_type_2(ctx2
|
|
7086
|
+
current_block_type_index = select_block_type_2(ctx2);
|
|
7204
7087
|
if (current_block_type_index === previous_block_index) {
|
|
7205
7088
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7206
7089
|
} else {
|
|
@@ -7317,7 +7200,7 @@ function create_default_slot_53(ctx) {
|
|
|
7317
7200
|
return 0;
|
|
7318
7201
|
return 1;
|
|
7319
7202
|
}
|
|
7320
|
-
current_block_type_index = select_block_type_3(ctx
|
|
7203
|
+
current_block_type_index = select_block_type_3(ctx);
|
|
7321
7204
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7322
7205
|
return {
|
|
7323
7206
|
c() {
|
|
@@ -7331,7 +7214,7 @@ function create_default_slot_53(ctx) {
|
|
|
7331
7214
|
},
|
|
7332
7215
|
p(ctx2, dirty) {
|
|
7333
7216
|
let previous_block_index = current_block_type_index;
|
|
7334
|
-
current_block_type_index = select_block_type_3(ctx2
|
|
7217
|
+
current_block_type_index = select_block_type_3(ctx2);
|
|
7335
7218
|
if (current_block_type_index === previous_block_index) {
|
|
7336
7219
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7337
7220
|
} else {
|
|
@@ -7520,7 +7403,7 @@ function create_default_slot_43(ctx) {
|
|
|
7520
7403
|
return 0;
|
|
7521
7404
|
return 1;
|
|
7522
7405
|
}
|
|
7523
|
-
current_block_type_index = select_block_type_4(ctx
|
|
7406
|
+
current_block_type_index = select_block_type_4(ctx);
|
|
7524
7407
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7525
7408
|
return {
|
|
7526
7409
|
c() {
|
|
@@ -7534,7 +7417,7 @@ function create_default_slot_43(ctx) {
|
|
|
7534
7417
|
},
|
|
7535
7418
|
p(ctx2, dirty) {
|
|
7536
7419
|
let previous_block_index = current_block_type_index;
|
|
7537
|
-
current_block_type_index = select_block_type_4(ctx2
|
|
7420
|
+
current_block_type_index = select_block_type_4(ctx2);
|
|
7538
7421
|
if (current_block_type_index === previous_block_index) {
|
|
7539
7422
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7540
7423
|
} else {
|
|
@@ -7651,7 +7534,7 @@ function create_default_slot_34(ctx) {
|
|
|
7651
7534
|
return 0;
|
|
7652
7535
|
return 1;
|
|
7653
7536
|
}
|
|
7654
|
-
current_block_type_index = select_block_type_5(ctx
|
|
7537
|
+
current_block_type_index = select_block_type_5(ctx);
|
|
7655
7538
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
7656
7539
|
return {
|
|
7657
7540
|
c() {
|
|
@@ -7665,7 +7548,7 @@ function create_default_slot_34(ctx) {
|
|
|
7665
7548
|
},
|
|
7666
7549
|
p(ctx2, dirty) {
|
|
7667
7550
|
let previous_block_index = current_block_type_index;
|
|
7668
|
-
current_block_type_index = select_block_type_5(ctx2
|
|
7551
|
+
current_block_type_index = select_block_type_5(ctx2);
|
|
7669
7552
|
if (current_block_type_index === previous_block_index) {
|
|
7670
7553
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
7671
7554
|
} else {
|
|
@@ -7769,7 +7652,7 @@ function create_if_block_12(ctx) {
|
|
|
7769
7652
|
dirty[0] & 16384 && { menu: ctx2[14] },
|
|
7770
7653
|
button_spread_levels[4]
|
|
7771
7654
|
]) : {};
|
|
7772
|
-
if (dirty[0] & 2 | dirty[1] &
|
|
7655
|
+
if (dirty[0] & 2 | dirty[1] & 524288) {
|
|
7773
7656
|
button_changes.$$scope = { dirty, ctx: ctx2 };
|
|
7774
7657
|
}
|
|
7775
7658
|
button.$set(button_changes);
|
|
@@ -7850,7 +7733,7 @@ function create_if_block6(ctx) {
|
|
|
7850
7733
|
button_changes.theme = ctx2[1];
|
|
7851
7734
|
if (dirty[0] & 8)
|
|
7852
7735
|
button_changes.disabled = ctx2[3];
|
|
7853
|
-
if (dirty[0] & 2 | dirty[1] &
|
|
7736
|
+
if (dirty[0] & 2 | dirty[1] & 524288) {
|
|
7854
7737
|
button_changes.$$scope = { dirty, ctx: ctx2 };
|
|
7855
7738
|
}
|
|
7856
7739
|
button.$set(button_changes);
|
|
@@ -7952,8 +7835,8 @@ function create_each_block4(ctx) {
|
|
|
7952
7835
|
append(button, t2);
|
|
7953
7836
|
if (!mounted) {
|
|
7954
7837
|
dispose = listen(button, "click", function() {
|
|
7955
|
-
if (is_function(ctx[
|
|
7956
|
-
|
|
7838
|
+
if (is_function(ctx[47]))
|
|
7839
|
+
ctx[47].apply(this, arguments);
|
|
7957
7840
|
});
|
|
7958
7841
|
mounted = true;
|
|
7959
7842
|
}
|
|
@@ -8004,7 +7887,7 @@ function create_each_block4(ctx) {
|
|
|
8004
7887
|
}
|
|
8005
7888
|
};
|
|
8006
7889
|
}
|
|
8007
|
-
function
|
|
7890
|
+
function create_fragment54(ctx) {
|
|
8008
7891
|
let t0;
|
|
8009
7892
|
let div0;
|
|
8010
7893
|
let button0;
|
|
@@ -8021,9 +7904,7 @@ function create_fragment55(ctx) {
|
|
|
8021
7904
|
let t6;
|
|
8022
7905
|
let button6;
|
|
8023
7906
|
let t7;
|
|
8024
|
-
let div0_class_value;
|
|
8025
7907
|
let scrollHeight_action;
|
|
8026
|
-
let scrollTop_action;
|
|
8027
7908
|
let t8;
|
|
8028
7909
|
let t9;
|
|
8029
7910
|
let div8;
|
|
@@ -8031,32 +7912,24 @@ function create_fragment55(ctx) {
|
|
|
8031
7912
|
let strokewidth0;
|
|
8032
7913
|
let t10;
|
|
8033
7914
|
let div1;
|
|
8034
|
-
let div1_class_value;
|
|
8035
7915
|
let t11;
|
|
8036
7916
|
let strokecolor0;
|
|
8037
|
-
let div2_class_value;
|
|
8038
7917
|
let t12;
|
|
8039
7918
|
let div3;
|
|
8040
7919
|
let textcolor;
|
|
8041
|
-
let div3_class_value;
|
|
8042
7920
|
let t13;
|
|
8043
7921
|
let div6;
|
|
8044
7922
|
let shapes2;
|
|
8045
7923
|
let t14;
|
|
8046
7924
|
let div4;
|
|
8047
|
-
let div4_class_value;
|
|
8048
7925
|
let t15;
|
|
8049
7926
|
let strokewidth1;
|
|
8050
7927
|
let t16;
|
|
8051
7928
|
let div5;
|
|
8052
|
-
let div5_class_value;
|
|
8053
7929
|
let t17;
|
|
8054
7930
|
let strokecolor1;
|
|
8055
|
-
let div6_class_value;
|
|
8056
7931
|
let t18;
|
|
8057
7932
|
let div7;
|
|
8058
|
-
let div7_class_value;
|
|
8059
|
-
let div8_class_value;
|
|
8060
7933
|
let current;
|
|
8061
7934
|
let mounted;
|
|
8062
7935
|
let dispose;
|
|
@@ -8256,17 +8129,17 @@ function create_fragment55(ctx) {
|
|
|
8256
8129
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8257
8130
|
each_blocks[i].c();
|
|
8258
8131
|
}
|
|
8259
|
-
attr(div0, "class",
|
|
8132
|
+
attr(div0, "class", name5 + "-scrollable");
|
|
8260
8133
|
toggle_class(div0, "scrollable", ctx[5]);
|
|
8261
|
-
attr(div1, "class",
|
|
8262
|
-
attr(div2, "class",
|
|
8263
|
-
attr(div3, "class",
|
|
8264
|
-
attr(div4, "class",
|
|
8265
|
-
attr(div5, "class",
|
|
8266
|
-
attr(div6, "class",
|
|
8267
|
-
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");
|
|
8268
8141
|
set_style(div7, "--n", ctx[19].length);
|
|
8269
|
-
attr(div8, "class",
|
|
8142
|
+
attr(div8, "class", name5 + "-panel-wrapper");
|
|
8270
8143
|
set_style(div8, "display", "none");
|
|
8271
8144
|
},
|
|
8272
8145
|
m(target, anchor) {
|
|
@@ -8328,7 +8201,7 @@ function create_fragment55(ctx) {
|
|
|
8328
8201
|
if (!mounted) {
|
|
8329
8202
|
dispose = [
|
|
8330
8203
|
action_destroyer(scrollHeight_action = scrollHeight.call(null, div0, ctx[4])),
|
|
8331
|
-
action_destroyer(
|
|
8204
|
+
action_destroyer(scrollTop.call(null, div0, ctx[21]))
|
|
8332
8205
|
];
|
|
8333
8206
|
mounted = true;
|
|
8334
8207
|
}
|
|
@@ -8358,7 +8231,7 @@ function create_fragment55(ctx) {
|
|
|
8358
8231
|
dirty[0] & 32768 && get_spread_object(ctx2[15]),
|
|
8359
8232
|
dirty[0] & 262144 && { content: ctx2[18].clicker }
|
|
8360
8233
|
]) : {};
|
|
8361
|
-
if (dirty[0] & 258 | dirty[1] &
|
|
8234
|
+
if (dirty[0] & 258 | dirty[1] & 524288) {
|
|
8362
8235
|
button0_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8363
8236
|
}
|
|
8364
8237
|
button0.$set(button0_changes);
|
|
@@ -8367,7 +8240,7 @@ function create_fragment55(ctx) {
|
|
|
8367
8240
|
dirty[0] & 32768 && get_spread_object(ctx2[15]),
|
|
8368
8241
|
dirty[0] & 262144 && { content: ctx2[18].selector }
|
|
8369
8242
|
]) : {};
|
|
8370
|
-
if (dirty[0] & 258 | dirty[1] &
|
|
8243
|
+
if (dirty[0] & 258 | dirty[1] & 524288) {
|
|
8371
8244
|
button1_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8372
8245
|
}
|
|
8373
8246
|
button1.$set(button1_changes);
|
|
@@ -8377,7 +8250,7 @@ function create_fragment55(ctx) {
|
|
|
8377
8250
|
dirty[0] & 262144 && { content: ctx2[18].pencil },
|
|
8378
8251
|
dirty[0] & 2048 && { menu: ctx2[11] }
|
|
8379
8252
|
]) : {};
|
|
8380
|
-
if (dirty[0] & 258 | dirty[1] &
|
|
8253
|
+
if (dirty[0] & 258 | dirty[1] & 524288) {
|
|
8381
8254
|
button2_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8382
8255
|
}
|
|
8383
8256
|
button2.$set(button2_changes);
|
|
@@ -8387,7 +8260,7 @@ function create_fragment55(ctx) {
|
|
|
8387
8260
|
dirty[0] & 262144 && { content: ctx2[18].text },
|
|
8388
8261
|
dirty[0] & 4096 && { menu: ctx2[12] }
|
|
8389
8262
|
]) : {};
|
|
8390
|
-
if (dirty[0] & 258 | dirty[1] &
|
|
8263
|
+
if (dirty[0] & 258 | dirty[1] & 524288) {
|
|
8391
8264
|
button3_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8392
8265
|
}
|
|
8393
8266
|
button3.$set(button3_changes);
|
|
@@ -8397,7 +8270,7 @@ function create_fragment55(ctx) {
|
|
|
8397
8270
|
dirty[0] & 512 && { content: ctx2[9].shapes },
|
|
8398
8271
|
dirty[0] & 8192 && { menu: ctx2[13] }
|
|
8399
8272
|
]) : {};
|
|
8400
|
-
if (dirty[0] & 1410 | dirty[1] &
|
|
8273
|
+
if (dirty[0] & 1410 | dirty[1] & 524288) {
|
|
8401
8274
|
button4_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8402
8275
|
}
|
|
8403
8276
|
button4.$set(button4_changes);
|
|
@@ -8406,7 +8279,7 @@ function create_fragment55(ctx) {
|
|
|
8406
8279
|
dirty[0] & 32768 && get_spread_object(ctx2[15]),
|
|
8407
8280
|
dirty[0] & 262144 && { content: ctx2[18].eraser }
|
|
8408
8281
|
]) : {};
|
|
8409
|
-
if (dirty[0] & 258 | dirty[1] &
|
|
8282
|
+
if (dirty[0] & 258 | dirty[1] & 524288) {
|
|
8410
8283
|
button5_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8411
8284
|
}
|
|
8412
8285
|
button5.$set(button5_changes);
|
|
@@ -8415,7 +8288,7 @@ function create_fragment55(ctx) {
|
|
|
8415
8288
|
dirty[0] & 32768 && get_spread_object(ctx2[15]),
|
|
8416
8289
|
dirty[0] & 512 && { content: ctx2[9].clear }
|
|
8417
8290
|
]) : {};
|
|
8418
|
-
if (dirty[0] & 2 | dirty[1] &
|
|
8291
|
+
if (dirty[0] & 2 | dirty[1] & 524288) {
|
|
8419
8292
|
button6_changes.$$scope = { dirty, ctx: ctx2 };
|
|
8420
8293
|
}
|
|
8421
8294
|
button6.$set(button6_changes);
|
|
@@ -8615,7 +8488,7 @@ function create_fragment55(ctx) {
|
|
|
8615
8488
|
};
|
|
8616
8489
|
}
|
|
8617
8490
|
var name5 = "fastboard-toolbar";
|
|
8618
|
-
function
|
|
8491
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
8619
8492
|
let t;
|
|
8620
8493
|
let hotkeys;
|
|
8621
8494
|
let c;
|
|
@@ -8725,8 +8598,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8725
8598
|
};
|
|
8726
8599
|
$$self.$$.update = () => {
|
|
8727
8600
|
if ($$self.$$.dirty[0] & 10) {
|
|
8728
|
-
|
|
8729
|
-
$$invalidate(15, btn_props = {
|
|
8601
|
+
$$invalidate(15, btn_props = {
|
|
8730
8602
|
name: name5,
|
|
8731
8603
|
theme,
|
|
8732
8604
|
disabled,
|
|
@@ -8734,16 +8606,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8734
8606
|
});
|
|
8735
8607
|
}
|
|
8736
8608
|
if ($$self.$$.dirty[0] & 4) {
|
|
8737
|
-
|
|
8738
|
-
$$invalidate(9, t = i18n4[language]);
|
|
8609
|
+
$$invalidate(9, t = i18n4[language]);
|
|
8739
8610
|
}
|
|
8740
8611
|
if ($$self.$$.dirty[0] & 1) {
|
|
8741
|
-
|
|
8742
|
-
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8612
|
+
$$invalidate(32, hotkeys = app == null ? void 0 : app.hotKeys);
|
|
8743
8613
|
}
|
|
8744
8614
|
if ($$self.$$.dirty[0] & 512 | $$self.$$.dirty[1] & 2) {
|
|
8745
|
-
|
|
8746
|
-
$$invalidate(18, c = {
|
|
8615
|
+
$$invalidate(18, c = {
|
|
8747
8616
|
clicker: tooltip(t.clicker, hotkeys == null ? void 0 : hotkeys.changeToClick),
|
|
8748
8617
|
selector: tooltip(t.selector, hotkeys == null ? void 0 : hotkeys.changeToSelector),
|
|
8749
8618
|
pencil: tooltip(t.pencil, hotkeys == null ? void 0 : hotkeys.changeToPencil),
|
|
@@ -8752,32 +8621,26 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8752
8621
|
});
|
|
8753
8622
|
}
|
|
8754
8623
|
if ($$self.$$.dirty[0] & 1) {
|
|
8755
|
-
|
|
8756
|
-
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8624
|
+
$$subscribe_memberState($$invalidate(17, memberState = app == null ? void 0 : app.memberState));
|
|
8757
8625
|
}
|
|
8758
8626
|
if ($$self.$$.dirty[1] & 8) {
|
|
8759
|
-
|
|
8760
|
-
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8627
|
+
$$invalidate(8, appliance = $memberState == null ? void 0 : $memberState.currentApplianceName);
|
|
8761
8628
|
}
|
|
8762
8629
|
if ($$self.$$.dirty[1] & 8) {
|
|
8763
|
-
|
|
8764
|
-
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8630
|
+
$$invalidate(7, shape = $memberState == null ? void 0 : $memberState.shapeType);
|
|
8765
8631
|
}
|
|
8766
8632
|
if ($$self.$$.dirty[0] & 1) {
|
|
8767
|
-
|
|
8768
|
-
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8633
|
+
$$subscribe_status($$invalidate(16, status = app == null ? void 0 : app.appsStatus));
|
|
8769
8634
|
}
|
|
8770
8635
|
if ($$self.$$.dirty[0] & 384) {
|
|
8771
|
-
|
|
8772
|
-
if (applianceShapes.includes(appliance)) {
|
|
8636
|
+
if (applianceShapes.includes(appliance)) {
|
|
8773
8637
|
$$invalidate(10, last_shape = appliance);
|
|
8774
8638
|
} else if (shape) {
|
|
8775
8639
|
$$invalidate(10, last_shape = shape);
|
|
8776
8640
|
}
|
|
8777
8641
|
}
|
|
8778
8642
|
if ($$self.$$.dirty[0] & 32 | $$self.$$.dirty[1] & 5) {
|
|
8779
|
-
|
|
8780
|
-
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8643
|
+
max_scroll = scrollable ? $scroll_height + (32 + 8) * 2 - computed_height : 0;
|
|
8781
8644
|
}
|
|
8782
8645
|
};
|
|
8783
8646
|
return [
|
|
@@ -8825,7 +8688,7 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8825
8688
|
var Contents = class extends SvelteComponent {
|
|
8826
8689
|
constructor(options) {
|
|
8827
8690
|
super();
|
|
8828
|
-
init(this, options,
|
|
8691
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
8829
8692
|
app: 0,
|
|
8830
8693
|
theme: 1,
|
|
8831
8694
|
language: 2,
|
|
@@ -8842,20 +8705,18 @@ var Contents_default = Contents;
|
|
|
8842
8705
|
// src/components/Toolbar/Toolbar.svelte
|
|
8843
8706
|
function create_else_block7(ctx) {
|
|
8844
8707
|
let path0;
|
|
8845
|
-
let path0_class_value;
|
|
8846
8708
|
let path1;
|
|
8847
|
-
let path1_class_value;
|
|
8848
8709
|
return {
|
|
8849
8710
|
c() {
|
|
8850
8711
|
path0 = svg_element("path");
|
|
8851
8712
|
path1 = svg_element("path");
|
|
8852
8713
|
attr(path0, "stroke", "#000");
|
|
8853
8714
|
attr(path0, "d", "M20 52v16");
|
|
8854
|
-
attr(path0, "class",
|
|
8715
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8855
8716
|
attr(path1, "fill", "#000");
|
|
8856
8717
|
attr(path1, "stroke", "none");
|
|
8857
8718
|
attr(path1, "d", "M16 52v16l-8-8z");
|
|
8858
|
-
attr(path1, "class",
|
|
8719
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8859
8720
|
},
|
|
8860
8721
|
m(target, anchor) {
|
|
8861
8722
|
insert(target, path0, anchor);
|
|
@@ -8872,20 +8733,18 @@ function create_else_block7(ctx) {
|
|
|
8872
8733
|
}
|
|
8873
8734
|
function create_if_block7(ctx) {
|
|
8874
8735
|
let path0;
|
|
8875
|
-
let path0_class_value;
|
|
8876
8736
|
let path1;
|
|
8877
|
-
let path1_class_value;
|
|
8878
8737
|
return {
|
|
8879
8738
|
c() {
|
|
8880
8739
|
path0 = svg_element("path");
|
|
8881
8740
|
path1 = svg_element("path");
|
|
8882
8741
|
attr(path0, "stroke", "#000");
|
|
8883
8742
|
attr(path0, "d", "M10 52v16");
|
|
8884
|
-
attr(path0, "class",
|
|
8743
|
+
attr(path0, "class", name6 + "-handler-image-stroke-color");
|
|
8885
8744
|
attr(path1, "fill", "#000");
|
|
8886
8745
|
attr(path1, "stroke", "none");
|
|
8887
8746
|
attr(path1, "d", "M14 52v16l8-8z");
|
|
8888
|
-
attr(path1, "class",
|
|
8747
|
+
attr(path1, "class", name6 + "-handler-image-fill-color");
|
|
8889
8748
|
},
|
|
8890
8749
|
m(target, anchor) {
|
|
8891
8750
|
insert(target, path0, anchor);
|
|
@@ -8900,7 +8759,7 @@ function create_if_block7(ctx) {
|
|
|
8900
8759
|
}
|
|
8901
8760
|
};
|
|
8902
8761
|
}
|
|
8903
|
-
function
|
|
8762
|
+
function create_fragment55(ctx) {
|
|
8904
8763
|
let div1;
|
|
8905
8764
|
let div0;
|
|
8906
8765
|
let contents;
|
|
@@ -8911,12 +8770,9 @@ function create_fragment56(ctx) {
|
|
|
8911
8770
|
let t1;
|
|
8912
8771
|
let svg;
|
|
8913
8772
|
let path0;
|
|
8914
|
-
let path0_class_value;
|
|
8915
8773
|
let path1;
|
|
8916
|
-
let path1_class_value;
|
|
8917
8774
|
let label_class_value;
|
|
8918
8775
|
let div1_class_value;
|
|
8919
|
-
let height_action;
|
|
8920
8776
|
let current;
|
|
8921
8777
|
let mounted;
|
|
8922
8778
|
let dispose;
|
|
@@ -8937,7 +8793,7 @@ function create_fragment56(ctx) {
|
|
|
8937
8793
|
return create_if_block7;
|
|
8938
8794
|
return create_else_block7;
|
|
8939
8795
|
}
|
|
8940
|
-
let current_block_type = select_block_type(ctx
|
|
8796
|
+
let current_block_type = select_block_type(ctx);
|
|
8941
8797
|
let if_block = current_block_type(ctx);
|
|
8942
8798
|
return {
|
|
8943
8799
|
c() {
|
|
@@ -8958,10 +8814,10 @@ function create_fragment56(ctx) {
|
|
|
8958
8814
|
attr(path0, "fill", "#fff");
|
|
8959
8815
|
attr(path0, "stroke", "none");
|
|
8960
8816
|
attr(path0, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
8961
|
-
attr(path0, "class",
|
|
8817
|
+
attr(path0, "class", name6 + "-handler-bg-color");
|
|
8962
8818
|
attr(path1, "stroke", "#000");
|
|
8963
8819
|
attr(path1, "d", "m0 0 24 16q6 4 6 14v60q0 10-6 14L0 120");
|
|
8964
|
-
attr(path1, "class",
|
|
8820
|
+
attr(path1, "class", name6 + "-handler-border-color");
|
|
8965
8821
|
attr(svg, "fill", "none");
|
|
8966
8822
|
attr(svg, "stroke-width", "2");
|
|
8967
8823
|
attr(svg, "viewBox", "0 0 32 120");
|
|
@@ -8986,7 +8842,7 @@ function create_fragment56(ctx) {
|
|
|
8986
8842
|
if (!mounted) {
|
|
8987
8843
|
dispose = [
|
|
8988
8844
|
listen(input, "change", ctx[15]),
|
|
8989
|
-
action_destroyer(
|
|
8845
|
+
action_destroyer(height.call(null, div1, ctx[9]))
|
|
8990
8846
|
];
|
|
8991
8847
|
mounted = true;
|
|
8992
8848
|
}
|
|
@@ -9017,7 +8873,7 @@ function create_fragment56(ctx) {
|
|
|
9017
8873
|
if (dirty & 8) {
|
|
9018
8874
|
input.checked = ctx2[3];
|
|
9019
8875
|
}
|
|
9020
|
-
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) {
|
|
9021
8877
|
if_block.p(ctx2, dirty);
|
|
9022
8878
|
} else {
|
|
9023
8879
|
if_block.d(1);
|
|
@@ -9058,7 +8914,7 @@ function create_fragment56(ctx) {
|
|
|
9058
8914
|
};
|
|
9059
8915
|
}
|
|
9060
8916
|
var name6 = "fastboard-toolbar";
|
|
9061
|
-
function
|
|
8917
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
9062
8918
|
let writable2;
|
|
9063
8919
|
let disabled;
|
|
9064
8920
|
let computed_height;
|
|
@@ -9095,24 +8951,19 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9095
8951
|
$$self.$$.update = () => {
|
|
9096
8952
|
var _a;
|
|
9097
8953
|
if ($$self.$$.dirty & 1) {
|
|
9098
|
-
|
|
9099
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
8954
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
9100
8955
|
}
|
|
9101
8956
|
if ($$self.$$.dirty & 16384) {
|
|
9102
|
-
|
|
9103
|
-
$$invalidate(7, disabled = !$writable);
|
|
8957
|
+
$$invalidate(7, disabled = !$writable);
|
|
9104
8958
|
}
|
|
9105
8959
|
if ($$self.$$.dirty & 12288) {
|
|
9106
|
-
|
|
9107
|
-
$$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));
|
|
9108
8961
|
}
|
|
9109
8962
|
if ($$self.$$.dirty & 12288) {
|
|
9110
|
-
|
|
9111
|
-
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
8963
|
+
$$invalidate(5, scrollable = $scroll_height + extra_height > $container_height);
|
|
9112
8964
|
}
|
|
9113
8965
|
if ($$self.$$.dirty & 2048) {
|
|
9114
|
-
|
|
9115
|
-
$$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);
|
|
9116
8967
|
}
|
|
9117
8968
|
};
|
|
9118
8969
|
return [
|
|
@@ -9137,7 +8988,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9137
8988
|
var Toolbar = class extends SvelteComponent {
|
|
9138
8989
|
constructor(options) {
|
|
9139
8990
|
super();
|
|
9140
|
-
init(this, options,
|
|
8991
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
9141
8992
|
app: 0,
|
|
9142
8993
|
theme: 1,
|
|
9143
8994
|
language: 2,
|
|
@@ -9401,7 +9252,7 @@ function create_default_slot_25(ctx) {
|
|
|
9401
9252
|
return 1;
|
|
9402
9253
|
return 2;
|
|
9403
9254
|
}
|
|
9404
|
-
current_block_type_index = select_block_type(ctx
|
|
9255
|
+
current_block_type_index = select_block_type(ctx);
|
|
9405
9256
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9406
9257
|
return {
|
|
9407
9258
|
c() {
|
|
@@ -9415,7 +9266,7 @@ function create_default_slot_25(ctx) {
|
|
|
9415
9266
|
},
|
|
9416
9267
|
p(ctx2, dirty) {
|
|
9417
9268
|
let previous_block_index = current_block_type_index;
|
|
9418
|
-
current_block_type_index = select_block_type(ctx2
|
|
9269
|
+
current_block_type_index = select_block_type(ctx2);
|
|
9419
9270
|
if (current_block_type_index === previous_block_index) {
|
|
9420
9271
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9421
9272
|
} else {
|
|
@@ -9459,17 +9310,13 @@ function create_else_block8(ctx) {
|
|
|
9459
9310
|
let span0;
|
|
9460
9311
|
let t1_value = format(ctx[13]) + "";
|
|
9461
9312
|
let t1;
|
|
9462
|
-
let span0_class_value;
|
|
9463
9313
|
let t2;
|
|
9464
9314
|
let span1;
|
|
9465
9315
|
let t3;
|
|
9466
|
-
let span1_class_value;
|
|
9467
9316
|
let t4;
|
|
9468
9317
|
let span2;
|
|
9469
9318
|
let t5_value = format(ctx[14]) + "";
|
|
9470
9319
|
let t5;
|
|
9471
|
-
let span2_class_value;
|
|
9472
|
-
let span3_class_value;
|
|
9473
9320
|
let current;
|
|
9474
9321
|
slider = new Slider_default({
|
|
9475
9322
|
props: {
|
|
@@ -9494,10 +9341,10 @@ function create_else_block8(ctx) {
|
|
|
9494
9341
|
t4 = space();
|
|
9495
9342
|
span2 = element("span");
|
|
9496
9343
|
t5 = text(t5_value);
|
|
9497
|
-
attr(span0, "class",
|
|
9498
|
-
attr(span1, "class",
|
|
9499
|
-
attr(span2, "class",
|
|
9500
|
-
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");
|
|
9501
9348
|
},
|
|
9502
9349
|
m(target, anchor) {
|
|
9503
9350
|
mount_component(slider, target, anchor);
|
|
@@ -9551,7 +9398,6 @@ function create_if_block8(ctx) {
|
|
|
9551
9398
|
let t0;
|
|
9552
9399
|
let span;
|
|
9553
9400
|
let t1;
|
|
9554
|
-
let span_class_value;
|
|
9555
9401
|
let current;
|
|
9556
9402
|
slider = new Slider_default({
|
|
9557
9403
|
props: {
|
|
@@ -9565,7 +9411,7 @@ function create_if_block8(ctx) {
|
|
|
9565
9411
|
t0 = space();
|
|
9566
9412
|
span = element("span");
|
|
9567
9413
|
t1 = text("\u2026/\u2026");
|
|
9568
|
-
attr(span, "class",
|
|
9414
|
+
attr(span, "class", name7 + "-progress loading");
|
|
9569
9415
|
},
|
|
9570
9416
|
m(target, anchor) {
|
|
9571
9417
|
mount_component(slider, target, anchor);
|
|
@@ -9599,13 +9445,12 @@ function create_default_slot_15(ctx) {
|
|
|
9599
9445
|
let t0_value = (ctx[15] || 1) + "";
|
|
9600
9446
|
let t0;
|
|
9601
9447
|
let t1;
|
|
9602
|
-
let span_class_value;
|
|
9603
9448
|
return {
|
|
9604
9449
|
c() {
|
|
9605
9450
|
span = element("span");
|
|
9606
9451
|
t0 = text(t0_value);
|
|
9607
9452
|
t1 = text("x");
|
|
9608
|
-
attr(span, "class",
|
|
9453
|
+
attr(span, "class", name7 + "-speed-text");
|
|
9609
9454
|
},
|
|
9610
9455
|
m(target, anchor) {
|
|
9611
9456
|
insert(target, span, anchor);
|
|
@@ -9706,7 +9551,7 @@ function create_each_block5(key_1, ctx) {
|
|
|
9706
9551
|
}
|
|
9707
9552
|
};
|
|
9708
9553
|
}
|
|
9709
|
-
function
|
|
9554
|
+
function create_fragment56(ctx) {
|
|
9710
9555
|
let div0;
|
|
9711
9556
|
let button0;
|
|
9712
9557
|
let t0;
|
|
@@ -9720,7 +9565,6 @@ function create_fragment57(ctx) {
|
|
|
9720
9565
|
let div1;
|
|
9721
9566
|
let each_blocks = [];
|
|
9722
9567
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
9723
|
-
let div1_class_value;
|
|
9724
9568
|
let current;
|
|
9725
9569
|
button0 = new Button_default({
|
|
9726
9570
|
props: {
|
|
@@ -9741,7 +9585,7 @@ function create_fragment57(ctx) {
|
|
|
9741
9585
|
return 0;
|
|
9742
9586
|
return 1;
|
|
9743
9587
|
}
|
|
9744
|
-
current_block_type_index = select_block_type_1(ctx
|
|
9588
|
+
current_block_type_index = select_block_type_1(ctx);
|
|
9745
9589
|
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
9746
9590
|
button1 = new Button_default({
|
|
9747
9591
|
props: {
|
|
@@ -9778,7 +9622,7 @@ function create_fragment57(ctx) {
|
|
|
9778
9622
|
each_blocks[i].c();
|
|
9779
9623
|
}
|
|
9780
9624
|
attr(div0, "class", div0_class_value = name7 + " " + ctx[0]);
|
|
9781
|
-
attr(div1, "class",
|
|
9625
|
+
attr(div1, "class", name7 + "-panel speed");
|
|
9782
9626
|
set_style(div2, "display", "none");
|
|
9783
9627
|
},
|
|
9784
9628
|
m(target, anchor) {
|
|
@@ -9812,7 +9656,7 @@ function create_fragment57(ctx) {
|
|
|
9812
9656
|
}
|
|
9813
9657
|
button0.$set(button0_changes);
|
|
9814
9658
|
let previous_block_index = current_block_type_index;
|
|
9815
|
-
current_block_type_index = select_block_type_1(ctx2
|
|
9659
|
+
current_block_type_index = select_block_type_1(ctx2);
|
|
9816
9660
|
if (current_block_type_index === previous_block_index) {
|
|
9817
9661
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
9818
9662
|
} else {
|
|
@@ -9910,7 +9754,7 @@ function format(ms) {
|
|
|
9910
9754
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9911
9755
|
}
|
|
9912
9756
|
var name7 = "fastboard-player-control";
|
|
9913
|
-
function
|
|
9757
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
9914
9758
|
let t;
|
|
9915
9759
|
let canPlay;
|
|
9916
9760
|
let disabled;
|
|
@@ -9980,48 +9824,37 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9980
9824
|
};
|
|
9981
9825
|
$$self.$$.update = () => {
|
|
9982
9826
|
if ($$self.$$.dirty & 1048576) {
|
|
9983
|
-
|
|
9984
|
-
$$invalidate(12, t = i18n6[language]);
|
|
9827
|
+
$$invalidate(12, t = i18n6[language]);
|
|
9985
9828
|
}
|
|
9986
9829
|
if ($$self.$$.dirty & 524288) {
|
|
9987
|
-
|
|
9988
|
-
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9830
|
+
$$invalidate(21, canPlay = player == null ? void 0 : player.canplay);
|
|
9989
9831
|
}
|
|
9990
9832
|
if ($$self.$$.dirty & 2097152) {
|
|
9991
|
-
|
|
9992
|
-
$$invalidate(4, disabled = !canPlay);
|
|
9833
|
+
$$invalidate(4, disabled = !canPlay);
|
|
9993
9834
|
}
|
|
9994
9835
|
if ($$self.$$.dirty & 16) {
|
|
9995
|
-
|
|
9996
|
-
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
9836
|
+
$$invalidate(5, type = disabled ? "disable" : "normal");
|
|
9997
9837
|
}
|
|
9998
9838
|
if ($$self.$$.dirty & 524288) {
|
|
9999
|
-
|
|
10000
|
-
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
9839
|
+
$$subscribe_duration($$invalidate(11, duration = player == null ? void 0 : player.duration));
|
|
10001
9840
|
}
|
|
10002
9841
|
if ($$self.$$.dirty & 524288) {
|
|
10003
|
-
|
|
10004
|
-
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
9842
|
+
$$subscribe_current($$invalidate(10, current = player == null ? void 0 : player.currentTime));
|
|
10005
9843
|
}
|
|
10006
9844
|
if ($$self.$$.dirty & 524288) {
|
|
10007
|
-
|
|
10008
|
-
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
9845
|
+
$$subscribe_playbackRate($$invalidate(9, playbackRate = player == null ? void 0 : player.playbackRate));
|
|
10009
9846
|
}
|
|
10010
9847
|
if ($$self.$$.dirty & 524288) {
|
|
10011
|
-
|
|
10012
|
-
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
9848
|
+
$$subscribe_phase($$invalidate(8, phase = player == null ? void 0 : player.phase));
|
|
10013
9849
|
}
|
|
10014
9850
|
if ($$self.$$.dirty & 4194304) {
|
|
10015
|
-
|
|
10016
|
-
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
9851
|
+
$$invalidate(3, loading = $phase === "waitingFirstFrame" || $phase === "buffering");
|
|
10017
9852
|
}
|
|
10018
9853
|
if ($$self.$$.dirty & 4194304) {
|
|
10019
|
-
|
|
10020
|
-
$$invalidate(2, playing = $phase === "playing");
|
|
9854
|
+
$$invalidate(2, playing = $phase === "playing");
|
|
10021
9855
|
}
|
|
10022
9856
|
if ($$self.$$.dirty & 12) {
|
|
10023
|
-
|
|
10024
|
-
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
9857
|
+
$$invalidate(7, className = [loading ? "loading" : "", playing ? "pause" : "play"].filter(Boolean).join(" "));
|
|
10025
9858
|
}
|
|
10026
9859
|
};
|
|
10027
9860
|
return [
|
|
@@ -10055,7 +9888,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10055
9888
|
var PlayerControl = class extends SvelteComponent {
|
|
10056
9889
|
constructor(options) {
|
|
10057
9890
|
super();
|
|
10058
|
-
init(this, options,
|
|
9891
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, {
|
|
10059
9892
|
player: 19,
|
|
10060
9893
|
theme: 0,
|
|
10061
9894
|
language: 20,
|
|
@@ -10066,15 +9899,12 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
10066
9899
|
var PlayerControl_default = PlayerControl;
|
|
10067
9900
|
|
|
10068
9901
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
10069
|
-
function
|
|
9902
|
+
function create_fragment57(ctx) {
|
|
10070
9903
|
let div2;
|
|
10071
9904
|
let div0;
|
|
10072
|
-
let div0_class_value;
|
|
10073
9905
|
let t;
|
|
10074
9906
|
let div1;
|
|
10075
9907
|
let playercontrol;
|
|
10076
|
-
let div1_class_value;
|
|
10077
|
-
let div2_class_value;
|
|
10078
9908
|
let current;
|
|
10079
9909
|
let mounted;
|
|
10080
9910
|
let dispose;
|
|
@@ -10092,9 +9922,9 @@ function create_fragment58(ctx) {
|
|
|
10092
9922
|
t = space();
|
|
10093
9923
|
div1 = element("div");
|
|
10094
9924
|
create_component(playercontrol.$$.fragment);
|
|
10095
|
-
attr(div0, "class",
|
|
10096
|
-
attr(div1, "class",
|
|
10097
|
-
attr(div2, "class",
|
|
9925
|
+
attr(div0, "class", name8 + "-view");
|
|
9926
|
+
attr(div1, "class", name8 + "-bottom");
|
|
9927
|
+
attr(div2, "class", name8 + "-root");
|
|
10098
9928
|
toggle_class(div2, "loading", !ctx[0]);
|
|
10099
9929
|
},
|
|
10100
9930
|
m(target, anchor) {
|
|
@@ -10106,7 +9936,7 @@ function create_fragment58(ctx) {
|
|
|
10106
9936
|
mount_component(playercontrol, div1, null);
|
|
10107
9937
|
current = true;
|
|
10108
9938
|
if (!mounted) {
|
|
10109
|
-
dispose = listen(div0, "touchstart", tippy_hide_all, true);
|
|
9939
|
+
dispose = listen(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
|
|
10110
9940
|
mounted = true;
|
|
10111
9941
|
}
|
|
10112
9942
|
},
|
|
@@ -10144,7 +9974,7 @@ function create_fragment58(ctx) {
|
|
|
10144
9974
|
};
|
|
10145
9975
|
}
|
|
10146
9976
|
var name8 = "fastboard";
|
|
10147
|
-
function
|
|
9977
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
10148
9978
|
let { player = null } = $$props;
|
|
10149
9979
|
let { theme = "light" } = $$props;
|
|
10150
9980
|
let { language = "en" } = $$props;
|
|
@@ -10177,8 +10007,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10177
10007
|
};
|
|
10178
10008
|
$$self.$$.update = () => {
|
|
10179
10009
|
if ($$self.$$.dirty & 9) {
|
|
10180
|
-
|
|
10181
|
-
try {
|
|
10010
|
+
try {
|
|
10182
10011
|
if (player && container)
|
|
10183
10012
|
player.bindContainer(container);
|
|
10184
10013
|
} catch (err) {
|
|
@@ -10187,8 +10016,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10187
10016
|
}
|
|
10188
10017
|
}
|
|
10189
10018
|
if ($$self.$$.dirty & 3) {
|
|
10190
|
-
|
|
10191
|
-
if (player && theme) {
|
|
10019
|
+
if (player && theme) {
|
|
10192
10020
|
player.manager.setPrefersColorScheme(theme);
|
|
10193
10021
|
}
|
|
10194
10022
|
}
|
|
@@ -10198,7 +10026,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10198
10026
|
var ReplayFastboard = class extends SvelteComponent {
|
|
10199
10027
|
constructor(options) {
|
|
10200
10028
|
super();
|
|
10201
|
-
init(this, options,
|
|
10029
|
+
init(this, options, instance57, create_fragment57, not_equal, {
|
|
10202
10030
|
player: 0,
|
|
10203
10031
|
theme: 1,
|
|
10204
10032
|
language: 2,
|
|
@@ -10384,22 +10212,17 @@ function create_if_block9(ctx) {
|
|
|
10384
10212
|
}
|
|
10385
10213
|
};
|
|
10386
10214
|
}
|
|
10387
|
-
function
|
|
10215
|
+
function create_fragment58(ctx) {
|
|
10388
10216
|
var _a, _b, _c, _d;
|
|
10389
10217
|
let div4;
|
|
10390
10218
|
let div0;
|
|
10391
|
-
let div0_class_value;
|
|
10392
10219
|
let t0;
|
|
10393
10220
|
let div1;
|
|
10394
|
-
let div1_class_value;
|
|
10395
10221
|
let t1;
|
|
10396
10222
|
let div2;
|
|
10397
10223
|
let t2;
|
|
10398
|
-
let div2_class_value;
|
|
10399
10224
|
let t3;
|
|
10400
10225
|
let div3;
|
|
10401
|
-
let div3_class_value;
|
|
10402
|
-
let div4_class_value;
|
|
10403
10226
|
let current;
|
|
10404
10227
|
let mounted;
|
|
10405
10228
|
let dispose;
|
|
@@ -10426,14 +10249,14 @@ function create_fragment59(ctx) {
|
|
|
10426
10249
|
div3 = element("div");
|
|
10427
10250
|
if (if_block3)
|
|
10428
10251
|
if_block3.c();
|
|
10429
|
-
attr(div0, "class",
|
|
10430
|
-
attr(div1, "class",
|
|
10252
|
+
attr(div0, "class", name9 + "-view");
|
|
10253
|
+
attr(div1, "class", name9 + "-left");
|
|
10431
10254
|
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10432
|
-
attr(div2, "class",
|
|
10255
|
+
attr(div2, "class", name9 + "-bottom-left");
|
|
10433
10256
|
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10434
|
-
attr(div3, "class",
|
|
10257
|
+
attr(div3, "class", name9 + "-bottom-right");
|
|
10435
10258
|
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10436
|
-
attr(div4, "class",
|
|
10259
|
+
attr(div4, "class", name9 + "-root");
|
|
10437
10260
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10438
10261
|
},
|
|
10439
10262
|
m(target, anchor) {
|
|
@@ -10457,7 +10280,7 @@ function create_fragment59(ctx) {
|
|
|
10457
10280
|
if_block3.m(div3, null);
|
|
10458
10281
|
current = true;
|
|
10459
10282
|
if (!mounted) {
|
|
10460
|
-
dispose = listen(div0, "touchstart", tippy_hide_all, true);
|
|
10283
|
+
dispose = listen(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
|
|
10461
10284
|
mounted = true;
|
|
10462
10285
|
}
|
|
10463
10286
|
},
|
|
@@ -10586,7 +10409,7 @@ function create_fragment59(ctx) {
|
|
|
10586
10409
|
};
|
|
10587
10410
|
}
|
|
10588
10411
|
var name9 = "fastboard";
|
|
10589
|
-
function
|
|
10412
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
10590
10413
|
let writable2;
|
|
10591
10414
|
let boxState;
|
|
10592
10415
|
let focusedApp;
|
|
@@ -10633,20 +10456,16 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10633
10456
|
};
|
|
10634
10457
|
$$self.$$.update = () => {
|
|
10635
10458
|
if ($$self.$$.dirty & 1) {
|
|
10636
|
-
|
|
10637
|
-
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10459
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10638
10460
|
}
|
|
10639
10461
|
if ($$self.$$.dirty & 1) {
|
|
10640
|
-
|
|
10641
|
-
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10462
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10642
10463
|
}
|
|
10643
10464
|
if ($$self.$$.dirty & 1) {
|
|
10644
|
-
|
|
10645
|
-
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10465
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10646
10466
|
}
|
|
10647
10467
|
if ($$self.$$.dirty & 7168) {
|
|
10648
|
-
|
|
10649
|
-
if (!$writable) {
|
|
10468
|
+
if (!$writable) {
|
|
10650
10469
|
$$invalidate(5, layout = "hidden");
|
|
10651
10470
|
} else if ($boxState === "maximized") {
|
|
10652
10471
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
@@ -10659,8 +10478,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10659
10478
|
}
|
|
10660
10479
|
}
|
|
10661
10480
|
if ($$self.$$.dirty & 17) {
|
|
10662
|
-
|
|
10663
|
-
try {
|
|
10481
|
+
try {
|
|
10664
10482
|
if (app && container)
|
|
10665
10483
|
app.bindContainer(container);
|
|
10666
10484
|
} catch (err) {
|
|
@@ -10669,8 +10487,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10669
10487
|
}
|
|
10670
10488
|
}
|
|
10671
10489
|
if ($$self.$$.dirty & 3) {
|
|
10672
|
-
|
|
10673
|
-
if (app && theme) {
|
|
10490
|
+
if (app && theme) {
|
|
10674
10491
|
app.manager.setPrefersColorScheme(theme);
|
|
10675
10492
|
}
|
|
10676
10493
|
}
|
|
@@ -10695,7 +10512,7 @@ function instance59($$self, $$props, $$invalidate) {
|
|
|
10695
10512
|
var Fastboard = class extends SvelteComponent {
|
|
10696
10513
|
constructor(options) {
|
|
10697
10514
|
super();
|
|
10698
|
-
init(this, options,
|
|
10515
|
+
init(this, options, instance58, create_fragment58, not_equal, {
|
|
10699
10516
|
app: 0,
|
|
10700
10517
|
theme: 1,
|
|
10701
10518
|
language: 2,
|
|
@@ -10721,14 +10538,6 @@ var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:
|
|
|
10721
10538
|
|
|
10722
10539
|
// inline-sass-stub:./src/style.scss
|
|
10723
10540
|
injectStyle(style_default);
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
PageControl_default as PageControl,
|
|
10727
|
-
PlayerControl_default as PlayerControl,
|
|
10728
|
-
RedoUndo_default as RedoUndo,
|
|
10729
|
-
ReplayFastboard_default as ReplayFastboard,
|
|
10730
|
-
Toolbar_default as Toolbar,
|
|
10731
|
-
ZoomControl_default as ZoomControl,
|
|
10732
|
-
apps
|
|
10733
|
-
};
|
|
10541
|
+
|
|
10542
|
+
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 };
|
|
10734
10543
|
//# sourceMappingURL=index.mjs.map
|