@mythpe/quasar-ui-qui 0.3.28 → 0.3.30
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mythpe/quasar-ui-qui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"description": "MyTh Quasar UI Kit App Extension",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "MyTh Ahmed Faiz",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"core-js": "^3.39.0",
|
|
61
61
|
"cssnano": "^7.0.6",
|
|
62
62
|
"eslint": "^8.57.0",
|
|
63
|
+
"@vue/eslint-config-typescript": "^14.4.0",
|
|
63
64
|
"eslint-config-standard": "^17.0.0",
|
|
64
65
|
"eslint-plugin-import": "^2.19.1",
|
|
65
66
|
"eslint-plugin-n": "^15.0.0",
|
|
@@ -73,12 +74,12 @@
|
|
|
73
74
|
"rollup": "^4.27.4",
|
|
74
75
|
"rtlcss": "^4.3.0",
|
|
75
76
|
"sass": "^1.81.0",
|
|
76
|
-
"typescript": "
|
|
77
|
+
"typescript": "^5.9.2",
|
|
77
78
|
"uglify-js": "^3.19.3",
|
|
78
|
-
"vite-plugin-checker": "^0.
|
|
79
|
+
"vite-plugin-checker": "^0.10.0",
|
|
79
80
|
"vue": "^3.5.13",
|
|
80
81
|
"vue-router": "^4.5.0",
|
|
81
|
-
"vue-tsc": "^
|
|
82
|
+
"vue-tsc": "^3.0.7",
|
|
82
83
|
"zlib": "^1.0.5"
|
|
83
84
|
},
|
|
84
85
|
"browserslist": [
|
|
@@ -22,6 +22,7 @@ import MDtUrlColumn from './MDtUrlColumn.vue'
|
|
|
22
22
|
import MDtColorColumn from './MDtColorColumn.vue'
|
|
23
23
|
import MDtSarColumn from './MDtSarColumn.vue'
|
|
24
24
|
import MDtCopyColumn from './MDtCopyColumn.vue'
|
|
25
|
+
import { useRouter } from 'vue-router'
|
|
25
26
|
|
|
26
27
|
type Props = {
|
|
27
28
|
controlKey?: MDatatableProps['controlKey'];
|
|
@@ -188,6 +189,7 @@ const {
|
|
|
188
189
|
} = useMyth()
|
|
189
190
|
|
|
190
191
|
const $q = useQuasar()
|
|
192
|
+
const $router = useRouter()
|
|
191
193
|
const { te } = useI18n({ useScope: 'global' })
|
|
192
194
|
const useFormContext = useForm<any, any>()
|
|
193
195
|
const { resetForm: resetDialogForm, handleSubmit } = useFormContext
|
|
@@ -23,7 +23,7 @@ type ModelValue = MUploaderMediaItem & File & {
|
|
|
23
23
|
__progressLabel?: string;
|
|
24
24
|
__status?: string;
|
|
25
25
|
__img?: any;
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
27
|
|
|
28
28
|
interface P {
|
|
29
29
|
name: Props['name'];
|
|
@@ -288,7 +288,7 @@ defineOptions({
|
|
|
288
288
|
dense
|
|
289
289
|
flat
|
|
290
290
|
target="_blank"
|
|
291
|
-
v-bind="pluginOptions.uploaderOptions?.downloadBtnProps"
|
|
291
|
+
v-bind="pluginOptions.uploaderOptions?.downloadBtnProps as any"
|
|
292
292
|
>
|
|
293
293
|
<q-tooltip class="m-dt-btn-tooltip">
|
|
294
294
|
{{ __('myth.titles.download') }}
|
|
@@ -299,7 +299,7 @@ defineOptions({
|
|
|
299
299
|
flat
|
|
300
300
|
icon="ion-ios-eye"
|
|
301
301
|
v-bind="pluginOptions.uploaderOptions?.downloadBtnProps"
|
|
302
|
-
@click="emit('showMedia', mediaProp, $event)"
|
|
302
|
+
@click="emit('showMedia', mediaProp as MUploaderMediaItem, $event)"
|
|
303
303
|
>
|
|
304
304
|
<q-tooltip class="m-dt-btn-tooltip">
|
|
305
305
|
{{ __('labels.show') }}
|
|
@@ -307,7 +307,7 @@ defineOptions({
|
|
|
307
307
|
</q-btn>
|
|
308
308
|
</template>
|
|
309
309
|
<q-btn
|
|
310
|
-
v-if="(!hideDeleteMedia || (hideDeleteMedia && !mediaProp.id))"
|
|
310
|
+
v-if="(!hideDeleteMedia || (hideDeleteMedia && !mediaProp.id as any))"
|
|
311
311
|
:disable="deleting || scope.isBusy || scope.isUploading"
|
|
312
312
|
:icon="deleteMediaIcon"
|
|
313
313
|
dense
|
|
@@ -324,7 +324,7 @@ defineOptions({
|
|
|
324
324
|
<audio controls>
|
|
325
325
|
<source
|
|
326
326
|
v-if="!!modelValue.url"
|
|
327
|
-
:src="modelValue.url"
|
|
327
|
+
:src="modelValue.url as any"
|
|
328
328
|
:type="modelValue.mime_type"
|
|
329
329
|
v-bind="audioProps"
|
|
330
330
|
>
|
|
@@ -339,7 +339,7 @@ defineOptions({
|
|
|
339
339
|
<q-video
|
|
340
340
|
v-if="!!modelValue.url"
|
|
341
341
|
:ratio="ratio"
|
|
342
|
-
:src="modelValue.url"
|
|
342
|
+
:src="modelValue.url as any"
|
|
343
343
|
v-bind="videoProps"
|
|
344
344
|
/>
|
|
345
345
|
</div>
|