framework7-vue 7.0.8 → 8.0.0-beta.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.
Files changed (144) hide show
  1. package/components/accordion-content.js +2 -5
  2. package/components/accordion-item.js +0 -13
  3. package/components/accordion-toggle.js +2 -5
  4. package/components/accordion.js +0 -4
  5. package/components/actions-button.d.ts +1 -1
  6. package/components/actions-button.js +2 -9
  7. package/components/actions-group.js +2 -5
  8. package/components/actions-label.d.ts +1 -1
  9. package/components/actions-label.js +2 -8
  10. package/components/actions.js +2 -14
  11. package/components/app.d.ts +7 -12
  12. package/components/app.js +11 -24
  13. package/components/appbar.js +2 -5
  14. package/components/area-chart.js +4 -41
  15. package/components/badge.js +0 -4
  16. package/components/block-footer.js +2 -5
  17. package/components/block-header.js +2 -5
  18. package/components/block-title.js +0 -4
  19. package/components/block.d.ts +61 -9
  20. package/components/block.js +52 -17
  21. package/components/breadcrumbs-collapsed.js +0 -5
  22. package/components/breadcrumbs-item.js +0 -4
  23. package/components/breadcrumbs-separator.js +0 -4
  24. package/components/breadcrumbs.js +0 -4
  25. package/components/button.d.ts +9 -25
  26. package/components/button.js +9 -25
  27. package/components/card-content.js +0 -4
  28. package/components/card-footer.js +2 -5
  29. package/components/card-header.js +2 -5
  30. package/components/card.d.ts +17 -5
  31. package/components/card.js +10 -20
  32. package/components/checkbox.js +0 -7
  33. package/components/chip.d.ts +0 -4
  34. package/components/chip.js +0 -7
  35. package/components/col.js +3 -9
  36. package/components/fab-backdrop.js +2 -5
  37. package/components/fab-button.js +0 -6
  38. package/components/fab-buttons.js +0 -4
  39. package/components/fab.js +0 -9
  40. package/components/gauge.js +0 -4
  41. package/components/icon.d.ts +0 -4
  42. package/components/icon.js +1 -18
  43. package/components/input.js +0 -56
  44. package/components/link.d.ts +0 -4
  45. package/components/link.js +4 -13
  46. package/components/list-button.js +0 -6
  47. package/components/list-group.js +0 -4
  48. package/components/list-index.d.ts +0 -5
  49. package/components/list-index.js +0 -14
  50. package/components/list-input.d.ts +0 -4
  51. package/components/list-input.js +0 -53
  52. package/components/list-item-cell.js +3 -5
  53. package/components/list-item-row.js +3 -5
  54. package/components/list-item.d.ts +0 -4
  55. package/components/list-item.js +9 -52
  56. package/components/list.d.ts +71 -23
  57. package/components/list.js +42 -33
  58. package/components/login-screen-title.js +2 -5
  59. package/components/login-screen.js +2 -17
  60. package/components/menu-dropdown-item.js +1 -6
  61. package/components/menu-dropdown.js +1 -4
  62. package/components/menu-item.js +4 -18
  63. package/components/menu.js +3 -5
  64. package/components/message.js +0 -16
  65. package/components/messagebar-attachment.js +0 -7
  66. package/components/messagebar-attachments.js +2 -5
  67. package/components/messagebar-sheet-image.js +7 -15
  68. package/components/messagebar-sheet-item.js +2 -5
  69. package/components/messagebar-sheet.js +2 -5
  70. package/components/messagebar.js +0 -16
  71. package/components/messages-title.js +2 -5
  72. package/components/messages.js +0 -13
  73. package/components/nav-left.js +0 -9
  74. package/components/nav-right.js +0 -4
  75. package/components/nav-title-large.js +2 -5
  76. package/components/nav-title.js +0 -4
  77. package/components/navbar.d.ts +5 -8
  78. package/components/navbar.js +6 -29
  79. package/components/page-content.js +0 -16
  80. package/components/page.d.ts +0 -4
  81. package/components/page.js +2 -67
  82. package/components/panel.d.ts +4 -0
  83. package/components/panel.js +2 -23
  84. package/components/photo-browser.js +2 -18
  85. package/components/pie-chart.js +4 -20
  86. package/components/popover.d.ts +5 -0
  87. package/components/popover.js +8 -16
  88. package/components/popup.js +3 -19
  89. package/components/preloader.js +4 -23
  90. package/components/progressbar.js +0 -6
  91. package/components/radio.js +0 -7
  92. package/components/range.js +0 -7
  93. package/components/routable-modals.js +0 -7
  94. package/components/row.js +3 -9
  95. package/components/searchbar.d.ts +5 -8
  96. package/components/searchbar.js +7 -28
  97. package/components/segmented.d.ts +0 -12
  98. package/components/segmented.js +2 -12
  99. package/components/sheet.js +2 -18
  100. package/components/stepper.d.ts +0 -20
  101. package/components/stepper.js +1 -27
  102. package/components/subnavbar.js +0 -4
  103. package/components/swipeout-actions.js +0 -6
  104. package/components/swipeout-button.js +0 -6
  105. package/components/tab.js +2 -15
  106. package/components/tabs.js +0 -4
  107. package/components/text-editor.js +0 -17
  108. package/components/toggle.js +0 -9
  109. package/components/toolbar.d.ts +4 -21
  110. package/components/toolbar.js +12 -34
  111. package/components/treeview-item.d.ts +0 -4
  112. package/components/treeview-item.js +0 -13
  113. package/components/treeview.js +2 -5
  114. package/components/use-icon.js +0 -4
  115. package/components/view.d.ts +0 -28
  116. package/components/view.js +4 -50
  117. package/components/views.js +0 -4
  118. package/framework7-vue-bundle.js +3 -21
  119. package/framework7-vue-web-types.json +1 -94
  120. package/framework7-vue.d.ts +3 -15
  121. package/framework7-vue.js +3 -12
  122. package/package.json +8 -1
  123. package/shared/components-router.js +0 -32
  124. package/shared/f7.js +5 -19
  125. package/shared/get-router-initial-component.js +0 -4
  126. package/shared/mixins.js +3 -15
  127. package/shared/plugin.js +2 -8
  128. package/shared/router-open-in.js +4 -13
  129. package/shared/use-icon.js +1 -6
  130. package/shared/use-smart-select.js +0 -1
  131. package/shared/use-store.js +2 -6
  132. package/shared/use-tab.js +0 -2
  133. package/shared/use-theme.js +0 -2
  134. package/shared/use-tooltip.js +0 -2
  135. package/shared/utils.js +0 -14
  136. package/components/appbar.d.ts +0 -67
  137. package/components/col.d.ts +0 -94
  138. package/components/list-item-cell.d.ts +0 -46
  139. package/components/list-item-row.d.ts +0 -46
  140. package/components/menu-dropdown-item.d.ts +0 -223
  141. package/components/menu-dropdown.d.ts +0 -66
  142. package/components/menu-item.d.ts +0 -267
  143. package/components/menu.d.ts +0 -46
  144. package/components/row.d.ts +0 -73
@@ -6,7 +6,6 @@ import { useSmartSelect } from '../shared/use-smart-select.js';
6
6
  import { useTooltip } from '../shared/use-tooltip.js';
7
7
  import { f7ready, f7 } from '../shared/f7.js';
8
8
  import f7Badge from './badge.js';
9
-
10
9
  const ListItemContent = function (_temp) {
11
10
  let {
12
11
  props,
@@ -53,8 +52,9 @@ const ListItemContent = function (_temp) {
53
52
  let inputEl;
54
53
  let inputIconEl;
55
54
  let headerEl;
56
- let footerEl; // Input
55
+ let footerEl;
57
56
 
57
+ // Input
58
58
  if (radio || checkbox) {
59
59
  inputEl = h('input', {
60
60
  ref: inputElRef,
@@ -70,70 +70,58 @@ const ListItemContent = function (_temp) {
70
70
  inputIconEl = h('i', {
71
71
  class: `icon icon-${radio ? 'radio' : 'checkbox'}`
72
72
  });
73
- } // Media
74
-
75
-
73
+ }
74
+ // Media
76
75
  if (media || slots.media) {
77
76
  let mediaImgEl;
78
-
79
77
  if (media) {
80
78
  mediaImgEl = h('img', {
81
79
  src: media
82
80
  });
83
81
  }
84
-
85
82
  mediaEl = h('div', {
86
83
  class: 'item-media'
87
84
  }, [mediaImgEl, slots.media && slots.media()]);
88
- } // Inner Elements
89
-
90
-
85
+ }
86
+ // Inner Elements
91
87
  if (header || slots.header) {
92
88
  headerEl = h('div', {
93
89
  class: 'item-header'
94
90
  }, [header, slots.header && slots.header()]);
95
91
  }
96
-
97
92
  if (footer || slots.footer) {
98
93
  footerEl = h('div', {
99
94
  class: 'item-footer'
100
95
  }, [footer, slots.footer && slots.footer()]);
101
96
  }
102
-
103
97
  if (title || slots.title || !isMediaComputed.value && headerEl || !isMediaComputed.value && footerEl) {
104
98
  titleEl = h('div', {
105
99
  class: 'item-title'
106
100
  }, [!isMediaComputed.value && headerEl, title, slots.title && slots.title(), !isMediaComputed.value && footerEl]);
107
101
  }
108
-
109
102
  if (subtitle || slots.subtitle) {
110
103
  subtitleEl = h('div', {
111
104
  class: 'item-subtitle'
112
105
  }, [subtitle, slots.subtitle && slots.subtitle()]);
113
106
  }
114
-
115
107
  if (text || slots.text) {
116
108
  textEl = h('div', {
117
109
  class: 'item-text'
118
110
  }, [text, slots.text && slots.text()]);
119
111
  }
120
-
121
112
  if (after || badge || slots.after) {
122
113
  if (after) {
123
114
  afterEl = h('span', [after]);
124
115
  }
125
-
126
116
  if (badge) {
127
117
  badgeEl = h(f7Badge, {
128
118
  color: badgeColor
129
119
  }, () => badge);
130
120
  }
131
-
132
121
  afterWrapEl = h('div', {
133
122
  class: 'item-after'
134
123
  }, [slots['after-start'] && slots['after-start'](), afterEl, badgeEl, slots.after && slots.after(), slots['after-end'] && slots['after-end']()]);
135
124
  }
136
-
137
125
  if (isMediaComputed.value) {
138
126
  titleRowEl = h('div', {
139
127
  class: 'item-title-row'
@@ -146,7 +134,6 @@ const ListItemContent = function (_temp) {
146
134
  class: 'item-inner'
147
135
  }, [slots['inner-start'] && slots['inner-start'](), slots['before-title'] && slots['before-title'](), titleEl, slots['after-title'] && slots['after-title'](), afterWrapEl, swipeout || accordionItem ? null : slots.default && slots.default(), slots.inner && slots.inner(), slots['inner-end'] && slots['inner-end']()]);
148
136
  }
149
-
150
137
  const ItemContentTag = checkbox || radio ? 'label' : 'div';
151
138
  return h(ItemContentTag, {
152
139
  class: itemContentClasses.value,
@@ -155,7 +142,6 @@ const ListItemContent = function (_temp) {
155
142
  class: 'sortable-handler'
156
143
  }), slots['content-start'] && slots['content-start'](), inputEl, inputIconEl, mediaEl, innerEl, slots.content && slots.content(), slots['content-end'] && slots['content-end']()]);
157
144
  };
158
-
159
145
  export default {
160
146
  name: 'f7-list-item',
161
147
  props: {
@@ -179,7 +165,6 @@ export default {
179
165
  badgeColor: String,
180
166
  mediaItem: Boolean,
181
167
  mediaList: Boolean,
182
- divider: Boolean,
183
168
  groupTitle: Boolean,
184
169
  swipeout: Boolean,
185
170
  swipeoutOpened: Boolean,
@@ -219,7 +204,6 @@ export default {
219
204
  ...routerProps
220
205
  },
221
206
  emits: ['click', 'swipeout', 'swipeout:overswipeenter', 'swipeout:overswipeexit', 'swipeout:deleted', 'swipeout:delete', 'swipeout:close', 'swipeout:closed', 'swipeout:open', 'swipeout:opened', 'accordion:beforeclose', 'accordion:close', 'accordion:closed', 'accordion:beforeopen', 'accordion:open', 'accordion:opened', 'change', 'update:checked'],
222
-
223
207
  setup(props, _ref) {
224
208
  let {
225
209
  slots,
@@ -240,99 +224,80 @@ export default {
240
224
  const elRef = ref(null);
241
225
  const linkElRef = ref(null);
242
226
  const inputElRef = ref(null);
243
-
244
227
  const onClick = event => {
245
228
  if (event.target.tagName.toLowerCase() !== 'input') {
246
229
  emit('click', event);
247
230
  }
248
231
  };
249
-
250
232
  const onSwipeoutOverswipeEnter = el => {
251
233
  if (elRef.value !== el) return;
252
234
  emit('swipeout:overswipeenter');
253
235
  };
254
-
255
236
  const onSwipeoutOverswipeExit = el => {
256
237
  if (elRef.value !== el) return;
257
238
  emit('swipeout:overswipeexit');
258
239
  };
259
-
260
240
  const onSwipeoutDeleted = el => {
261
241
  if (elRef.value !== el) return;
262
242
  emit('swipeout:deleted');
263
243
  };
264
-
265
244
  const onSwipeoutDelete = el => {
266
245
  if (elRef.value !== el) return;
267
246
  emit('swipeout:delete');
268
247
  };
269
-
270
248
  const onSwipeoutClose = el => {
271
249
  if (elRef.value !== el) return;
272
250
  emit('swipeout:close');
273
251
  };
274
-
275
252
  const onSwipeoutClosed = el => {
276
253
  if (elRef.value !== el) return;
277
254
  emit('swipeout:closed');
278
255
  };
279
-
280
256
  const onSwipeoutOpen = el => {
281
257
  if (elRef.value !== el) return;
282
258
  emit('swipeout:open');
283
259
  };
284
-
285
260
  const onSwipeoutOpened = el => {
286
261
  if (elRef.value !== el) return;
287
262
  emit('swipeout:opened');
288
263
  };
289
-
290
264
  const onSwipeout = (el, progress) => {
291
265
  if (elRef.value !== el) return;
292
266
  emit('swipeout', progress);
293
267
  };
294
-
295
268
  const onAccBeforeClose = (el, prevent) => {
296
269
  if (elRef.value !== el) return;
297
270
  emit('accordion:beforeclose', prevent);
298
271
  };
299
-
300
272
  const onAccClose = el => {
301
273
  if (elRef.value !== el) return;
302
274
  emit('accordion:close');
303
275
  };
304
-
305
276
  const onAccClosed = el => {
306
277
  if (elRef.value !== el) return;
307
278
  emit('accordion:closed');
308
279
  };
309
-
310
280
  const onAccBeforeOpen = (el, prevent) => {
311
281
  if (elRef.value !== el) return;
312
282
  emit('accordion:beforeopen', prevent);
313
283
  };
314
-
315
284
  const onAccOpen = el => {
316
285
  if (elRef.value !== el) return;
317
286
  emit('accordion:open');
318
287
  };
319
-
320
288
  const onAccOpened = el => {
321
289
  if (elRef.value !== el) return;
322
290
  emit('accordion:opened');
323
291
  };
324
-
325
292
  const onChange = event => {
326
293
  emit('change', event);
327
294
  emit('update:checked', event.target.checked);
328
295
  };
329
-
330
296
  useTooltip(elRef, props);
331
297
  useRouteProps(linkElRef, props);
332
298
  useSmartSelect(props, () => {}, () => elRef.value.querySelector('a.smart-select'));
333
299
  watch(() => props.swipeoutOpened, newValue => {
334
300
  if (!props.swipeout || !elRef.value || !f7) return;
335
-
336
301
  if (newValue) {
337
302
  f7.swipeout.open(elRef.value);
338
303
  } else {
@@ -352,7 +317,6 @@ export default {
352
317
  f7.on('swipeoutOverswipeExit', onSwipeoutOverswipeExit);
353
318
  f7.on('swipeout', onSwipeout);
354
319
  }
355
-
356
320
  if (props.accordionItem) {
357
321
  f7.on('accordionBeforeOpen', onAccBeforeOpen);
358
322
  f7.on('accordionOpen', onAccOpen);
@@ -361,12 +325,10 @@ export default {
361
325
  f7.on('accordionClose', onAccClose);
362
326
  f7.on('accordionClosed', onAccClosed);
363
327
  }
364
-
365
328
  if (props.swipeout && props.swipeoutOpened) {
366
329
  f7.swipeout.open(elRef.value);
367
330
  }
368
331
  });
369
-
370
332
  if (props.checkbox && inputElRef.value) {
371
333
  inputElRef.value.indeterminate = !!props.indeterminate;
372
334
  }
@@ -418,7 +380,6 @@ export default {
418
380
  'item-radio-icon-end': props.radio && props.radioIcon === 'end'
419
381
  }, colorClasses(props)));
420
382
  const liClasses = computed(() => classNames({
421
- 'item-divider': props.divider,
422
383
  'list-group-title': props.groupTitle,
423
384
  'media-item': isMediaComputed.value,
424
385
  swipeout: props.swipeout,
@@ -432,7 +393,6 @@ export default {
432
393
  return () => {
433
394
  let linkEl;
434
395
  let itemContentEl;
435
-
436
396
  if (!listIsSimple.value) {
437
397
  // Item Content
438
398
  itemContentEl = ListItemContent({
@@ -445,8 +405,9 @@ export default {
445
405
  isSortableComputed,
446
406
  isSortableOppositeComputed,
447
407
  itemContentClasses
448
- }); // Link
408
+ });
449
409
 
410
+ // Link
450
411
  if (props.link || props.href || props.accordionItem || props.smartSelect) {
451
412
  linkEl = h('a', {
452
413
  ref: linkElRef,
@@ -456,8 +417,7 @@ export default {
456
417
  }, [itemContentEl]);
457
418
  }
458
419
  }
459
-
460
- if (props.divider || props.groupTitle) {
420
+ if (props.groupTitle) {
461
421
  return h('li', {
462
422
  ref: elRef,
463
423
  class: liClasses.value,
@@ -465,7 +425,6 @@ export default {
465
425
  onClick
466
426
  }, [props.title, slots.default && slots.default()]);
467
427
  }
468
-
469
428
  if (listIsSimple.value) {
470
429
  return h('li', {
471
430
  ref: elRef,
@@ -474,7 +433,6 @@ export default {
474
433
  'data-virtual-list-index': props.virtualListIndex
475
434
  }, [props.title, slots.default && slots.default()]);
476
435
  }
477
-
478
436
  const linkItemEl = props.link || props.href || props.smartSelect || props.accordionItem ? linkEl : itemContentEl;
479
437
  return h('li', {
480
438
  ref: elRef,
@@ -487,5 +445,4 @@ export default {
487
445
  }), (props.swipeout || props.accordionItem) && slots.default(), slots.root && slots.root(), slots['root-end'] && slots['root-end']()]);
488
446
  };
489
447
  }
490
-
491
448
  };
@@ -9,99 +9,151 @@ declare const List: DefineComponent<
9
9
  type: BooleanConstructor;
10
10
  },
11
11
 
12
+ insetIos: {
13
+ type: BooleanConstructor;
14
+ },
15
+
16
+ insetMd: {
17
+ type: BooleanConstructor;
18
+ },
19
+
12
20
  xsmallInset: {
13
21
  type: BooleanConstructor;
14
22
  },
15
23
 
24
+ xsmallInsetIos: {
25
+ type: BooleanConstructor;
26
+ },
27
+
28
+ xsmallInsetMd: {
29
+ type: BooleanConstructor;
30
+ },
31
+
16
32
  smallInset: {
17
33
  type: BooleanConstructor;
18
34
  },
19
35
 
36
+ smallInsetIos: {
37
+ type: BooleanConstructor;
38
+ },
39
+
40
+ smallInsetMd: {
41
+ type: BooleanConstructor;
42
+ },
43
+
20
44
  mediumInset: {
21
45
  type: BooleanConstructor;
22
46
  },
23
47
 
48
+ mediumInsetIos: {
49
+ type: BooleanConstructor;
50
+ },
51
+
52
+ mediumInsetMd: {
53
+ type: BooleanConstructor;
54
+ },
55
+
24
56
  largeInset: {
25
57
  type: BooleanConstructor;
26
58
  },
27
59
 
60
+ largeInsetIos: {
61
+ type: BooleanConstructor;
62
+ },
63
+
64
+ largeInsetMd: {
65
+ type: BooleanConstructor;
66
+ },
67
+
28
68
  xlargeInset: {
29
69
  type: BooleanConstructor;
30
70
  },
31
71
 
32
- mediaList: {
72
+ xlargeInsetIos: {
33
73
  type: BooleanConstructor;
34
74
  },
35
75
 
36
- sortable: {
76
+ xlargeInsetMd: {
37
77
  type: BooleanConstructor;
38
78
  },
39
79
 
40
- sortableTapHold: {
80
+ strong: {
41
81
  type: BooleanConstructor;
42
82
  },
43
83
 
44
- sortableEnabled: {
84
+ strongIos: {
45
85
  type: BooleanConstructor;
46
86
  },
47
87
 
48
- sortableOpposite: {
88
+ strongMd: {
49
89
  type: BooleanConstructor;
50
90
  },
51
91
 
52
- accordionList: {
92
+ outline: {
53
93
  type: BooleanConstructor;
54
94
  },
55
95
 
56
- accordionOpposite: {
96
+ outlineIos: {
57
97
  type: BooleanConstructor;
58
98
  },
59
99
 
60
- contactsList: {
100
+ outlineMd: {
61
101
  type: BooleanConstructor;
62
102
  },
63
103
 
64
- simpleList: {
104
+ dividers: {
65
105
  type: BooleanConstructor;
66
106
  },
67
107
 
68
- linksList: {
108
+ dividersIos: {
69
109
  type: BooleanConstructor;
70
110
  },
71
111
 
72
- menuList: {
112
+ dividersMd: {
113
+ type: BooleanConstructor;
114
+ },
115
+
116
+ mediaList: {
117
+ type: BooleanConstructor;
118
+ },
119
+
120
+ sortable: {
121
+ type: BooleanConstructor;
122
+ },
123
+
124
+ sortableTapHold: {
73
125
  type: BooleanConstructor;
74
126
  },
75
127
 
76
- noHairlines: {
128
+ sortableEnabled: {
77
129
  type: BooleanConstructor;
78
130
  },
79
131
 
80
- noHairlinesBetween: {
132
+ sortableOpposite: {
81
133
  type: BooleanConstructor;
82
134
  },
83
135
 
84
- noHairlinesMd: {
136
+ accordionList: {
85
137
  type: BooleanConstructor;
86
138
  },
87
139
 
88
- noHairlinesBetweenMd: {
140
+ accordionOpposite: {
89
141
  type: BooleanConstructor;
90
142
  },
91
143
 
92
- noHairlinesIos: {
144
+ contactsList: {
93
145
  type: BooleanConstructor;
94
146
  },
95
147
 
96
- noHairlinesBetweenIos: {
148
+ simpleList: {
97
149
  type: BooleanConstructor;
98
150
  },
99
151
 
100
- noHairlinesAurora: {
152
+ linksList: {
101
153
  type: BooleanConstructor;
102
154
  },
103
155
 
104
- noHairlinesBetweenAurora: {
156
+ menuList: {
105
157
  type: BooleanConstructor;
106
158
  },
107
159
 
@@ -129,10 +181,6 @@ declare const List: DefineComponent<
129
181
  type: BooleanConstructor;
130
182
  },
131
183
 
132
- inlineLabels: {
133
- type: BooleanConstructor;
134
- },
135
-
136
184
  virtualList: {
137
185
  type: BooleanConstructor;
138
186
  },
@@ -7,11 +7,32 @@ export default {
7
7
  name: 'f7-list',
8
8
  props: {
9
9
  inset: Boolean,
10
+ insetIos: Boolean,
11
+ insetMd: Boolean,
10
12
  xsmallInset: Boolean,
13
+ xsmallInsetIos: Boolean,
14
+ xsmallInsetMd: Boolean,
11
15
  smallInset: Boolean,
16
+ smallInsetIos: Boolean,
17
+ smallInsetMd: Boolean,
12
18
  mediumInset: Boolean,
19
+ mediumInsetIos: Boolean,
20
+ mediumInsetMd: Boolean,
13
21
  largeInset: Boolean,
22
+ largeInsetIos: Boolean,
23
+ largeInsetMd: Boolean,
14
24
  xlargeInset: Boolean,
25
+ xlargeInsetIos: Boolean,
26
+ xlargeInsetMd: Boolean,
27
+ strong: Boolean,
28
+ strongIos: Boolean,
29
+ strongMd: Boolean,
30
+ outline: Boolean,
31
+ outlineIos: Boolean,
32
+ outlineMd: Boolean,
33
+ dividers: Boolean,
34
+ dividersIos: Boolean,
35
+ dividersMd: Boolean,
15
36
  mediaList: Boolean,
16
37
  sortable: Boolean,
17
38
  sortableTapHold: Boolean,
@@ -27,14 +48,6 @@ export default {
27
48
  simpleList: Boolean,
28
49
  linksList: Boolean,
29
50
  menuList: Boolean,
30
- noHairlines: Boolean,
31
- noHairlinesBetween: Boolean,
32
- noHairlinesMd: Boolean,
33
- noHairlinesBetweenMd: Boolean,
34
- noHairlinesIos: Boolean,
35
- noHairlinesBetweenIos: Boolean,
36
- noHairlinesAurora: Boolean,
37
- noHairlinesBetweenAurora: Boolean,
38
51
  // Links Chevron (Arrow) Icon
39
52
  noChevron: Boolean,
40
53
  chevronCenter: Boolean,
@@ -44,14 +57,12 @@ export default {
44
57
  // Form
45
58
  form: Boolean,
46
59
  formStoreData: Boolean,
47
- inlineLabels: Boolean,
48
60
  // Virtual List
49
61
  virtualList: Boolean,
50
62
  virtualListParams: Object,
51
63
  ...colorProps
52
64
  },
53
65
  emits: ['submit', 'sortable:enable', 'sortable:disable', 'sortable:sort', 'sortable:move', 'virtual:itembeforeinsert', 'virtual:beforeclear', 'virtual:itemsbeforeinsert', 'virtual:itemsafterinsert', 'tab:hide', 'tab:show'],
54
-
55
66
  setup(props, _ref) {
56
67
  let {
57
68
  emit,
@@ -59,31 +70,25 @@ export default {
59
70
  } = _ref;
60
71
  let f7VirtualList = null;
61
72
  const elRef = ref(null);
62
-
63
73
  const onSubmit = event => {
64
74
  emit('submit', event);
65
75
  };
66
-
67
76
  const onSortableEnable = el => {
68
77
  if (elRef.value !== el) return;
69
78
  emit('sortable:enable');
70
79
  };
71
-
72
80
  const onSortableDisable = el => {
73
81
  if (elRef.value !== el) return;
74
82
  emit('sortable:disable');
75
83
  };
76
-
77
84
  const onSortableSort = (el, sortData, listEl) => {
78
85
  if (elRef.value !== listEl) return;
79
86
  emit('sortable:sort', sortData);
80
87
  };
81
-
82
88
  const onSortableMove = (el, listEl) => {
83
89
  if (elRef.value !== listEl) return;
84
90
  emit('sortable:move', el, listEl);
85
91
  };
86
-
87
92
  useTab(elRef, emit);
88
93
  onMounted(() => {
89
94
  f7ready(() => {
@@ -102,22 +107,18 @@ export default {
102
107
  const vl = this;
103
108
  emit('virtual:itembeforeinsert', vl, itemEl, item);
104
109
  },
105
-
106
110
  beforeClear(fragment) {
107
111
  const vl = this;
108
112
  emit('virtual:beforeclear', vl, fragment);
109
113
  },
110
-
111
114
  itemsBeforeInsert(fragment) {
112
115
  const vl = this;
113
116
  emit('virtual:itemsbeforeinsert', vl, fragment);
114
117
  },
115
-
116
118
  itemsAfterInsert(fragment) {
117
119
  const vl = this;
118
120
  emit('virtual:itemsafterinsert', vl, fragment);
119
121
  }
120
-
121
122
  }
122
123
  }, vlParams));
123
124
  });
@@ -134,11 +135,32 @@ export default {
134
135
  });
135
136
  const classes = computed(() => classNames('list', {
136
137
  inset: props.inset,
138
+ 'inset-ios': props.insetIos,
139
+ 'inset-md': props.insetMd,
137
140
  'xsmall-inset': props.xsmallInset,
141
+ 'xsmall-inset-ios': props.xsmallInsetIos,
142
+ 'xsmall-inset-md': props.xsmallInsetMd,
138
143
  'small-inset': props.smallInset,
144
+ 'small-inset-ios': props.smallInsetIos,
145
+ 'small-inset-md': props.smallInsetMd,
139
146
  'medium-inset': props.mediumInset,
147
+ 'medium-inset-ios': props.mediumInsetIos,
148
+ 'medium-inset-md': props.mediumInsetMd,
140
149
  'large-inset': props.largeInset,
150
+ 'large-inset-ios': props.largeInsetIos,
151
+ 'large-inset-md': props.largeInsetMd,
141
152
  'xlarge-inset': props.xlargeInset,
153
+ 'xlarge-inset-ios': props.xlargeInsetIos,
154
+ 'xlarge-inset-md': props.xlargeInsetMd,
155
+ 'list-strong': props.strong,
156
+ 'list-strong-ios': props.strongIos,
157
+ 'list-strong-md': props.strongMd,
158
+ 'list-outline': props.outline,
159
+ 'list-outline-ios': props.outlineIos,
160
+ 'list-outline-md': props.outlineMd,
161
+ 'list-dividers': props.dividers,
162
+ 'list-dividers-ios': props.dividersIos,
163
+ 'list-dividers-md': props.dividersMd,
142
164
  'media-list': props.mediaList,
143
165
  'simple-list': props.simpleList,
144
166
  'links-list': props.linksList,
@@ -153,16 +175,7 @@ export default {
153
175
  'virtual-list': props.virtualList,
154
176
  tab: props.tab,
155
177
  'tab-active': props.tabActive,
156
- 'no-hairlines': props.noHairlines,
157
- 'no-hairlines-md': props.noHairlinesMd,
158
- 'no-hairlines-ios': props.noHairlinesIos,
159
- 'no-hairlines-aurora': props.noHairlinesAurora,
160
- 'no-hairlines-between': props.noHairlinesBetween,
161
- 'no-hairlines-between-md': props.noHairlinesBetweenMd,
162
- 'no-hairlines-between-ios': props.noHairlinesBetweenIos,
163
- 'no-hairlines-between-aurora': props.noHairlinesBetweenAurora,
164
178
  'form-store-data': props.formStoreData,
165
- 'inline-labels': props.inlineLabels,
166
179
  'no-chevron': props.noChevron,
167
180
  'chevron-center': props.chevronCenter
168
181
  }, colorClasses(props)));
@@ -183,12 +196,10 @@ export default {
183
196
  const rootChildrenAfterList = [];
184
197
  const ulChildren = slotsList || [];
185
198
  let wasUlChild = false;
186
-
187
199
  if (slotsDefault) {
188
200
  slotsDefault().forEach(vnode => {
189
201
  if (typeof vnode === 'undefined') return;
190
202
  const tag = vnode.type && vnode.type.name ? vnode.type.name : vnode.type;
191
-
192
203
  if (tag && typeof tag === 'symbol') {
193
204
  wasUlChild = true;
194
205
  ulChildren.push(vnode);
@@ -200,7 +211,6 @@ export default {
200
211
  }
201
212
  });
202
213
  }
203
-
204
214
  return h(ListTag.value, {
205
215
  ref: elRef,
206
216
  class: classes.value,
@@ -209,5 +219,4 @@ export default {
209
219
  }, [slots['before-list'] && slots['before-list'](), rootChildrenBeforeList, ulChildren.length > 0 && h('ul', ulChildren), slots['after-list'] && slots['after-list'](), rootChildrenAfterList]);
210
220
  };
211
221
  }
212
-
213
222
  };
@@ -1,25 +1,22 @@
1
1
  import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
-
3
2
  function render(_ctx, _cache) {
4
3
  return _openBlock(), _createElementBlock("div", {
5
4
  class: _normalizeClass(_ctx.classes)
6
5
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
6
  }
8
-
9
7
  import { computed } from 'vue';
10
8
  import { classNames } from '../shared/utils.js';
11
9
  import { colorClasses, colorProps } from '../shared/mixins.js';
12
10
  export default {
13
11
  name: 'f7-login-screen-title',
14
12
  render,
15
- props: { ...colorProps
13
+ props: {
14
+ ...colorProps
16
15
  },
17
-
18
16
  setup(props) {
19
17
  const classes = computed(() => classNames('login-screen-title', colorClasses(props)));
20
18
  return {
21
19
  classes
22
20
  };
23
21
  }
24
-
25
22
  };