quasar-factory-lib 0.0.20 → 0.0.22

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 (44) hide show
  1. package/dist/components/Alert/AlertDialog.vue.d.ts +2 -2
  2. package/dist/components/TaskNavBar/BasicNavBar.vue.d.ts +70 -0
  3. package/dist/components/TaskNavBar/TaskNavBar.vue.d.ts +61 -0
  4. package/dist/components/{KMyButton → TaskNavBar}/index.d.ts +2 -2
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/components/plugins.d.ts +2 -1
  7. package/dist/i18n/en/index.d.ts +6 -0
  8. package/dist/i18n/es/index.d.ts +6 -0
  9. package/dist/i18n/index.d.ts +12 -0
  10. package/dist/index.d.ts +1 -1
  11. package/dist/pages/AlertPage.vue.d.ts +2 -2
  12. package/dist/pages/NavBarPage.vue.d.ts +64 -0
  13. package/dist/quasar-factory-lib.js +6129 -5214
  14. package/dist/quasar-factory-lib.umd.cjs +11 -11
  15. package/dist/store/index.d.ts +2 -1
  16. package/dist/store/table.d.ts +1 -2
  17. package/dist/style.css +1 -1
  18. package/package.json +1 -1
  19. package/src/assets/icons/Add.svg +6 -0
  20. package/src/assets/icons/ArrowBack.svg +3 -0
  21. package/src/assets/icons/Menu.svg +7 -0
  22. package/src/assets/icons/Search.svg +3 -0
  23. package/src/assets/icons/favicon_16x16.png +0 -0
  24. package/src/components/Alert/AlertDialog.vue +7 -7
  25. package/src/components/Table/Table.vue +3 -3
  26. package/src/components/TaskNavBar/BasicNavBar.vue +102 -0
  27. package/src/components/TaskNavBar/TaskNavBar.vue +108 -0
  28. package/src/components/{KMyButton → TaskNavBar}/index.ts +5 -3
  29. package/src/components/index.ts +2 -1
  30. package/src/components/plugins.ts +2 -1
  31. package/src/css/app.css +10 -0
  32. package/src/i18n/en/index.ts +6 -0
  33. package/src/i18n/es/index.ts +6 -0
  34. package/src/index.ts +3 -2
  35. package/src/layouts/MenuLayout.vue +6 -0
  36. package/src/pages/NavBarPage.vue +40 -0
  37. package/src/pages/TablePage.vue +1 -1
  38. package/src/router/routes.ts +4 -0
  39. package/src/store/table.js +1 -3
  40. package/dist/components/KMyButton/MyButton.vue.d.ts +0 -27
  41. package/dist/store/plugin.d.ts +0 -2
  42. package/src/components/KMyButton/MyButton.vue +0 -36
  43. package/src/store/index.ts +0 -1
  44. package/src/store/plugin.ts +0 -3
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  default: string;
29
29
  };
30
30
  }>, {}, {
31
- showPopUp: boolean;
32
- message: string;
31
+ alert: boolean;
32
+ alertMessage: string;
33
33
  }, {}, {
34
34
  openAlertAndSetMessage(message: string): void;
35
35
  closePopup(): void;
@@ -0,0 +1,70 @@
1
+ import { date } from 'quasar';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ logo: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ employeeName: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ showBtnBack: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ showBtnSearch: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ showSearch: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, {}, {
28
+ date: typeof date;
29
+ rightDrawerOpen: boolean;
30
+ }, {}, {
31
+ toggleRightDrawer(): void;
32
+ search(): void;
33
+ back(): void;
34
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "back")[], "search" | "back", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
+ logo: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ title: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ employeeName: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ showBtnBack: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ showBtnSearch: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ showSearch: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ }>> & Readonly<{
60
+ onSearch?: ((...args: any[]) => any) | undefined;
61
+ onBack?: ((...args: any[]) => any) | undefined;
62
+ }>, {
63
+ showSearch: boolean;
64
+ title: string;
65
+ logo: string;
66
+ showBtnBack: boolean;
67
+ showBtnSearch: boolean;
68
+ employeeName: string;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
+ export default _default;
@@ -0,0 +1,61 @@
1
+ import { date } from 'quasar';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ logo: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ title: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ showBtnBack: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ showBtnSearch: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ showSearch: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ }>, {}, {
24
+ date: typeof date;
25
+ rightDrawerOpen: boolean;
26
+ }, {}, {
27
+ toggleRightDrawer(): void;
28
+ search(): void;
29
+ back(): void;
30
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "back")[], "search" | "back", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ logo: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ title: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ showBtnBack: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ showBtnSearch: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ showSearch: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ }>> & Readonly<{
52
+ onSearch?: ((...args: any[]) => any) | undefined;
53
+ onBack?: ((...args: any[]) => any) | undefined;
54
+ }>, {
55
+ showSearch: boolean;
56
+ title: string;
57
+ logo: string;
58
+ showBtnBack: boolean;
59
+ showBtnSearch: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
@@ -1,8 +1,8 @@
1
1
  import type { Plugin } from 'vue';
2
- import MyButton from './MyButton.vue';
2
+ import TaskNavBar from './TaskNavBar.vue';
3
3
  /** export button specific types */
4
4
  /** export button plugin */
5
5
  declare const _default: Plugin;
6
6
  export default _default;
7
7
  /** export button components */
8
- export { MyButton as KMyButton };
8
+ export { TaskNavBar as TaskNavBar };
@@ -1,3 +1,4 @@
1
1
  export * from './Table';
2
2
  export * from './Alert';
3
3
  export * from './Confirm';
4
+ export * from './TaskNavBar';
@@ -1,4 +1,5 @@
1
1
  import MyTable from './Table';
2
2
  import AlertDialog from './Alert';
3
3
  import ConfirmDialog from './Confirm';
4
- export { MyTable, AlertDialog, ConfirmDialog };
4
+ import TaskNavBar from './TaskNavBar';
5
+ export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar };
@@ -14,5 +14,11 @@ declare const en: {
14
14
  exceedCharactersTypeList: string;
15
15
  };
16
16
  };
17
+ header: {
18
+ hello: string;
19
+ };
20
+ global: {
21
+ total: string;
22
+ };
17
23
  };
18
24
  export default en;
@@ -14,5 +14,11 @@ declare const es: {
14
14
  exceedCharactersTypeList: string;
15
15
  };
16
16
  };
17
+ header: {
18
+ hello: string;
19
+ };
20
+ global: {
21
+ total: string;
22
+ };
17
23
  };
18
24
  export default es;
@@ -16,6 +16,12 @@ declare const i18n: import("vue-i18n").I18n<{
16
16
  exceedCharactersTypeList: string;
17
17
  };
18
18
  };
19
+ header: {
20
+ hello: string;
21
+ };
22
+ global: {
23
+ total: string;
24
+ };
19
25
  };
20
26
  es: {
21
27
  table: {
@@ -33,5 +39,11 @@ declare const i18n: import("vue-i18n").I18n<{
33
39
  exceedCharactersTypeList: string;
34
40
  };
35
41
  };
42
+ header: {
43
+ hello: string;
44
+ };
45
+ global: {
46
+ total: string;
47
+ };
36
48
  };
37
49
  }, {}, {}, string, true>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import '@quasar/extras/material-icons/material-icons.css';
2
2
  import { Plugin } from 'vue';
3
3
  import TranslateKeys from './i18n/translateKeys.ts';
4
- export { MyTable, AlertDialog, ConfirmDialog } from './components/index.ts';
4
+ export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar } from './components/index.ts';
5
5
  export type { TranslateKeys };
6
6
  export * from './i18n/messages.js';
7
7
  export * from './utils';
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
29
29
  default: string;
30
30
  };
31
31
  }>, {}, {
32
- showPopUp: boolean;
33
- message: string;
32
+ alert: boolean;
33
+ alertMessage: string;
34
34
  }, {}, {
35
35
  openAlertAndSetMessage(message: string): void;
36
36
  closePopup(): void;
@@ -0,0 +1,64 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {
2
+ rightDrawerOpen: boolean;
3
+ }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
+ TaskNavBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ logo: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ title: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ showBtnBack: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ showBtnSearch: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ showSearch: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ }>, {}, {
26
+ date: typeof import("quasar").date;
27
+ rightDrawerOpen: boolean;
28
+ }, {}, {
29
+ toggleRightDrawer(): void;
30
+ search(): void;
31
+ back(): void;
32
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "back")[], "search" | "back", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ logo: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ title: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ showBtnBack: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ showBtnSearch: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ showSearch: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ onSearch?: ((...args: any[]) => any) | undefined;
55
+ onBack?: ((...args: any[]) => any) | undefined;
56
+ }>, {
57
+ showSearch: boolean;
58
+ title: string;
59
+ logo: string;
60
+ showBtnBack: boolean;
61
+ showBtnSearch: boolean;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
+ export default _default;