framework7-vue 7.0.0-beta.7 → 7.0.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.
- 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.d.ts +19 -0
- package/components/breadcrumbs-collapsed.js +26 -0
- package/components/breadcrumbs-item.d.ts +22 -0
- package/components/breadcrumbs-item.js +28 -0
- package/components/breadcrumbs-separator.d.ts +19 -0
- package/components/breadcrumbs-separator.js +24 -0
- package/components/breadcrumbs.d.ts +19 -0
- package/components/breadcrumbs.js +24 -0
- 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.d.ts +2 -2
- package/components/list.js +13 -5
- 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 +11 -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 +10 -9
- 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.d.ts +5 -0
- package/components/view.js +11 -5
- package/components/views.js +3 -3
- package/framework7-vue-bundle.js +12 -4
- package/framework7-vue-web-types.json +16682 -0
- package/framework7-vue.d.ts +5 -1
- package/framework7-vue.js +8 -4
- package/package.json +3 -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/router-open-in.js +6 -6
- 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/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';
|
package/components/navbar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass } from "vue";
|
|
2
2
|
|
|
3
|
-
const _hoisted_1 = /*#__PURE__*/
|
|
3
|
+
const _hoisted_1 = /*#__PURE__*/_createElementVNode("div", {
|
|
4
4
|
class: "navbar-bg"
|
|
5
5
|
}, null, -1);
|
|
6
6
|
|
|
@@ -19,11 +19,11 @@ function render(_ctx, _cache) {
|
|
|
19
19
|
|
|
20
20
|
const _component_f7_nav_right = _resolveComponent("f7-nav-right");
|
|
21
21
|
|
|
22
|
-
return _openBlock(),
|
|
22
|
+
return _openBlock(), _createElementBlock("div", {
|
|
23
23
|
ref: "elRef",
|
|
24
|
-
class: _ctx.classes
|
|
25
|
-
}, [_hoisted_1, _renderSlot(_ctx.$slots, "before-inner"),
|
|
26
|
-
class: _ctx.innerClasses
|
|
24
|
+
class: _normalizeClass(_ctx.classes)
|
|
25
|
+
}, [_hoisted_1, _renderSlot(_ctx.$slots, "before-inner"), _createElementVNode("div", {
|
|
26
|
+
class: _normalizeClass(_ctx.innerClasses)
|
|
27
27
|
}, [_ctx.hasLeft ? (_openBlock(), _createBlock(_component_f7_nav_left, {
|
|
28
28
|
key: 0,
|
|
29
29
|
"back-link": _ctx.backLink,
|
|
@@ -46,7 +46,7 @@ function render(_ctx, _cache) {
|
|
|
46
46
|
}, {
|
|
47
47
|
default: _withCtx(() => [_renderSlot(_ctx.$slots, "nav-right"), _renderSlot(_ctx.$slots, "right")]),
|
|
48
48
|
_: 3
|
|
49
|
-
})) : _createCommentVNode("", true), _ctx.hasLargeTitle ? (_openBlock(),
|
|
49
|
+
})) : _createCommentVNode("", true), _ctx.hasLargeTitle ? (_openBlock(), _createElementBlock("div", _hoisted_2, [_createElementVNode("div", _hoisted_3, [_createTextVNode(_toDisplayString(_ctx.largeTitle) + " ", 1), _renderSlot(_ctx.$slots, "title-large")])])) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")], 2), _renderSlot(_ctx.$slots, "after-inner")], 2);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
import { computed, ref, onMounted, onBeforeUnmount } from 'vue';
|
|
@@ -92,10 +92,11 @@ export default {
|
|
|
92
92
|
},
|
|
93
93
|
emits: ['navbar:hide', 'navbar:show', 'navbar:expand', 'navbar:collapse', 'navbar:transparentshow', 'navbar:transparenthide', 'click:back', 'back:click'],
|
|
94
94
|
|
|
95
|
-
setup(props, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
setup(props, _ref) {
|
|
96
|
+
let {
|
|
97
|
+
emit,
|
|
98
|
+
slots
|
|
99
|
+
} = _ref;
|
|
99
100
|
let routerPositionClass = '';
|
|
100
101
|
let largeCollapsed = false;
|
|
101
102
|
let routerNavbarRole = null;
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock,
|
|
2
|
-
const _hoisted_1 =
|
|
1
|
+
import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, renderSlot as _renderSlot, normalizeClass as _normalizeClass } from "vue";
|
|
2
|
+
const _hoisted_1 = ["data-ptr-distance", "data-ptr-mousewheel", "data-infinite-distance"];
|
|
3
|
+
const _hoisted_2 = {
|
|
3
4
|
key: 0,
|
|
4
5
|
class: "ptr-preloader"
|
|
5
6
|
};
|
|
6
7
|
|
|
7
|
-
const
|
|
8
|
+
const _hoisted_3 = /*#__PURE__*/_createElementVNode("div", {
|
|
8
9
|
class: "ptr-arrow"
|
|
9
10
|
}, null, -1);
|
|
10
11
|
|
|
11
|
-
const
|
|
12
|
+
const _hoisted_4 = {
|
|
12
13
|
key: 3,
|
|
13
14
|
class: "ptr-preloader"
|
|
14
15
|
};
|
|
15
16
|
|
|
16
|
-
const
|
|
17
|
+
const _hoisted_5 = /*#__PURE__*/_createElementVNode("div", {
|
|
17
18
|
class: "ptr-arrow"
|
|
18
19
|
}, null, -1);
|
|
19
20
|
|
|
20
21
|
function render(_ctx, _cache) {
|
|
21
22
|
const _component_f7_preloader = _resolveComponent("f7-preloader");
|
|
22
23
|
|
|
23
|
-
return _openBlock(),
|
|
24
|
+
return _openBlock(), _createElementBlock("div", {
|
|
24
25
|
ref: "elRef",
|
|
25
|
-
class: _ctx.classes,
|
|
26
|
+
class: _normalizeClass(_ctx.classes),
|
|
26
27
|
"data-ptr-distance": _ctx.ptrDistance || undefined,
|
|
27
28
|
"data-ptr-mousewheel": _ctx.ptrMousewheel || undefined,
|
|
28
29
|
"data-infinite-distance": _ctx.infiniteDistance || undefined
|
|
29
|
-
}, [_ctx.ptr && _ctx.ptrPreloader && !_ctx.ptrBottom ? (_openBlock(),
|
|
30
|
+
}, [_ctx.ptr && _ctx.ptrPreloader && !_ctx.ptrBottom ? (_openBlock(), _createElementBlock("div", _hoisted_2, [_createVNode(_component_f7_preloader), _hoisted_3])) : _createCommentVNode("", true), _ctx.infinite && _ctx.infinitePreloader && _ctx.infiniteTop ? (_openBlock(), _createBlock(_component_f7_preloader, {
|
|
30
31
|
key: 1,
|
|
31
32
|
class: "infinite-scroll-preloader"
|
|
32
33
|
})) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default"), _ctx.infinite && _ctx.infinitePreloader && !_ctx.infiniteTop ? (_openBlock(), _createBlock(_component_f7_preloader, {
|
|
33
34
|
key: 2,
|
|
34
35
|
class: "infinite-scroll-preloader"
|
|
35
|
-
})) : _createCommentVNode("", true), _ctx.ptr && _ctx.ptrPreloader && _ctx.ptrBottom ? (_openBlock(),
|
|
36
|
+
})) : _createCommentVNode("", true), _ctx.ptr && _ctx.ptrPreloader && _ctx.ptrBottom ? (_openBlock(), _createElementBlock("div", _hoisted_4, [_createVNode(_component_f7_preloader), _hoisted_5])) : _createCommentVNode("", true)], 10, _hoisted_1);
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
import { computed, ref, onMounted, onBeforeUnmount } from 'vue';
|
|
@@ -74,9 +75,10 @@ export default {
|
|
|
74
75
|
},
|
|
75
76
|
emits: ['ptr:pullstart', 'ptr:pullmove', 'ptr:pullend', 'ptr:refresh', 'ptr:done', 'infinite', 'ptrPullStart', 'ptrPullMove', 'ptrPullEnd', 'ptrRefresh', 'ptrDone', 'tab:hide', 'tab:show'],
|
|
76
77
|
|
|
77
|
-
setup(props, {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
setup(props, _ref) {
|
|
79
|
+
let {
|
|
80
|
+
emit
|
|
81
|
+
} = _ref;
|
|
80
82
|
const elRef = ref(null);
|
|
81
83
|
|
|
82
84
|
const onPtrPullStart = el => {
|
package/components/page.js
CHANGED
|
@@ -57,10 +57,11 @@ export default {
|
|
|
57
57
|
},
|
|
58
58
|
emits: ['page:mounted', 'page:init', 'page:reinit', 'page:beforein', 'page:beforeout', 'page:afterout', 'page:afterin', 'page:beforeremove', 'page:beforeunmount', 'page:tabshow', 'page:tabhide', 'ptr:pullstart', 'ptr:pullmove', 'ptr:pullend', 'ptr:refresh', 'ptr:done', 'infinite'],
|
|
59
59
|
|
|
60
|
-
setup(props, {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
setup(props, _ref) {
|
|
61
|
+
let {
|
|
62
|
+
emit,
|
|
63
|
+
slots
|
|
64
|
+
} = _ref;
|
|
64
65
|
let hasSubnavbar = false;
|
|
65
66
|
let hasNavbarLarge = false;
|
|
66
67
|
let hasNavbarLargeCollapsed = false;
|
package/components/panel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { renderSlot as _renderSlot, openBlock as _openBlock,
|
|
1
|
+
import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "panel-resize-handler"
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
function render(_ctx, _cache) {
|
|
8
|
-
return _openBlock(),
|
|
8
|
+
return _openBlock(), _createElementBlock("div", {
|
|
9
9
|
ref: "elRef",
|
|
10
|
-
class: _ctx.classes
|
|
11
|
-
}, [_renderSlot(_ctx.$slots, "default"), _ctx.resizable ? (_openBlock(),
|
|
10
|
+
class: _normalizeClass(_ctx.classes)
|
|
11
|
+
}, [_renderSlot(_ctx.$slots, "default"), _ctx.resizable ? (_openBlock(), _createElementBlock("div", _hoisted_1)) : _createCommentVNode("", true)], 2);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
import { computed, ref, watch, onMounted, onBeforeUnmount } from 'vue';
|
|
@@ -63,9 +63,10 @@ export default {
|
|
|
63
63
|
},
|
|
64
64
|
emits: ['panel:open', 'panel:opened', 'panel:close', 'panel:closed', 'click', 'panel:backdropclick', 'panel:swipe', 'panel:swipeopen', 'panel:breakpoint', 'panel:collapsedbreakpoint', 'panel:resize', 'update:opened'],
|
|
65
65
|
|
|
66
|
-
setup(props, {
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
setup(props, _ref) {
|
|
67
|
+
let {
|
|
68
|
+
emit
|
|
69
|
+
} = _ref;
|
|
69
70
|
let f7Panel = null;
|
|
70
71
|
const elRef = ref(null);
|
|
71
72
|
let isOpened = false;
|
|
@@ -121,7 +122,11 @@ export default {
|
|
|
121
122
|
emit('panel:collapsedbreakpoint', event);
|
|
122
123
|
};
|
|
123
124
|
|
|
124
|
-
const onResize = (
|
|
125
|
+
const onResize = function () {
|
|
126
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
127
|
+
args[_key] = arguments[_key];
|
|
128
|
+
}
|
|
129
|
+
|
|
125
130
|
emit('panel:resize', ...args);
|
|
126
131
|
};
|
|
127
132
|
|
|
@@ -85,9 +85,10 @@ export default {
|
|
|
85
85
|
},
|
|
86
86
|
emits: ['photobrowser:open', 'photobrowser:close', 'photobrowser:opened', 'photobrowser:closed', 'photobrowser:swipetoclose'],
|
|
87
87
|
|
|
88
|
-
setup(props, {
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
setup(props, _ref) {
|
|
89
|
+
let {
|
|
90
|
+
emit
|
|
91
|
+
} = _ref;
|
|
91
92
|
let f7PhotoBrowser = null;
|
|
92
93
|
|
|
93
94
|
const open = index => {
|
package/components/pie-chart.js
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock,
|
|
1
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, renderSlot as _renderSlot } from "vue";
|
|
2
|
+
const _hoisted_1 = ["width", "height", "viewBox"];
|
|
3
|
+
const _hoisted_2 = ["d", "fill", "data-index", "onClick", "onMouseenter"];
|
|
2
4
|
|
|
3
5
|
function render(_ctx, _cache) {
|
|
4
|
-
return _openBlock(),
|
|
6
|
+
return _openBlock(), _createElementBlock("div", {
|
|
5
7
|
ref: "elRef",
|
|
6
|
-
class: _ctx.classes
|
|
7
|
-
}, [(_openBlock(),
|
|
8
|
+
class: _normalizeClass(_ctx.classes)
|
|
9
|
+
}, [(_openBlock(), _createElementBlock("svg", {
|
|
8
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
11
|
width: _ctx.size,
|
|
10
12
|
height: _ctx.size,
|
|
11
13
|
viewBox: `-${_ctx.size / 3} -${_ctx.size / 3} ${_ctx.size * 2 / 3} ${_ctx.size * 2 / 3}`,
|
|
12
|
-
style: {
|
|
14
|
+
style: _normalizeStyle({
|
|
13
15
|
transform: 'rotate(-90deg)'
|
|
14
|
-
}
|
|
15
|
-
}, [(_openBlock(true),
|
|
16
|
-
return _openBlock(),
|
|
16
|
+
})
|
|
17
|
+
}, [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.paths, (path, index) => {
|
|
18
|
+
return _openBlock(), _createElementBlock("path", {
|
|
17
19
|
key: path.label || index,
|
|
18
20
|
d: path.points,
|
|
19
21
|
fill: path.color,
|
|
20
22
|
"data-index": index,
|
|
21
|
-
class: _ctx.classNames({
|
|
23
|
+
class: _normalizeClass(_ctx.classNames({
|
|
22
24
|
'pie-chart-hidden': _ctx.currentIndex !== null && _ctx.currentIndex !== index
|
|
23
|
-
}),
|
|
25
|
+
})),
|
|
24
26
|
onClick: $event => _ctx.setCurrentIndex(index),
|
|
25
27
|
onMouseenter: $event => _ctx.setCurrentIndex(index),
|
|
26
|
-
onMouseleave: _cache[
|
|
27
|
-
}, null, 42,
|
|
28
|
-
}), 128))], 12,
|
|
28
|
+
onMouseleave: _cache[0] || (_cache[0] = $event => _ctx.setCurrentIndex(null))
|
|
29
|
+
}, null, 42, _hoisted_2);
|
|
30
|
+
}), 128))], 12, _hoisted_1)), _renderSlot(_ctx.$slots, "default")], 2);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
import { computed, onBeforeUnmount, ref, watch } from 'vue';
|
|
@@ -48,9 +50,10 @@ export default {
|
|
|
48
50
|
},
|
|
49
51
|
emits: ['select'],
|
|
50
52
|
|
|
51
|
-
setup(props, {
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
setup(props, _ref) {
|
|
54
|
+
let {
|
|
55
|
+
emit
|
|
56
|
+
} = _ref;
|
|
54
57
|
const elRef = ref(null);
|
|
55
58
|
let f7Tooltip = null;
|
|
56
59
|
const currentIndex = ref(null);
|
|
@@ -76,11 +79,12 @@ export default {
|
|
|
76
79
|
return [x, y];
|
|
77
80
|
}
|
|
78
81
|
|
|
79
|
-
props.datasets.forEach(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
props.datasets.forEach(_ref2 => {
|
|
83
|
+
let {
|
|
84
|
+
value,
|
|
85
|
+
label,
|
|
86
|
+
color
|
|
87
|
+
} = _ref2;
|
|
84
88
|
const percentage = value / summValue.value;
|
|
85
89
|
const [startX, startY] = getCoordinatesForPercentage(cumulativePercentage);
|
|
86
90
|
cumulativePercentage += percentage;
|
package/components/popover.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
2
|
|
|
3
|
-
const _hoisted_1 = /*#__PURE__*/
|
|
3
|
+
const _hoisted_1 = /*#__PURE__*/_createElementVNode("div", {
|
|
4
4
|
class: "popover-angle"
|
|
5
5
|
}, null, -1);
|
|
6
6
|
|
|
@@ -9,10 +9,10 @@ const _hoisted_2 = {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
function render(_ctx, _cache) {
|
|
12
|
-
return _openBlock(),
|
|
12
|
+
return _openBlock(), _createElementBlock("div", {
|
|
13
13
|
ref: "elRef",
|
|
14
|
-
class: _ctx.classes
|
|
15
|
-
}, [_hoisted_1,
|
|
14
|
+
class: _normalizeClass(_ctx.classes)
|
|
15
|
+
}, [_hoisted_1, _createElementVNode("div", _hoisted_2, [_renderSlot(_ctx.$slots, "default")])], 2);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
import { computed, ref, watch, onMounted, onBeforeUnmount } from 'vue';
|
|
@@ -61,9 +61,10 @@ export default {
|
|
|
61
61
|
},
|
|
62
62
|
emits: ['popover:open', 'popover:opened', 'popover:close', 'popover:closed', 'update:opened'],
|
|
63
63
|
|
|
64
|
-
setup(props, {
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
setup(props, _ref) {
|
|
65
|
+
let {
|
|
66
|
+
emit
|
|
67
|
+
} = _ref;
|
|
67
68
|
const f7Popover = ref(null); // eslint-disable-next-line
|
|
68
69
|
|
|
69
70
|
let isOpened = props.opened;
|
package/components/popup.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
|
|
|
@@ -55,9 +55,10 @@ export default {
|
|
|
55
55
|
},
|
|
56
56
|
emits: ['popup:swipestart', 'popup:swipemove', 'popup:swipeend', 'popup:swipeclose', 'popup:open', 'popup:opened', 'popup:close', 'popup:closed', 'update:opened'],
|
|
57
57
|
|
|
58
|
-
setup(props, {
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
setup(props, _ref) {
|
|
59
|
+
let {
|
|
60
|
+
emit
|
|
61
|
+
} = _ref;
|
|
61
62
|
const f7Popup = ref(null); // eslint-disable-next-line
|
|
62
63
|
|
|
63
64
|
let isOpened = props.opened;
|
package/components/preloader.js
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createStaticVNode as _createStaticVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "preloader-inner"
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
const _hoisted_2 = /*#__PURE__*/
|
|
7
|
+
const _hoisted_2 = /*#__PURE__*/_createElementVNode("svg", {
|
|
8
8
|
viewBox: "0 0 36 36"
|
|
9
|
-
}, [/*#__PURE__*/
|
|
9
|
+
}, [/*#__PURE__*/_createElementVNode("circle", {
|
|
10
10
|
cx: "18",
|
|
11
11
|
cy: "18",
|
|
12
12
|
r: "16"
|
|
13
13
|
})], -1);
|
|
14
14
|
|
|
15
|
-
const _hoisted_3 =
|
|
15
|
+
const _hoisted_3 = [_hoisted_2];
|
|
16
|
+
const _hoisted_4 = {
|
|
16
17
|
key: 1,
|
|
17
18
|
class: "preloader-inner"
|
|
18
19
|
};
|
|
19
20
|
|
|
20
|
-
const
|
|
21
|
+
const _hoisted_5 = /*#__PURE__*/_createStaticVNode("<span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span><span class=\"preloader-inner-line\"></span>", 8);
|
|
21
22
|
|
|
22
|
-
const
|
|
23
|
+
const _hoisted_13 = [_hoisted_5];
|
|
24
|
+
const _hoisted_14 = {
|
|
23
25
|
key: 2,
|
|
24
26
|
class: "preloader-inner"
|
|
25
27
|
};
|
|
26
28
|
|
|
27
|
-
const
|
|
29
|
+
const _hoisted_15 = /*#__PURE__*/_createElementVNode("span", {
|
|
28
30
|
class: "preloader-inner-circle"
|
|
29
31
|
}, null, -1);
|
|
30
32
|
|
|
31
|
-
const
|
|
33
|
+
const _hoisted_16 = [_hoisted_15];
|
|
34
|
+
const _hoisted_17 = {
|
|
32
35
|
key: 3,
|
|
33
36
|
class: "preloader-inner"
|
|
34
37
|
};
|
|
35
38
|
|
|
36
39
|
function render(_ctx, _cache) {
|
|
37
|
-
return _openBlock(),
|
|
38
|
-
class: _ctx.classes,
|
|
39
|
-
style: _ctx.style
|
|
40
|
-
}, [_ctx.theme && _ctx.theme.md ? (_openBlock(),
|
|
40
|
+
return _openBlock(), _createElementBlock("div", {
|
|
41
|
+
class: _normalizeClass(_ctx.classes),
|
|
42
|
+
style: _normalizeStyle(_ctx.style)
|
|
43
|
+
}, [_ctx.theme && _ctx.theme.md ? (_openBlock(), _createElementBlock("span", _hoisted_1, _hoisted_3)) : _ctx.theme && _ctx.theme.ios ? (_openBlock(), _createElementBlock("span", _hoisted_4, _hoisted_13)) : _ctx.theme && _ctx.theme.aurora ? (_openBlock(), _createElementBlock("span", _hoisted_14, _hoisted_16)) : !_ctx.theme ? (_openBlock(), _createElementBlock("span", _hoisted_17)) : _createCommentVNode("", true)], 6);
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
import { computed } from 'vue';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
const _hoisted_1 = ["data-progress"];
|
|
2
3
|
|
|
3
4
|
function render(_ctx, _cache) {
|
|
4
|
-
return _openBlock(),
|
|
5
|
+
return _openBlock(), _createElementBlock("span", {
|
|
5
6
|
ref: "elRef",
|
|
6
|
-
class: _ctx.classes,
|
|
7
|
+
class: _normalizeClass(_ctx.classes),
|
|
7
8
|
"data-progress": _ctx.progress
|
|
8
|
-
}, [
|
|
9
|
-
style: _ctx.transformStyle
|
|
10
|
-
}, null, 4)], 10,
|
|
9
|
+
}, [_createElementVNode("span", {
|
|
10
|
+
style: _normalizeStyle(_ctx.transformStyle)
|
|
11
|
+
}, null, 4)], 10, _hoisted_1);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
import { computed, ref } from 'vue';
|
package/components/radio.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
const _hoisted_1 = ["name", "value", "disabled", "readonly", "checked"];
|
|
2
3
|
|
|
3
|
-
const
|
|
4
|
+
const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
|
|
4
5
|
class: "icon-radio"
|
|
5
6
|
}, null, -1);
|
|
6
7
|
|
|
7
8
|
function render(_ctx, _cache) {
|
|
8
|
-
return _openBlock(),
|
|
9
|
-
class: _ctx.classes
|
|
10
|
-
}, [
|
|
9
|
+
return _openBlock(), _createElementBlock("label", {
|
|
10
|
+
class: _normalizeClass(_ctx.classes)
|
|
11
|
+
}, [_createElementVNode("input", {
|
|
11
12
|
ref: "inputElRef",
|
|
12
13
|
type: "radio",
|
|
13
14
|
name: _ctx.name,
|
|
@@ -15,8 +16,10 @@ function render(_ctx, _cache) {
|
|
|
15
16
|
disabled: _ctx.disabled,
|
|
16
17
|
readonly: _ctx.readonly,
|
|
17
18
|
checked: _ctx.checked,
|
|
18
|
-
onChange: _cache[
|
|
19
|
-
|
|
19
|
+
onChange: _cache[0] || (_cache[0] = function () {
|
|
20
|
+
return _ctx.onChange && _ctx.onChange(...arguments);
|
|
21
|
+
})
|
|
22
|
+
}, null, 40, _hoisted_1), _hoisted_2, _renderSlot(_ctx.$slots, "default")], 2);
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
import { ref, computed } from 'vue';
|
|
@@ -38,9 +41,10 @@ export default {
|
|
|
38
41
|
},
|
|
39
42
|
emits: ['update:checked', 'change'],
|
|
40
43
|
|
|
41
|
-
setup(props, {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
setup(props, _ref) {
|
|
45
|
+
let {
|
|
46
|
+
emit
|
|
47
|
+
} = _ref;
|
|
44
48
|
const inputElRef = ref(null);
|
|
45
49
|
|
|
46
50
|
const onChange = event => {
|
package/components/range.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
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 = ["name"];
|
|
2
3
|
|
|
3
4
|
function render(_ctx, _cache) {
|
|
4
|
-
return _openBlock(),
|
|
5
|
+
return _openBlock(), _createElementBlock("div", {
|
|
5
6
|
ref: "elRef",
|
|
6
|
-
class: _ctx.classes
|
|
7
|
-
}, [_ctx.input ? (_openBlock(),
|
|
7
|
+
class: _normalizeClass(_ctx.classes)
|
|
8
|
+
}, [_ctx.input ? (_openBlock(), _createElementBlock("input", {
|
|
8
9
|
key: 0,
|
|
9
10
|
id: "inputId",
|
|
10
11
|
type: "range",
|
|
11
12
|
name: _ctx.name
|
|
12
|
-
}, null, 8,
|
|
13
|
+
}, null, 8, _hoisted_1)) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "default")], 2);
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
import { computed, ref, onMounted, onBeforeUnmount, watch } from 'vue';
|
|
@@ -86,9 +87,10 @@ export default {
|
|
|
86
87
|
},
|
|
87
88
|
emits: ['range:change', 'range:changed', 'rangeChange', 'rangeChanged', 'update:value'],
|
|
88
89
|
|
|
89
|
-
setup(props, {
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
setup(props, _ref) {
|
|
91
|
+
let {
|
|
92
|
+
emit
|
|
93
|
+
} = _ref;
|
|
92
94
|
let f7Range = null;
|
|
93
95
|
const elRef = ref(null);
|
|
94
96
|
watch(() => props.value, newValue => {
|