@mythpe/quasar-ui-qui 0.0.20 → 0.0.21-dev

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/tsconfig.json CHANGED
@@ -1,8 +1,5 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": "./",
4
- "rootDir": ".",
5
- "outDir": "./dist",
6
3
  "esModuleInterop": true,
7
4
  "skipLibCheck": true,
8
5
  "target": "esnext",
@@ -10,7 +7,6 @@
10
7
  "resolveJsonModule": true,
11
8
  "moduleDetection": "force",
12
9
  "isolatedModules": true,
13
- "verbatimModuleSyntax": true,
14
10
  "module": "preserve",
15
11
  "noEmit": true,
16
12
  "lib": [
@@ -22,13 +18,16 @@
22
18
  "allowUnreachableCode": false,
23
19
  "allowUnusedLabels": false,
24
20
  "noImplicitOverride": true,
25
- "exactOptionalPropertyTypes": true,
21
+ "exactOptionalPropertyTypes": false,
26
22
  "noUncheckedIndexedAccess": true
27
23
  },
28
- "exclude": [
29
- "./build"
30
- ],
31
24
  "include": [
32
- "src/**/*"
25
+ "./**/*.d.ts",
26
+ "./**/*"
27
+ ],
28
+ "exclude": [
29
+ "./build",
30
+ "./dist",
31
+ "./node_modules",
33
32
  ]
34
33
  }
package/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './vue-plugin'
2
- export * from './types'
3
-
4
- import * as VuePlugin from './vue-plugin'
5
- export default VuePlugin
package/src/types/myth.ts DELETED
@@ -1,42 +0,0 @@
1
- import type { QBtnProps } from 'quasar'
2
- import type { Ref } from 'vue'
3
- import type { MBlockProps, StyleSize } from './components'
4
-
5
- export interface UiOptionsContext {
6
- /**
7
- * Style of the components.
8
- */
9
- style?: {
10
- /**
11
- * Apply Padding on all sides of components.
12
- */
13
- gutters?: StyleSize | undefined;
14
- /**
15
- * Apply Fluid on all sides of containers.
16
- */
17
- fluid?: boolean | undefined;
18
- };
19
- /**
20
- * MBtn component.
21
- */
22
- btn?: {
23
- props?: Partial<QBtnProps>;
24
- loading?: {
25
- type: 'audio' | 'ball' | 'bars' | 'box' | 'clock' | 'comment' | 'cube' | 'dots' | 'facebook' | 'gears' | 'grid' | 'hearts' | 'hourglass' | 'infinity' | 'ios' | 'orbit' | 'oval' | 'pie' | 'puff' | 'radio' | 'rings' | 'tail';
26
- color?: string | undefined;
27
- size?: string | undefined;
28
- label?: boolean | undefined;
29
- }
30
- };
31
- /**
32
- * MBlock component.
33
- */
34
- block?: Partial<MBlockProps>;
35
- }
36
-
37
- export interface MythContext {
38
- options: Ref<UiOptionsContext>;
39
- setOptions: (values: Partial<UiOptionsContext>) => void;
40
- withOptions: (values: Partial<UiOptionsContext>) => void;
41
- withBtnOptions: (values: Partial<QBtnProps>) => void;
42
- }
package/src/vue-plugin.ts DELETED
@@ -1,41 +0,0 @@
1
- import js from './../package.json'
2
- import myth from './myth'
3
- import MBtn from './components/form/MBtn.vue'
4
- import MBlock from './components/grid/MBlock.vue'
5
- import MCol from './components/grid/MCol.vue'
6
- import MColumn from './components/grid/MColumn.vue'
7
- import MContainer from './components/grid/MContainer.vue'
8
- import MHelpRow from './components/grid/MHelpRow.vue'
9
- import MRow from './components/grid/MRow.vue'
10
- import MTypingString from './components/typography/MTypingString.vue'
11
- import type { App } from 'vue'
12
-
13
- const name = js.name
14
- const version = js.version
15
-
16
- function install (app: App, options = {}) {
17
- myth.withOptions(options)
18
-
19
- // Form.
20
- app.component('MBtn', MBtn)
21
-
22
- // Grid.
23
- app.component('MBlock', MBlock)
24
- app.component('MCol', MCol)
25
- app.component('MColumn', MColumn)
26
- app.component('MContainer', MContainer)
27
- app.component('MHelpRow', MHelpRow)
28
- app.component('MRow', MRow)
29
-
30
- // Typography.
31
- app.component('MTypingString', MTypingString)
32
- }
33
-
34
- export const e = {
35
- name,
36
- version,
37
- install,
38
- myth
39
- }
40
-
41
- export default e
package/types.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './src/types'