framework7-vue 7.0.9 → 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 +85 -644
  120. package/framework7-vue.d.ts +2 -12
  121. package/framework7-vue.js +3 -12
  122. package/package.json +1 -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
@@ -37,10 +37,6 @@ declare const Button: DefineComponent<
37
37
  type: BooleanConstructor;
38
38
  },
39
39
 
40
- roundAurora: {
41
- type: BooleanConstructor;
42
- },
43
-
44
40
  fill: {
45
41
  type: BooleanConstructor;
46
42
  },
@@ -53,39 +49,39 @@ declare const Button: DefineComponent<
53
49
  type: BooleanConstructor;
54
50
  },
55
51
 
56
- fillAurora: {
52
+ tonal: {
57
53
  type: BooleanConstructor;
58
54
  },
59
55
 
60
- large: {
56
+ tonalMd: {
61
57
  type: BooleanConstructor;
62
58
  },
63
59
 
64
- largeMd: {
60
+ tonalIos: {
65
61
  type: BooleanConstructor;
66
62
  },
67
63
 
68
- largeIos: {
64
+ large: {
69
65
  type: BooleanConstructor;
70
66
  },
71
67
 
72
- largeAurora: {
68
+ largeMd: {
73
69
  type: BooleanConstructor;
74
70
  },
75
71
 
76
- small: {
72
+ largeIos: {
77
73
  type: BooleanConstructor;
78
74
  },
79
75
 
80
- smallMd: {
76
+ small: {
81
77
  type: BooleanConstructor;
82
78
  },
83
79
 
84
- smallIos: {
80
+ smallMd: {
85
81
  type: BooleanConstructor;
86
82
  },
87
83
 
88
- smallAurora: {
84
+ smallIos: {
89
85
  type: BooleanConstructor;
90
86
  },
91
87
 
@@ -101,10 +97,6 @@ declare const Button: DefineComponent<
101
97
  type: BooleanConstructor;
102
98
  },
103
99
 
104
- raisedAurora: {
105
- type: BooleanConstructor;
106
- },
107
-
108
100
  outline: {
109
101
  type: BooleanConstructor;
110
102
  },
@@ -117,10 +109,6 @@ declare const Button: DefineComponent<
117
109
  type: BooleanConstructor;
118
110
  },
119
111
 
120
- outlineAurora: {
121
- type: BooleanConstructor;
122
- },
123
-
124
112
  active: {
125
113
  type: BooleanConstructor;
126
114
  },
@@ -178,10 +166,6 @@ declare const Button: DefineComponent<
178
166
  type: StringConstructor;
179
167
  },
180
168
 
181
- iconAurora: {
182
- type: StringConstructor;
183
- },
184
-
185
169
  iconColor: {
186
170
  type: StringConstructor;
187
171
  },
@@ -5,12 +5,9 @@ const _hoisted_1 = {
5
5
  const _hoisted_2 = {
6
6
  key: 1
7
7
  };
8
-
9
8
  function render(_ctx, _cache) {
10
9
  const _component_f7_preloader = _resolveComponent("f7-preloader");
11
-
12
10
  const _component_f7_use_icon = _resolveComponent("f7-use-icon");
13
-
14
11
  return _openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), _mergeProps({
15
12
  ref: "elRef",
16
13
  class: _ctx.classesComputed
@@ -32,7 +29,6 @@ function render(_ctx, _cache) {
32
29
  _: 3
33
30
  }, 16, ["class"]);
34
31
  }
35
-
36
32
  import { ref, computed } from 'vue';
37
33
  import { classNames, extend, isStringProp } from '../shared/utils.js';
38
34
  import { colorClasses, actionsAttrs, actionsClasses, routerAttrs, routerClasses, iconProps, colorProps, actionsProps, routerProps } from '../shared/mixins.js';
@@ -61,27 +57,24 @@ export default {
61
57
  round: Boolean,
62
58
  roundMd: Boolean,
63
59
  roundIos: Boolean,
64
- roundAurora: Boolean,
65
60
  fill: Boolean,
66
61
  fillMd: Boolean,
67
62
  fillIos: Boolean,
68
- fillAurora: Boolean,
63
+ tonal: Boolean,
64
+ tonalMd: Boolean,
65
+ tonalIos: Boolean,
69
66
  large: Boolean,
70
67
  largeMd: Boolean,
71
68
  largeIos: Boolean,
72
- largeAurora: Boolean,
73
69
  small: Boolean,
74
70
  smallMd: Boolean,
75
71
  smallIos: Boolean,
76
- smallAurora: Boolean,
77
72
  raised: Boolean,
78
73
  raisedMd: Boolean,
79
74
  raisedIos: Boolean,
80
- raisedAurora: Boolean,
81
75
  outline: Boolean,
82
76
  outlineMd: Boolean,
83
77
  outlineIos: Boolean,
84
- outlineAurora: Boolean,
85
78
  active: Boolean,
86
79
  disabled: Boolean,
87
80
  tooltip: String,
@@ -95,7 +88,6 @@ export default {
95
88
  ...actionsProps,
96
89
  ...routerProps
97
90
  },
98
-
99
91
  setup(props) {
100
92
  const elRef = ref(null);
101
93
  useTooltip(elRef, props);
@@ -112,7 +104,6 @@ export default {
112
104
  let hrefComputed = href;
113
105
  if (href === true) hrefComputed = '#';
114
106
  if (href === false || tag.value === 'button') hrefComputed = undefined; // no href attribute
115
-
116
107
  return extend({
117
108
  href: hrefComputed,
118
109
  target,
@@ -127,27 +118,24 @@ export default {
127
118
  round,
128
119
  roundMd,
129
120
  roundIos,
130
- roundAurora,
131
121
  fill,
132
122
  fillMd,
133
123
  fillIos,
134
- fillAurora,
124
+ tonal,
125
+ tonalMd,
126
+ tonalIos,
135
127
  large,
136
128
  largeMd,
137
129
  largeIos,
138
- largeAurora,
139
130
  small,
140
131
  smallMd,
141
132
  smallIos,
142
- smallAurora,
143
133
  raised,
144
134
  raisedMd,
145
135
  raisedIos,
146
- raisedAurora,
147
136
  outline,
148
137
  outlineMd,
149
138
  outlineIos,
150
- outlineAurora,
151
139
  active,
152
140
  disabled,
153
141
  preloader,
@@ -158,28 +146,25 @@ export default {
158
146
  'tab-link-active': tabLinkActive,
159
147
  'button-round': round,
160
148
  'button-round-ios': roundIos,
161
- 'button-round-aurora': roundAurora,
162
149
  'button-round-md': roundMd,
163
150
  'button-fill': fill,
164
151
  'button-fill-ios': fillIos,
165
- 'button-fill-aurora': fillAurora,
166
152
  'button-fill-md': fillMd,
153
+ 'button-tonal': tonal,
154
+ 'button-tonal-ios': tonalIos,
155
+ 'button-tonal-md': tonalMd,
167
156
  'button-large': large,
168
157
  'button-large-ios': largeIos,
169
- 'button-large-aurora': largeAurora,
170
158
  'button-large-md': largeMd,
171
159
  'button-small': small,
172
160
  'button-small-ios': smallIos,
173
- 'button-small-aurora': smallAurora,
174
161
  'button-small-md': smallMd,
175
162
  'button-raised': raised,
176
163
  'button-raised-ios': raisedIos,
177
- 'button-raised-aurora': raisedAurora,
178
164
  'button-raised-md': raisedMd,
179
165
  'button-active': active,
180
166
  'button-outline': outline,
181
167
  'button-outline-ios': outlineIos,
182
- 'button-outline-aurora': outlineAurora,
183
168
  'button-outline-md': outlineMd,
184
169
  'button-preloader': preloader,
185
170
  'button-loading': loading,
@@ -194,5 +179,4 @@ export default {
194
179
  icon
195
180
  };
196
181
  }
197
-
198
182
  };
@@ -1,11 +1,9 @@
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';
@@ -19,7 +17,6 @@ export default {
19
17
  },
20
18
  ...colorProps
21
19
  },
22
-
23
20
  setup(props) {
24
21
  const classes = computed(() => classNames('card-content', {
25
22
  'card-content-padding': props.padding
@@ -28,5 +25,4 @@ export default {
28
25
  classes
29
26
  };
30
27
  }
31
-
32
28
  };
@@ -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-card-footer',
14
12
  render,
15
- props: { ...colorProps
13
+ props: {
14
+ ...colorProps
16
15
  },
17
-
18
16
  setup(props) {
19
17
  const classes = computed(() => classNames('card-footer', colorClasses(props)));
20
18
  return {
21
19
  classes
22
20
  };
23
21
  }
24
-
25
22
  };
@@ -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-card-header',
14
12
  render,
15
- props: { ...colorProps
13
+ props: {
14
+ ...colorProps
16
15
  },
17
-
18
16
  setup(props) {
19
17
  const classes = computed(() => classNames('card-header', colorClasses(props)));
20
18
  return {
21
19
  classes
22
20
  };
23
21
  }
24
-
25
22
  };
@@ -17,27 +17,39 @@ declare const Card: DefineComponent<
17
17
  type: StringConstructor | NumberConstructor;
18
18
  },
19
19
 
20
+ raised: {
21
+ type: BooleanConstructor;
22
+ },
23
+
20
24
  outline: {
21
25
  type: BooleanConstructor;
22
26
  },
23
27
 
24
- expandable: {
28
+ outlineIos: {
25
29
  type: BooleanConstructor;
26
30
  },
27
31
 
28
- expandableAnimateWidth: {
32
+ outlineMd: {
29
33
  type: BooleanConstructor;
30
34
  },
31
35
 
32
- expandableOpened: {
36
+ headerDivider: {
33
37
  type: BooleanConstructor;
34
38
  },
35
39
 
36
- noShadow: {
40
+ footerDivider: {
37
41
  type: BooleanConstructor;
38
42
  },
39
43
 
40
- noBorder: {
44
+ expandable: {
45
+ type: BooleanConstructor;
46
+ },
47
+
48
+ expandableAnimateWidth: {
49
+ type: BooleanConstructor;
50
+ },
51
+
52
+ expandableOpened: {
41
53
  type: BooleanConstructor;
42
54
  },
43
55
 
@@ -1,13 +1,9 @@
1
1
  import { toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock } from "vue";
2
2
  const _hoisted_1 = ["data-animate", "data-hide-navbar-on-open", "data-hide-toolbar-on-open", "data-hide-statusbar-on-open", "data-scrollable-el", "data-swipe-to-close", "data-close-by-backdrop-click", "data-backdrop", "data-backdrop-el"];
3
-
4
3
  function render(_ctx, _cache) {
5
4
  const _component_f7_card_header = _resolveComponent("f7-card-header");
6
-
7
5
  const _component_f7_card_content = _resolveComponent("f7-card-content");
8
-
9
6
  const _component_f7_card_footer = _resolveComponent("f7-card-footer");
10
-
11
7
  return _openBlock(), _createElementBlock("div", {
12
8
  ref: "elRef",
13
9
  class: _normalizeClass(_ctx.classes),
@@ -38,7 +34,6 @@ function render(_ctx, _cache) {
38
34
  _: 3
39
35
  })) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
40
36
  }
41
-
42
37
  import { computed, ref, onMounted, onBeforeUnmount, watch } from 'vue';
43
38
  import { classNames } from '../shared/utils.js';
44
39
  import { colorClasses, colorProps } from '../shared/mixins.js';
@@ -58,7 +53,12 @@ export default {
58
53
  title: [String, Number],
59
54
  content: [String, Number],
60
55
  footer: [String, Number],
56
+ raised: Boolean,
61
57
  outline: Boolean,
58
+ outlineIos: Boolean,
59
+ outlineMd: Boolean,
60
+ headerDivider: Boolean,
61
+ footerDivider: Boolean,
62
62
  expandable: Boolean,
63
63
  expandableAnimateWidth: Boolean,
64
64
  expandableOpened: Boolean,
@@ -98,8 +98,6 @@ export default {
98
98
  type: String,
99
99
  default: undefined
100
100
  },
101
- noShadow: Boolean,
102
- noBorder: Boolean,
103
101
  padding: {
104
102
  type: Boolean,
105
103
  default: true
@@ -107,58 +105,48 @@ export default {
107
105
  ...colorProps
108
106
  },
109
107
  emits: ['card:beforeopen', 'card:open', 'card:opened', 'card:close', 'card:closed', 'update:expandableOpened'],
110
-
111
108
  setup(props, _ref) {
112
109
  let {
113
110
  emit,
114
111
  slots
115
112
  } = _ref;
116
113
  const elRef = ref(null);
117
-
118
114
  const open = () => {
119
115
  if (!elRef.value) return;
120
116
  f7.card.open(elRef.value);
121
117
  };
122
-
123
118
  const close = () => {
124
119
  if (!elRef.value) return;
125
120
  f7.card.close(elRef.value);
126
121
  };
127
-
128
122
  const onBeforeOpen = (el, prevent) => {
129
123
  if (elRef.value !== el) return;
130
124
  emit('card:beforeopen', el, prevent);
131
125
  };
132
-
133
126
  const onOpen = el => {
134
127
  if (elRef.value !== el) return;
135
128
  emit('card:open', el);
136
129
  emit('update:expandableOpened', true);
137
130
  };
138
-
139
131
  const onOpened = (el, pageEl) => {
140
132
  if (elRef.value !== el) return;
141
133
  emit('card:opened', el, pageEl);
142
134
  };
143
-
144
135
  const onClose = el => {
145
136
  if (elRef.value !== el) return;
146
137
  emit('card:close', el);
147
138
  };
148
-
149
139
  const onClosed = (el, pageEl) => {
150
140
  if (elRef.value !== el) return;
151
141
  emit('card:closed', el, pageEl);
152
142
  emit('update:expandableOpened', false);
153
143
  };
154
-
155
144
  onMounted(() => {
156
145
  if (!props.expandable || !elRef.value) return;
157
146
  f7ready(() => {
158
147
  if (props.expandable && props.expandableOpened) {
159
148
  f7.card.open(elRef.value, false);
160
149
  }
161
-
162
150
  f7.on('cardBeforeOpen', onBeforeOpen);
163
151
  f7.on('cardOpen', onOpen);
164
152
  f7.on('cardOpened', onOpened);
@@ -184,11 +172,14 @@ export default {
184
172
  const hasContent = computed(() => props.content || slots.content);
185
173
  const hasFooter = computed(() => props.footer || slots.footer);
186
174
  const classes = computed(() => classNames('card', {
175
+ 'card-raised': props.raised,
187
176
  'card-outline': props.outline,
177
+ 'card-outline-ios': props.outlineIos,
178
+ 'card-outline-md': props.outlineMd,
188
179
  'card-expandable': props.expandable,
189
180
  'card-expandable-animate-width': props.expandableAnimateWidth,
190
- 'no-shadow': props.noShadow,
191
- 'no-border': props.noBorder
181
+ 'card-header-divider': props.headerDivider,
182
+ 'card-footer-divider': props.footerDivider
192
183
  }, colorClasses(props)));
193
184
  return {
194
185
  elRef,
@@ -198,5 +189,4 @@ export default {
198
189
  hasFooter
199
190
  };
200
191
  }
201
-
202
192
  };
@@ -1,10 +1,8 @@
1
1
  import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
  const _hoisted_1 = ["name", "value", "disabled", "readonly", "checked"];
3
-
4
3
  const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
5
4
  class: "icon-checkbox"
6
5
  }, null, -1);
7
-
8
6
  function render(_ctx, _cache) {
9
7
  return _openBlock(), _createElementBlock("label", {
10
8
  class: _normalizeClass(_ctx.classes)
@@ -21,7 +19,6 @@ function render(_ctx, _cache) {
21
19
  })
22
20
  }, null, 40, _hoisted_1), _hoisted_2, _renderSlot(_ctx.$slots, "default")], 2);
23
21
  }
24
-
25
22
  import { ref, computed, onMounted, watch } from 'vue';
26
23
  import { classNames } from '../shared/utils.js';
27
24
  import { colorClasses, colorProps } from '../shared/mixins.js';
@@ -41,18 +38,15 @@ export default {
41
38
  ...colorProps
42
39
  },
43
40
  emits: ['update:checked', 'change'],
44
-
45
41
  setup(props, _ref) {
46
42
  let {
47
43
  emit
48
44
  } = _ref;
49
45
  const inputElRef = ref(null);
50
-
51
46
  const onChange = event => {
52
47
  emit('update:checked', event.target.checked);
53
48
  emit('change', event);
54
49
  };
55
-
56
50
  onMounted(() => {
57
51
  if (inputElRef.value) {
58
52
  inputElRef.value.indeterminate = !!props.indeterminate;
@@ -73,5 +67,4 @@ export default {
73
67
  onChange
74
68
  };
75
69
  }
76
-
77
70
  };
@@ -57,10 +57,6 @@ declare const Chip: DefineComponent<
57
57
  type: StringConstructor;
58
58
  },
59
59
 
60
- iconAurora: {
61
- type: StringConstructor;
62
- },
63
-
64
60
  iconColor: {
65
61
  type: StringConstructor;
66
62
  },
@@ -3,10 +3,8 @@ const _hoisted_1 = {
3
3
  key: 1,
4
4
  class: "chip-label"
5
5
  };
6
-
7
6
  function render(_ctx, _cache) {
8
7
  const _component_f7_use_icon = _resolveComponent("f7-use-icon");
9
-
10
8
  return _openBlock(), _createElementBlock("div", {
11
9
  ref: "elRef",
12
10
  class: _normalizeClass(_ctx.classes)
@@ -24,7 +22,6 @@ function render(_ctx, _cache) {
24
22
  })
25
23
  })) : _createCommentVNode("", true)], 2);
26
24
  }
27
-
28
25
  import { ref, computed } from 'vue';
29
26
  import { classNames } from '../shared/utils.js';
30
27
  import { colorClasses, colorProps, iconProps } from '../shared/mixins.js';
@@ -50,18 +47,15 @@ export default {
50
47
  ...colorProps
51
48
  },
52
49
  emits: ['delete'],
53
-
54
50
  setup(props, _ref) {
55
51
  let {
56
52
  slots,
57
53
  emit
58
54
  } = _ref;
59
55
  const elRef = ref(null);
60
-
61
56
  const onDeleteClick = event => {
62
57
  emit('delete', event);
63
58
  };
64
-
65
59
  useTooltip(elRef, props);
66
60
  const icon = computed(() => useIcon(props));
67
61
  const mediaClasses = computed(() => classNames('chip-media', props.mediaTextColor && `text-color-${props.mediaTextColor}`, props.mediaBgColor && `bg-color-${props.mediaBgColor}`));
@@ -84,5 +78,4 @@ export default {
84
78
  onDeleteClick
85
79
  };
86
80
  }
87
-
88
81
  };
package/components/col.js CHANGED
@@ -3,17 +3,15 @@ const _hoisted_1 = {
3
3
  key: 0,
4
4
  class: "resize-handler"
5
5
  };
6
-
7
6
  function render(_ctx, _cache) {
8
7
  return _openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {
9
8
  ref: "elRef",
10
9
  class: _normalizeClass(_ctx.classes)
11
10
  }, {
12
- default: _withCtx(() => [_renderSlot(_ctx.$slots, "default"), _ctx.resizable && _ctx.resizableHandler ? (_openBlock(), _createElementBlock("span", _hoisted_1)) : _createCommentVNode("", true)]),
13
- _: 3
14
- }, 8, ["class"]);
11
+ default: _withCtx(() => [_renderSlot(_ctx.$slots, "default"), _ctx.resizable && _ctx.resizableHandler ? (_openBlock(), _createElementBlock("span", _hoisted_1)) : _createCommentVNode("v-if", true)]),
12
+ _: 3 /* FORWARDED */
13
+ }, 8 /* PROPS */, ["class"]);
15
14
  }
16
-
17
15
  import { ref, computed, onBeforeUnmount, onMounted } from 'vue';
18
16
  import { classNames } from '../shared/utils.js';
19
17
  import { colorClasses, colorProps } from '../shared/mixins.js';
@@ -55,19 +53,16 @@ export default {
55
53
  ...colorProps
56
54
  },
57
55
  emits: ['grid:resize'],
58
-
59
56
  setup(props, _ref) {
60
57
  let {
61
58
  emit
62
59
  } = _ref;
63
60
  const elRef = ref(null);
64
-
65
61
  const onResize = el => {
66
62
  if (el === elRef.value) {
67
63
  emit('grid:resize');
68
64
  }
69
65
  };
70
-
71
66
  onMounted(() => {
72
67
  f7ready(() => {
73
68
  f7.on('gridResize', onResize);
@@ -93,5 +88,4 @@ export default {
93
88
  elRef
94
89
  };
95
90
  }
96
-
97
91
  };
@@ -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-fab-backdrop',
14
12
  render,
15
- props: { ...colorProps
13
+ props: {
14
+ ...colorProps
16
15
  },
17
-
18
16
  setup(props) {
19
17
  const classes = computed(() => classNames('fab-backdrop', colorClasses(props)));
20
18
  return {
21
19
  classes
22
20
  };
23
21
  }
24
-
25
22
  };
@@ -4,7 +4,6 @@ const _hoisted_2 = {
4
4
  key: 0,
5
5
  class: "fab-label"
6
6
  };
7
-
8
7
  function render(_ctx, _cache) {
9
8
  return _openBlock(), _createElementBlock("a", {
10
9
  ref: "elRef",
@@ -15,7 +14,6 @@ function render(_ctx, _cache) {
15
14
  })
16
15
  }, [_renderSlot(_ctx.$slots, "default"), _ctx.label ? (_openBlock(), _createElementBlock("span", _hoisted_2, _toDisplayString(_ctx.label), 1)) : _createCommentVNode("", true)], 10, _hoisted_1);
17
16
  }
18
-
19
17
  import { computed, ref } from 'vue';
20
18
  import { classNames } from '../shared/utils.js';
21
19
  import { colorClasses, colorProps } from '../shared/mixins.js';
@@ -32,17 +30,14 @@ export default {
32
30
  ...colorProps
33
31
  },
34
32
  emits: ['click'],
35
-
36
33
  setup(props, _ref) {
37
34
  let {
38
35
  emit
39
36
  } = _ref;
40
37
  const elRef = ref(null);
41
-
42
38
  const onClick = e => {
43
39
  emit('click', e);
44
40
  };
45
-
46
41
  useTooltip(elRef, props);
47
42
  const classes = computed(() => classNames({
48
43
  'fab-close': props.fabClose,
@@ -54,5 +49,4 @@ export default {
54
49
  elRef
55
50
  };
56
51
  }
57
-
58
52
  };