@mythpe/quasar-ui-qui 0.0.11 → 0.0.12
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/grid/MCol.vue +1 -2
- package/.eslintrc.cjs +0 -103
- package/.gitattributes +0 -2
- package/umd-test.html +0 -59
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
setup
|
|
4
4
|
>
|
|
5
5
|
import { computed } from 'vue'
|
|
6
|
+
import * as lodash from 'lodash'
|
|
6
7
|
import type { MColProps } from '../../types'
|
|
7
|
-
import lodash from 'lodash'
|
|
8
8
|
|
|
9
9
|
interface Props {
|
|
10
10
|
name?: MColProps['name']
|
|
@@ -45,7 +45,6 @@ const classes = computed(() => {
|
|
|
45
45
|
list.push('col')
|
|
46
46
|
}
|
|
47
47
|
return lodash.uniq(list)
|
|
48
|
-
// return list
|
|
49
48
|
})
|
|
50
49
|
defineOptions({
|
|
51
50
|
name: 'MCol',
|
package/.eslintrc.cjs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
|
|
3
|
-
// This option interrupts the configuration hierarchy at this file
|
|
4
|
-
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
|
|
5
|
-
root: true,
|
|
6
|
-
|
|
7
|
-
// https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
|
|
8
|
-
// Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
|
|
9
|
-
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
|
|
10
|
-
parserOptions: {
|
|
11
|
-
parser: require.resolve('@typescript-eslint/parser'),
|
|
12
|
-
extraFileExtensions: ['.vue']
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
env: {
|
|
16
|
-
browser: true,
|
|
17
|
-
es2021: true,
|
|
18
|
-
node: true
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
// Rules order is important, please avoid shuffling them
|
|
22
|
-
extends: [
|
|
23
|
-
// Base ESLint recommended rules
|
|
24
|
-
// 'eslint:recommended',
|
|
25
|
-
|
|
26
|
-
// https://typescript-eslint.io/getting-started/legacy-eslint-setup
|
|
27
|
-
// ESLint typescript rules
|
|
28
|
-
'plugin:@typescript-eslint/recommended',
|
|
29
|
-
|
|
30
|
-
// Uncomment any of the lines below to choose desired strictness,
|
|
31
|
-
// but leave only one uncommented!
|
|
32
|
-
// See https://eslint.vuejs.org/rules/#available-rules
|
|
33
|
-
// 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
|
|
34
|
-
'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
|
|
35
|
-
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
|
|
36
|
-
'standard'
|
|
37
|
-
],
|
|
38
|
-
|
|
39
|
-
plugins: [
|
|
40
|
-
// required to apply rules which need type information
|
|
41
|
-
'@typescript-eslint',
|
|
42
|
-
|
|
43
|
-
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
|
|
44
|
-
// required to lint *.vue files
|
|
45
|
-
'vue'
|
|
46
|
-
|
|
47
|
-
],
|
|
48
|
-
|
|
49
|
-
globals: {
|
|
50
|
-
ga: 'readonly', // Google Analytics
|
|
51
|
-
cordova: 'readonly',
|
|
52
|
-
__statics: 'readonly',
|
|
53
|
-
__QUASAR_SSR__: 'readonly',
|
|
54
|
-
__QUASAR_SSR_SERVER__: 'readonly',
|
|
55
|
-
__QUASAR_SSR_CLIENT__: 'readonly',
|
|
56
|
-
__QUASAR_SSR_PWA__: 'readonly',
|
|
57
|
-
process: 'readonly',
|
|
58
|
-
Capacitor: 'readonly',
|
|
59
|
-
chrome: 'readonly'
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
// add your custom rules here
|
|
63
|
-
rules: {
|
|
64
|
-
|
|
65
|
-
// allow async-await
|
|
66
|
-
'generator-star-spacing': 'off',
|
|
67
|
-
// allow paren-less arrow functions
|
|
68
|
-
'arrow-parens': 'off',
|
|
69
|
-
'one-var': 'off',
|
|
70
|
-
'no-void': 'off',
|
|
71
|
-
'multiline-ternary': 'off',
|
|
72
|
-
|
|
73
|
-
'import/first': 'off',
|
|
74
|
-
'import/namespace': 'error',
|
|
75
|
-
'import/default': 'error',
|
|
76
|
-
'import/export': 'error',
|
|
77
|
-
'import/extensions': 'off',
|
|
78
|
-
'import/no-unresolved': 'off',
|
|
79
|
-
'import/no-extraneous-dependencies': 'off',
|
|
80
|
-
|
|
81
|
-
// The core 'import/named' rules
|
|
82
|
-
// does not work with type definitions
|
|
83
|
-
'import/named': 'off',
|
|
84
|
-
|
|
85
|
-
'prefer-promise-reject-errors': 'off',
|
|
86
|
-
|
|
87
|
-
quotes: ['warn', 'single', { avoidEscape: true }],
|
|
88
|
-
|
|
89
|
-
// this rule, if on, would require explicit return type on the `render` function
|
|
90
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
91
|
-
|
|
92
|
-
// in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
|
|
93
|
-
'@typescript-eslint/no-var-requires': 'off',
|
|
94
|
-
|
|
95
|
-
// The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
|
|
96
|
-
// does not work with type definitions
|
|
97
|
-
'no-unused-vars': 'off',
|
|
98
|
-
|
|
99
|
-
// allow debugger during development only
|
|
100
|
-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
101
|
-
'@typescript-eslint/no-explicit-any': 'off'
|
|
102
|
-
}
|
|
103
|
-
}
|
package/.gitattributes
DELETED
package/umd-test.html
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-US">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
|
6
|
-
<meta content="telephone=no" name="format-detection">
|
|
7
|
-
<meta content="no" name="msapplication-tap-highlight">
|
|
8
|
-
<meta content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width" name="viewport">
|
|
9
|
-
|
|
10
|
-
<title>UMD test</title>
|
|
11
|
-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet" type="text/css">
|
|
12
|
-
<link href="https://cdn.jsdelivr.net/npm/quasar@2/dist/quasar.prod.css" rel="stylesheet" type="text/css">
|
|
13
|
-
<link href="dist/index.css" rel="stylesheet" type="text/css">
|
|
14
|
-
</head>
|
|
15
|
-
<body>
|
|
16
|
-
<div id="q-app">
|
|
17
|
-
<q-layout view="lHh Lpr fff">
|
|
18
|
-
<q-header class="glossy bg-primary">
|
|
19
|
-
<q-toolbar>
|
|
20
|
-
<q-toolbar-title>
|
|
21
|
-
quasar-ui-qui v{{ version }}
|
|
22
|
-
</q-toolbar-title>
|
|
23
|
-
|
|
24
|
-
<div>Quasar v{{ $q.version }}</div>
|
|
25
|
-
</q-toolbar>
|
|
26
|
-
</q-header>
|
|
27
|
-
|
|
28
|
-
<q-page-container>
|
|
29
|
-
<q-page padding>
|
|
30
|
-
<ul class="q-mb-lg">
|
|
31
|
-
<li>In /ui, run: "yarn build"</li>
|
|
32
|
-
<li class="text-red">You need to build & refresh page on each change manually.</li>
|
|
33
|
-
<li>Use self-closing tags only!</li>
|
|
34
|
-
<li>Example: <my-component></my-component></li>
|
|
35
|
-
</ul>
|
|
36
|
-
</q-page>
|
|
37
|
-
</q-page-container>
|
|
38
|
-
</q-layout>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
|
|
42
|
-
<script src="https://cdn.jsdelivr.net/npm/quasar@2/dist/quasar.umd.prod.js"></script>
|
|
43
|
-
<script src="dist/index.umd.js"></script>
|
|
44
|
-
|
|
45
|
-
<script>
|
|
46
|
-
const app = Vue.createApp({
|
|
47
|
-
setup() {
|
|
48
|
-
return {
|
|
49
|
-
version: mythUi.version
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
app.use(Quasar)
|
|
55
|
-
app.use(mythUi)
|
|
56
|
-
app.mount('#q-app')
|
|
57
|
-
</script>
|
|
58
|
-
</body>
|
|
59
|
-
</html>
|