quasar-factory-lib 0.0.18 → 0.0.19
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/dist/components/Alert/{Alert.vue.d.ts → AlertDialog.vue.d.ts} +1 -1
- package/dist/components/Alert/index.d.ts +2 -2
- package/dist/components/Confirm/{Confirm.vue.d.ts → ConfirmDialog.vue.d.ts} +1 -1
- package/dist/components/Confirm/index.d.ts +2 -2
- package/dist/components/plugins.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/pages/AlertPage.vue.d.ts +2 -2
- package/dist/pages/ConfirmPage.vue.d.ts +2 -2
- package/dist/quasar-factory-lib.js +8 -7
- package/dist/quasar-factory-lib.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/components/Alert/{Alert.vue → AlertDialog.vue} +2 -2
- package/src/components/Alert/index.ts +3 -3
- package/src/components/Confirm/{Confirm.vue → ConfirmDialog.vue} +2 -1
- package/src/components/Confirm/index.ts +3 -3
- package/src/components/plugins.ts +3 -3
- package/src/index.ts +4 -4
- package/src/pages/AlertPage.vue +4 -4
- package/src/pages/ConfirmPage.vue +4 -4
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
showPopUp: boolean;
|
|
32
32
|
message: string;
|
|
33
33
|
}, {}, {
|
|
34
|
-
|
|
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
|
|
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 {
|
|
8
|
+
export { AlertDialog as AlertDialog };
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
51
|
alert: boolean;
|
|
52
52
|
message: string;
|
|
53
53
|
}, {}, {
|
|
54
|
-
|
|
54
|
+
openDialogAndSetMessage(msg: string): void;
|
|
55
55
|
closeAlert(): void;
|
|
56
56
|
onClickBtnCancel(): void;
|
|
57
57
|
onClickBtnConfirm(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
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 {
|
|
8
|
+
export { ConfirmDialog as ConfirmDialog };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import MyTable from './Table';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export { MyTable,
|
|
2
|
+
import AlertDialog from './Alert';
|
|
3
|
+
import ConfirmDialog from './Confirm';
|
|
4
|
+
export { MyTable, AlertDialog, ConfirmDialog };
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
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: {
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
|
2
2
|
onClickBtnCancel(): void;
|
|
3
3
|
onClickBtnConfirm(): void;
|
|
4
4
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
5
|
-
|
|
5
|
+
ConfirmDialog: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
persistent: {
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
|
55
55
|
alert: boolean;
|
|
56
56
|
message: string;
|
|
57
57
|
}, {}, {
|
|
58
|
-
|
|
58
|
+
openDialogAndSetMessage(msg: string): void;
|
|
59
59
|
closeAlert(): void;
|
|
60
60
|
onClickBtnCancel(): void;
|
|
61
61
|
onClickBtnConfirm(): void;
|
|
@@ -7972,7 +7972,7 @@ const dg = /* @__PURE__ */ pt(ug, [["render", cg]]), Hl = (e, t) => {
|
|
|
7972
7972
|
};
|
|
7973
7973
|
}
|
|
7974
7974
|
}), vg = In({
|
|
7975
|
-
name: "
|
|
7975
|
+
name: "AlertDialog",
|
|
7976
7976
|
data() {
|
|
7977
7977
|
return {
|
|
7978
7978
|
showPopUp: !1,
|
|
@@ -8011,7 +8011,7 @@ const dg = /* @__PURE__ */ pt(ug, [["render", cg]]), Hl = (e, t) => {
|
|
|
8011
8011
|
},
|
|
8012
8012
|
emit: ["dialogClosed"],
|
|
8013
8013
|
methods: {
|
|
8014
|
-
|
|
8014
|
+
openAlertAndSetMessage(e) {
|
|
8015
8015
|
this.showPopUp = !0, this.message = e;
|
|
8016
8016
|
},
|
|
8017
8017
|
closePopup() {
|
|
@@ -8057,7 +8057,7 @@ function hg(e, t, n, o, l, r) {
|
|
|
8057
8057
|
}
|
|
8058
8058
|
const _g = /* @__PURE__ */ pt(vg, [["render", hg]]), pg = {
|
|
8059
8059
|
install(e) {
|
|
8060
|
-
zr(e, "
|
|
8060
|
+
zr(e, "AlertDialog", _g);
|
|
8061
8061
|
}
|
|
8062
8062
|
}, bg = Oe({
|
|
8063
8063
|
name: "QAvatar",
|
|
@@ -8100,6 +8100,7 @@ const _g = /* @__PURE__ */ pt(vg, [["render", hg]]), pg = {
|
|
|
8100
8100
|
return () => k("div", { class: o.value }, Me(t.default));
|
|
8101
8101
|
}
|
|
8102
8102
|
}), Eg = In({
|
|
8103
|
+
name: "ConfirmDialog",
|
|
8103
8104
|
data() {
|
|
8104
8105
|
return {
|
|
8105
8106
|
alert: !1,
|
|
@@ -8158,7 +8159,7 @@ const _g = /* @__PURE__ */ pt(vg, [["render", hg]]), pg = {
|
|
|
8158
8159
|
},
|
|
8159
8160
|
emit: ["onClickBtnCancel", "onClickBtnConfirm"],
|
|
8160
8161
|
methods: {
|
|
8161
|
-
|
|
8162
|
+
openDialogAndSetMessage(e) {
|
|
8162
8163
|
this.alert = !0, this.message = e;
|
|
8163
8164
|
},
|
|
8164
8165
|
closeAlert() {
|
|
@@ -8225,7 +8226,7 @@ function Cg(e, t, n, o, l, r) {
|
|
|
8225
8226
|
}
|
|
8226
8227
|
const kg = /* @__PURE__ */ pt(Eg, [["render", Cg]]), wg = {
|
|
8227
8228
|
install(e) {
|
|
8228
|
-
zr(e, "
|
|
8229
|
+
zr(e, "ConfirmDialog", kg);
|
|
8229
8230
|
}
|
|
8230
8231
|
};
|
|
8231
8232
|
var Tg = Object.create, sc = Object.defineProperty, Og = Object.getOwnPropertyDescriptor, jr = Object.getOwnPropertyNames, Ag = Object.getPrototypeOf, Ig = Object.prototype.hasOwnProperty, xg = (e, t) => function() {
|
|
@@ -15866,8 +15867,8 @@ function Hb(e) {
|
|
|
15866
15867
|
xr.global.locale = e;
|
|
15867
15868
|
}
|
|
15868
15869
|
export {
|
|
15869
|
-
_g as
|
|
15870
|
-
kg as
|
|
15870
|
+
_g as AlertDialog,
|
|
15871
|
+
kg as ConfirmDialog,
|
|
15871
15872
|
dg as MyTable,
|
|
15872
15873
|
Ub as QuasarFactoryLib,
|
|
15873
15874
|
qb as filterMethod,
|