@xenknight/framework7-vue 0.0.2
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/LICENSE +20 -0
- package/README.md +33 -0
- package/components/accordion-content.d.ts +46 -0
- package/components/accordion-content.js +22 -0
- package/components/accordion-item.d.ts +51 -0
- package/components/accordion-item.js +77 -0
- package/components/accordion-toggle.d.ts +46 -0
- package/components/accordion-toggle.js +22 -0
- package/components/accordion.d.ts +50 -0
- package/components/accordion.js +23 -0
- package/components/actions-button.d.ts +56 -0
- package/components/actions-button.js +58 -0
- package/components/actions-group.d.ts +46 -0
- package/components/actions-group.js +22 -0
- package/components/actions-label.d.ts +51 -0
- package/components/actions-label.js +36 -0
- package/components/actions.d.ts +109 -0
- package/components/actions.js +157 -0
- package/components/app.d.ts +310 -0
- package/components/app.js +267 -0
- package/components/area-chart.d.ts +88 -0
- package/components/area-chart.js +364 -0
- package/components/badge.d.ts +54 -0
- package/components/badge.js +29 -0
- package/components/block-footer.d.ts +46 -0
- package/components/block-footer.js +22 -0
- package/components/block-header.d.ts +46 -0
- package/components/block-header.js +22 -0
- package/components/block-title.d.ts +54 -0
- package/components/block-title.js +35 -0
- package/components/block.d.ts +163 -0
- package/components/block.js +123 -0
- package/components/breadcrumbs-collapsed.d.ts +19 -0
- package/components/breadcrumbs-collapsed.js +21 -0
- package/components/breadcrumbs-item.d.ts +22 -0
- package/components/breadcrumbs-item.js +24 -0
- package/components/breadcrumbs-separator.d.ts +19 -0
- package/components/breadcrumbs-separator.js +20 -0
- package/components/breadcrumbs.d.ts +19 -0
- package/components/breadcrumbs.js +20 -0
- package/components/button.d.ts +371 -0
- package/components/button.js +182 -0
- package/components/card-content.d.ts +51 -0
- package/components/card-content.js +28 -0
- package/components/card-footer.d.ts +46 -0
- package/components/card-footer.js +22 -0
- package/components/card-header.d.ts +46 -0
- package/components/card-header.js +22 -0
- package/components/card.d.ts +145 -0
- package/components/card.js +192 -0
- package/components/checkbox.d.ts +72 -0
- package/components/checkbox.js +70 -0
- package/components/chip.d.ts +107 -0
- package/components/chip.js +81 -0
- package/components/fab-backdrop.d.ts +46 -0
- package/components/fab-backdrop.js +22 -0
- package/components/fab-button.d.ts +67 -0
- package/components/fab-button.js +52 -0
- package/components/fab-buttons.d.ts +51 -0
- package/components/fab-buttons.js +26 -0
- package/components/fab.d.ts +76 -0
- package/components/fab.js +78 -0
- package/components/gauge.d.ts +91 -0
- package/components/gauge.js +151 -0
- package/components/icon.d.ts +78 -0
- package/components/icon.js +100 -0
- package/components/input.d.ts +226 -0
- package/components/input.js +409 -0
- package/components/link.d.ts +287 -0
- package/components/link.js +129 -0
- package/components/list-button.d.ts +239 -0
- package/components/list-button.js +71 -0
- package/components/list-group.d.ts +71 -0
- package/components/list-group.js +53 -0
- package/components/list-index.d.ts +81 -0
- package/components/list-index.js +96 -0
- package/components/list-input.d.ts +245 -0
- package/components/list-input.js +415 -0
- package/components/list-item.d.ts +370 -0
- package/components/list-item.js +451 -0
- package/components/list.d.ts +236 -0
- package/components/list.js +222 -0
- package/components/login-screen-title.d.ts +46 -0
- package/components/login-screen-title.js +22 -0
- package/components/login-screen.d.ts +61 -0
- package/components/login-screen.js +104 -0
- package/components/message.d.ts +116 -0
- package/components/message.js +169 -0
- package/components/messagebar-attachment.d.ts +56 -0
- package/components/messagebar-attachment.js +52 -0
- package/components/messagebar-attachments.d.ts +46 -0
- package/components/messagebar-attachments.js +22 -0
- package/components/messagebar-sheet-image.d.ts +55 -0
- package/components/messagebar-sheet-image.js +48 -0
- package/components/messagebar-sheet-item.d.ts +46 -0
- package/components/messagebar-sheet-item.js +22 -0
- package/components/messagebar-sheet.d.ts +46 -0
- package/components/messagebar-sheet.js +22 -0
- package/components/messagebar.d.ts +117 -0
- package/components/messagebar.js +193 -0
- package/components/messages-title.d.ts +46 -0
- package/components/messages-title.js +22 -0
- package/components/messages.d.ts +116 -0
- package/components/messages.js +134 -0
- package/components/nav-left.d.ts +68 -0
- package/components/nav-left.js +66 -0
- package/components/nav-right.d.ts +50 -0
- package/components/nav-right.js +25 -0
- package/components/nav-title-large.d.ts +46 -0
- package/components/nav-title-large.js +25 -0
- package/components/nav-title.d.ts +58 -0
- package/components/nav-title.js +31 -0
- package/components/navbar.d.ts +110 -0
- package/components/navbar.js +248 -0
- package/components/page-content.d.ts +113 -0
- package/components/page-content.js +147 -0
- package/components/page.d.ts +150 -0
- package/components/page.js +331 -0
- package/components/panel.d.ts +139 -0
- package/components/panel.js +198 -0
- package/components/photo-browser.d.ts +164 -0
- package/components/photo-browser.js +181 -0
- package/components/pie-chart.d.ts +37 -0
- package/components/pie-chart.js +172 -0
- package/components/popover.d.ts +101 -0
- package/components/popover.js +157 -0
- package/components/popup.d.ts +99 -0
- package/components/popup.js +161 -0
- package/components/preloader.d.ts +50 -0
- package/components/preloader.js +65 -0
- package/components/progressbar.d.ts +54 -0
- package/components/progressbar.js +44 -0
- package/components/radio.d.ts +68 -0
- package/components/radio.js +59 -0
- package/components/range.d.ts +141 -0
- package/components/range.js +139 -0
- package/components/routable-modals.d.ts +19 -0
- package/components/routable-modals.js +58 -0
- package/components/searchbar.d.ts +182 -0
- package/components/searchbar.js +285 -0
- package/components/segmented.d.ts +87 -0
- package/components/segmented.js +53 -0
- package/components/sheet.d.ts +132 -0
- package/components/sheet.js +213 -0
- package/components/skeleton-avatar.d.ts +6 -0
- package/components/skeleton-avatar.js +3 -0
- package/components/skeleton-block.d.ts +6 -0
- package/components/skeleton-block.js +3 -0
- package/components/skeleton-image.d.ts +6 -0
- package/components/skeleton-image.js +3 -0
- package/components/skeleton-text.d.ts +6 -0
- package/components/skeleton-text.js +3 -0
- package/components/stepper.d.ts +197 -0
- package/components/stepper.js +230 -0
- package/components/subnavbar.d.ts +59 -0
- package/components/subnavbar.js +40 -0
- package/components/swipeout-actions.d.ts +58 -0
- package/components/swipeout-actions.js +33 -0
- package/components/swipeout-button.d.ts +75 -0
- package/components/swipeout-button.js +48 -0
- package/components/tab.d.ts +51 -0
- package/components/tab.js +128 -0
- package/components/tabs.d.ts +63 -0
- package/components/tabs.js +59 -0
- package/components/text-editor.d.ts +95 -0
- package/components/text-editor.js +147 -0
- package/components/toggle.d.ts +80 -0
- package/components/toggle.js +89 -0
- package/components/toolbar.d.ts +108 -0
- package/components/toolbar.js +135 -0
- package/components/treeview-item.d.ts +265 -0
- package/components/treeview-item.js +140 -0
- package/components/treeview.d.ts +46 -0
- package/components/treeview.js +22 -0
- package/components/use-icon.d.ts +19 -0
- package/components/use-icon.js +27 -0
- package/components/view.d.ts +296 -0
- package/components/view.js +373 -0
- package/components/views.d.ts +50 -0
- package/components/views.js +25 -0
- package/framework7-vue-bundle.js +190 -0
- package/framework7-vue.d.ts +121 -0
- package/framework7-vue.js +108 -0
- package/package.json +65 -0
- package/shared/components-router.js +203 -0
- package/shared/f7.js +71 -0
- package/shared/get-router-initial-component.js +35 -0
- package/shared/mixins.js +233 -0
- package/shared/modal-state-classes.js +10 -0
- package/shared/plugin.js +37 -0
- package/shared/router-open-in.js +105 -0
- package/shared/use-icon.js +37 -0
- package/shared/use-route-props.js +18 -0
- package/shared/use-smart-select.js +24 -0
- package/shared/use-store.js +24 -0
- package/shared/use-tab.js +24 -0
- package/shared/use-theme.js +11 -0
- package/shared/use-tooltip.js +43 -0
- package/shared/utils.js +110 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const Badge: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
tooltip: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
tooltipTrigger: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
colorTheme: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
textColor: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
bgColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
borderColor: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
rippleColor: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
dark: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
() => JSX.Element,
|
|
45
|
+
unknown,
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
ComponentOptionsMixin,
|
|
49
|
+
ComponentOptionsMixin,
|
|
50
|
+
|
|
51
|
+
>;
|
|
52
|
+
|
|
53
|
+
export default Badge;
|
|
54
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
function render(_ctx, _cache) {
|
|
3
|
+
return _openBlock(), _createElementBlock("span", {
|
|
4
|
+
ref: "elRef",
|
|
5
|
+
class: _normalizeClass(_ctx.classes)
|
|
6
|
+
}, [_renderSlot(_ctx.$slots, "default")], 2);
|
|
7
|
+
}
|
|
8
|
+
import { computed, ref } from 'vue';
|
|
9
|
+
import { classNames } from '../shared/utils.js';
|
|
10
|
+
import { colorClasses, colorProps } from '../shared/mixins.js';
|
|
11
|
+
import { useTooltip } from '../shared/use-tooltip.js';
|
|
12
|
+
export default {
|
|
13
|
+
name: 'f7-badge',
|
|
14
|
+
render,
|
|
15
|
+
props: {
|
|
16
|
+
tooltip: String,
|
|
17
|
+
tooltipTrigger: String,
|
|
18
|
+
...colorProps
|
|
19
|
+
},
|
|
20
|
+
setup(props) {
|
|
21
|
+
const elRef = ref(null);
|
|
22
|
+
useTooltip(elRef, props);
|
|
23
|
+
const classes = computed(() => classNames('badge', colorClasses(props)));
|
|
24
|
+
return {
|
|
25
|
+
elRef,
|
|
26
|
+
classes
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BlockFooter: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
color: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
colorTheme: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
textColor: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
bgColor: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
borderColor: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
rippleColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
dark: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
() => JSX.Element,
|
|
37
|
+
unknown,
|
|
38
|
+
{},
|
|
39
|
+
{},
|
|
40
|
+
ComponentOptionsMixin,
|
|
41
|
+
ComponentOptionsMixin,
|
|
42
|
+
|
|
43
|
+
>;
|
|
44
|
+
|
|
45
|
+
export default BlockFooter;
|
|
46
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
function render(_ctx, _cache) {
|
|
3
|
+
return _openBlock(), _createElementBlock("div", {
|
|
4
|
+
class: _normalizeClass(_ctx.classes)
|
|
5
|
+
}, [_renderSlot(_ctx.$slots, "default")], 2);
|
|
6
|
+
}
|
|
7
|
+
import { computed } from 'vue';
|
|
8
|
+
import { classNames } from '../shared/utils.js';
|
|
9
|
+
import { colorClasses, colorProps } from '../shared/mixins.js';
|
|
10
|
+
export default {
|
|
11
|
+
name: 'f7-block-footer',
|
|
12
|
+
render,
|
|
13
|
+
props: {
|
|
14
|
+
...colorProps
|
|
15
|
+
},
|
|
16
|
+
setup(props) {
|
|
17
|
+
const classes = computed(() => classNames('block-footer', colorClasses(props)));
|
|
18
|
+
return {
|
|
19
|
+
classes
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BlockHeader: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
color: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
colorTheme: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
textColor: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
bgColor: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
borderColor: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
rippleColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
dark: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
() => JSX.Element,
|
|
37
|
+
unknown,
|
|
38
|
+
{},
|
|
39
|
+
{},
|
|
40
|
+
ComponentOptionsMixin,
|
|
41
|
+
ComponentOptionsMixin,
|
|
42
|
+
|
|
43
|
+
>;
|
|
44
|
+
|
|
45
|
+
export default BlockHeader;
|
|
46
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
function render(_ctx, _cache) {
|
|
3
|
+
return _openBlock(), _createElementBlock("div", {
|
|
4
|
+
class: _normalizeClass(_ctx.classes)
|
|
5
|
+
}, [_renderSlot(_ctx.$slots, "default")], 2);
|
|
6
|
+
}
|
|
7
|
+
import { computed } from 'vue';
|
|
8
|
+
import { classNames } from '../shared/utils.js';
|
|
9
|
+
import { colorClasses, colorProps } from '../shared/mixins.js';
|
|
10
|
+
export default {
|
|
11
|
+
name: 'f7-block-header',
|
|
12
|
+
render,
|
|
13
|
+
props: {
|
|
14
|
+
...colorProps
|
|
15
|
+
},
|
|
16
|
+
setup(props) {
|
|
17
|
+
const classes = computed(() => classNames('block-header', colorClasses(props)));
|
|
18
|
+
return {
|
|
19
|
+
classes
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BlockTitle: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
large: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
medium: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
colorTheme: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
textColor: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
bgColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
borderColor: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
rippleColor: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
dark: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
() => JSX.Element,
|
|
45
|
+
unknown,
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
ComponentOptionsMixin,
|
|
49
|
+
ComponentOptionsMixin,
|
|
50
|
+
|
|
51
|
+
>;
|
|
52
|
+
|
|
53
|
+
export default BlockTitle;
|
|
54
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
const _hoisted_1 = ["medium"];
|
|
3
|
+
function render(_ctx, _cache) {
|
|
4
|
+
return _openBlock(), _createElementBlock("div", {
|
|
5
|
+
class: _normalizeClass(_ctx.classes),
|
|
6
|
+
medium: _ctx.medium
|
|
7
|
+
}, [_renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
|
|
8
|
+
}
|
|
9
|
+
import { computed } from 'vue';
|
|
10
|
+
import { classNames } from '../shared/utils.js';
|
|
11
|
+
import { colorClasses, colorProps } from '../shared/mixins.js';
|
|
12
|
+
export default {
|
|
13
|
+
name: 'f7-block-title',
|
|
14
|
+
render,
|
|
15
|
+
props: {
|
|
16
|
+
large: Boolean,
|
|
17
|
+
medium: Boolean,
|
|
18
|
+
...colorProps
|
|
19
|
+
},
|
|
20
|
+
setup(props) {
|
|
21
|
+
const classes = computed(() => {
|
|
22
|
+
const {
|
|
23
|
+
large,
|
|
24
|
+
medium
|
|
25
|
+
} = props;
|
|
26
|
+
return classNames('block-title', {
|
|
27
|
+
'block-title-large': large,
|
|
28
|
+
'block-title-medium': medium
|
|
29
|
+
}, colorClasses(props));
|
|
30
|
+
});
|
|
31
|
+
return {
|
|
32
|
+
classes
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const Block: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
inset: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
insetIos: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
insetMd: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
xsmallInset: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
xsmallInsetIos: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
xsmallInsetMd: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
smallInset: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
smallInsetIos: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
smallInsetMd: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
mediumInset: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
mediumInsetIos: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
mediumInsetMd: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
largeInset: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
largeInsetIos: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
largeInsetMd: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
xlargeInset: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
xlargeInsetIos: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
xlargeInsetMd: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
strong: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
strongIos: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
strongMd: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
outline: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
outlineIos: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
outlineMd: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
tabs: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
tab: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
tabActive: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
accordionList: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
accordionOpposite: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
color: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
},
|
|
127
|
+
|
|
128
|
+
colorTheme: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
textColor: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
},
|
|
135
|
+
|
|
136
|
+
bgColor: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
borderColor: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
rippleColor: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
},
|
|
147
|
+
|
|
148
|
+
dark: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
() => JSX.Element,
|
|
153
|
+
unknown,
|
|
154
|
+
{},
|
|
155
|
+
{},
|
|
156
|
+
ComponentOptionsMixin,
|
|
157
|
+
ComponentOptionsMixin,
|
|
158
|
+
("tab:hide" | "tab:show")[],
|
|
159
|
+
"tab:hide" | "tab:show"
|
|
160
|
+
>;
|
|
161
|
+
|
|
162
|
+
export default Block;
|
|
163
|
+
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
function render(_ctx, _cache) {
|
|
3
|
+
return _openBlock(), _createElementBlock("div", {
|
|
4
|
+
ref: "elRef",
|
|
5
|
+
class: _normalizeClass(_ctx.classes)
|
|
6
|
+
}, [_renderSlot(_ctx.$slots, "default")], 2);
|
|
7
|
+
}
|
|
8
|
+
import { ref, computed } from 'vue';
|
|
9
|
+
import { classNames } from '../shared/utils.js';
|
|
10
|
+
import { colorClasses, colorProps } from '../shared/mixins.js';
|
|
11
|
+
import { useTab } from '../shared/use-tab.js';
|
|
12
|
+
export default {
|
|
13
|
+
name: 'f7-block',
|
|
14
|
+
render,
|
|
15
|
+
props: {
|
|
16
|
+
inset: Boolean,
|
|
17
|
+
insetIos: Boolean,
|
|
18
|
+
insetMd: Boolean,
|
|
19
|
+
xsmallInset: Boolean,
|
|
20
|
+
xsmallInsetIos: Boolean,
|
|
21
|
+
xsmallInsetMd: Boolean,
|
|
22
|
+
smallInset: Boolean,
|
|
23
|
+
smallInsetIos: Boolean,
|
|
24
|
+
smallInsetMd: Boolean,
|
|
25
|
+
mediumInset: Boolean,
|
|
26
|
+
mediumInsetIos: Boolean,
|
|
27
|
+
mediumInsetMd: Boolean,
|
|
28
|
+
largeInset: Boolean,
|
|
29
|
+
largeInsetIos: Boolean,
|
|
30
|
+
largeInsetMd: Boolean,
|
|
31
|
+
xlargeInset: Boolean,
|
|
32
|
+
xlargeInsetIos: Boolean,
|
|
33
|
+
xlargeInsetMd: Boolean,
|
|
34
|
+
strong: Boolean,
|
|
35
|
+
strongIos: Boolean,
|
|
36
|
+
strongMd: Boolean,
|
|
37
|
+
outline: Boolean,
|
|
38
|
+
outlineIos: Boolean,
|
|
39
|
+
outlineMd: Boolean,
|
|
40
|
+
tabs: Boolean,
|
|
41
|
+
tab: Boolean,
|
|
42
|
+
tabActive: Boolean,
|
|
43
|
+
accordionList: Boolean,
|
|
44
|
+
accordionOpposite: Boolean,
|
|
45
|
+
...colorProps
|
|
46
|
+
},
|
|
47
|
+
emits: ['tab:hide', 'tab:show'],
|
|
48
|
+
setup(props, _ref) {
|
|
49
|
+
let {
|
|
50
|
+
emit
|
|
51
|
+
} = _ref;
|
|
52
|
+
const elRef = ref(null);
|
|
53
|
+
useTab(elRef, emit);
|
|
54
|
+
const classes = computed(() => {
|
|
55
|
+
const {
|
|
56
|
+
inset,
|
|
57
|
+
insetIos,
|
|
58
|
+
insetMd,
|
|
59
|
+
xsmallInset,
|
|
60
|
+
xsmallInsetIos,
|
|
61
|
+
xsmallInsetMd,
|
|
62
|
+
smallInset,
|
|
63
|
+
smallInsetIos,
|
|
64
|
+
smallInsetMd,
|
|
65
|
+
mediumInset,
|
|
66
|
+
mediumInsetIos,
|
|
67
|
+
mediumInsetMd,
|
|
68
|
+
largeInset,
|
|
69
|
+
largeInsetIos,
|
|
70
|
+
largeInsetMd,
|
|
71
|
+
xlargeInset,
|
|
72
|
+
xlargeInsetIos,
|
|
73
|
+
xlargeInsetMd,
|
|
74
|
+
strong,
|
|
75
|
+
strongIos,
|
|
76
|
+
strongMd,
|
|
77
|
+
outline,
|
|
78
|
+
outlineIos,
|
|
79
|
+
outlineMd,
|
|
80
|
+
accordionList,
|
|
81
|
+
accordionOpposite,
|
|
82
|
+
tabs,
|
|
83
|
+
tab,
|
|
84
|
+
tabActive
|
|
85
|
+
} = props;
|
|
86
|
+
return classNames('block', {
|
|
87
|
+
inset,
|
|
88
|
+
'inset-ios': insetIos,
|
|
89
|
+
'inset-md': insetMd,
|
|
90
|
+
'xsmall-inset': xsmallInset,
|
|
91
|
+
'xsmall-inset-ios': xsmallInsetIos,
|
|
92
|
+
'xsmall-inset-md': xsmallInsetMd,
|
|
93
|
+
'small-inset': smallInset,
|
|
94
|
+
'small-inset-ios': smallInsetIos,
|
|
95
|
+
'small-inset-md': smallInsetMd,
|
|
96
|
+
'medium-inset': mediumInset,
|
|
97
|
+
'medium-inset-ios': mediumInsetIos,
|
|
98
|
+
'medium-inset-md': mediumInsetMd,
|
|
99
|
+
'large-inset': largeInset,
|
|
100
|
+
'large-inset-ios': largeInsetIos,
|
|
101
|
+
'large-inset-md': largeInsetMd,
|
|
102
|
+
'xlarge-inset': xlargeInset,
|
|
103
|
+
'xlarge-inset-ios': xlargeInsetIos,
|
|
104
|
+
'xlarge-inset-md': xlargeInsetMd,
|
|
105
|
+
'block-strong': strong,
|
|
106
|
+
'block-strong-ios': strongIos,
|
|
107
|
+
'block-strong-md': strongMd,
|
|
108
|
+
'accordion-list': accordionList,
|
|
109
|
+
'accordion-opposite': accordionOpposite,
|
|
110
|
+
tabs,
|
|
111
|
+
tab,
|
|
112
|
+
'tab-active': tabActive,
|
|
113
|
+
'block-outline': outline,
|
|
114
|
+
'block-outline-md': outlineMd,
|
|
115
|
+
'block-outline-ios': outlineIos
|
|
116
|
+
}, colorClasses(props));
|
|
117
|
+
});
|
|
118
|
+
return {
|
|
119
|
+
elRef,
|
|
120
|
+
classes
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BreadcrumbsCollapsed: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
},
|
|
9
|
+
() => JSX.Element,
|
|
10
|
+
unknown,
|
|
11
|
+
{},
|
|
12
|
+
{},
|
|
13
|
+
ComponentOptionsMixin,
|
|
14
|
+
ComponentOptionsMixin,
|
|
15
|
+
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export default BreadcrumbsCollapsed;
|
|
19
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementVNode as _createElementVNode, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
const _hoisted_1 = {
|
|
3
|
+
ref: "elRef",
|
|
4
|
+
class: "breadcrumbs-collapsed"
|
|
5
|
+
};
|
|
6
|
+
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", null, null, -1);
|
|
7
|
+
function render(_ctx, _cache) {
|
|
8
|
+
return _openBlock(), _createElementBlock("div", _hoisted_1, [_hoisted_2, _renderSlot(_ctx.$slots, "default")], 512);
|
|
9
|
+
}
|
|
10
|
+
import { ref } from 'vue';
|
|
11
|
+
export default {
|
|
12
|
+
name: 'f7-breadcrumbs-collapsed',
|
|
13
|
+
render,
|
|
14
|
+
props: {},
|
|
15
|
+
setup() {
|
|
16
|
+
const elRef = ref(null);
|
|
17
|
+
return {
|
|
18
|
+
elRef
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BreadcrumbsItem: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
active: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
() => JSX.Element,
|
|
13
|
+
unknown,
|
|
14
|
+
{},
|
|
15
|
+
{},
|
|
16
|
+
ComponentOptionsMixin,
|
|
17
|
+
ComponentOptionsMixin,
|
|
18
|
+
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
export default BreadcrumbsItem;
|
|
22
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
2
|
+
function render(_ctx, _cache) {
|
|
3
|
+
return _openBlock(), _createElementBlock("div", {
|
|
4
|
+
ref: "elRef",
|
|
5
|
+
class: _normalizeClass({
|
|
6
|
+
'breadcrumbs-item': true,
|
|
7
|
+
'breadcrumbs-item-active': _ctx.active
|
|
8
|
+
})
|
|
9
|
+
}, [_renderSlot(_ctx.$slots, "default")], 2);
|
|
10
|
+
}
|
|
11
|
+
import { ref } from 'vue';
|
|
12
|
+
export default {
|
|
13
|
+
name: 'f7-breadcrumbs-item',
|
|
14
|
+
render,
|
|
15
|
+
props: {
|
|
16
|
+
active: Boolean
|
|
17
|
+
},
|
|
18
|
+
setup() {
|
|
19
|
+
const elRef = ref(null);
|
|
20
|
+
return {
|
|
21
|
+
elRef
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare const BreadcrumbsSeparator: DefineComponent<
|
|
6
|
+
{
|
|
7
|
+
|
|
8
|
+
},
|
|
9
|
+
() => JSX.Element,
|
|
10
|
+
unknown,
|
|
11
|
+
{},
|
|
12
|
+
{},
|
|
13
|
+
ComponentOptionsMixin,
|
|
14
|
+
ComponentOptionsMixin,
|
|
15
|
+
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export default BreadcrumbsSeparator;
|
|
19
|
+
|