@netless/fastboard-ui 0.3.2 → 0.3.3

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.
@@ -6966,6 +6966,11 @@ function get_each_context4(ctx, list, i) {
6966
6966
  child_ctx[45] = constants_0.onClick;
6967
6967
  const constants_1 = child_ctx[20] && child_ctx[20][child_ctx[44]];
6968
6968
  child_ctx[46] = constants_1;
6969
+ const constants_2 = () => {
6970
+ child_ctx[0] && child_ctx[45](child_ctx[0]);
6971
+ tippy_hide_all();
6972
+ };
6973
+ child_ctx[47] = constants_2;
6969
6974
  return child_ctx;
6970
6975
  }
6971
6976
  function create_if_block_8(ctx) {
@@ -6991,7 +6996,7 @@ function create_if_block_8(ctx) {
6991
6996
  },
6992
6997
  p(ctx2, dirty) {
6993
6998
  const button_changes = dirty[0] & 32768 ? get_spread_update2(button_spread_levels, [button_spread_levels[0], get_spread_object2(ctx2[15])]) : {};
6994
- if (dirty[0] & 2 | dirty[1] & 262144) {
6999
+ if (dirty[0] & 2 | dirty[1] & 524288) {
6995
7000
  button_changes.$$scope = { dirty, ctx: ctx2 };
6996
7001
  }
6997
7002
  button.$set(button_changes);
@@ -7969,7 +7974,7 @@ function create_if_block_12(ctx) {
7969
7974
  dirty[0] & 16384 && { menu: ctx2[14] },
7970
7975
  button_spread_levels[4]
7971
7976
  ]) : {};
7972
- if (dirty[0] & 2 | dirty[1] & 262144) {
7977
+ if (dirty[0] & 2 | dirty[1] & 524288) {
7973
7978
  button_changes.$$scope = { dirty, ctx: ctx2 };
7974
7979
  }
7975
7980
  button.$set(button_changes);
@@ -8050,7 +8055,7 @@ function create_if_block6(ctx) {
8050
8055
  button_changes.theme = ctx2[1];
8051
8056
  if (dirty[0] & 8)
8052
8057
  button_changes.disabled = ctx2[3];
8053
- if (dirty[0] & 2 | dirty[1] & 262144) {
8058
+ if (dirty[0] & 2 | dirty[1] & 524288) {
8054
8059
  button_changes.$$scope = { dirty, ctx: ctx2 };
8055
8060
  }
8056
8061
  button.$set(button_changes);
@@ -8152,8 +8157,8 @@ function create_each_block4(ctx) {
8152
8157
  append54(button, t2);
8153
8158
  if (!mounted) {
8154
8159
  dispose = listen6(button, "click", function() {
8155
- if (is_function3(ctx[0] && ctx[45].bind(null, ctx[0])))
8156
- (ctx[0] && ctx[45].bind(null, ctx[0])).apply(this, arguments);
8160
+ if (is_function3(ctx[47]))
8161
+ ctx[47].apply(this, arguments);
8157
8162
  });
8158
8163
  mounted = true;
8159
8164
  }
@@ -8558,7 +8563,7 @@ function create_fragment55(ctx) {
8558
8563
  dirty[0] & 32768 && get_spread_object2(ctx2[15]),
8559
8564
  dirty[0] & 262144 && { content: ctx2[18].clicker }
8560
8565
  ]) : {};
8561
- if (dirty[0] & 258 | dirty[1] & 262144) {
8566
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8562
8567
  button0_changes.$$scope = { dirty, ctx: ctx2 };
8563
8568
  }
8564
8569
  button0.$set(button0_changes);
@@ -8567,7 +8572,7 @@ function create_fragment55(ctx) {
8567
8572
  dirty[0] & 32768 && get_spread_object2(ctx2[15]),
8568
8573
  dirty[0] & 262144 && { content: ctx2[18].selector }
8569
8574
  ]) : {};
8570
- if (dirty[0] & 258 | dirty[1] & 262144) {
8575
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8571
8576
  button1_changes.$$scope = { dirty, ctx: ctx2 };
8572
8577
  }
8573
8578
  button1.$set(button1_changes);
@@ -8577,7 +8582,7 @@ function create_fragment55(ctx) {
8577
8582
  dirty[0] & 262144 && { content: ctx2[18].pencil },
8578
8583
  dirty[0] & 2048 && { menu: ctx2[11] }
8579
8584
  ]) : {};
8580
- if (dirty[0] & 258 | dirty[1] & 262144) {
8585
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8581
8586
  button2_changes.$$scope = { dirty, ctx: ctx2 };
8582
8587
  }
8583
8588
  button2.$set(button2_changes);
@@ -8587,7 +8592,7 @@ function create_fragment55(ctx) {
8587
8592
  dirty[0] & 262144 && { content: ctx2[18].text },
8588
8593
  dirty[0] & 4096 && { menu: ctx2[12] }
8589
8594
  ]) : {};
8590
- if (dirty[0] & 258 | dirty[1] & 262144) {
8595
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8591
8596
  button3_changes.$$scope = { dirty, ctx: ctx2 };
8592
8597
  }
8593
8598
  button3.$set(button3_changes);
@@ -8597,7 +8602,7 @@ function create_fragment55(ctx) {
8597
8602
  dirty[0] & 512 && { content: ctx2[9].shapes },
8598
8603
  dirty[0] & 8192 && { menu: ctx2[13] }
8599
8604
  ]) : {};
8600
- if (dirty[0] & 1410 | dirty[1] & 262144) {
8605
+ if (dirty[0] & 1410 | dirty[1] & 524288) {
8601
8606
  button4_changes.$$scope = { dirty, ctx: ctx2 };
8602
8607
  }
8603
8608
  button4.$set(button4_changes);
@@ -8606,7 +8611,7 @@ function create_fragment55(ctx) {
8606
8611
  dirty[0] & 32768 && get_spread_object2(ctx2[15]),
8607
8612
  dirty[0] & 262144 && { content: ctx2[18].eraser }
8608
8613
  ]) : {};
8609
- if (dirty[0] & 258 | dirty[1] & 262144) {
8614
+ if (dirty[0] & 258 | dirty[1] & 524288) {
8610
8615
  button5_changes.$$scope = { dirty, ctx: ctx2 };
8611
8616
  }
8612
8617
  button5.$set(button5_changes);
@@ -8615,7 +8620,7 @@ function create_fragment55(ctx) {
8615
8620
  dirty[0] & 32768 && get_spread_object2(ctx2[15]),
8616
8621
  dirty[0] & 512 && { content: ctx2[9].clear }
8617
8622
  ]) : {};
8618
- if (dirty[0] & 2 | dirty[1] & 262144) {
8623
+ if (dirty[0] & 2 | dirty[1] & 524288) {
8619
8624
  button6_changes.$$scope = { dirty, ctx: ctx2 };
8620
8625
  }
8621
8626
  button6.$set(button6_changes);
@@ -10353,7 +10358,7 @@ function create_fragment58(ctx) {
10353
10358
  mount_component9(playercontrol, div1, null);
10354
10359
  current = true;
10355
10360
  if (!mounted) {
10356
- dispose = listen8(div0, "touchstart", tippy_hide_all, true);
10361
+ dispose = listen8(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
10357
10362
  mounted = true;
10358
10363
  }
10359
10364
  },
@@ -10728,7 +10733,7 @@ function create_fragment59(ctx) {
10728
10733
  if_block3.m(div3, null);
10729
10734
  current = true;
10730
10735
  if (!mounted) {
10731
- dispose = listen9(div0, "touchstart", tippy_hide_all, true);
10736
+ dispose = listen9(div0, "touchstart", tippy_hide_all, { passive: true, capture: true });
10732
10737
  mounted = true;
10733
10738
  }
10734
10739
  },