framework7-vue 7.0.0-beta.15 → 7.0.0-beta.20

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 (105) hide show
  1. package/components/accordion-content.js +3 -3
  2. package/components/accordion-item.js +7 -6
  3. package/components/accordion-toggle.js +3 -3
  4. package/components/accordion.js +3 -3
  5. package/components/actions-button.js +12 -9
  6. package/components/actions-group.js +3 -3
  7. package/components/actions-label.js +11 -7
  8. package/components/actions.js +7 -6
  9. package/components/app.js +3 -3
  10. package/components/appbar.js +5 -5
  11. package/components/area-chart.js +48 -41
  12. package/components/badge.js +3 -3
  13. package/components/block-footer.js +3 -3
  14. package/components/block-header.js +3 -3
  15. package/components/block-title.js +5 -4
  16. package/components/block.js +7 -6
  17. package/components/breadcrumbs-collapsed.js +3 -3
  18. package/components/breadcrumbs-item.js +4 -4
  19. package/components/breadcrumbs-separator.js +2 -2
  20. package/components/breadcrumbs.js +2 -2
  21. package/components/button.js +5 -5
  22. package/components/card-content.js +3 -3
  23. package/components/card-footer.js +3 -3
  24. package/components/card-header.js +3 -3
  25. package/components/card.js +10 -8
  26. package/components/checkbox.js +14 -10
  27. package/components/chip.js +14 -11
  28. package/components/col.js +7 -6
  29. package/components/fab-backdrop.js +3 -3
  30. package/components/fab-button.js +13 -9
  31. package/components/fab-buttons.js +3 -3
  32. package/components/fab.js +5 -4
  33. package/components/gauge.js +16 -9
  34. package/components/icon.js +5 -5
  35. package/components/input.js +25 -8
  36. package/components/link.js +8 -7
  37. package/components/list-button.js +9 -6
  38. package/components/list-group.js +5 -4
  39. package/components/list-index.js +7 -6
  40. package/components/list-input.js +25 -8
  41. package/components/list-item-cell.js +3 -3
  42. package/components/list-item-row.js +3 -3
  43. package/components/list-item.js +17 -15
  44. package/components/list.js +5 -4
  45. package/components/login-screen-title.js +3 -3
  46. package/components/login-screen.js +7 -6
  47. package/components/menu-dropdown-item.js +9 -6
  48. package/components/menu-dropdown.js +6 -6
  49. package/components/menu-item.js +7 -6
  50. package/components/menu.js +4 -4
  51. package/components/message.js +47 -29
  52. package/components/messagebar-attachment.js +17 -10
  53. package/components/messagebar-attachments.js +3 -3
  54. package/components/messagebar-sheet-image.js +16 -11
  55. package/components/messagebar-sheet-item.js +3 -3
  56. package/components/messagebar-sheet.js +3 -3
  57. package/components/messagebar.js +5 -4
  58. package/components/messages-title.js +3 -3
  59. package/components/messages.js +7 -6
  60. package/components/nav-left.js +9 -7
  61. package/components/nav-right.js +3 -3
  62. package/components/nav-title-large.js +4 -4
  63. package/components/nav-title.js +4 -4
  64. package/components/navbar.js +12 -11
  65. package/components/page-content.js +14 -12
  66. package/components/page.js +5 -4
  67. package/components/panel.js +13 -8
  68. package/components/photo-browser.js +4 -3
  69. package/components/pie-chart.js +25 -21
  70. package/components/popover.js +9 -8
  71. package/components/popup.js +7 -6
  72. package/components/preloader.js +15 -12
  73. package/components/progressbar.js +7 -6
  74. package/components/radio.js +14 -10
  75. package/components/range.js +10 -8
  76. package/components/row.js +7 -6
  77. package/components/searchbar.js +29 -15
  78. package/components/segmented.js +3 -3
  79. package/components/sheet.js +5 -4
  80. package/components/stepper.js +24 -14
  81. package/components/subnavbar.js +4 -4
  82. package/components/swipeout-actions.js +3 -3
  83. package/components/swipeout-button.js +13 -8
  84. package/components/tab.js +7 -6
  85. package/components/tabs.js +7 -7
  86. package/components/text-editor.js +8 -7
  87. package/components/toggle.js +14 -10
  88. package/components/toolbar.js +8 -7
  89. package/components/treeview-item.js +11 -10
  90. package/components/treeview.js +3 -3
  91. package/components/use-icon.js +4 -4
  92. package/components/view.js +5 -4
  93. package/components/views.js +3 -3
  94. package/framework7-vue-bundle.js +2 -2
  95. package/framework7-vue-web-types.json +1 -1
  96. package/framework7-vue.js +2 -2
  97. package/package.json +1 -1
  98. package/shared/components-router.js +23 -20
  99. package/shared/f7.js +9 -1
  100. package/shared/modal-state-classes.js +5 -4
  101. package/shared/plugin.js +5 -1
  102. package/shared/use-icon.js +5 -1
  103. package/shared/use-route-props.js +4 -3
  104. package/shared/use-store.js +5 -5
  105. package/shared/utils.js +16 -3
@@ -7,17 +7,18 @@ import { useTooltip } from '../shared/use-tooltip.js';
7
7
  import { f7ready, f7 } from '../shared/f7.js';
8
8
  import f7Badge from './badge.js';
9
9
 
10
- const ListItemContent = ({
11
- props,
12
- slots,
13
- inputElRef,
14
- onChange,
15
- onClick,
16
- isMediaComputed,
17
- isSortableComputed,
18
- isSortableOppositeComputed,
19
- itemContentClasses
20
- } = {}) => {
10
+ const ListItemContent = function (_temp) {
11
+ let {
12
+ props,
13
+ slots,
14
+ inputElRef,
15
+ onChange,
16
+ onClick,
17
+ isMediaComputed,
18
+ isSortableComputed,
19
+ isSortableOppositeComputed,
20
+ itemContentClasses
21
+ } = _temp === void 0 ? {} : _temp;
21
22
  const {
22
23
  radio,
23
24
  checkbox,
@@ -219,10 +220,11 @@ export default {
219
220
  },
220
221
  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'],
221
222
 
222
- setup(props, {
223
- slots,
224
- emit
225
- }) {
223
+ setup(props, _ref) {
224
+ let {
225
+ slots,
226
+ emit
227
+ } = _ref;
226
228
  const ListContext = inject('ListContext', {
227
229
  value: {
228
230
  listIsMedia: false,
@@ -52,10 +52,11 @@ export default {
52
52
  },
53
53
  emits: ['submit', 'sortable:enable', 'sortable:disable', 'sortable:sort', 'sortable:move', 'virtual:itembeforeinsert', 'virtual:beforeclear', 'virtual:itemsbeforeinsert', 'virtual:itemsafterinsert', 'tab:hide', 'tab:show'],
54
54
 
55
- setup(props, {
56
- emit,
57
- slots
58
- }) {
55
+ setup(props, _ref) {
56
+ let {
57
+ emit,
58
+ slots
59
+ } = _ref;
59
60
  let f7VirtualList = null;
60
61
  const elRef = ref(null);
61
62
 
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -1,9 +1,9 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
4
+ return _openBlock(), _createElementBlock("div", {
5
5
  ref: "elRef",
6
- class: _ctx.classes
6
+ class: _normalizeClass(_ctx.classes)
7
7
  }, [_renderSlot(_ctx.$slots, "default")], 2);
8
8
  }
9
9
 
@@ -29,9 +29,10 @@ export default {
29
29
  },
30
30
  emits: ['loginscreen:open', 'loginscreen:opened', 'loginscreen:close', 'loginscreen:closed', 'update:opened'],
31
31
 
32
- setup(props, {
33
- emit
34
- }) {
32
+ setup(props, _ref) {
33
+ let {
34
+ emit
35
+ } = _ref;
35
36
  const f7LoginScreen = ref(null); // eslint-disable-next-line
36
37
 
37
38
  let isOpened = props.opened;
@@ -1,11 +1,13 @@
1
- import { toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", _mergeProps({
4
+ return _openBlock(), _createElementBlock("div", _mergeProps({
5
5
  ref: "elRef",
6
6
  class: _ctx.classes
7
7
  }, _ctx.attrs, {
8
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args))
8
+ onClick: _cache[0] || (_cache[0] = function () {
9
+ return _ctx.onClick && _ctx.onClick(...arguments);
10
+ })
9
11
  }), [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _renderSlot(_ctx.$slots, "default")], 16);
10
12
  }
11
13
 
@@ -28,9 +30,10 @@ export default {
28
30
  },
29
31
  emits: ['click'],
30
32
 
31
- setup(props, {
32
- emit
33
- }) {
33
+ setup(props, _ref) {
34
+ let {
35
+ emit
36
+ } = _ref;
34
37
  const elRef = ref(null);
35
38
 
36
39
  const onClick = e => {
@@ -1,13 +1,13 @@
1
- import { renderSlot as _renderSlot, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
6
- }, [_createVNode("div", {
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
+ }, [_createElementVNode("div", {
7
7
  class: "menu-dropdown-content",
8
- style: {
8
+ style: _normalizeStyle({
9
9
  height: _ctx.contentHeight
10
- }
10
+ })
11
11
  }, [_renderSlot(_ctx.$slots, "default")], 4)], 2);
12
12
  }
13
13
 
@@ -1,4 +1,4 @@
1
- import { toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, withCtx as _withCtx } from "vue";
1
+ import { toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, resolveDynamicComponent as _resolveDynamicComponent, mergeProps as _mergeProps, withCtx as _withCtx } from "vue";
2
2
  const _hoisted_1 = {
3
3
  key: 0,
4
4
  class: "menu-item-content"
@@ -13,7 +13,7 @@ function render(_ctx, _cache) {
13
13
  }, _ctx.attrs, {
14
14
  onClick: _ctx.onClick
15
15
  }), {
16
- default: _withCtx(() => [_ctx.text || _ctx.$slots.text || _ctx.icon ? (_openBlock(), _createBlock("div", _hoisted_1, [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _ctx.icon ? (_openBlock(), _createBlock(_component_f7_use_icon, {
16
+ default: _withCtx(() => [_ctx.text || _ctx.$slots.text || _ctx.icon ? (_openBlock(), _createElementBlock("div", _hoisted_1, [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _ctx.icon ? (_openBlock(), _createBlock(_component_f7_use_icon, {
17
17
  key: 0,
18
18
  icon: _ctx.icon
19
19
  }, null, 8, ["icon"])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "text")])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")]),
@@ -51,10 +51,11 @@ export default {
51
51
  },
52
52
  emits: ['click', 'menu:opened', 'menu:closed'],
53
53
 
54
- setup(props, {
55
- slots,
56
- emit
57
- }) {
54
+ setup(props, _ref) {
55
+ let {
56
+ slots,
57
+ emit
58
+ } = _ref;
58
59
  const elRef = ref(null);
59
60
  useTooltip(elRef, props);
60
61
 
@@ -1,12 +1,12 @@
1
- import { renderSlot as _renderSlot, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
  const _hoisted_1 = {
3
3
  class: "menu-inner"
4
4
  };
5
5
 
6
6
  function render(_ctx, _cache) {
7
- return _openBlock(), _createBlock("div", {
8
- class: _ctx.classes
9
- }, [_createVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "default")])], 2);
7
+ return _openBlock(), _createElementBlock("div", {
8
+ class: _normalizeClass(_ctx.classes)
9
+ }, [_createElementVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "default")])], 2);
10
10
  }
11
11
 
12
12
  import { computed } from 'vue';
@@ -1,4 +1,4 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from "vue";
2
2
  const _hoisted_1 = {
3
3
  class: "message-content"
4
4
  };
@@ -6,58 +6,74 @@ const _hoisted_2 = {
6
6
  key: 0,
7
7
  class: "message-image"
8
8
  };
9
- const _hoisted_3 = {
9
+ const _hoisted_3 = ["src"];
10
+ const _hoisted_4 = {
10
11
  key: 1,
11
12
  class: "message-text-header"
12
13
  };
13
- const _hoisted_4 = {
14
+ const _hoisted_5 = {
14
15
  key: 0,
15
16
  class: "message-typing-indicator"
16
17
  };
17
18
 
18
- const _hoisted_5 = /*#__PURE__*/_createVNode("div", null, null, -1);
19
+ const _hoisted_6 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
19
20
 
20
- const _hoisted_6 = /*#__PURE__*/_createVNode("div", null, null, -1);
21
+ const _hoisted_7 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
21
22
 
22
- const _hoisted_7 = /*#__PURE__*/_createVNode("div", null, null, -1);
23
+ const _hoisted_8 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
23
24
 
24
- const _hoisted_8 = {
25
+ const _hoisted_9 = [_hoisted_6, _hoisted_7, _hoisted_8];
26
+ const _hoisted_10 = {
25
27
  key: 3,
26
28
  class: "message-text-footer"
27
29
  };
28
30
 
29
31
  function render(_ctx, _cache) {
30
- return _openBlock(), _createBlock("div", {
31
- class: _ctx.classes,
32
- onClick: _cache[7] || (_cache[7] = (...args) => _ctx.onClick && _ctx.onClick(...args))
33
- }, [_renderSlot(_ctx.$slots, "start"), _ctx.hasAvatar ? (_openBlock(), _createBlock("div", {
32
+ return _openBlock(), _createElementBlock("div", {
33
+ class: _normalizeClass(_ctx.classes),
34
+ onClick: _cache[6] || (_cache[6] = function () {
35
+ return _ctx.onClick && _ctx.onClick(...arguments);
36
+ })
37
+ }, [_renderSlot(_ctx.$slots, "start"), _ctx.hasAvatar ? (_openBlock(), _createElementBlock("div", {
34
38
  key: 0,
35
39
  class: "message-avatar",
36
- style: {
40
+ style: _normalizeStyle({
37
41
  backgroundImage: _ctx.avatar && `url(${_ctx.avatar})`
38
- },
39
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onAvatarClick && _ctx.onAvatarClick(...args))
40
- }, [_renderSlot(_ctx.$slots, "avatar")], 4)) : _createCommentVNode("", true), _createVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "content-start"), _ctx.hasName ? (_openBlock(), _createBlock("div", {
42
+ }),
43
+ onClick: _cache[0] || (_cache[0] = function () {
44
+ return _ctx.onAvatarClick && _ctx.onAvatarClick(...arguments);
45
+ })
46
+ }, [_renderSlot(_ctx.$slots, "avatar")], 4)) : _createCommentVNode("", true), _createElementVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "content-start"), _ctx.hasName ? (_openBlock(), _createElementBlock("div", {
41
47
  key: 0,
42
48
  class: "message-name",
43
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onNameClick && _ctx.onNameClick(...args))
44
- }, [_createTextVNode(_toDisplayString(_ctx.name) + " ", 1), _renderSlot(_ctx.$slots, "name")])) : _createCommentVNode("", true), _ctx.hasHeader ? (_openBlock(), _createBlock("div", {
49
+ onClick: _cache[1] || (_cache[1] = function () {
50
+ return _ctx.onNameClick && _ctx.onNameClick(...arguments);
51
+ })
52
+ }, [_createTextVNode(_toDisplayString(_ctx.name) + " ", 1), _renderSlot(_ctx.$slots, "name")])) : _createCommentVNode("", true), _ctx.hasHeader ? (_openBlock(), _createElementBlock("div", {
45
53
  key: 1,
46
54
  class: "message-header",
47
- onClick: _cache[3] || (_cache[3] = (...args) => _ctx.onHeaderClick && _ctx.onHeaderClick(...args))
48
- }, [_createTextVNode(_toDisplayString(_ctx.header) + " ", 1), _renderSlot(_ctx.$slots, "header")])) : _createCommentVNode("", true), _createVNode("div", {
55
+ onClick: _cache[2] || (_cache[2] = function () {
56
+ return _ctx.onHeaderClick && _ctx.onHeaderClick(...arguments);
57
+ })
58
+ }, [_createTextVNode(_toDisplayString(_ctx.header) + " ", 1), _renderSlot(_ctx.$slots, "header")])) : _createCommentVNode("", true), _createElementVNode("div", {
49
59
  class: "message-bubble",
50
- onClick: _cache[5] || (_cache[5] = (...args) => _ctx.onBubbleClick && _ctx.onBubbleClick(...args))
51
- }, [_renderSlot(_ctx.$slots, "bubble-start"), _ctx.hasImage ? (_openBlock(), _createBlock("div", _hoisted_2, [_renderSlot(_ctx.$slots, "image", {}, () => [_createVNode("img", {
60
+ onClick: _cache[4] || (_cache[4] = function () {
61
+ return _ctx.onBubbleClick && _ctx.onBubbleClick(...arguments);
62
+ })
63
+ }, [_renderSlot(_ctx.$slots, "bubble-start"), _ctx.hasImage ? (_openBlock(), _createElementBlock("div", _hoisted_2, [_renderSlot(_ctx.$slots, "image", {}, () => [_createElementVNode("img", {
52
64
  src: _ctx.image
53
- }, null, 8, ["src"])])])) : _createCommentVNode("", true), _ctx.hasTextHeader ? (_openBlock(), _createBlock("div", _hoisted_3, [_createTextVNode(_toDisplayString(_ctx.textHeader) + " ", 1), _renderSlot(_ctx.$slots, "text-header")])) : _createCommentVNode("", true), _ctx.hasText ? (_openBlock(), _createBlock("div", {
65
+ }, null, 8, _hoisted_3)])])) : _createCommentVNode("", true), _ctx.hasTextHeader ? (_openBlock(), _createElementBlock("div", _hoisted_4, [_createTextVNode(_toDisplayString(_ctx.textHeader) + " ", 1), _renderSlot(_ctx.$slots, "text-header")])) : _createCommentVNode("", true), _ctx.hasText ? (_openBlock(), _createElementBlock("div", {
54
66
  key: 2,
55
67
  class: "message-text",
56
- onClick: _cache[4] || (_cache[4] = (...args) => _ctx.onTextClick && _ctx.onTextClick(...args))
57
- }, [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _renderSlot(_ctx.$slots, "text"), _ctx.typing ? (_openBlock(), _createBlock("div", _hoisted_4, [_hoisted_5, _hoisted_6, _hoisted_7])) : _createCommentVNode("", true)])) : _createCommentVNode("", true), _ctx.hasTextFooter ? (_openBlock(), _createBlock("div", _hoisted_8, [_createTextVNode(_toDisplayString(_ctx.textFooter) + " ", 1), _renderSlot(_ctx.$slots, "text-footer")])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "bubble-end"), _renderSlot(_ctx.$slots, "default")]), _ctx.hasFooter ? (_openBlock(), _createBlock("div", {
68
+ onClick: _cache[3] || (_cache[3] = function () {
69
+ return _ctx.onTextClick && _ctx.onTextClick(...arguments);
70
+ })
71
+ }, [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _renderSlot(_ctx.$slots, "text"), _ctx.typing ? (_openBlock(), _createElementBlock("div", _hoisted_5, _hoisted_9)) : _createCommentVNode("", true)])) : _createCommentVNode("", true), _ctx.hasTextFooter ? (_openBlock(), _createElementBlock("div", _hoisted_10, [_createTextVNode(_toDisplayString(_ctx.textFooter) + " ", 1), _renderSlot(_ctx.$slots, "text-footer")])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "bubble-end"), _renderSlot(_ctx.$slots, "default")]), _ctx.hasFooter ? (_openBlock(), _createElementBlock("div", {
58
72
  key: 2,
59
73
  class: "message-footer",
60
- onClick: _cache[6] || (_cache[6] = (...args) => _ctx.onFooterClick && _ctx.onFooterClick(...args))
74
+ onClick: _cache[5] || (_cache[5] = function () {
75
+ return _ctx.onFooterClick && _ctx.onFooterClick(...arguments);
76
+ })
61
77
  }, [_createTextVNode(_toDisplayString(_ctx.footer) + " ", 1), _renderSlot(_ctx.$slots, "footer")])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "content-end")]), _renderSlot(_ctx.$slots, "end")], 2);
62
78
  }
63
79
 
@@ -92,10 +108,12 @@ export default {
92
108
  },
93
109
  emits: ['click', 'click:name', 'click:text', 'click:avatar', 'click:header', 'click:footer', 'click:bubble'],
94
110
 
95
- setup(props, {
96
- emit,
97
- slots
98
- }) {
111
+ setup(props, _ref) {
112
+ let {
113
+ emit,
114
+ slots
115
+ } = _ref;
116
+
99
117
  const onClick = event => {
100
118
  emit('click', event);
101
119
  };
@@ -1,16 +1,21 @@
1
- import { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from "vue";
1
+ import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from "vue";
2
+ const _hoisted_1 = ["src"];
2
3
 
3
4
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes,
6
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClick && _ctx.onClick(...args))
7
- }, [_ctx.image ? (_openBlock(), _createBlock("img", {
5
+ return _openBlock(), _createElementBlock("div", {
6
+ class: _normalizeClass(_ctx.classes),
7
+ onClick: _cache[1] || (_cache[1] = function () {
8
+ return _ctx.onClick && _ctx.onClick(...arguments);
9
+ })
10
+ }, [_ctx.image ? (_openBlock(), _createElementBlock("img", {
8
11
  key: 0,
9
12
  src: _ctx.image
10
- }, null, 8, ["src"])) : _createCommentVNode("", true), _ctx.deletable ? (_openBlock(), _createBlock("span", {
13
+ }, null, 8, _hoisted_1)) : _createCommentVNode("", true), _ctx.deletable ? (_openBlock(), _createElementBlock("span", {
11
14
  key: 1,
12
15
  class: "messagebar-attachment-delete",
13
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onDeleteClick && _ctx.onDeleteClick(...args))
16
+ onClick: _cache[0] || (_cache[0] = function () {
17
+ return _ctx.onDeleteClick && _ctx.onDeleteClick(...arguments);
18
+ })
14
19
  })) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")], 2);
15
20
  }
16
21
 
@@ -30,9 +35,11 @@ export default {
30
35
  },
31
36
  emits: ['attachment:click', 'attachment:delete'],
32
37
 
33
- setup(props, {
34
- emit
35
- }) {
38
+ setup(props, _ref) {
39
+ let {
40
+ emit
41
+ } = _ref;
42
+
36
43
  const onClick = event => {
37
44
  emit('attachment:click', event);
38
45
  };
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -1,18 +1,21 @@
1
- import { createVNode as _createVNode, renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
+ const _hoisted_1 = ["checked"];
2
3
 
3
- const _hoisted_1 = /*#__PURE__*/_createVNode("i", {
4
+ const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
4
5
  class: "icon icon-checkbox"
5
6
  }, null, -1);
6
7
 
7
8
  function render(_ctx, _cache) {
8
- return _openBlock(), _createBlock("label", {
9
- class: _ctx.classes,
10
- style: _ctx.styles
11
- }, [_createVNode("input", {
9
+ return _openBlock(), _createElementBlock("label", {
10
+ class: _normalizeClass(_ctx.classes),
11
+ style: _normalizeStyle(_ctx.styles)
12
+ }, [_createElementVNode("input", {
12
13
  type: "checkbox",
13
14
  checked: _ctx.checked,
14
- onChange: _cache[1] || (_cache[1] = (...args) => _ctx.onChange && _ctx.onChange(...args))
15
- }, null, 40, ["checked"]), _hoisted_1, _renderSlot(_ctx.$slots, "default")], 6);
15
+ onChange: _cache[0] || (_cache[0] = function () {
16
+ return _ctx.onChange && _ctx.onChange(...arguments);
17
+ })
18
+ }, null, 40, _hoisted_1), _hoisted_2, _renderSlot(_ctx.$slots, "default")], 6);
16
19
  }
17
20
 
18
21
  import { computed } from 'vue';
@@ -28,9 +31,11 @@ export default {
28
31
  },
29
32
  emits: ['checked', 'unchecked', 'change', 'update:checked'],
30
33
 
31
- setup(props, {
32
- emit
33
- }) {
34
+ setup(props, _ref) {
35
+ let {
36
+ emit
37
+ } = _ref;
38
+
34
39
  const onChange = event => {
35
40
  if (event.target.checked) emit('checked', event);else emit('unchecked', event);
36
41
  emit('update:checked', event.target.checked);
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -45,10 +45,11 @@ export default {
45
45
  },
46
46
  emits: ['change', 'input', 'focus', 'blur', 'submit', 'send', 'click', 'messagebar:attachmentdelete', 'messagebar:attachmentclick', 'messagebar:resizepage', 'update:value'],
47
47
 
48
- setup(props, {
49
- emit,
50
- slots
51
- }) {
48
+ setup(props, _ref) {
49
+ let {
50
+ emit,
51
+ slots
52
+ } = _ref;
52
53
  const elRef = ref(null);
53
54
  const areaElRef = ref(null);
54
55
  let f7Messagebar = null;
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -1,9 +1,9 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
4
+ return _openBlock(), _createElementBlock("div", {
5
5
  ref: "elRef",
6
- class: _ctx.classes
6
+ class: _normalizeClass(_ctx.classes)
7
7
  }, [_renderSlot(_ctx.$slots, "default")], 2);
8
8
  }
9
9
 
@@ -59,9 +59,10 @@ export default {
59
59
  ...colorProps
60
60
  },
61
61
 
62
- setup(props, {
63
- slots
64
- }) {
62
+ setup(props, _ref) {
63
+ let {
64
+ slots
65
+ } = _ref;
65
66
  let f7Messages = null;
66
67
  let childrenBeforeUpdated = null;
67
68
  const elRef = ref(null);
@@ -1,17 +1,17 @@
1
- import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from "vue";
1
+ import { resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
4
  const _component_f7_link = _resolveComponent("f7-link");
5
5
 
6
- return _openBlock(), _createBlock("div", {
7
- class: _ctx.classes
6
+ return _openBlock(), _createElementBlock("div", {
7
+ class: _normalizeClass(_ctx.classes)
8
8
  }, [_ctx.backLink ? (_openBlock(), _createBlock(_component_f7_link, {
9
9
  key: 0,
10
10
  href: _ctx.backLinkUrl || '#',
11
11
  back: "",
12
12
  icon: "icon-back",
13
13
  force: _ctx.backLinkForce || undefined,
14
- class: !_ctx.text ? 'icon-only' : undefined,
14
+ class: _normalizeClass(!_ctx.text ? 'icon-only' : undefined),
15
15
  text: _ctx.text,
16
16
  onClick: _ctx.onBackClick
17
17
  }, null, 8, ["href", "force", "class", "text", "onClick"])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")], 2);
@@ -41,9 +41,11 @@ export default {
41
41
  },
42
42
  emits: ['back:click', 'click:back'],
43
43
 
44
- setup(props, {
45
- emit
46
- }) {
44
+ setup(props, _ref) {
45
+ let {
46
+ emit
47
+ } = _ref;
48
+
47
49
  const onBackClick = event => {
48
50
  emit('back:click', event);
49
51
  emit('click:back', event);
@@ -1,8 +1,8 @@
1
- import { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
 
3
3
  function render(_ctx, _cache) {
4
- return _openBlock(), _createBlock("div", {
5
- class: _ctx.classes
4
+ return _openBlock(), _createElementBlock("div", {
5
+ class: _normalizeClass(_ctx.classes)
6
6
  }, [_renderSlot(_ctx.$slots, "default")], 2);
7
7
  }
8
8
 
@@ -1,12 +1,12 @@
1
- import { renderSlot as _renderSlot, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
1
+ import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
2
2
  const _hoisted_1 = {
3
3
  class: "title-large-text"
4
4
  };
5
5
 
6
6
  function render(_ctx, _cache) {
7
- return _openBlock(), _createBlock("div", {
8
- class: _ctx.classes
9
- }, [_createVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "default")])], 2);
7
+ return _openBlock(), _createElementBlock("div", {
8
+ class: _normalizeClass(_ctx.classes)
9
+ }, [_createElementVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "default")])], 2);
10
10
  }
11
11
 
12
12
  import { computed } from 'vue';
@@ -1,13 +1,13 @@
1
- import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode } from "vue";
1
+ import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass } from "vue";
2
2
  const _hoisted_1 = {
3
3
  key: 0,
4
4
  class: "subtitle"
5
5
  };
6
6
 
7
7
  function render(_ctx, _cache) {
8
- return _openBlock(), _createBlock("div", {
9
- class: _ctx.classes
10
- }, [_renderSlot(_ctx.$slots, "default"), _createTextVNode(" " + _toDisplayString(_ctx.title) + " ", 1), _ctx.subtitle ? (_openBlock(), _createBlock("span", _hoisted_1, _toDisplayString(_ctx.subtitle), 1)) : _createCommentVNode("", true)], 2);
8
+ return _openBlock(), _createElementBlock("div", {
9
+ class: _normalizeClass(_ctx.classes)
10
+ }, [_renderSlot(_ctx.$slots, "default"), _createTextVNode(" " + _toDisplayString(_ctx.title) + " ", 1), _ctx.subtitle ? (_openBlock(), _createElementBlock("span", _hoisted_1, _toDisplayString(_ctx.subtitle), 1)) : _createCommentVNode("", true)], 2);
11
11
  }
12
12
 
13
13
  import { computed } from 'vue';