@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.
Files changed (199) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +33 -0
  3. package/components/accordion-content.d.ts +46 -0
  4. package/components/accordion-content.js +22 -0
  5. package/components/accordion-item.d.ts +51 -0
  6. package/components/accordion-item.js +77 -0
  7. package/components/accordion-toggle.d.ts +46 -0
  8. package/components/accordion-toggle.js +22 -0
  9. package/components/accordion.d.ts +50 -0
  10. package/components/accordion.js +23 -0
  11. package/components/actions-button.d.ts +56 -0
  12. package/components/actions-button.js +58 -0
  13. package/components/actions-group.d.ts +46 -0
  14. package/components/actions-group.js +22 -0
  15. package/components/actions-label.d.ts +51 -0
  16. package/components/actions-label.js +36 -0
  17. package/components/actions.d.ts +109 -0
  18. package/components/actions.js +157 -0
  19. package/components/app.d.ts +310 -0
  20. package/components/app.js +267 -0
  21. package/components/area-chart.d.ts +88 -0
  22. package/components/area-chart.js +364 -0
  23. package/components/badge.d.ts +54 -0
  24. package/components/badge.js +29 -0
  25. package/components/block-footer.d.ts +46 -0
  26. package/components/block-footer.js +22 -0
  27. package/components/block-header.d.ts +46 -0
  28. package/components/block-header.js +22 -0
  29. package/components/block-title.d.ts +54 -0
  30. package/components/block-title.js +35 -0
  31. package/components/block.d.ts +163 -0
  32. package/components/block.js +123 -0
  33. package/components/breadcrumbs-collapsed.d.ts +19 -0
  34. package/components/breadcrumbs-collapsed.js +21 -0
  35. package/components/breadcrumbs-item.d.ts +22 -0
  36. package/components/breadcrumbs-item.js +24 -0
  37. package/components/breadcrumbs-separator.d.ts +19 -0
  38. package/components/breadcrumbs-separator.js +20 -0
  39. package/components/breadcrumbs.d.ts +19 -0
  40. package/components/breadcrumbs.js +20 -0
  41. package/components/button.d.ts +371 -0
  42. package/components/button.js +182 -0
  43. package/components/card-content.d.ts +51 -0
  44. package/components/card-content.js +28 -0
  45. package/components/card-footer.d.ts +46 -0
  46. package/components/card-footer.js +22 -0
  47. package/components/card-header.d.ts +46 -0
  48. package/components/card-header.js +22 -0
  49. package/components/card.d.ts +145 -0
  50. package/components/card.js +192 -0
  51. package/components/checkbox.d.ts +72 -0
  52. package/components/checkbox.js +70 -0
  53. package/components/chip.d.ts +107 -0
  54. package/components/chip.js +81 -0
  55. package/components/fab-backdrop.d.ts +46 -0
  56. package/components/fab-backdrop.js +22 -0
  57. package/components/fab-button.d.ts +67 -0
  58. package/components/fab-button.js +52 -0
  59. package/components/fab-buttons.d.ts +51 -0
  60. package/components/fab-buttons.js +26 -0
  61. package/components/fab.d.ts +76 -0
  62. package/components/fab.js +78 -0
  63. package/components/gauge.d.ts +91 -0
  64. package/components/gauge.js +151 -0
  65. package/components/icon.d.ts +78 -0
  66. package/components/icon.js +100 -0
  67. package/components/input.d.ts +226 -0
  68. package/components/input.js +409 -0
  69. package/components/link.d.ts +287 -0
  70. package/components/link.js +129 -0
  71. package/components/list-button.d.ts +239 -0
  72. package/components/list-button.js +71 -0
  73. package/components/list-group.d.ts +71 -0
  74. package/components/list-group.js +53 -0
  75. package/components/list-index.d.ts +81 -0
  76. package/components/list-index.js +96 -0
  77. package/components/list-input.d.ts +245 -0
  78. package/components/list-input.js +415 -0
  79. package/components/list-item.d.ts +370 -0
  80. package/components/list-item.js +451 -0
  81. package/components/list.d.ts +236 -0
  82. package/components/list.js +222 -0
  83. package/components/login-screen-title.d.ts +46 -0
  84. package/components/login-screen-title.js +22 -0
  85. package/components/login-screen.d.ts +61 -0
  86. package/components/login-screen.js +104 -0
  87. package/components/message.d.ts +116 -0
  88. package/components/message.js +169 -0
  89. package/components/messagebar-attachment.d.ts +56 -0
  90. package/components/messagebar-attachment.js +52 -0
  91. package/components/messagebar-attachments.d.ts +46 -0
  92. package/components/messagebar-attachments.js +22 -0
  93. package/components/messagebar-sheet-image.d.ts +55 -0
  94. package/components/messagebar-sheet-image.js +48 -0
  95. package/components/messagebar-sheet-item.d.ts +46 -0
  96. package/components/messagebar-sheet-item.js +22 -0
  97. package/components/messagebar-sheet.d.ts +46 -0
  98. package/components/messagebar-sheet.js +22 -0
  99. package/components/messagebar.d.ts +117 -0
  100. package/components/messagebar.js +193 -0
  101. package/components/messages-title.d.ts +46 -0
  102. package/components/messages-title.js +22 -0
  103. package/components/messages.d.ts +116 -0
  104. package/components/messages.js +134 -0
  105. package/components/nav-left.d.ts +68 -0
  106. package/components/nav-left.js +66 -0
  107. package/components/nav-right.d.ts +50 -0
  108. package/components/nav-right.js +25 -0
  109. package/components/nav-title-large.d.ts +46 -0
  110. package/components/nav-title-large.js +25 -0
  111. package/components/nav-title.d.ts +58 -0
  112. package/components/nav-title.js +31 -0
  113. package/components/navbar.d.ts +110 -0
  114. package/components/navbar.js +248 -0
  115. package/components/page-content.d.ts +113 -0
  116. package/components/page-content.js +147 -0
  117. package/components/page.d.ts +150 -0
  118. package/components/page.js +331 -0
  119. package/components/panel.d.ts +139 -0
  120. package/components/panel.js +198 -0
  121. package/components/photo-browser.d.ts +164 -0
  122. package/components/photo-browser.js +181 -0
  123. package/components/pie-chart.d.ts +37 -0
  124. package/components/pie-chart.js +172 -0
  125. package/components/popover.d.ts +101 -0
  126. package/components/popover.js +157 -0
  127. package/components/popup.d.ts +99 -0
  128. package/components/popup.js +161 -0
  129. package/components/preloader.d.ts +50 -0
  130. package/components/preloader.js +65 -0
  131. package/components/progressbar.d.ts +54 -0
  132. package/components/progressbar.js +44 -0
  133. package/components/radio.d.ts +68 -0
  134. package/components/radio.js +59 -0
  135. package/components/range.d.ts +141 -0
  136. package/components/range.js +139 -0
  137. package/components/routable-modals.d.ts +19 -0
  138. package/components/routable-modals.js +58 -0
  139. package/components/searchbar.d.ts +182 -0
  140. package/components/searchbar.js +285 -0
  141. package/components/segmented.d.ts +87 -0
  142. package/components/segmented.js +53 -0
  143. package/components/sheet.d.ts +132 -0
  144. package/components/sheet.js +213 -0
  145. package/components/skeleton-avatar.d.ts +6 -0
  146. package/components/skeleton-avatar.js +3 -0
  147. package/components/skeleton-block.d.ts +6 -0
  148. package/components/skeleton-block.js +3 -0
  149. package/components/skeleton-image.d.ts +6 -0
  150. package/components/skeleton-image.js +3 -0
  151. package/components/skeleton-text.d.ts +6 -0
  152. package/components/skeleton-text.js +3 -0
  153. package/components/stepper.d.ts +197 -0
  154. package/components/stepper.js +230 -0
  155. package/components/subnavbar.d.ts +59 -0
  156. package/components/subnavbar.js +40 -0
  157. package/components/swipeout-actions.d.ts +58 -0
  158. package/components/swipeout-actions.js +33 -0
  159. package/components/swipeout-button.d.ts +75 -0
  160. package/components/swipeout-button.js +48 -0
  161. package/components/tab.d.ts +51 -0
  162. package/components/tab.js +128 -0
  163. package/components/tabs.d.ts +63 -0
  164. package/components/tabs.js +59 -0
  165. package/components/text-editor.d.ts +95 -0
  166. package/components/text-editor.js +147 -0
  167. package/components/toggle.d.ts +80 -0
  168. package/components/toggle.js +89 -0
  169. package/components/toolbar.d.ts +108 -0
  170. package/components/toolbar.js +135 -0
  171. package/components/treeview-item.d.ts +265 -0
  172. package/components/treeview-item.js +140 -0
  173. package/components/treeview.d.ts +46 -0
  174. package/components/treeview.js +22 -0
  175. package/components/use-icon.d.ts +19 -0
  176. package/components/use-icon.js +27 -0
  177. package/components/view.d.ts +296 -0
  178. package/components/view.js +373 -0
  179. package/components/views.d.ts +50 -0
  180. package/components/views.js +25 -0
  181. package/framework7-vue-bundle.js +190 -0
  182. package/framework7-vue.d.ts +121 -0
  183. package/framework7-vue.js +108 -0
  184. package/package.json +65 -0
  185. package/shared/components-router.js +203 -0
  186. package/shared/f7.js +71 -0
  187. package/shared/get-router-initial-component.js +35 -0
  188. package/shared/mixins.js +233 -0
  189. package/shared/modal-state-classes.js +10 -0
  190. package/shared/plugin.js +37 -0
  191. package/shared/router-open-in.js +105 -0
  192. package/shared/use-icon.js +37 -0
  193. package/shared/use-route-props.js +18 -0
  194. package/shared/use-smart-select.js +24 -0
  195. package/shared/use-store.js +24 -0
  196. package/shared/use-tab.js +24 -0
  197. package/shared/use-theme.js +11 -0
  198. package/shared/use-tooltip.js +43 -0
  199. package/shared/utils.js +110 -0
@@ -0,0 +1,285 @@
1
+ import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock } from "vue";
2
+ const _hoisted_1 = {
3
+ class: "searchbar-inner"
4
+ };
5
+ const _hoisted_2 = {
6
+ class: "searchbar-input-wrap"
7
+ };
8
+ const _hoisted_3 = ["value", "placeholder", "spellcheck"];
9
+ const _hoisted_4 = /*#__PURE__*/_createElementVNode("i", {
10
+ class: "searchbar-icon"
11
+ }, null, -1);
12
+ function render(_ctx, _cache) {
13
+ return _openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {
14
+ ref: "elRef",
15
+ class: _normalizeClass(_ctx.classes),
16
+ onSubmit: _ctx.onSubmit
17
+ }, {
18
+ default: _withCtx(() => [_renderSlot(_ctx.$slots, "before-inner"), _createElementVNode("div", _hoisted_1, [_renderSlot(_ctx.$slots, "inner-start"), _createElementVNode("div", _hoisted_2, [_renderSlot(_ctx.$slots, "input-wrap-start"), _createElementVNode("input", {
19
+ value: _ctx.value,
20
+ placeholder: _ctx.placeholder,
21
+ spellcheck: _ctx.spellcheck,
22
+ type: "search",
23
+ onInput: _cache[0] || (_cache[0] = function () {
24
+ return _ctx.onInput && _ctx.onInput(...arguments);
25
+ }),
26
+ onChange: _cache[1] || (_cache[1] = function () {
27
+ return _ctx.onChange && _ctx.onChange(...arguments);
28
+ }),
29
+ onFocus: _cache[2] || (_cache[2] = function () {
30
+ return _ctx.onFocus && _ctx.onFocus(...arguments);
31
+ }),
32
+ onBlur: _cache[3] || (_cache[3] = function () {
33
+ return _ctx.onBlur && _ctx.onBlur(...arguments);
34
+ })
35
+ }, null, 40, _hoisted_3), _hoisted_4, _ctx.clearButton ? (_openBlock(), _createElementBlock("span", {
36
+ key: 0,
37
+ class: "input-clear-button",
38
+ onClick: _cache[4] || (_cache[4] = function () {
39
+ return _ctx.onClearButtonClick && _ctx.onClearButtonClick(...arguments);
40
+ })
41
+ })) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "input-wrap-end")]), _ctx.disableButton ? (_openBlock(), _createElementBlock("span", {
42
+ key: 0,
43
+ class: "searchbar-disable-button",
44
+ onClick: _cache[5] || (_cache[5] = function () {
45
+ return _ctx.onDisableButtonClick && _ctx.onDisableButtonClick(...arguments);
46
+ })
47
+ }, _toDisplayString(_ctx.disableButtonText), 1)) : _createCommentVNode("", true), _renderSlot(_ctx.$slots, "inner-end"), _renderSlot(_ctx.$slots, "default")]), _renderSlot(_ctx.$slots, "after-inner")]),
48
+ _: 3
49
+ }, 40, ["class", "onSubmit"]);
50
+ }
51
+ import { computed, ref, onMounted, onBeforeUnmount } from 'vue';
52
+ import { classNames, noUndefinedProps } from '../shared/utils.js';
53
+ import { colorClasses, colorProps } from '../shared/mixins.js';
54
+ import { f7ready, f7 } from '../shared/f7.js';
55
+ export default {
56
+ name: 'f7-searchbar',
57
+ render,
58
+ props: {
59
+ outline: {
60
+ type: Boolean,
61
+ default: true
62
+ },
63
+ form: {
64
+ type: Boolean,
65
+ default: true
66
+ },
67
+ placeholder: {
68
+ type: String,
69
+ default: 'Search'
70
+ },
71
+ spellcheck: {
72
+ type: Boolean,
73
+ default: undefined
74
+ },
75
+ disableButton: {
76
+ type: Boolean,
77
+ default: true
78
+ },
79
+ disableButtonText: {
80
+ type: String,
81
+ default: 'Cancel'
82
+ },
83
+ clearButton: {
84
+ type: Boolean,
85
+ default: true
86
+ },
87
+ // Input Value
88
+ value: [String, Number, Array],
89
+ // SB Params
90
+ inputEvents: {
91
+ type: String,
92
+ default: 'change input compositionend'
93
+ },
94
+ expandable: Boolean,
95
+ inline: Boolean,
96
+ searchContainer: [String, Object],
97
+ searchIn: {
98
+ type: String,
99
+ default: '.item-title'
100
+ },
101
+ searchItem: {
102
+ type: String,
103
+ default: 'li'
104
+ },
105
+ searchGroup: {
106
+ type: String,
107
+ default: '.list-group'
108
+ },
109
+ searchGroupTitle: {
110
+ type: String,
111
+ default: '.list-group-title'
112
+ },
113
+ foundEl: {
114
+ type: [String, Object],
115
+ default: '.searchbar-found'
116
+ },
117
+ notFoundEl: {
118
+ type: [String, Object],
119
+ default: '.searchbar-not-found'
120
+ },
121
+ backdrop: {
122
+ type: Boolean,
123
+ default: undefined
124
+ },
125
+ backdropEl: [String, Object],
126
+ hideOnEnableEl: {
127
+ type: [String, Object],
128
+ default: '.searchbar-hide-on-enable'
129
+ },
130
+ hideOnSearchEl: {
131
+ type: [String, Object],
132
+ default: '.searchbar-hide-on-search'
133
+ },
134
+ ignore: {
135
+ type: String,
136
+ default: '.searchbar-ignore'
137
+ },
138
+ customSearch: {
139
+ type: Boolean,
140
+ default: false
141
+ },
142
+ removeDiacritics: {
143
+ type: Boolean,
144
+ default: false
145
+ },
146
+ hideGroupTitles: {
147
+ type: Boolean,
148
+ default: true
149
+ },
150
+ hideGroups: {
151
+ type: Boolean,
152
+ default: true
153
+ },
154
+ init: {
155
+ type: Boolean,
156
+ default: true
157
+ },
158
+ ...colorProps
159
+ },
160
+ emits: ['change', 'input', 'focus', 'blur', 'submit', 'click:clear', 'click:disable', 'searchbar:search', 'searchbar:clear', 'searchbar:enable', 'searchbar:disable', 'update:value'],
161
+ setup(props, _ref) {
162
+ let {
163
+ emit
164
+ } = _ref;
165
+ let f7Searchbar = null;
166
+ const elRef = ref(null);
167
+ const search = query => {
168
+ if (!f7Searchbar) return undefined;
169
+ return f7Searchbar.search(query);
170
+ };
171
+ const enable = () => {
172
+ if (!f7Searchbar) return undefined;
173
+ return f7Searchbar.enable();
174
+ };
175
+ const disable = () => {
176
+ if (!f7Searchbar) return undefined;
177
+ return f7Searchbar.disable();
178
+ };
179
+ const toggle = () => {
180
+ if (!f7Searchbar) return undefined;
181
+ return f7Searchbar.toggle();
182
+ };
183
+ const clear = () => {
184
+ if (!f7Searchbar) return undefined;
185
+ return f7Searchbar.clear();
186
+ };
187
+ const onChange = event => {
188
+ emit('change', event);
189
+ };
190
+ const onInput = event => {
191
+ emit('input', event);
192
+ emit('update:value', event.target.value);
193
+ };
194
+ const onFocus = event => {
195
+ emit('focus', event);
196
+ };
197
+ const onBlur = event => {
198
+ emit('blur', event);
199
+ };
200
+ const onSubmit = event => {
201
+ emit('submit', event);
202
+ };
203
+ const onClearButtonClick = event => {
204
+ emit('click:clear', event);
205
+ };
206
+ const onDisableButtonClick = event => {
207
+ emit('click:disable', event);
208
+ };
209
+ onMounted(() => {
210
+ if (!props.init) return;
211
+ f7ready(() => {
212
+ const params = noUndefinedProps({
213
+ el: elRef.value,
214
+ inputEvents: props.inputEvents,
215
+ searchContainer: props.searchContainer,
216
+ searchIn: props.searchIn,
217
+ searchItem: props.searchItem,
218
+ searchGroup: props.searchGroup,
219
+ searchGroupTitle: props.searchGroupTitle,
220
+ hideOnEnableEl: props.hideOnEnableEl,
221
+ hideOnSearchEl: props.hideOnSearchEl,
222
+ foundEl: props.foundEl,
223
+ notFoundEl: props.notFoundEl,
224
+ backdrop: props.backdrop,
225
+ backdropEl: props.backdropEl,
226
+ disableButton: props.disableButton,
227
+ ignore: props.ignore,
228
+ customSearch: props.customSearch,
229
+ removeDiacritics: props.removeDiacritics,
230
+ hideGroupTitles: props.hideGroupTitles,
231
+ hideGroups: props.hideGroups,
232
+ expandable: props.expandable,
233
+ inline: props.inline,
234
+ on: {
235
+ search(searchbar, query, previousQuery) {
236
+ emit('searchbar:search', searchbar, query, previousQuery);
237
+ },
238
+ clear(searchbar, previousQuery) {
239
+ emit('searchbar:clear', searchbar, previousQuery);
240
+ },
241
+ enable(searchbar) {
242
+ emit('searchbar:enable', searchbar);
243
+ },
244
+ disable(searchbar) {
245
+ emit('searchbar:disable', searchbar);
246
+ }
247
+ }
248
+ });
249
+ Object.keys(params).forEach(key => {
250
+ if (params[key] === '') {
251
+ delete params[key];
252
+ }
253
+ });
254
+ f7Searchbar = f7.searchbar.create(params);
255
+ });
256
+ });
257
+ onBeforeUnmount(() => {
258
+ if (f7Searchbar && f7Searchbar.destroy) f7Searchbar.destroy();
259
+ f7Searchbar = null;
260
+ });
261
+ const classes = computed(() => classNames('searchbar', {
262
+ 'searchbar-inline': props.inline,
263
+ 'no-outline': !props.outline,
264
+ 'searchbar-expandable': props.expandable
265
+ }, colorClasses(props)));
266
+ const tag = computed(() => props.form ? 'form' : 'div');
267
+ return {
268
+ elRef,
269
+ tag,
270
+ classes,
271
+ search,
272
+ enable,
273
+ disable,
274
+ toggle,
275
+ clear,
276
+ onChange,
277
+ onInput,
278
+ onFocus,
279
+ onBlur,
280
+ onSubmit,
281
+ onClearButtonClick,
282
+ onDisableButtonClick
283
+ };
284
+ }
285
+ };
@@ -0,0 +1,87 @@
1
+
2
+ import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
3
+
4
+
5
+ declare const Segmented: DefineComponent<
6
+ {
7
+
8
+ raised: {
9
+ type: BooleanConstructor;
10
+ },
11
+
12
+ raisedIos: {
13
+ type: BooleanConstructor;
14
+ },
15
+
16
+ raisedMd: {
17
+ type: BooleanConstructor;
18
+ },
19
+
20
+ round: {
21
+ type: BooleanConstructor;
22
+ },
23
+
24
+ roundIos: {
25
+ type: BooleanConstructor;
26
+ },
27
+
28
+ roundMd: {
29
+ type: BooleanConstructor;
30
+ },
31
+
32
+ strong: {
33
+ type: BooleanConstructor;
34
+ },
35
+
36
+ strongIos: {
37
+ type: BooleanConstructor;
38
+ },
39
+
40
+ strongMd: {
41
+ type: BooleanConstructor;
42
+ },
43
+
44
+ tag: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ },
48
+
49
+ color: {
50
+ type: StringConstructor;
51
+ },
52
+
53
+ colorTheme: {
54
+ type: StringConstructor;
55
+ },
56
+
57
+ textColor: {
58
+ type: StringConstructor;
59
+ },
60
+
61
+ bgColor: {
62
+ type: StringConstructor;
63
+ },
64
+
65
+ borderColor: {
66
+ type: StringConstructor;
67
+ },
68
+
69
+ rippleColor: {
70
+ type: StringConstructor;
71
+ },
72
+
73
+ dark: {
74
+ type: BooleanConstructor;
75
+ }
76
+ },
77
+ () => JSX.Element,
78
+ unknown,
79
+ {},
80
+ {},
81
+ ComponentOptionsMixin,
82
+ ComponentOptionsMixin,
83
+
84
+ >;
85
+
86
+ export default Segmented;
87
+
@@ -0,0 +1,53 @@
1
+ import { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock } from "vue";
2
+ const _hoisted_1 = {
3
+ key: 0,
4
+ class: "segmented-highlight"
5
+ };
6
+ function render(_ctx, _cache) {
7
+ return _openBlock(), _createBlock(_resolveDynamicComponent(_ctx.tag), {
8
+ class: _normalizeClass(_ctx.classes)
9
+ }, {
10
+ default: _withCtx(() => [_renderSlot(_ctx.$slots, "default"), _ctx.strong || _ctx.strongIos || _ctx.strongMd ? (_openBlock(), _createElementBlock("span", _hoisted_1)) : _createCommentVNode("", true)]),
11
+ _: 3
12
+ }, 8, ["class"]);
13
+ }
14
+ import { computed } from 'vue';
15
+ import { classNames } from '../shared/utils.js';
16
+ import { colorClasses, colorProps } from '../shared/mixins.js';
17
+ export default {
18
+ name: 'f7-segmented',
19
+ render,
20
+ props: {
21
+ raised: Boolean,
22
+ raisedIos: Boolean,
23
+ raisedMd: Boolean,
24
+ round: Boolean,
25
+ roundIos: Boolean,
26
+ roundMd: Boolean,
27
+ strong: Boolean,
28
+ strongIos: Boolean,
29
+ strongMd: Boolean,
30
+ tag: {
31
+ type: String,
32
+ default: 'div'
33
+ },
34
+ ...colorProps
35
+ },
36
+ setup(props) {
37
+ const classes = computed(() => classNames({
38
+ segmented: true,
39
+ 'segmented-raised': props.raised,
40
+ 'segmented-raised-ios': props.raisedIos,
41
+ 'segmented-raised-md': props.raisedMd,
42
+ 'segmented-round': props.round,
43
+ 'segmented-round-ios': props.roundIos,
44
+ 'segmented-round-md': props.roundMd,
45
+ 'segmented-strong': props.strong,
46
+ 'segmented-strong-ios': props.strongIos,
47
+ 'segmented-strong-md': props.strongMd
48
+ }, colorClasses(props)));
49
+ return {
50
+ classes
51
+ };
52
+ }
53
+ };
@@ -0,0 +1,132 @@
1
+
2
+ import { ComponentOptionsMixin, DefineComponent, PropType } from 'vue';
3
+
4
+
5
+ declare const Sheet: DefineComponent<
6
+ {
7
+
8
+ opened: {
9
+ type: BooleanConstructor;
10
+ },
11
+
12
+ top: {
13
+ type: BooleanConstructor;
14
+ },
15
+
16
+ bottom: {
17
+ type: BooleanConstructor;
18
+ },
19
+
20
+ position: {
21
+ type: StringConstructor;
22
+ },
23
+
24
+ push: {
25
+ type: BooleanConstructor;
26
+ },
27
+
28
+ animate: {
29
+ type: BooleanConstructor;
30
+ default: undefined;
31
+ },
32
+
33
+ backdrop: {
34
+ type: BooleanConstructor;
35
+ default: undefined;
36
+ },
37
+
38
+ backdropEl: {
39
+ type: StringConstructor | ObjectConstructor;
40
+ default: undefined;
41
+ },
42
+
43
+ closeByBackdropClick: {
44
+ type: BooleanConstructor;
45
+ default: undefined;
46
+ },
47
+
48
+ closeByOutsideClick: {
49
+ type: BooleanConstructor;
50
+ default: undefined;
51
+ },
52
+
53
+ closeOnEscape: {
54
+ type: BooleanConstructor;
55
+ default: undefined;
56
+ },
57
+
58
+ swipeToClose: {
59
+ type: BooleanConstructor;
60
+ default: undefined;
61
+ },
62
+
63
+ swipeToStep: {
64
+ type: BooleanConstructor;
65
+ default: undefined;
66
+ },
67
+
68
+ swipeHandler: {
69
+ type: StringConstructor | ObjectConstructor;
70
+ default: undefined;
71
+ },
72
+
73
+ containerEl: {
74
+ type: StringConstructor | ObjectConstructor;
75
+ default: undefined;
76
+ },
77
+
78
+ breakpoints: {
79
+ type: ArrayConstructor;
80
+ default: () => undefined;
81
+ },
82
+
83
+ backdropBreakpoint: {
84
+ type: NumberConstructor;
85
+ default: undefined;
86
+ },
87
+
88
+ pushBreakpoint: {
89
+ type: NumberConstructor;
90
+ default: undefined;
91
+ },
92
+
93
+ color: {
94
+ type: StringConstructor;
95
+ },
96
+
97
+ colorTheme: {
98
+ type: StringConstructor;
99
+ },
100
+
101
+ textColor: {
102
+ type: StringConstructor;
103
+ },
104
+
105
+ bgColor: {
106
+ type: StringConstructor;
107
+ },
108
+
109
+ borderColor: {
110
+ type: StringConstructor;
111
+ },
112
+
113
+ rippleColor: {
114
+ type: StringConstructor;
115
+ },
116
+
117
+ dark: {
118
+ type: BooleanConstructor;
119
+ }
120
+ },
121
+ () => JSX.Element,
122
+ unknown,
123
+ {},
124
+ {},
125
+ ComponentOptionsMixin,
126
+ ComponentOptionsMixin,
127
+ ("sheet:stepprogress" | "sheet:stepopen" | "sheet:stepclose" | "sheet:open" | "sheet:opened" | "sheet:close" | "sheet:closed" | "sheet:breakpoint" | "update:opened")[],
128
+ "sheet:stepprogress" | "sheet:stepopen" | "sheet:stepclose" | "sheet:open" | "sheet:opened" | "sheet:close" | "sheet:closed" | "sheet:breakpoint" | "update:opened"
129
+ >;
130
+
131
+ export default Sheet;
132
+