@mythpe/quasar-ui-qui 0.1.67 → 0.1.68

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.67",
3
+ "version": "0.1.68",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -34,15 +34,14 @@ export const useMyth = () => {
34
34
  number = parseInt(number.toString())
35
35
  route = route || $route
36
36
  const defaultValue = ''
37
- // Not is route
37
+ // Not route
38
38
  // No page title
39
39
  if (!route) {
40
40
  return defaultValue
41
41
  }
42
42
 
43
- const routePath = route?.path?.toString() || null
43
+ const routePath = route?.path?.toString()?.replace(/^\//, '').replace(/\//g, '.') || null
44
44
  const routeName = route?.name?.toString() || null
45
-
46
45
  // # Not is Route, No page title
47
46
  if (!routePath || !routeName) {
48
47
  return defaultValue
@@ -55,6 +54,7 @@ export const useMyth = () => {
55
54
  }
56
55
  const pluralize = Str.pascalCase(lodash.pluralize(lastRouteName))
57
56
  const singular = Str.pascalCase(lodash.singularize(lastRouteName))
57
+
58
58
  const keys = lodash.filter(lodash.uniq([
59
59
  `routes.${routeName}`,
60
60
  `routes.${routePath}`,
@@ -69,7 +69,7 @@ export const useMyth = () => {
69
69
  singular,
70
70
  lodash.snakeCase(singular)
71
71
  ]))
72
-
72
+ // console.log(keys)
73
73
  let str: string | null = null
74
74
  let k: string | any
75
75
 
@@ -15,7 +15,7 @@ export const createMyth = (options: InstallOptions) => {
15
15
  size: 'md',
16
16
  rounded: !0,
17
17
  shadow: 2,
18
- fluid: !0,
18
+ fluid: !1,
19
19
  buttons: {},
20
20
  inputs: {
21
21
  hideBottomSpace: !0,