@mythpe/quasar-ui-qui 0.0.31 → 0.0.32
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
CHANGED
|
@@ -177,7 +177,14 @@ defineOptions({
|
|
|
177
177
|
</script>
|
|
178
178
|
|
|
179
179
|
<template>
|
|
180
|
-
<q-btn
|
|
180
|
+
<q-btn
|
|
181
|
+
v-bind="{
|
|
182
|
+
...$props,
|
|
183
|
+
...attrs,
|
|
184
|
+
label: loading ? `${getLabel} ...` : getLabel,
|
|
185
|
+
ariaLabel: 'ariaLabel' in attrs && attrs.ariaLabel ? __(attrs.ariaLabel) : getLabel
|
|
186
|
+
}"
|
|
187
|
+
>
|
|
181
188
|
<template
|
|
182
189
|
v-if="!!btnLoading && !$slots.loading"
|
|
183
190
|
#loading
|
package/src/index.sass
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import 'ckeditor5/ckeditor5.css' #{"/* rtl:ignore */"}
|
|
2
|
+
|
|
3
|
+
$ck-z-dialog: 9999
|
|
4
|
+
$ck-z-panel: calc(var(--ck-z-default) + var(--ck-z-dialog))
|
|
5
|
+
|
|
6
|
+
:root
|
|
7
|
+
--ck-z-dialog: 9999 !important
|
|
8
|
+
--ck-z-panel: calc(var(--ck-z-default) + var(--ck-z-dialog)) !important
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
.ck-body-wrapper [class*='ck-powered-by']
|
|
12
|
+
display: none !important
|
|
13
|
+
|
|
14
|
+
.ck.ck-block-toolbar-button
|
|
15
|
+
transform: translateX(10px)
|
package/src/utils/vue-plugin.ts
CHANGED
|
@@ -7,20 +7,24 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import type { App } from 'vue'
|
|
10
|
+
import { defineAsyncComponent } from 'vue'
|
|
10
11
|
import { name, version } from '../../package.json'
|
|
11
12
|
import { myth } from './myth'
|
|
12
13
|
import {
|
|
13
14
|
MAvatarViewer,
|
|
14
15
|
MAxios,
|
|
15
16
|
MBlock,
|
|
16
|
-
MBtn,
|
|
17
17
|
MCheckbox,
|
|
18
|
-
// MCkeditor,
|
|
19
18
|
MCol,
|
|
20
19
|
MColor,
|
|
21
20
|
MColumn,
|
|
22
21
|
MContainer,
|
|
22
|
+
MDatatable,
|
|
23
23
|
MDate,
|
|
24
|
+
MDialog,
|
|
25
|
+
MDtAvatar,
|
|
26
|
+
MDtBtn,
|
|
27
|
+
MDtContextmenuItems,
|
|
24
28
|
MEditor,
|
|
25
29
|
MEmail,
|
|
26
30
|
MFadeTransition,
|
|
@@ -35,6 +39,7 @@ import {
|
|
|
35
39
|
MInputFieldControl,
|
|
36
40
|
MInputLabel,
|
|
37
41
|
MMobile,
|
|
42
|
+
MModalMenu,
|
|
38
43
|
MOptions,
|
|
39
44
|
MOtp,
|
|
40
45
|
MPassword,
|
|
@@ -44,19 +49,14 @@ import {
|
|
|
44
49
|
MSelect,
|
|
45
50
|
MTime,
|
|
46
51
|
MToggle,
|
|
52
|
+
MTooltip,
|
|
47
53
|
MTransition,
|
|
48
54
|
MTypingString,
|
|
49
|
-
MUploader
|
|
50
|
-
MDialog,
|
|
51
|
-
MModalMenu,
|
|
52
|
-
MTooltip,
|
|
53
|
-
MDatatable,
|
|
54
|
-
MDtAvatar,
|
|
55
|
-
MDtBtn,
|
|
56
|
-
MDtContextmenuItems
|
|
55
|
+
MUploader
|
|
57
56
|
} from '../components'
|
|
58
57
|
|
|
59
58
|
import type { InstallOptions } from '../types'
|
|
59
|
+
import { QSpinner } from 'quasar'
|
|
60
60
|
|
|
61
61
|
function install (app: App, options: InstallOptions = {}) {
|
|
62
62
|
if (options.rounded !== undefined) {
|
|
@@ -109,9 +109,17 @@ function install (app: App, options: InstallOptions = {}) {
|
|
|
109
109
|
// Form.
|
|
110
110
|
app.component('MAvatarViewer', MAvatarViewer)
|
|
111
111
|
app.component('MAxios', MAxios)
|
|
112
|
-
app.component('MBtn', MBtn)
|
|
112
|
+
// app.component('MBtn', MBtn)
|
|
113
|
+
app.component('MBtn', defineAsyncComponent({
|
|
114
|
+
loader: () => import('../components/form/MBtn.vue'),
|
|
115
|
+
loadingComponent: QSpinner,
|
|
116
|
+
delay: 4000
|
|
117
|
+
}))
|
|
113
118
|
app.component('MCheckbox', MCheckbox)
|
|
114
|
-
|
|
119
|
+
app.component('MCkeditor', defineAsyncComponent({
|
|
120
|
+
loader: () => import('../components/form/MCkeditor.vue'),
|
|
121
|
+
delay: 0
|
|
122
|
+
}))
|
|
115
123
|
app.component('MColor', MColor)
|
|
116
124
|
app.component('MDate', MDate)
|
|
117
125
|
app.component('MEditor', MEditor)
|