@mythpe/quasar-ui-qui 0.1.82 → 0.1.83

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.1.82",
3
+ "version": "0.1.83",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -159,7 +159,7 @@ defineOptions({
159
159
  <MRow class="items-center">
160
160
  <div
161
161
  v-if="!!getLabel"
162
- class="text-color"
162
+ :class="errorMessage ? undefined : 'text-color'"
163
163
  >
164
164
  {{ getLabel }}
165
165
  </div>
@@ -96,12 +96,12 @@ type P = {
96
96
  fieldOptions?: Props['fieldOptions'];
97
97
  }
98
98
  const props = withDefaults(defineProps<P>(), {
99
- name: () => '',
100
- lang: () => 'ar',
99
+ name: '',
100
+ lang: 'ar',
101
101
  config: undefined,
102
- tagName: () => 'div',
103
- disabled: () => !1,
104
- disableTwoWayDataBinding: () => !1,
102
+ tagName: 'div',
103
+ disabled: !1,
104
+ disableTwoWayDataBinding: !1,
105
105
 
106
106
  auto: undefined,
107
107
  col: undefined,
@@ -115,7 +115,7 @@ const props = withDefaults(defineProps<P>(), {
115
115
  help: undefined,
116
116
  required: undefined,
117
117
  rules: undefined,
118
- viewMode: () => !1,
118
+ viewMode: !1,
119
119
  viewModeValue: undefined,
120
120
  fieldOptions: undefined
121
121
  })
@@ -254,7 +254,7 @@ defineOptions({
254
254
  no-error-icon
255
255
  outlined
256
256
  style="width: 6ch"
257
- v-bind="{...pluginOptions.otp as any,...$attrs}"
257
+ v-bind="{...pluginOptions.otp as any,...$attrs, autocomplete: 'off'}"
258
258
  @focusin="onFocusIn($event, i - 1)"
259
259
  @keydown="onKeyDown($event)"
260
260
  @keyup="onKeyUp($event, i - 1)"
@@ -10,7 +10,7 @@ import MAxios from './MAxios.vue'
10
10
  import MAvatarViewer from './MAvatarViewer.vue'
11
11
  import MBtn from './MBtn.vue'
12
12
  import MCheckbox from './MCheckbox.vue'
13
- import MCkeditor from './MCkeditor.vue'
13
+ // import MCkeditor from './MCkeditor.vue'
14
14
  import MColor from './MColor.vue'
15
15
  import MDate from './MDate.vue'
16
16
  import MEditor from './MEditor.vue'
@@ -40,7 +40,7 @@ export {
40
40
  MAvatarViewer,
41
41
  MBtn,
42
42
  MCheckbox,
43
- MCkeditor,
43
+ // MCkeditor,
44
44
  MColor,
45
45
  MDate,
46
46
  MEditor,
@@ -35,7 +35,8 @@ export interface MythApi {
35
35
  rules: string[];
36
36
  /**
37
37
  * Define mobile rule.
38
- * Default is true. Length must be 10.
38
+ * Default is true.
39
+ * The Length must be 10.
39
40
  */
40
41
  mobileRule?: boolean | string | number;
41
42
  }
@@ -31,7 +31,7 @@ export const createMyth = (options: InstallOptions) => {
31
31
  },
32
32
  props: {},
33
33
  rules: [],
34
- mobileRule: !0
34
+ mobileRule: undefined
35
35
  } as MythApi
36
36
  const opts = reactive<MythApi>(extend<MythApi>(!0, { ...defaultOptions }, options))
37
37
  const functions = {