quasar-factory-lib 0.0.18 → 0.0.20

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.
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
31
  showPopUp: boolean;
32
32
  message: string;
33
33
  }, {}, {
34
- showPopupMessage(message: string): void;
34
+ openAlertAndSetMessage(message: string): void;
35
35
  closePopup(): void;
36
36
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
37
  dataCy: {
@@ -1,8 +1,8 @@
1
1
  import type { Plugin } from 'vue';
2
- import Alert from './Alert.vue';
2
+ import AlertDialog from './AlertDialog.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 { Alert as Alert };
8
+ export { AlertDialog as AlertDialog };
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {
2
+ alert: boolean;
3
+ message: string;
4
+ }, {}, {
5
+ openDialogAndSetMessage(msg: string): void;
6
+ closeAlert(): void;
7
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {
8
+ dataCy: string;
9
+ onClickBtnConfirm: Function;
10
+ onClickBtnCancel: Function;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -1,8 +1,8 @@
1
1
  import type { Plugin } from 'vue';
2
- import Confirm from './Confirm.vue';
2
+ import ConfirmDialog from './ConfirmDialog.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 { Confirm as Confirm };
8
+ export { ConfirmDialog as ConfirmDialog };
@@ -1,4 +1,4 @@
1
1
  import MyTable from './Table';
2
- import Alert from './Alert';
3
- import Confirm from './Confirm';
4
- export { MyTable, Alert, Confirm };
2
+ import AlertDialog from './Alert';
3
+ import ConfirmDialog from './Confirm';
4
+ export { MyTable, AlertDialog, ConfirmDialog };
@@ -1,10 +1,13 @@
1
1
  declare const en: {
2
- test: string;
3
2
  table: {
4
3
  search: string;
5
4
  cancel: string;
6
5
  confirm: string;
7
6
  };
7
+ confirmDialog: {
8
+ cancel: string;
9
+ confirm: string;
10
+ };
8
11
  form: {
9
12
  rules: {
10
13
  emptyField: string;
@@ -1,10 +1,13 @@
1
1
  declare const es: {
2
- test: string;
3
2
  table: {
4
3
  search: string;
5
4
  cancel: string;
6
5
  confirm: string;
7
6
  };
7
+ confirmDialog: {
8
+ cancel: string;
9
+ confirm: string;
10
+ };
8
11
  form: {
9
12
  rules: {
10
13
  emptyField: string;
@@ -1,12 +1,15 @@
1
1
  export default i18n;
2
2
  declare const i18n: import("vue-i18n").I18n<{
3
3
  en: {
4
- test: string;
5
4
  table: {
6
5
  search: string;
7
6
  cancel: string;
8
7
  confirm: string;
9
8
  };
9
+ confirmDialog: {
10
+ cancel: string;
11
+ confirm: string;
12
+ };
10
13
  form: {
11
14
  rules: {
12
15
  emptyField: string;
@@ -15,12 +18,15 @@ declare const i18n: import("vue-i18n").I18n<{
15
18
  };
16
19
  };
17
20
  es: {
18
- test: string;
19
21
  table: {
20
22
  search: string;
21
23
  cancel: string;
22
24
  confirm: string;
23
25
  };
26
+ confirmDialog: {
27
+ cancel: string;
28
+ confirm: string;
29
+ };
24
30
  form: {
25
31
  rules: {
26
32
  emptyField: string;
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, Alert, Confirm } from './components/index.ts';
4
+ export { MyTable, AlertDialog, ConfirmDialog } from './components/index.ts';
5
5
  export type { TranslateKeys };
6
6
  export * from './i18n/messages.js';
7
7
  export * from './utils';
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
2
- Alert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ AlertDialog: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  dataCy: {
4
4
  type: StringConstructor;
5
5
  default: string;
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
32
32
  showPopUp: boolean;
33
33
  message: string;
34
34
  }, {}, {
35
- showPopupMessage(message: string): void;
35
+ openAlertAndSetMessage(message: string): void;
36
36
  closePopup(): void;
37
37
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
38
  dataCy: {
@@ -1,125 +1,17 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
2
- onClickBtnCancel(): void;
3
2
  onClickBtnConfirm(): void;
3
+ onClickBtnCancel(): void;
4
4
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
5
- Confirm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- persistent: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- dataCy: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- cancelBtnColor: {
15
- type: StringConstructor;
16
- default: string;
17
- required: true;
18
- };
19
- labelBtnCancel: {
20
- type: StringConstructor;
21
- default: string;
22
- required: true;
23
- };
24
- confirmBtnColor: {
25
- type: StringConstructor;
26
- default: string;
27
- required: true;
28
- };
29
- labelBtnConfirm: {
30
- type: StringConstructor;
31
- default: string;
32
- required: true;
33
- };
34
- avatarIcon: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- avatarSize: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- avatarColor: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- avatarTextColor: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- avatarFontSize: {
51
- type: StringConstructor;
52
- default: string;
53
- };
54
- }>, {}, {
5
+ ConfirmDialog: import("vue").DefineComponent<{}, {}, {
55
6
  alert: boolean;
56
7
  message: string;
57
8
  }, {}, {
58
- showPopupAndSetMessage(msg: string): void;
9
+ openDialogAndSetMessage(msg: string): void;
59
10
  closeAlert(): void;
60
- onClickBtnCancel(): void;
61
- onClickBtnConfirm(): void;
62
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
- persistent: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- dataCy: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- cancelBtnColor: {
72
- type: StringConstructor;
73
- default: string;
74
- required: true;
75
- };
76
- labelBtnCancel: {
77
- type: StringConstructor;
78
- default: string;
79
- required: true;
80
- };
81
- confirmBtnColor: {
82
- type: StringConstructor;
83
- default: string;
84
- required: true;
85
- };
86
- labelBtnConfirm: {
87
- type: StringConstructor;
88
- default: string;
89
- required: true;
90
- };
91
- avatarIcon: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- avatarSize: {
96
- type: StringConstructor;
97
- default: string;
98
- };
99
- avatarColor: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- avatarTextColor: {
104
- type: StringConstructor;
105
- default: string;
106
- };
107
- avatarFontSize: {
108
- type: StringConstructor;
109
- default: string;
110
- };
111
- }>> & Readonly<{}>, {
11
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {
112
12
  dataCy: string;
113
- persistent: boolean;
114
- cancelBtnColor: string;
115
- labelBtnCancel: string;
116
- confirmBtnColor: string;
117
- labelBtnConfirm: string;
118
- avatarIcon: string;
119
- avatarSize: string;
120
- avatarColor: string;
121
- avatarTextColor: string;
122
- avatarFontSize: string;
13
+ onClickBtnConfirm: Function;
14
+ onClickBtnCancel: Function;
123
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
124
16
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
125
17
  export default _default;