@mythpe/quasar-ui-qui 0.2.70 → 0.2.72

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.2.70",
3
+ "version": "0.2.72",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -0,0 +1,40 @@
1
+ <!--
2
+ - MyTh Ahmed Faiz Copyright © 2025 All rights reserved.
3
+ - Email: mythpe@gmail.com
4
+ - Mobile: +966590470092
5
+ - Website: https://www.4myth.com
6
+ - Github: https://github.com/mythpe
7
+ -->
8
+
9
+ <script lang="ts" setup>
10
+ import { useMyth } from '../../composable'
11
+ import type { MInnerLoadingProps } from '../../types'
12
+
13
+ interface Props {
14
+ showing?: MInnerLoadingProps['showing'];
15
+ labelClass?: MInnerLoadingProps['labelClass'];
16
+ labelStyle?: MInnerLoadingProps['labelStyle'];
17
+ color?: MInnerLoadingProps['color'];
18
+ }
19
+
20
+ defineProps<Props>()
21
+
22
+ const { __ } = useMyth()
23
+ defineOptions({
24
+ name: 'MInnerLoading',
25
+ inheritAttrs: !1
26
+ })
27
+ </script>
28
+
29
+ <template>
30
+ <q-inner-loading
31
+ :color="color ?? 'brand'"
32
+ :label="__('labels.plz_wait')"
33
+ :label-class="labelClass"
34
+ :label-style="labelStyle ?? 'font-size: 1.1em'"
35
+ :showing="showing"
36
+ v-bind="$attrs"
37
+ >
38
+ <slot v-if="!!$slots.default" />
39
+ </q-inner-loading>
40
+ </template>
@@ -11,8 +11,9 @@ import MCol from './MCol.vue'
11
11
  import MColumn from './MColumn.vue'
12
12
  import MContainer from './MContainer.vue'
13
13
  import MHelpRow from './MHelpRow.vue'
14
+ import MInnerLoading from './MInnerLoading.vue'
14
15
  import MRow from './MRow.vue'
15
16
 
16
- export { MBlock, MCol, MColumn, MContainer, MHelpRow, MRow }
17
+ export { MBlock, MCol, MColumn, MContainer, MHelpRow, MInnerLoading, MRow }
17
18
 
18
19
  export default {}
@@ -37,6 +37,7 @@ export const defineAsyncComponents = function (app: App) {
37
37
  app.component('MColumn', defineAsyncComponent(() => import('../components/grid/MColumn.vue')))
38
38
  app.component('MContainer', defineAsyncComponent(() => import('../components/grid/MContainer.vue')))
39
39
  app.component('MHelpRow', defineAsyncComponent(() => import('../components/grid/MHelpRow.vue')))
40
+ app.component('MInnerLoading', defineAsyncComponent(() => import('../components/grid/MInnerLoading.vue')))
40
41
  app.component('MRow', defineAsyncComponent(() => import('../components/grid/MRow.vue')))
41
42
 
42
43
  // Typography.
@@ -0,0 +1,17 @@
1
+ /*
2
+ * MyTh Ahmed Faiz Copyright © 2016-2025 All rights reserved.
3
+ * Email: mythpe@gmail.com
4
+ * Mobile: +966590470092
5
+ * Website: https://www.4myth.com
6
+ * Github: https://github.com/mythpe
7
+ */
8
+
9
+ import type { VNode } from 'vue'
10
+ import type { QInnerLoadingProps } from 'quasar'
11
+
12
+ export type MInnerLoadingProps = QInnerLoadingProps & {
13
+ showing?: boolean | undefined;
14
+ }
15
+ export type MInnerLoadingSlots = {
16
+ default?: () => VNode[];
17
+ }
@@ -66,6 +66,7 @@ import type { MModalMenuProps, MModalMenuSlots } from './api/MModalMenu'
66
66
  import type { MTooltipProps, MTooltipSlots } from './api/MTooltip'
67
67
  import type { MSarIconProps, MSarIconSlots, MSarStringProps, MSarStringSlots } from './api/MSar'
68
68
  import type { MMapProps, MMapSlots } from './api/MMap'
69
+ import type { MInnerLoadingProps, MInnerLoadingSlots } from './api/MInnerLoading'
69
70
 
70
71
  declare module '@vue/runtime-core' {
71
72
  interface GlobalComponents {
@@ -105,6 +106,7 @@ declare module '@vue/runtime-core' {
105
106
  MColumn: GlobalComponentConstructor<MColumnProps, MColumnSlots>;
106
107
  MContainer: GlobalComponentConstructor<MContainerProps, MContainerSlots>;
107
108
  MHelpRow: GlobalComponentConstructor<MHelpRowProps, MHelpRowSlots>;
109
+ MInnerLoading: GlobalComponentConstructor<MInnerLoadingProps, MInnerLoadingSlots>;
108
110
  MRow: GlobalComponentConstructor<MRowProps, MRowSlots>;
109
111
 
110
112
  // Typography.
@@ -60,8 +60,8 @@ export { MColumnSlots } from './api/MColumn'
60
60
  export { MColumnProps } from './api/MColumn'
61
61
  export { MContainerSlots } from './api/MContainer'
62
62
  export { MContainerProps } from './api/MContainer'
63
- export { MRowSlots } from './api/MRow'
64
- export { MRowProps } from './api/MRow'
63
+ export * from './api/MInnerLoading'
64
+ export * from './api/MRow'
65
65
  export { MHelpRowSlots } from './api/MHelpRow'
66
66
  export { MHelpRowProps } from './api/MHelpRow'
67
67
  export { MTypingStringSlots } from './api/MTypingString'
@@ -43,6 +43,7 @@ import type { MCheckboxProps } from './api/MCheckbox'
43
43
  import type { MFileProps } from './api/MFile'
44
44
  import type { MEditorProps } from './api/MEditor'
45
45
  import type { MInputProps } from './api/MInput'
46
+ import type { MInnerLoadingProps } from './api/MInnerLoading'
46
47
 
47
48
  export interface MythComponentsProps {
48
49
  // Grid.
@@ -66,6 +67,10 @@ export interface MythComponentsProps {
66
67
  * MHelpRow component.
67
68
  */
68
69
  helpRow?: Partial<MHelpRowProps>;
70
+ /**
71
+ * MInnerLoading component.
72
+ */
73
+ innerLoading?: Partial<MInnerLoadingProps>;
69
74
  /**
70
75
  * MRow component.
71
76
  */