@mythpe/quasar-ui-qui 0.1.82 → 0.1.84
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/components/form/MCheckbox.vue +1 -1
- package/src/components/form/MCkeditor.vue +6 -6
- package/src/components/form/MOtp.vue +1 -1
- package/src/components/form/index.ts +2 -2
- package/src/types/myth-api.ts +2 -1
- package/src/utils/Str.ts +7 -3
- package/src/utils/createMyth.ts +1 -1
package/package.json
CHANGED
|
@@ -96,12 +96,12 @@ type P = {
|
|
|
96
96
|
fieldOptions?: Props['fieldOptions'];
|
|
97
97
|
}
|
|
98
98
|
const props = withDefaults(defineProps<P>(), {
|
|
99
|
-
name:
|
|
100
|
-
lang:
|
|
99
|
+
name: '',
|
|
100
|
+
lang: 'ar',
|
|
101
101
|
config: undefined,
|
|
102
|
-
tagName:
|
|
103
|
-
disabled:
|
|
104
|
-
disableTwoWayDataBinding:
|
|
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:
|
|
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,
|
package/src/types/myth-api.ts
CHANGED
package/src/utils/Str.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Github: https://github.com/mythpe
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { plural as pluralCase, singular as singularCase } from 'pluralize'
|
|
9
|
+
// import { plural as pluralCase, singular as singularCase } from 'pluralize'
|
|
10
10
|
import { camelCase, capitalCase, dotCase, kebabCase, pascalCase, snakeCase } from 'change-case'
|
|
11
11
|
|
|
12
12
|
export const Str = {
|
|
@@ -92,10 +92,14 @@ export const Str = {
|
|
|
92
92
|
return string ? dotCase(string?.toString() || '') : ''
|
|
93
93
|
},
|
|
94
94
|
pluralize (string?: unknown): string {
|
|
95
|
-
|
|
95
|
+
console.log(string)
|
|
96
|
+
// return string ? pluralCase(string?.toString() || '') : ''
|
|
97
|
+
return ''
|
|
96
98
|
},
|
|
97
99
|
singular (string?: unknown): string {
|
|
98
|
-
|
|
100
|
+
console.log(string)
|
|
101
|
+
// return string ? singularCase(string?.toString() || '') : ''
|
|
102
|
+
return ''
|
|
99
103
|
},
|
|
100
104
|
flipChoice (data: Record<any, any>) {
|
|
101
105
|
const f: Record<any, any> = {}
|
package/src/utils/createMyth.ts
CHANGED