quasar-factory-lib 0.0.1
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/README.md +40 -0
- package/dist/components/KMyButton/MyButton.vue.d.ts +27 -0
- package/dist/components/KMyButton/index.d.ts +8 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/plugins.d.ts +2 -0
- package/dist/i18n/en/index.d.ts +3 -0
- package/dist/i18n/es/index.d.ts +3 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/messages.d.ts +7 -0
- package/dist/i18n/translateKeys.d.ts +4 -0
- package/dist/index.d.ts +10 -0
- package/dist/layouts/MenuLayout.vue.d.ts +2 -0
- package/dist/quasar-factory-lib.js +5033 -0
- package/dist/quasar-factory-lib.umd.cjs +21 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/router/routes.d.ts +3 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/utils/index.d.ts +0 -0
- package/dist/utils/plugins.d.ts +8 -0
- package/dist/vite.svg +1 -0
- package/package.json +106 -0
- package/src/App.vue +12 -0
- package/src/assets/vue.svg +1 -0
- package/src/boot/register.js +1 -0
- package/src/components/KMyButton/MyButton.vue +36 -0
- package/src/components/KMyButton/index.ts +18 -0
- package/src/components/index.ts +1 -0
- package/src/components/plugins.ts +4 -0
- package/src/css/app.scss +0 -0
- package/src/i18n/en/index.ts +6 -0
- package/src/i18n/es/index.ts +6 -0
- package/src/i18n/index.js +13 -0
- package/src/i18n/messages.js +8 -0
- package/src/i18n/translateKeys.ts +5 -0
- package/src/index.sass +0 -0
- package/src/index.ts +38 -0
- package/src/layouts/ComponentLayout.vue +10 -0
- package/src/layouts/MenuLayout.vue +16 -0
- package/src/main.ts +40 -0
- package/src/router/index.ts +22 -0
- package/src/router/routes.ts +10 -0
- package/src/style.css +78 -0
- package/src/types/index.ts +0 -0
- package/src/utils/index.ts +0 -0
- package/src/utils/plugins.ts +18 -0
- package/src/volar.d.ts +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
### Quasar factory Lib
|
|
2
|
+
A NPM package that contains multiple quasar components
|
|
3
|
+
|
|
4
|
+
## Install
|
|
5
|
+
yarn quasar-factory-lib
|
|
6
|
+
|
|
7
|
+
You need to import style file in your project
|
|
8
|
+
|
|
9
|
+
```@import url("quasar-factory-lib/style.css");```
|
|
10
|
+
|
|
11
|
+
And import components and types from
|
|
12
|
+
|
|
13
|
+
```import { } from 'quasar-factory-lib'```
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Documentation
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
yarn docs:preview
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Upload npm package
|
|
23
|
+
All this scripts will build and test the package and then upload it to NPM automatically
|
|
24
|
+
### Major version
|
|
25
|
+
```js
|
|
26
|
+
yarn publish:major
|
|
27
|
+
```
|
|
28
|
+
### Minor version
|
|
29
|
+
```js
|
|
30
|
+
yarn publish:minor
|
|
31
|
+
```
|
|
32
|
+
### Patch
|
|
33
|
+
```js
|
|
34
|
+
yarn publish:patch
|
|
35
|
+
```
|
|
36
|
+
### Skip
|
|
37
|
+
```js
|
|
38
|
+
yarn publish:skip
|
|
39
|
+
```
|
|
40
|
+
This scripts will skip the tests and upload the package directly with a new patch version.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { QBtn } from 'quasar';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
color: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>, {
|
|
12
|
+
onClick: () => void;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
label: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
color: string;
|
|
24
|
+
}, {}, {
|
|
25
|
+
QBtn: import("quasar").ComponentConstructor<QBtn>;
|
|
26
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Plugin } from 'vue';
|
|
2
|
+
import MyButton from './MyButton.vue';
|
|
3
|
+
/** export button specific types */
|
|
4
|
+
/** export button plugin */
|
|
5
|
+
declare const _default: Plugin;
|
|
6
|
+
export default _default;
|
|
7
|
+
/** export button components */
|
|
8
|
+
export { MyButton as KMyButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './KMyButton';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '@quasar/extras/material-icons/material-icons.css';
|
|
2
|
+
import { Plugin } from 'vue';
|
|
3
|
+
import TranslateKeys from './i18n/translateKeys.ts';
|
|
4
|
+
export { KMyButton } from './components/index.ts';
|
|
5
|
+
export type { TranslateKeys };
|
|
6
|
+
export * from './i18n/messages.js';
|
|
7
|
+
import './css/app.scss';
|
|
8
|
+
declare const plugin: Plugin;
|
|
9
|
+
export declare function updatePackageLanguage(lang: 'es' | 'en'): void;
|
|
10
|
+
export { plugin as QuasarFactoryLib };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|