framework7-svelte 6.3.6 → 6.3.10

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.
@@ -47,7 +47,7 @@ function create_if_block_2(ctx) {
47
47
  };
48
48
  }
49
49
 
50
- // (114:2) {#if typeof text !== 'undefined' || typeof badge !== 'undefined'}
50
+ // (118:2) {#if typeof text !== 'undefined' || typeof badge !== 'undefined'}
51
51
  function create_if_block(ctx) {
52
52
  let span;
53
53
  let t0_value = plainText(/*text*/ ctx[0]) + "";
@@ -117,7 +117,7 @@ function create_if_block(ctx) {
117
117
  };
118
118
  }
119
119
 
120
- // (117:6) {#if typeof badge !== 'undefined'}
120
+ // (121:6) {#if typeof badge !== 'undefined'}
121
121
  function create_if_block_1(ctx) {
122
122
  let badge_1;
123
123
  let current;
@@ -142,7 +142,7 @@ function create_if_block_1(ctx) {
142
142
  const badge_1_changes = {};
143
143
  if (dirty[0] & /*badgeColor*/ 4) badge_1_changes.color = /*badgeColor*/ ctx[2];
144
144
 
145
- if (dirty[0] & /*$$scope, badge*/ 268435458) {
145
+ if (dirty[0] & /*$$scope, badge*/ 536870914) {
146
146
  badge_1_changes.$$scope = { dirty, ctx };
147
147
  }
148
148
 
@@ -163,7 +163,7 @@ function create_if_block_1(ctx) {
163
163
  };
164
164
  }
165
165
 
166
- // (117:40) <Badge color={badgeColor}>
166
+ // (121:40) <Badge color={badgeColor}>
167
167
  function create_default_slot(ctx) {
168
168
  let t_value = plainText(/*badge*/ ctx[1]) + "";
169
169
  let t;
@@ -194,8 +194,8 @@ function create_fragment(ctx) {
194
194
  let mounted;
195
195
  let dispose;
196
196
  let if_block0 = /*icon*/ ctx[10] && create_if_block_2(ctx);
197
- const default_slot_template = /*#slots*/ ctx[26].default;
198
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], null);
197
+ const default_slot_template = /*#slots*/ ctx[27].default;
198
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
199
199
  let if_block1 = (typeof /*text*/ ctx[0] !== "undefined" || typeof /*badge*/ ctx[1] !== "undefined") && create_if_block(ctx);
200
200
  let a_levels = [{ class: /*classes*/ ctx[9] }, /*attrs*/ ctx[8]];
201
201
  let a_data = {};
@@ -225,7 +225,7 @@ function create_fragment(ctx) {
225
225
 
226
226
  append(a, t1);
227
227
  if (if_block1) if_block1.m(a, null);
228
- /*a_binding*/ ctx[27](a);
228
+ /*a_binding*/ ctx[28](a);
229
229
  current = true;
230
230
 
231
231
  if (!mounted) {
@@ -266,8 +266,8 @@ function create_fragment(ctx) {
266
266
  }
267
267
 
268
268
  if (default_slot) {
269
- if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 268435456)) {
270
- update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[28], dirty, null, null);
269
+ if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 536870912)) {
270
+ update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[29], dirty, null, null);
271
271
  }
272
272
  }
273
273
 
@@ -324,7 +324,7 @@ function create_fragment(ctx) {
324
324
  if (if_block0) if_block0.d();
325
325
  if (default_slot) default_slot.d(detaching);
326
326
  if (if_block1) if_block1.d();
327
- /*a_binding*/ ctx[27](null);
327
+ /*a_binding*/ ctx[28](null);
328
328
  mounted = false;
329
329
  run_all(dispose);
330
330
  }
@@ -341,7 +341,7 @@ function instance($$self, $$props, $$invalidate) {
341
341
  let icon;
342
342
 
343
343
  const omit_props_names = [
344
- "class","noLinkClass","text","tabLink","tabLinkActive","tabbarLabel","iconOnly","badge","badgeColor","href","target","tooltip","tooltipTrigger","routeProps","smartSelect","smartSelectParams"
344
+ "class","noLinkClass","text","tabLink","tabLinkActive","tabbarLabel","iconOnly","badge","badgeColor","href","target","tooltip","tooltipTrigger","routeProps","smartSelect","smartSelectParams","smartSelectInstance"
345
345
  ];
346
346
 
347
347
  let $$restProps = compute_rest_props($$props, omit_props_names);
@@ -367,8 +367,12 @@ function instance($$self, $$props, $$invalidate) {
367
367
  let el;
368
368
  let f7SmartSelect;
369
369
 
370
+ function smartSelectInstance() {
371
+ return f7SmartSelect;
372
+ }
373
+
370
374
  let TabbarContext = getReactiveContext("TabbarContext", newValue => {
371
- $$invalidate(22, TabbarContext = newValue);
375
+ $$invalidate(23, TabbarContext = newValue);
372
376
  }) || {};
373
377
 
374
378
  function onClick() {
@@ -391,8 +395,8 @@ function instance($$self, $$props, $$invalidate) {
391
395
  }
392
396
 
393
397
  $$self.$$set = $$new_props => {
394
- $$invalidate(31, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
395
- $$invalidate(32, $$restProps = compute_rest_props($$props, omit_props_names));
398
+ $$invalidate(32, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
399
+ $$invalidate(33, $$restProps = compute_rest_props($$props, omit_props_names));
396
400
  if ("class" in $$new_props) $$invalidate(12, className = $$new_props.class);
397
401
  if ("noLinkClass" in $$new_props) $$invalidate(13, noLinkClass = $$new_props.noLinkClass);
398
402
  if ("text" in $$new_props) $$invalidate(0, text = $$new_props.text);
@@ -409,16 +413,16 @@ function instance($$self, $$props, $$invalidate) {
409
413
  if ("routeProps" in $$new_props) $$invalidate(5, routeProps = $$new_props.routeProps);
410
414
  if ("smartSelect" in $$new_props) $$invalidate(20, smartSelect = $$new_props.smartSelect);
411
415
  if ("smartSelectParams" in $$new_props) $$invalidate(21, smartSelectParams = $$new_props.smartSelectParams);
412
- if ("$$scope" in $$new_props) $$invalidate(28, $$scope = $$new_props.$$scope);
416
+ if ("$$scope" in $$new_props) $$invalidate(29, $$scope = $$new_props.$$scope);
413
417
  };
414
418
 
415
419
  $$self.$$.update = () => {
416
- if ($$self.$$.dirty[0] & /*tabbarLabel, TabbarContext*/ 4259840) {
420
+ if ($$self.$$.dirty[0] & /*tabbarLabel, TabbarContext*/ 8454144) {
417
421
  $: $$invalidate(6, isTabbarLabel = tabbarLabel || TabbarContext.tabbarHasLabels);
418
422
  }
419
423
 
420
424
  if ($$self.$$.dirty[0] & /*href*/ 262144) {
421
- $: $$invalidate(23, hrefComputed = href === true ? "#" : href || undefined);
425
+ $: $$invalidate(24, hrefComputed = href === true ? "#" : href || undefined);
422
426
  }
423
427
 
424
428
  $: $$invalidate(8, attrs = extend(
@@ -432,8 +436,8 @@ function instance($$self, $$props, $$invalidate) {
432
436
  actionsAttrs($$props)
433
437
  ));
434
438
 
435
- if ($$self.$$.dirty[0] & /*iconOnly, text, hasDefaultSlots*/ 16908289) {
436
- $: $$invalidate(25, iconOnlyComputed = iconOnly || !text && !hasDefaultSlots);
439
+ if ($$self.$$.dirty[0] & /*iconOnly, text, hasDefaultSlots*/ 33685505) {
440
+ $: $$invalidate(26, iconOnlyComputed = iconOnly || !text && !hasDefaultSlots);
437
441
  }
438
442
 
439
443
  $: $$invalidate(9, classes = classNames(
@@ -453,7 +457,7 @@ function instance($$self, $$props, $$invalidate) {
453
457
  $: $$invalidate(10, icon = useIcon($$props));
454
458
  };
455
459
 
456
- $: $$invalidate(24, hasDefaultSlots = $$slots.default);
460
+ $: $$invalidate(25, hasDefaultSlots = $$slots.default);
457
461
  $$props = exclude_internal_props($$props);
458
462
 
459
463
  return [
@@ -479,6 +483,7 @@ function instance($$self, $$props, $$invalidate) {
479
483
  target,
480
484
  smartSelect,
481
485
  smartSelectParams,
486
+ smartSelectInstance,
482
487
  TabbarContext,
483
488
  hrefComputed,
484
489
  hasDefaultSlots,
@@ -515,11 +520,16 @@ class Link extends SvelteComponent {
515
520
  tooltipTrigger: 4,
516
521
  routeProps: 5,
517
522
  smartSelect: 20,
518
- smartSelectParams: 21
523
+ smartSelectParams: 21,
524
+ smartSelectInstance: 22
519
525
  },
520
526
  [-1, -1]
521
527
  );
522
528
  }
529
+
530
+ get smartSelectInstance() {
531
+ return this.$$.ctx[22];
532
+ }
523
533
  }
524
534
 
525
535
  exports.default = Link;
@@ -22,7 +22,7 @@ const get_list_slot_context = ctx => ({});
22
22
  const get_before_list_slot_changes = dirty => ({});
23
23
  const get_before_list_slot_context = ctx => ({});
24
24
 
25
- // (211:0) {:else}
25
+ // (217:0) {:else}
26
26
  function create_else_block_1(ctx) {
27
27
  let div;
28
28
  let t0;
@@ -162,7 +162,7 @@ function create_else_block_1(ctx) {
162
162
  };
163
163
  }
164
164
 
165
- // (190:0) {#if form}
165
+ // (196:0) {#if form}
166
166
  function create_if_block(ctx) {
167
167
  let form_1;
168
168
  let t0;
@@ -311,7 +311,7 @@ function create_if_block(ctx) {
311
311
  };
312
312
  }
313
313
 
314
- // (226:4) {:else}
314
+ // (232:4) {:else}
315
315
  function create_else_block_2(ctx) {
316
316
  let current;
317
317
  const default_slot_template = /*#slots*/ ctx[44].default;
@@ -350,7 +350,7 @@ function create_else_block_2(ctx) {
350
350
  };
351
351
  }
352
352
 
353
- // (221:4) {#if hasUlSlots && ul}
353
+ // (227:4) {#if hasUlSlots && ul}
354
354
  function create_if_block_2(ctx) {
355
355
  let ul_1;
356
356
  let t;
@@ -414,7 +414,7 @@ function create_if_block_2(ctx) {
414
414
  };
415
415
  }
416
416
 
417
- // (206:4) {:else}
417
+ // (212:4) {:else}
418
418
  function create_else_block(ctx) {
419
419
  let current;
420
420
  const default_slot_template = /*#slots*/ ctx[44].default;
@@ -453,7 +453,7 @@ function create_else_block(ctx) {
453
453
  };
454
454
  }
455
455
 
456
- // (201:4) {#if hasUlSlots && ul}
456
+ // (207:4) {#if hasUlSlots && ul}
457
457
  function create_if_block_1(ctx) {
458
458
  let ul_1;
459
459
  let t;
@@ -668,6 +668,11 @@ function instance($$self, $$props, $$invalidate) {
668
668
  emit("sortableSort", [sortData]);
669
669
  }
670
670
 
671
+ function onSortableMove(listItemEl, listEl) {
672
+ if (listEl !== el) return;
673
+ emit("sortableMove", [listEl]);
674
+ }
675
+
671
676
  useTab(() => el, emit);
672
677
 
673
678
  onMount(() => {
@@ -675,6 +680,7 @@ function instance($$self, $$props, $$invalidate) {
675
680
  app.f7.on("sortableEnable", onSortableEnable);
676
681
  app.f7.on("sortableDisable", onSortableDisable);
677
682
  app.f7.on("sortableSort", onSortableSort);
683
+ app.f7.on("sortableMove", onSortableMove);
678
684
  if (!virtualList) return;
679
685
  const vlParams = virtualListParams || {};
680
686
  if (!vlParams.renderItem && !vlParams.renderExternal) return;
@@ -711,6 +717,7 @@ function instance($$self, $$props, $$invalidate) {
711
717
  app.f7.off("sortableEnable", onSortableEnable);
712
718
  app.f7.off("sortableDisable", onSortableDisable);
713
719
  app.f7.off("sortableSort", onSortableSort);
720
+ app.f7.off("sortableMove", onSortableMove);
714
721
 
715
722
  if (f7VirtualList && f7VirtualList.destroy) {
716
723
  f7VirtualList.destroy();
@@ -733,7 +740,7 @@ function instance($$self, $$props, $$invalidate) {
733
740
  }
734
741
 
735
742
  $$self.$$set = $$new_props => {
736
- $$invalidate(52, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
743
+ $$invalidate(53, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
737
744
  $$invalidate(7, $$restProps = compute_rest_props($$props, omit_props_names));
738
745
  if ("class" in $$new_props) $$invalidate(8, className = $$new_props.class);
739
746
  if ("ul" in $$new_props) $$invalidate(0, ul = $$new_props.ul);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Svelte 6.3.6
2
+ * Framework7 Svelte 6.3.10
3
3
  * Build full featured iOS & Android apps using Framework7 & Svelte
4
4
  * https://framework7.io/svelte/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: October 25, 2021
10
+ * Released on: December 8, 2021
11
11
  */
12
12
  "use strict";
13
13
 
@@ -55,6 +55,7 @@ interface ListProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
55
55
  onSortableEnable ?: (...args: any[]) => void;
56
56
  onSortableDisable ?: (...args: any[]) => void;
57
57
  onSortableSort ?: (sortData?: any) => void;
58
+ onSortableMove ?: (itemEl?: any) => void;
58
59
  onTabShow ?: (el?: HTMLElement) => void;
59
60
  onTabHide ?: (el?: HTMLElement) => void;
60
61
  }
@@ -63,7 +64,7 @@ interface ListProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div
63
64
 
64
65
  class List extends SvelteComponentTyped<
65
66
  ListProps,
66
- { submit: CustomEvent<void>; sortableEnable: CustomEvent<void>; sortableDisable: CustomEvent<void>; sortableSort: CustomEvent<void>; virtualItemBeforeInsert: CustomEvent<void>; virtualBeforeClear: CustomEvent<void>; virtualItemsBeforeInsert: CustomEvent<void>; virtualItemsAfterInsert: CustomEvent<void>; },
67
+ { submit: CustomEvent<void>; sortableEnable: CustomEvent<void>; sortableDisable: CustomEvent<void>; sortableSort: CustomEvent<void>; sortableMove: CustomEvent<void>; virtualItemBeforeInsert: CustomEvent<void>; virtualBeforeClear: CustomEvent<void>; virtualItemsBeforeInsert: CustomEvent<void>; virtualItemsAfterInsert: CustomEvent<void>; },
67
68
  { 'before-list' : {}; 'list' : {}; 'default' : {}; 'after-list' : {}; }
68
69
  > {}
69
70
 
@@ -93,7 +93,7 @@ function create_if_block_2(ctx) {
93
93
  };
94
94
  }
95
95
 
96
- // (114:2) {#if typeof text !== 'undefined' || typeof badge !== 'undefined'}
96
+ // (118:2) {#if typeof text !== 'undefined' || typeof badge !== 'undefined'}
97
97
  function create_if_block(ctx) {
98
98
  let span;
99
99
  let t0_value = plainText(/*text*/ ctx[0]) + "";
@@ -163,7 +163,7 @@ function create_if_block(ctx) {
163
163
  };
164
164
  }
165
165
 
166
- // (117:6) {#if typeof badge !== 'undefined'}
166
+ // (121:6) {#if typeof badge !== 'undefined'}
167
167
  function create_if_block_1(ctx) {
168
168
  let badge_1;
169
169
  let current;
@@ -188,7 +188,7 @@ function create_if_block_1(ctx) {
188
188
  const badge_1_changes = {};
189
189
  if (dirty[0] & /*badgeColor*/ 4) badge_1_changes.color = /*badgeColor*/ ctx[2];
190
190
 
191
- if (dirty[0] & /*$$scope, badge*/ 268435458) {
191
+ if (dirty[0] & /*$$scope, badge*/ 536870914) {
192
192
  badge_1_changes.$$scope = { dirty, ctx };
193
193
  }
194
194
 
@@ -209,7 +209,7 @@ function create_if_block_1(ctx) {
209
209
  };
210
210
  }
211
211
 
212
- // (117:40) <Badge color={badgeColor}>
212
+ // (121:40) <Badge color={badgeColor}>
213
213
  function create_default_slot(ctx) {
214
214
  let t_value = plainText(/*badge*/ ctx[1]) + "";
215
215
  let t;
@@ -240,8 +240,8 @@ function create_fragment(ctx) {
240
240
  let mounted;
241
241
  let dispose;
242
242
  let if_block0 = /*icon*/ ctx[10] && create_if_block_2(ctx);
243
- const default_slot_template = /*#slots*/ ctx[26].default;
244
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], null);
243
+ const default_slot_template = /*#slots*/ ctx[27].default;
244
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
245
245
  let if_block1 = (typeof /*text*/ ctx[0] !== "undefined" || typeof /*badge*/ ctx[1] !== "undefined") && create_if_block(ctx);
246
246
  let a_levels = [{ class: /*classes*/ ctx[9] }, /*attrs*/ ctx[8]];
247
247
  let a_data = {};
@@ -271,7 +271,7 @@ function create_fragment(ctx) {
271
271
 
272
272
  append(a, t1);
273
273
  if (if_block1) if_block1.m(a, null);
274
- /*a_binding*/ ctx[27](a);
274
+ /*a_binding*/ ctx[28](a);
275
275
  current = true;
276
276
 
277
277
  if (!mounted) {
@@ -312,8 +312,8 @@ function create_fragment(ctx) {
312
312
  }
313
313
 
314
314
  if (default_slot) {
315
- if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 268435456)) {
316
- update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[28], dirty, null, null);
315
+ if (default_slot.p && (!current || dirty[0] & /*$$scope*/ 536870912)) {
316
+ update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[29], dirty, null, null);
317
317
  }
318
318
  }
319
319
 
@@ -370,7 +370,7 @@ function create_fragment(ctx) {
370
370
  if (if_block0) if_block0.d();
371
371
  if (default_slot) default_slot.d(detaching);
372
372
  if (if_block1) if_block1.d();
373
- /*a_binding*/ ctx[27](null);
373
+ /*a_binding*/ ctx[28](null);
374
374
  mounted = false;
375
375
  run_all(dispose);
376
376
  }
@@ -387,7 +387,7 @@ function instance($$self, $$props, $$invalidate) {
387
387
  let icon;
388
388
 
389
389
  const omit_props_names = [
390
- "class","noLinkClass","text","tabLink","tabLinkActive","tabbarLabel","iconOnly","badge","badgeColor","href","target","tooltip","tooltipTrigger","routeProps","smartSelect","smartSelectParams"
390
+ "class","noLinkClass","text","tabLink","tabLinkActive","tabbarLabel","iconOnly","badge","badgeColor","href","target","tooltip","tooltipTrigger","routeProps","smartSelect","smartSelectParams","smartSelectInstance"
391
391
  ];
392
392
 
393
393
  let $$restProps = compute_rest_props($$props, omit_props_names);
@@ -413,8 +413,12 @@ function instance($$self, $$props, $$invalidate) {
413
413
  let el;
414
414
  let f7SmartSelect;
415
415
 
416
+ function smartSelectInstance() {
417
+ return f7SmartSelect;
418
+ }
419
+
416
420
  let TabbarContext = getReactiveContext("TabbarContext", newValue => {
417
- $$invalidate(22, TabbarContext = newValue);
421
+ $$invalidate(23, TabbarContext = newValue);
418
422
  }) || {};
419
423
 
420
424
  function onClick() {
@@ -437,8 +441,8 @@ function instance($$self, $$props, $$invalidate) {
437
441
  }
438
442
 
439
443
  $$self.$$set = $$new_props => {
440
- $$invalidate(31, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
441
- $$invalidate(32, $$restProps = compute_rest_props($$props, omit_props_names));
444
+ $$invalidate(32, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
445
+ $$invalidate(33, $$restProps = compute_rest_props($$props, omit_props_names));
442
446
  if ("class" in $$new_props) $$invalidate(12, className = $$new_props.class);
443
447
  if ("noLinkClass" in $$new_props) $$invalidate(13, noLinkClass = $$new_props.noLinkClass);
444
448
  if ("text" in $$new_props) $$invalidate(0, text = $$new_props.text);
@@ -455,16 +459,16 @@ function instance($$self, $$props, $$invalidate) {
455
459
  if ("routeProps" in $$new_props) $$invalidate(5, routeProps = $$new_props.routeProps);
456
460
  if ("smartSelect" in $$new_props) $$invalidate(20, smartSelect = $$new_props.smartSelect);
457
461
  if ("smartSelectParams" in $$new_props) $$invalidate(21, smartSelectParams = $$new_props.smartSelectParams);
458
- if ("$$scope" in $$new_props) $$invalidate(28, $$scope = $$new_props.$$scope);
462
+ if ("$$scope" in $$new_props) $$invalidate(29, $$scope = $$new_props.$$scope);
459
463
  };
460
464
 
461
465
  $$self.$$.update = () => {
462
- if ($$self.$$.dirty[0] & /*tabbarLabel, TabbarContext*/ 4259840) {
466
+ if ($$self.$$.dirty[0] & /*tabbarLabel, TabbarContext*/ 8454144) {
463
467
  $: $$invalidate(6, isTabbarLabel = tabbarLabel || TabbarContext.tabbarHasLabels);
464
468
  }
465
469
 
466
470
  if ($$self.$$.dirty[0] & /*href*/ 262144) {
467
- $: $$invalidate(23, hrefComputed = href === true ? "#" : href || undefined);
471
+ $: $$invalidate(24, hrefComputed = href === true ? "#" : href || undefined);
468
472
  }
469
473
 
470
474
  $: $$invalidate(8, attrs = extend(
@@ -478,8 +482,8 @@ function instance($$self, $$props, $$invalidate) {
478
482
  actionsAttrs($$props)
479
483
  ));
480
484
 
481
- if ($$self.$$.dirty[0] & /*iconOnly, text, hasDefaultSlots*/ 16908289) {
482
- $: $$invalidate(25, iconOnlyComputed = iconOnly || !text && !hasDefaultSlots);
485
+ if ($$self.$$.dirty[0] & /*iconOnly, text, hasDefaultSlots*/ 33685505) {
486
+ $: $$invalidate(26, iconOnlyComputed = iconOnly || !text && !hasDefaultSlots);
483
487
  }
484
488
 
485
489
  $: $$invalidate(9, classes = classNames(
@@ -499,7 +503,7 @@ function instance($$self, $$props, $$invalidate) {
499
503
  $: $$invalidate(10, icon = useIcon($$props));
500
504
  };
501
505
 
502
- $: $$invalidate(24, hasDefaultSlots = $$slots.default);
506
+ $: $$invalidate(25, hasDefaultSlots = $$slots.default);
503
507
  $$props = exclude_internal_props($$props);
504
508
 
505
509
  return [
@@ -525,6 +529,7 @@ function instance($$self, $$props, $$invalidate) {
525
529
  target,
526
530
  smartSelect,
527
531
  smartSelectParams,
532
+ smartSelectInstance,
528
533
  TabbarContext,
529
534
  hrefComputed,
530
535
  hasDefaultSlots,
@@ -561,11 +566,16 @@ class Link extends SvelteComponent {
561
566
  tooltipTrigger: 4,
562
567
  routeProps: 5,
563
568
  smartSelect: 20,
564
- smartSelectParams: 21
569
+ smartSelectParams: 21,
570
+ smartSelectInstance: 22
565
571
  },
566
572
  [-1, -1]
567
573
  );
568
574
  }
575
+
576
+ get smartSelectInstance() {
577
+ return this.$$.ctx[22];
578
+ }
569
579
  }
570
580
 
571
581
  export default Link;
@@ -45,7 +45,7 @@ const get_list_slot_context = ctx => ({});
45
45
  const get_before_list_slot_changes = dirty => ({});
46
46
  const get_before_list_slot_context = ctx => ({});
47
47
 
48
- // (211:0) {:else}
48
+ // (217:0) {:else}
49
49
  function create_else_block_1(ctx) {
50
50
  let div;
51
51
  let t0;
@@ -185,7 +185,7 @@ function create_else_block_1(ctx) {
185
185
  };
186
186
  }
187
187
 
188
- // (190:0) {#if form}
188
+ // (196:0) {#if form}
189
189
  function create_if_block(ctx) {
190
190
  let form_1;
191
191
  let t0;
@@ -334,7 +334,7 @@ function create_if_block(ctx) {
334
334
  };
335
335
  }
336
336
 
337
- // (226:4) {:else}
337
+ // (232:4) {:else}
338
338
  function create_else_block_2(ctx) {
339
339
  let current;
340
340
  const default_slot_template = /*#slots*/ ctx[44].default;
@@ -373,7 +373,7 @@ function create_else_block_2(ctx) {
373
373
  };
374
374
  }
375
375
 
376
- // (221:4) {#if hasUlSlots && ul}
376
+ // (227:4) {#if hasUlSlots && ul}
377
377
  function create_if_block_2(ctx) {
378
378
  let ul_1;
379
379
  let t;
@@ -437,7 +437,7 @@ function create_if_block_2(ctx) {
437
437
  };
438
438
  }
439
439
 
440
- // (206:4) {:else}
440
+ // (212:4) {:else}
441
441
  function create_else_block(ctx) {
442
442
  let current;
443
443
  const default_slot_template = /*#slots*/ ctx[44].default;
@@ -476,7 +476,7 @@ function create_else_block(ctx) {
476
476
  };
477
477
  }
478
478
 
479
- // (201:4) {#if hasUlSlots && ul}
479
+ // (207:4) {#if hasUlSlots && ul}
480
480
  function create_if_block_1(ctx) {
481
481
  let ul_1;
482
482
  let t;
@@ -691,6 +691,11 @@ function instance($$self, $$props, $$invalidate) {
691
691
  emit("sortableSort", [sortData]);
692
692
  }
693
693
 
694
+ function onSortableMove(listItemEl, listEl) {
695
+ if (listEl !== el) return;
696
+ emit("sortableMove", [listEl]);
697
+ }
698
+
694
699
  useTab(() => el, emit);
695
700
 
696
701
  onMount(() => {
@@ -698,6 +703,7 @@ function instance($$self, $$props, $$invalidate) {
698
703
  app.f7.on("sortableEnable", onSortableEnable);
699
704
  app.f7.on("sortableDisable", onSortableDisable);
700
705
  app.f7.on("sortableSort", onSortableSort);
706
+ app.f7.on("sortableMove", onSortableMove);
701
707
  if (!virtualList) return;
702
708
  const vlParams = virtualListParams || {};
703
709
  if (!vlParams.renderItem && !vlParams.renderExternal) return;
@@ -734,6 +740,7 @@ function instance($$self, $$props, $$invalidate) {
734
740
  app.f7.off("sortableEnable", onSortableEnable);
735
741
  app.f7.off("sortableDisable", onSortableDisable);
736
742
  app.f7.off("sortableSort", onSortableSort);
743
+ app.f7.off("sortableMove", onSortableMove);
737
744
 
738
745
  if (f7VirtualList && f7VirtualList.destroy) {
739
746
  f7VirtualList.destroy();
@@ -756,7 +763,7 @@ function instance($$self, $$props, $$invalidate) {
756
763
  }
757
764
 
758
765
  $$self.$$set = $$new_props => {
759
- $$invalidate(52, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
766
+ $$invalidate(53, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
760
767
  $$invalidate(7, $$restProps = compute_rest_props($$props, omit_props_names));
761
768
  if ("class" in $$new_props) $$invalidate(8, className = $$new_props.class);
762
769
  if ("ul" in $$new_props) $$invalidate(0, ul = $$new_props.ul);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Svelte 6.3.6
2
+ * Framework7 Svelte 6.3.10
3
3
  * Build full featured iOS & Android apps using Framework7 & Svelte
4
4
  * https://framework7.io/svelte/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: October 25, 2021
10
+ * Released on: December 8, 2021
11
11
  */
12
12
  import Framework7Svelte from './shared/plugin';
13
13
  import { f7, f7ready, theme, app } from './shared/f7';
@@ -44,6 +44,10 @@
44
44
  let el;
45
45
  let f7SmartSelect;
46
46
 
47
+ export function smartSelectInstance() {
48
+ return f7SmartSelect;
49
+ }
50
+
47
51
  let TabbarContext =
48
52
  getReactiveContext('TabbarContext', (newValue) => {
49
53
  TabbarContext = newValue;
@@ -131,6 +131,10 @@
131
131
  if (listEl !== el) return;
132
132
  emit('sortableSort', [sortData]);
133
133
  }
134
+ function onSortableMove(listItemEl, listEl) {
135
+ if (listEl !== el) return;
136
+ emit('sortableMove', [listEl]);
137
+ }
134
138
 
135
139
  useTab(() => el, emit);
136
140
 
@@ -139,6 +143,7 @@
139
143
  app.f7.on('sortableEnable', onSortableEnable);
140
144
  app.f7.on('sortableDisable', onSortableDisable);
141
145
  app.f7.on('sortableSort', onSortableSort);
146
+ app.f7.on('sortableMove', onSortableMove);
142
147
 
143
148
  if (!virtualList) return;
144
149
  const vlParams = virtualListParams || {};
@@ -178,6 +183,7 @@
178
183
  app.f7.off('sortableEnable', onSortableEnable);
179
184
  app.f7.off('sortableDisable', onSortableDisable);
180
185
  app.f7.off('sortableSort', onSortableSort);
186
+ app.f7.off('sortableMove', onSortableMove);
181
187
 
182
188
  if (f7VirtualList && f7VirtualList.destroy) {
183
189
  f7VirtualList.destroy();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework7-svelte",
3
- "version": "6.3.6",
3
+ "version": "6.3.10",
4
4
  "description": "Build full featured iOS & Android apps using Framework7 & Svelte",
5
5
  "main": "cjs/framework7-svelte.js",
6
6
  "module": "esm/framework7-svelte.js",