@mythpe/quasar-ui-qui 0.0.32 → 0.0.33
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/package.json +1 -1
- package/src/types/components.d.ts +6 -5
- package/src/utils/vue-plugin.ts +44 -97
package/package.json
CHANGED
|
@@ -550,11 +550,12 @@ export interface MSelectSlots extends QInputSlots, QFieldSlots, BaseInputsSlots
|
|
|
550
550
|
|
|
551
551
|
export interface MFileProps extends Omit<QFileProps, 'modelValue' | 'rules' | 'name' | 'label' | 'hint'>, Omit<BaseInputsProps, 'autocomplete'> {
|
|
552
552
|
accept?: string | undefined;
|
|
553
|
-
images?: boolean;
|
|
554
|
-
svg?: boolean;
|
|
555
|
-
video?: boolean;
|
|
556
|
-
pdf?: boolean;
|
|
557
|
-
excel?: boolean;
|
|
553
|
+
images?: boolean | string;
|
|
554
|
+
svg?: boolean | string;
|
|
555
|
+
video?: boolean | string;
|
|
556
|
+
pdf?: boolean | string;
|
|
557
|
+
excel?: boolean | string;
|
|
558
|
+
dragDrop?: boolean | undefined;
|
|
558
559
|
}
|
|
559
560
|
|
|
560
561
|
export interface MFileSlots extends QFileSlots, BaseInputsSlots {
|
package/src/utils/vue-plugin.ts
CHANGED
|
@@ -10,53 +10,8 @@ import type { App } from 'vue'
|
|
|
10
10
|
import { defineAsyncComponent } from 'vue'
|
|
11
11
|
import { name, version } from '../../package.json'
|
|
12
12
|
import { myth } from './myth'
|
|
13
|
-
import {
|
|
14
|
-
MAvatarViewer,
|
|
15
|
-
MAxios,
|
|
16
|
-
MBlock,
|
|
17
|
-
MCheckbox,
|
|
18
|
-
MCol,
|
|
19
|
-
MColor,
|
|
20
|
-
MColumn,
|
|
21
|
-
MContainer,
|
|
22
|
-
MDatatable,
|
|
23
|
-
MDate,
|
|
24
|
-
MDialog,
|
|
25
|
-
MDtAvatar,
|
|
26
|
-
MDtBtn,
|
|
27
|
-
MDtContextmenuItems,
|
|
28
|
-
MEditor,
|
|
29
|
-
MEmail,
|
|
30
|
-
MFadeTransition,
|
|
31
|
-
MFadeXTransition,
|
|
32
|
-
MField,
|
|
33
|
-
MFile,
|
|
34
|
-
MForm,
|
|
35
|
-
MHelpRow,
|
|
36
|
-
MHidden,
|
|
37
|
-
MHiddenInput,
|
|
38
|
-
MInput,
|
|
39
|
-
MInputFieldControl,
|
|
40
|
-
MInputLabel,
|
|
41
|
-
MMobile,
|
|
42
|
-
MModalMenu,
|
|
43
|
-
MOptions,
|
|
44
|
-
MOtp,
|
|
45
|
-
MPassword,
|
|
46
|
-
MPicker,
|
|
47
|
-
MRadio,
|
|
48
|
-
MRow,
|
|
49
|
-
MSelect,
|
|
50
|
-
MTime,
|
|
51
|
-
MToggle,
|
|
52
|
-
MTooltip,
|
|
53
|
-
MTransition,
|
|
54
|
-
MTypingString,
|
|
55
|
-
MUploader
|
|
56
|
-
} from '../components'
|
|
57
13
|
|
|
58
14
|
import type { InstallOptions } from '../types'
|
|
59
|
-
import { QSpinner } from 'quasar'
|
|
60
15
|
|
|
61
16
|
function install (app: App, options: InstallOptions = {}) {
|
|
62
17
|
if (options.rounded !== undefined) {
|
|
@@ -107,68 +62,60 @@ function install (app: App, options: InstallOptions = {}) {
|
|
|
107
62
|
// }
|
|
108
63
|
|
|
109
64
|
// Form.
|
|
110
|
-
app.component('MAvatarViewer', MAvatarViewer)
|
|
111
|
-
app.component('MAxios', MAxios)
|
|
112
|
-
|
|
113
|
-
app.component('
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
app.component('
|
|
119
|
-
app.component('
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
app.component('
|
|
124
|
-
app.component('
|
|
125
|
-
app.component('
|
|
126
|
-
app.component('
|
|
127
|
-
app.component('
|
|
128
|
-
app.component('
|
|
129
|
-
app.component('
|
|
130
|
-
app.component('
|
|
131
|
-
app.component('
|
|
132
|
-
app.component('
|
|
133
|
-
app.component('
|
|
134
|
-
app.component('
|
|
135
|
-
app.component('
|
|
136
|
-
app.component('
|
|
137
|
-
app.component('MOtp', MOtp)
|
|
138
|
-
app.component('MPassword', MPassword)
|
|
139
|
-
app.component('MPicker', MPicker)
|
|
140
|
-
app.component('MRadio', MRadio)
|
|
141
|
-
app.component('MSelect', MSelect)
|
|
142
|
-
app.component('MTime', MTime)
|
|
143
|
-
app.component('MToggle', MToggle)
|
|
144
|
-
app.component('MUploader', MUploader)
|
|
65
|
+
app.component('MAvatarViewer', defineAsyncComponent(() => import('../components/form/MAvatarViewer.vue')))
|
|
66
|
+
app.component('MAxios', defineAsyncComponent(() => import('../components/form/MAxios.vue')))
|
|
67
|
+
app.component('MBtn', defineAsyncComponent(() => import('../components/form/MBtn.vue')))
|
|
68
|
+
app.component('MCheckbox', defineAsyncComponent(() => import('../components/form/MCheckbox.vue')))
|
|
69
|
+
app.component('MCkeditor', defineAsyncComponent(() => import('../components/form/MCkeditor.vue')))
|
|
70
|
+
app.component('MColor', defineAsyncComponent(() => import('../components/form/MColor.vue')))
|
|
71
|
+
app.component('MDate', defineAsyncComponent(() => import('../components/form/MDate.vue')))
|
|
72
|
+
app.component('MEditor', defineAsyncComponent(() => import('../components/form/MEditor.vue')))
|
|
73
|
+
app.component('MEmail', defineAsyncComponent(() => import('../components/form/MEmail.vue')))
|
|
74
|
+
app.component('MField', defineAsyncComponent(() => import('../components/form/MField.vue')))
|
|
75
|
+
app.component('MFile', defineAsyncComponent(() => import('../components/form/MFile.vue')))
|
|
76
|
+
app.component('MForm', defineAsyncComponent(() => import('../components/form/MForm.vue')))
|
|
77
|
+
app.component('MHidden', defineAsyncComponent(() => import('../components/form/MHidden.vue')))
|
|
78
|
+
app.component('MHiddenInput', defineAsyncComponent(() => import('../components/form/MHiddenInput.vue')))
|
|
79
|
+
app.component('MInput', defineAsyncComponent(() => import('../components/form/MInput.vue')))
|
|
80
|
+
app.component('MInputFieldControl', defineAsyncComponent(() => import('../components/form/MInputFieldControl.vue')))
|
|
81
|
+
app.component('MInputLabel', defineAsyncComponent(() => import('../components/form/MInputLabel.vue')))
|
|
82
|
+
app.component('MMobile', defineAsyncComponent(() => import('../components/form/MMobile.vue')))
|
|
83
|
+
app.component('MOptions', defineAsyncComponent(() => import('../components/form/MOptions.vue')))
|
|
84
|
+
app.component('MOtp', defineAsyncComponent(() => import('../components/form/MOtp.vue')))
|
|
85
|
+
app.component('MPassword', defineAsyncComponent(() => import('../components/form/MPassword.vue')))
|
|
86
|
+
app.component('MPicker', defineAsyncComponent(() => import('../components/form/MPicker.vue')))
|
|
87
|
+
app.component('MRadio', defineAsyncComponent(() => import('../components/form/MRadio.vue')))
|
|
88
|
+
app.component('MSelect', defineAsyncComponent(() => import('../components/form/MSelect.vue')))
|
|
89
|
+
app.component('MTime', defineAsyncComponent(() => import('../components/form/MTime.vue')))
|
|
90
|
+
app.component('MToggle', defineAsyncComponent(() => import('../components/form/MToggle.vue')))
|
|
91
|
+
app.component('MUploader', defineAsyncComponent(() => import('../components/form/MUploader.vue')))
|
|
145
92
|
|
|
146
93
|
// Grid.
|
|
147
|
-
app.component('MBlock', MBlock)
|
|
148
|
-
app.component('MCol', MCol)
|
|
149
|
-
app.component('MColumn', MColumn)
|
|
150
|
-
app.component('MContainer', MContainer)
|
|
151
|
-
app.component('MHelpRow', MHelpRow)
|
|
152
|
-
app.component('MRow', MRow)
|
|
94
|
+
app.component('MBlock', defineAsyncComponent(() => import('../components/grid/MBlock.vue')))
|
|
95
|
+
app.component('MCol', defineAsyncComponent(() => import('../components/grid/MCol.vue')))
|
|
96
|
+
app.component('MColumn', defineAsyncComponent(() => import('../components/grid/MColumn.vue')))
|
|
97
|
+
app.component('MContainer', defineAsyncComponent(() => import('../components/grid/MContainer.vue')))
|
|
98
|
+
app.component('MHelpRow', defineAsyncComponent(() => import('../components/grid/MHelpRow.vue')))
|
|
99
|
+
app.component('MRow', defineAsyncComponent(() => import('../components/grid/MRow.vue')))
|
|
153
100
|
|
|
154
101
|
// Typography.
|
|
155
|
-
app.component('MTypingString', MTypingString)
|
|
102
|
+
app.component('MTypingString', defineAsyncComponent(() => import('../components/typography/MTypingString.vue')))
|
|
156
103
|
|
|
157
104
|
// Transitions.
|
|
158
|
-
app.component('MTransition', MTransition)
|
|
159
|
-
app.component('MFadeTransition', MFadeTransition)
|
|
160
|
-
app.component('MFadeXTransition', MFadeXTransition)
|
|
105
|
+
app.component('MTransition', defineAsyncComponent(() => import('../components/transition/MTransition.vue')))
|
|
106
|
+
app.component('MFadeTransition', defineAsyncComponent(() => import('../components/transition/MFadeTransition.vue')))
|
|
107
|
+
app.component('MFadeXTransition', defineAsyncComponent(() => import('../components/transition/MFadeXTransition.vue')))
|
|
161
108
|
|
|
162
109
|
// Modals.
|
|
163
|
-
app.component('MDialog', MDialog)
|
|
164
|
-
app.component('MModalMenu', MModalMenu)
|
|
165
|
-
app.component('MTooltip', MTooltip)
|
|
110
|
+
app.component('MDialog', defineAsyncComponent(() => import('../components/modal/MDialog.vue')))
|
|
111
|
+
app.component('MModalMenu', defineAsyncComponent(() => import('../components/modal/MModalMenu.vue')))
|
|
112
|
+
app.component('MTooltip', defineAsyncComponent(() => import('../components/modal/MTooltip.vue')))
|
|
166
113
|
|
|
167
114
|
// Datatable
|
|
168
|
-
app.component('MDatatable', MDatatable)
|
|
169
|
-
app.component('MDtAvatar', MDtAvatar)
|
|
170
|
-
app.component('MDtBtn', MDtBtn)
|
|
171
|
-
app.component('MDtContextmenuItems', MDtContextmenuItems)
|
|
115
|
+
app.component('MDatatable', defineAsyncComponent(() => import('../components/datatable/MDatatable.vue')))
|
|
116
|
+
app.component('MDtAvatar', defineAsyncComponent(() => import('../components/datatable/MDtAvatar.vue')))
|
|
117
|
+
app.component('MDtBtn', defineAsyncComponent(() => import('../components/datatable/MDtBtn.vue')))
|
|
118
|
+
app.component('MDtContextmenuItems', defineAsyncComponent(() => import('../components/datatable/MDtContextmenuItems.vue')))
|
|
172
119
|
}
|
|
173
120
|
|
|
174
121
|
export {
|