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.
Files changed (47) hide show
  1. package/README.md +40 -0
  2. package/dist/components/KMyButton/MyButton.vue.d.ts +27 -0
  3. package/dist/components/KMyButton/index.d.ts +8 -0
  4. package/dist/components/index.d.ts +1 -0
  5. package/dist/components/plugins.d.ts +2 -0
  6. package/dist/i18n/en/index.d.ts +3 -0
  7. package/dist/i18n/es/index.d.ts +3 -0
  8. package/dist/i18n/index.d.ts +2 -0
  9. package/dist/i18n/messages.d.ts +7 -0
  10. package/dist/i18n/translateKeys.d.ts +4 -0
  11. package/dist/index.d.ts +10 -0
  12. package/dist/layouts/MenuLayout.vue.d.ts +2 -0
  13. package/dist/quasar-factory-lib.js +5033 -0
  14. package/dist/quasar-factory-lib.umd.cjs +21 -0
  15. package/dist/router/index.d.ts +2 -0
  16. package/dist/router/routes.d.ts +3 -0
  17. package/dist/style.css +1 -0
  18. package/dist/types/index.d.ts +0 -0
  19. package/dist/utils/index.d.ts +0 -0
  20. package/dist/utils/plugins.d.ts +8 -0
  21. package/dist/vite.svg +1 -0
  22. package/package.json +106 -0
  23. package/src/App.vue +12 -0
  24. package/src/assets/vue.svg +1 -0
  25. package/src/boot/register.js +1 -0
  26. package/src/components/KMyButton/MyButton.vue +36 -0
  27. package/src/components/KMyButton/index.ts +18 -0
  28. package/src/components/index.ts +1 -0
  29. package/src/components/plugins.ts +4 -0
  30. package/src/css/app.scss +0 -0
  31. package/src/i18n/en/index.ts +6 -0
  32. package/src/i18n/es/index.ts +6 -0
  33. package/src/i18n/index.js +13 -0
  34. package/src/i18n/messages.js +8 -0
  35. package/src/i18n/translateKeys.ts +5 -0
  36. package/src/index.sass +0 -0
  37. package/src/index.ts +38 -0
  38. package/src/layouts/ComponentLayout.vue +10 -0
  39. package/src/layouts/MenuLayout.vue +16 -0
  40. package/src/main.ts +40 -0
  41. package/src/router/index.ts +22 -0
  42. package/src/router/routes.ts +10 -0
  43. package/src/style.css +78 -0
  44. package/src/types/index.ts +0 -0
  45. package/src/utils/index.ts +0 -0
  46. package/src/utils/plugins.ts +18 -0
  47. 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';
@@ -0,0 +1,2 @@
1
+ import KMyButton from './KMyButton';
2
+ export { KMyButton };
@@ -0,0 +1,3 @@
1
+ import translateKeys from '../translateKeys';
2
+ declare const en: translateKeys;
3
+ export default en;
@@ -0,0 +1,3 @@
1
+ import translateKeys from "../translateKeys";
2
+ declare const es: translateKeys;
3
+ export default es;
@@ -0,0 +1,2 @@
1
+ export default i18n;
2
+ declare const i18n: import("vue-i18n").I18n<{}, {}, {}, string, true>;
@@ -0,0 +1,7 @@
1
+ export default messages;
2
+ declare namespace messages {
3
+ export { en };
4
+ export { es };
5
+ }
6
+ import en from './en/index.ts';
7
+ import es from './es/index.ts';
@@ -0,0 +1,4 @@
1
+ interface translateKeys {
2
+ test: string;
3
+ }
4
+ export default translateKeys;
@@ -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;