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.
- package/components/accordion-content.js +3 -3
- package/components/accordion-item.js +7 -6
- package/components/accordion-toggle.js +3 -3
- package/components/accordion.js +3 -3
- package/components/actions-button.js +12 -9
- package/components/actions-group.js +3 -3
- package/components/actions-label.js +11 -7
- package/components/actions.js +7 -6
- package/components/app.js +3 -3
- package/components/appbar.js +5 -5
- package/components/area-chart.js +48 -41
- package/components/badge.js +3 -3
- package/components/block-footer.js +3 -3
- package/components/block-header.js +3 -3
- package/components/block-title.js +5 -4
- package/components/block.js +7 -6
- package/components/breadcrumbs-collapsed.js +3 -3
- package/components/breadcrumbs-item.js +4 -4
- package/components/breadcrumbs-separator.js +2 -2
- package/components/breadcrumbs.js +2 -2
- package/components/button.js +5 -5
- package/components/card-content.js +3 -3
- package/components/card-footer.js +3 -3
- package/components/card-header.js +3 -3
- package/components/card.js +10 -8
- package/components/checkbox.js +14 -10
- package/components/chip.js +14 -11
- package/components/col.js +7 -6
- package/components/fab-backdrop.js +3 -3
- package/components/fab-button.js +13 -9
- package/components/fab-buttons.js +3 -3
- package/components/fab.js +5 -4
- package/components/gauge.js +16 -9
- package/components/icon.js +5 -5
- package/components/input.js +25 -8
- package/components/link.js +8 -7
- package/components/list-button.js +9 -6
- package/components/list-group.js +5 -4
- package/components/list-index.js +7 -6
- package/components/list-input.js +25 -8
- package/components/list-item-cell.js +3 -3
- package/components/list-item-row.js +3 -3
- package/components/list-item.js +17 -15
- package/components/list.js +5 -4
- package/components/login-screen-title.js +3 -3
- package/components/login-screen.js +7 -6
- package/components/menu-dropdown-item.js +9 -6
- package/components/menu-dropdown.js +6 -6
- package/components/menu-item.js +7 -6
- package/components/menu.js +4 -4
- package/components/message.js +47 -29
- package/components/messagebar-attachment.js +17 -10
- package/components/messagebar-attachments.js +3 -3
- package/components/messagebar-sheet-image.js +16 -11
- package/components/messagebar-sheet-item.js +3 -3
- package/components/messagebar-sheet.js +3 -3
- package/components/messagebar.js +5 -4
- package/components/messages-title.js +3 -3
- package/components/messages.js +7 -6
- package/components/nav-left.js +9 -7
- package/components/nav-right.js +3 -3
- package/components/nav-title-large.js +4 -4
- package/components/nav-title.js +4 -4
- package/components/navbar.js +12 -11
- package/components/page-content.js +14 -12
- package/components/page.js +5 -4
- package/components/panel.js +13 -8
- package/components/photo-browser.js +4 -3
- package/components/pie-chart.js +25 -21
- package/components/popover.js +9 -8
- package/components/popup.js +7 -6
- package/components/preloader.js +15 -12
- package/components/progressbar.js +7 -6
- package/components/radio.js +14 -10
- package/components/range.js +10 -8
- package/components/row.js +7 -6
- package/components/searchbar.js +29 -15
- package/components/segmented.js +3 -3
- package/components/sheet.js +5 -4
- package/components/stepper.js +24 -14
- package/components/subnavbar.js +4 -4
- package/components/swipeout-actions.js +3 -3
- package/components/swipeout-button.js +13 -8
- package/components/tab.js +7 -6
- package/components/tabs.js +7 -7
- package/components/text-editor.js +8 -7
- package/components/toggle.js +14 -10
- package/components/toolbar.js +8 -7
- package/components/treeview-item.js +11 -10
- package/components/treeview.js +3 -3
- package/components/use-icon.js +4 -4
- package/components/view.js +5 -4
- package/components/views.js +3 -3
- package/framework7-vue-bundle.js +2 -2
- package/framework7-vue-web-types.json +1 -1
- package/framework7-vue.js +2 -2
- package/package.json +1 -1
- package/shared/components-router.js +23 -20
- package/shared/f7.js +9 -1
- package/shared/modal-state-classes.js +5 -4
- package/shared/plugin.js +5 -1
- package/shared/use-icon.js +5 -1
- package/shared/use-route-props.js +4 -3
- package/shared/use-store.js +5 -5
- package/shared/utils.js +16 -3
package/components/list-item.js
CHANGED
|
@@ -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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
224
|
-
|
|
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,
|
package/components/list.js
CHANGED
|
@@ -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
|
-
|
|
57
|
-
|
|
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,
|
|
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(),
|
|
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,
|
|
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(),
|
|
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
|
-
|
|
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,
|
|
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(),
|
|
4
|
+
return _openBlock(), _createElementBlock("div", _mergeProps({
|
|
5
5
|
ref: "elRef",
|
|
6
6
|
class: _ctx.classes
|
|
7
7
|
}, _ctx.attrs, {
|
|
8
|
-
onClick: _cache[
|
|
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
|
-
|
|
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,
|
|
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(),
|
|
5
|
-
class: _ctx.classes
|
|
6
|
-
}, [
|
|
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
|
|
package/components/menu-item.js
CHANGED
|
@@ -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(),
|
|
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
|
-
|
|
56
|
-
|
|
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
|
|
package/components/menu.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot,
|
|
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(),
|
|
8
|
-
class: _ctx.classes
|
|
9
|
-
}, [
|
|
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';
|
package/components/message.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot, openBlock as _openBlock,
|
|
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
|
|
14
|
+
const _hoisted_5 = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "message-typing-indicator"
|
|
16
17
|
};
|
|
17
18
|
|
|
18
|
-
const
|
|
19
|
+
const _hoisted_6 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
|
|
19
20
|
|
|
20
|
-
const
|
|
21
|
+
const _hoisted_7 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
|
|
21
22
|
|
|
22
|
-
const
|
|
23
|
+
const _hoisted_8 = /*#__PURE__*/_createElementVNode("div", null, null, -1);
|
|
23
24
|
|
|
24
|
-
const
|
|
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(),
|
|
31
|
-
class: _ctx.classes,
|
|
32
|
-
onClick: _cache[
|
|
33
|
-
|
|
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[
|
|
40
|
-
|
|
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[
|
|
44
|
-
|
|
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[
|
|
48
|
-
|
|
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[
|
|
51
|
-
|
|
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,
|
|
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[
|
|
57
|
-
|
|
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[
|
|
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
|
-
|
|
97
|
-
|
|
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,
|
|
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(),
|
|
5
|
-
class: _ctx.classes,
|
|
6
|
-
onClick: _cache[
|
|
7
|
-
|
|
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,
|
|
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[
|
|
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
|
-
|
|
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,
|
|
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(),
|
|
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 {
|
|
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
|
|
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(),
|
|
9
|
-
class: _ctx.classes,
|
|
10
|
-
style: _ctx.styles
|
|
11
|
-
}, [
|
|
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[
|
|
15
|
-
|
|
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
|
-
|
|
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,
|
|
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(),
|
|
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,
|
|
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(),
|
|
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
|
|
package/components/messagebar.js
CHANGED
|
@@ -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
|
-
|
|
50
|
-
|
|
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,
|
|
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(),
|
|
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
|
|
package/components/messages.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot, openBlock as _openBlock,
|
|
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(),
|
|
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
|
-
|
|
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);
|
package/components/nav-left.js
CHANGED
|
@@ -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(),
|
|
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
|
-
|
|
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);
|
package/components/nav-right.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot, openBlock as _openBlock,
|
|
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(),
|
|
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,
|
|
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(),
|
|
8
|
-
class: _ctx.classes
|
|
9
|
-
}, [
|
|
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';
|
package/components/nav-title.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, openBlock as _openBlock,
|
|
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(),
|
|
9
|
-
class: _ctx.classes
|
|
10
|
-
}, [_renderSlot(_ctx.$slots, "default"), _createTextVNode(" " + _toDisplayString(_ctx.title) + " ", 1), _ctx.subtitle ? (_openBlock(),
|
|
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';
|