@vc-shell/framework 1.0.169 → 1.0.171
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/CHANGELOG.md +32 -0
- package/core/composables/useNotifications/index.ts +12 -5
- package/core/types/index.ts +2 -2
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +2 -2
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +20534 -19207
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +29 -0
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -0
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +32 -0
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -0
- package/dist/shared/components/popup-handler/composables/usePopup/index.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/index.d.ts +4 -4
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts +2 -2
- package/dist/shared/modules/dynamic/composables/useToolbarReducer/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +3 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +7 -1
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -28
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +8 -8
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +52 -42
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +11 -4
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +6 -3
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +6 -4
- package/shared/components/change-password/change-password.vue +17 -11
- package/shared/components/common/popup/vc-popup-error.vue +44 -0
- package/shared/components/common/popup/vc-popup-warning.vue +47 -0
- package/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue +1 -0
- package/shared/components/popup-handler/composables/usePopup/index.ts +7 -8
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +1 -0
- package/shared/modules/assets/index.ts +1 -2
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +24 -22
- package/shared/modules/assets-manager/index.ts +1 -2
- package/shared/modules/dynamic/composables/useToolbarReducer/index.ts +2 -2
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +25 -3
- package/shared/modules/dynamic/pages/dynamic-blade-list.vue +48 -5
- package/shared/modules/dynamic/types/index.ts +9 -1
- package/shared/pages/LoginPage/components/login/Login.vue +8 -5
- package/ui/components/atoms/vc-container/vc-container.vue +41 -8
- package/ui/components/atoms/vc-icon/index.ts +1 -3
- package/ui/components/molecules/vc-slider/vc-slider.vue +4 -4
- package/ui/components/organisms/vc-blade/vc-blade.vue +4 -5
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +59 -45
- package/ui/components/organisms/vc-popup/vc-popup.vue +173 -141
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +171 -160
- package/ui/components/organisms/vc-table/vc-table.vue +13 -8
- package/dist/shared/modules/assets/locales/index.d.ts +0 -3
- package/dist/shared/modules/assets/locales/index.d.ts.map +0 -1
- package/dist/shared/modules/assets-manager/locales/index.d.ts +0 -3
- package/dist/shared/modules/assets-manager/locales/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts +0 -17
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts +0 -20
- package/dist/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue.d.ts.map +0 -1
- package/shared/modules/assets/locales/en.json +0 -32
- package/shared/modules/assets/locales/index.ts +0 -2
- package/shared/modules/assets-manager/locales/en.json +0 -28
- package/shared/modules/assets-manager/locales/index.ts +0 -2
- package/ui/components/organisms/vc-popup/_internal/vc-popup-error/vc-popup-error.vue +0 -31
- package/ui/components/organisms/vc-popup/_internal/vc-popup-warning/vc-popup-warning.vue +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-container.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;CAC7B;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"vc-container.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container.vue.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;CAC7B;;;;;;;;;;;AA8RD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
icon: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
size: {
|
|
7
|
-
type: import("vue").PropType<"s" | "xs" | "m" | "l" | "xl" | "xxl" | "xxxl">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
variant: {
|
|
11
|
-
type: import("vue").PropType<"warning" | "danger" | "success">;
|
|
12
|
-
};
|
|
13
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
icon: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
size: {
|
|
19
|
-
type: import("vue").PropType<"s" | "xs" | "m" | "l" | "xl" | "xxl" | "xxxl">;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
variant: {
|
|
23
|
-
type: import("vue").PropType<"warning" | "danger" | "success">;
|
|
24
|
-
};
|
|
25
|
-
}>>, {
|
|
26
|
-
icon: string;
|
|
27
|
-
size: "s" | "xs" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
28
|
-
}, {}>;
|
|
1
|
+
export { default as VcIcon } from "./vc-icon.vue";
|
|
29
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-slider.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/vc-slider.vue.ts"],"names":[],"mappings":"AAMA,OAAO,8BAA8B,CAAC;AACtC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iDAAiD,CAAC;AAEzD,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"vc-slider.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-slider/vc-slider.vue.ts"],"names":[],"mappings":"AAMA,OAAO,8BAA8B,CAAC;AACtC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,iDAAiD,CAAC;AAEzD,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;;;;;;;;;;;;;;;;;;;;AAyPD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -20,10 +20,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
name: {
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
role: {
|
|
24
24
|
type: import("vue").PropType<string>;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
avatarUrl: {
|
|
27
27
|
type: import("vue").PropType<string>;
|
|
28
28
|
};
|
|
29
29
|
menuItems: {
|
|
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
name: {
|
|
38
38
|
type: import("vue").PropType<string>;
|
|
39
39
|
};
|
|
40
|
-
|
|
40
|
+
role: {
|
|
41
41
|
type: import("vue").PropType<string>;
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
avatarUrl: {
|
|
44
44
|
type: import("vue").PropType<string>;
|
|
45
45
|
};
|
|
46
46
|
menuItems: {
|
|
@@ -66,10 +66,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
66
|
name: {
|
|
67
67
|
type: import("vue").PropType<string>;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
role: {
|
|
70
70
|
type: import("vue").PropType<string>;
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
avatarUrl: {
|
|
73
73
|
type: import("vue").PropType<string>;
|
|
74
74
|
};
|
|
75
75
|
menuItems: {
|
|
@@ -83,10 +83,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
83
|
name: {
|
|
84
84
|
type: import("vue").PropType<string>;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
role: {
|
|
87
87
|
type: import("vue").PropType<string>;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
avatarUrl: {
|
|
90
90
|
type: import("vue").PropType<string>;
|
|
91
91
|
};
|
|
92
92
|
menuItems: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"vc-blade.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,Q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CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
34
|
};
|
|
35
35
|
disableDrag: boolean;
|
|
36
36
|
}>>> & {
|
|
37
|
-
onEdit?: ((...args: any[]) => any) | undefined;
|
|
38
37
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
onPreview?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
image: ICommonAsset;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-gallery-preview.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAG9D,MAAM,WAAW,KAAK;IACpB,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"vc-gallery-preview.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY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55
|
}>>> & {
|
|
56
56
|
onUpload?: ((files: FileList, startingSortOrder?: number | undefined) => any) | undefined;
|
|
57
|
-
onEdit?: ((image: ICommonAsset) => any) | undefined;
|
|
58
57
|
onSort?: ((sorted: ICommonAsset[]) => any) | undefined;
|
|
59
58
|
onRemove?: ((image: ICommonAsset) => any) | undefined;
|
|
59
|
+
onEdit?: ((image: ICommonAsset) => any) | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
variant: "gallery" | "file-upload";
|
|
62
62
|
name: string;
|
|
@@ -1,46 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
closable: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
variant: {
|
|
29
|
-
type: PropType<"small" | "medium" | "fullscreen">;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
type: {
|
|
33
|
-
type: PropType<"default" | "warning" | "success" | "error">;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>> & {
|
|
37
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
1
|
+
interface Props {
|
|
2
|
+
title?: string;
|
|
3
|
+
closable?: boolean;
|
|
4
|
+
variant: "default" | "error" | "warning" | "success";
|
|
5
|
+
isMobileFullscreen?: boolean;
|
|
6
|
+
isFullscreen?: boolean;
|
|
7
|
+
modalWidth?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function closeModal(): void;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
|
+
closable: boolean;
|
|
12
|
+
variant: string;
|
|
13
|
+
modalWidth: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
close: () => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
17
|
+
closable: boolean;
|
|
18
|
+
variant: string;
|
|
19
|
+
modalWidth: string;
|
|
20
|
+
}>>> & {
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
39
22
|
}, {
|
|
40
|
-
|
|
41
|
-
title: string;
|
|
42
|
-
variant: "small" | "medium" | "fullscreen";
|
|
23
|
+
variant: "default" | "warning" | "success" | "error";
|
|
43
24
|
closable: boolean;
|
|
44
|
-
|
|
25
|
+
modalWidth: string;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
header?(_: {}): any;
|
|
28
|
+
content?(_: {}): any;
|
|
29
|
+
footer?(_: {
|
|
30
|
+
close: typeof closeModal;
|
|
31
|
+
}): any;
|
|
32
|
+
}>;
|
|
45
33
|
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
46
56
|
//# sourceMappingURL=vc-popup.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-popup.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-popup/vc-popup.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vc-popup.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-popup/vc-popup.vue.ts"],"names":[],"mappings":"AAOA,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IACrD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AA4CD,iBAAS,UAAU,SAElB;;;;;;;;;;;;;;;;;;;;;;;;AAwUD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IActionBuilderResult } from "
|
|
1
|
+
import { IActionBuilderResult } from "../../../../../../core/types";
|
|
2
2
|
export interface Emits {
|
|
3
3
|
(event: "swipeStart", id: string): void;
|
|
4
4
|
(event: "click"): void;
|
|
5
|
+
(event: "select"): void;
|
|
5
6
|
}
|
|
6
7
|
export interface TableItem {
|
|
7
8
|
[x: string]: any;
|
|
@@ -9,10 +10,12 @@ export interface TableItem {
|
|
|
9
10
|
}
|
|
10
11
|
declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
11
12
|
onClick?: (() => any) | undefined;
|
|
13
|
+
onSelect?: (() => any) | undefined;
|
|
12
14
|
item: T;
|
|
13
|
-
actionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
15
|
+
actionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
14
16
|
onSwipeStart?: ((id: string) => any) | undefined;
|
|
15
17
|
swipingItem?: string | undefined;
|
|
18
|
+
isSelected?: boolean | undefined;
|
|
16
19
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
17
20
|
attrs: any;
|
|
18
21
|
slots: {
|
|
@@ -22,10 +25,12 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
22
25
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
23
26
|
props: {
|
|
24
27
|
onClick?: (() => any) | undefined;
|
|
28
|
+
onSelect?: (() => any) | undefined;
|
|
25
29
|
item: T;
|
|
26
|
-
actionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
30
|
+
actionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
27
31
|
onSwipeStart?: ((id: string) => any) | undefined;
|
|
28
32
|
swipingItem?: string | undefined;
|
|
33
|
+
isSelected?: boolean | undefined;
|
|
29
34
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
30
35
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
31
36
|
attrs: any;
|
|
@@ -39,10 +44,12 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
39
44
|
__ctx?: {
|
|
40
45
|
props: {
|
|
41
46
|
onClick?: (() => any) | undefined;
|
|
47
|
+
onSelect?: (() => any) | undefined;
|
|
42
48
|
item: T;
|
|
43
|
-
actionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
49
|
+
actionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
44
50
|
onSwipeStart?: ((id: string) => any) | undefined;
|
|
45
51
|
swipingItem?: string | undefined;
|
|
52
|
+
isSelected?: boolean | undefined;
|
|
46
53
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
47
54
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
48
55
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table-mobile-item.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vc-table-mobile-item.vue.d.ts","sourceRoot":"","sources":["../../../../../../../ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKpE,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACzB;AACD,MAAM,WAAW,SAAS;IAExB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC;;;;;kCAsf8B,oBAAoB,EAAE,GAAG,SAAS;;;;;WAU1D,GAAG;;yBA1CoB,GAAG;;;yCAyCjB,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAG,IAAI;;;;;sCAT1B,oBAAoB,EAAE,GAAG,SAAS;;;;;oBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;yBA1CoB,GAAG;;;;;;;;;;;0CAgCF,oBAAoB,EAAE,GAAG,SAAS;;;;;wBASjD,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;eAClD,GAAG;;6BA1CoB,GAAG;;;;;AAndjC,wBAkgB2E"}
|
|
@@ -33,7 +33,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
33
33
|
value: T[];
|
|
34
34
|
}) => any) | undefined;
|
|
35
35
|
"onSelect:all"?: ((values: boolean) => any) | undefined;
|
|
36
|
-
itemActionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
36
|
+
itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
37
37
|
multiselect?: boolean | undefined;
|
|
38
38
|
totalLabel?: string | undefined;
|
|
39
39
|
searchPlaceholder?: string | undefined;
|
|
@@ -48,6 +48,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
48
48
|
reorderableRows?: boolean | undefined;
|
|
49
49
|
stateKey: string;
|
|
50
50
|
selectAll?: boolean | undefined;
|
|
51
|
+
enableItemActions?: boolean | undefined;
|
|
51
52
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
52
53
|
attrs: any;
|
|
53
54
|
slots: Readonly<{
|
|
@@ -112,7 +113,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
112
113
|
value: T[];
|
|
113
114
|
}) => any) | undefined;
|
|
114
115
|
"onSelect:all"?: ((values: boolean) => any) | undefined;
|
|
115
|
-
itemActionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
116
|
+
itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
116
117
|
multiselect?: boolean | undefined;
|
|
117
118
|
totalLabel?: string | undefined;
|
|
118
119
|
searchPlaceholder?: string | undefined;
|
|
@@ -127,6 +128,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
127
128
|
reorderableRows?: boolean | undefined;
|
|
128
129
|
stateKey: string;
|
|
129
130
|
selectAll?: boolean | undefined;
|
|
131
|
+
enableItemActions?: boolean | undefined;
|
|
130
132
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
131
133
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
132
134
|
attrs: any;
|
|
@@ -195,7 +197,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
195
197
|
value: T[];
|
|
196
198
|
}) => any) | undefined;
|
|
197
199
|
"onSelect:all"?: ((values: boolean) => any) | undefined;
|
|
198
|
-
itemActionBuilder?: ((item: T) => IActionBuilderResult[]) | undefined;
|
|
200
|
+
itemActionBuilder?: ((item: T) => IActionBuilderResult[] | undefined) | undefined;
|
|
199
201
|
multiselect?: boolean | undefined;
|
|
200
202
|
totalLabel?: string | undefined;
|
|
201
203
|
searchPlaceholder?: string | undefined;
|
|
@@ -210,6 +212,7 @@ declare const _default: <T extends string | TableItem>(__VLS_props: {
|
|
|
210
212
|
reorderableRows?: boolean | undefined;
|
|
211
213
|
stateKey: string;
|
|
212
214
|
selectAll?: boolean | undefined;
|
|
215
|
+
enableItemActions?: boolean | undefined;
|
|
213
216
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
214
217
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
215
218
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,GAAG,EAIH,QAAQ,EAET,MAAM,KAAK,CAAC;AAOb,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAK/E,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE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AG;8BAGvB,GAAG,KAAK,GAAG;2BACd,GAAG,KAAK,GAAG;4BACV,GAAG,KAAK,GAAG;;+CAJQ,GAAG,KAAK,GAAG;;;sBACG,aAAa;kBAAO,GAAG;4BAJxD,GAAG,KAAK,GAAG;4BACX;gBAAE,UAAU,EAAE,MAAM,IAAI,CAAA;aAAE,KAAK,GAAG;;;kBACZ,GAAG;8BAGvB,GAAG,KAAK,GAAG;2BACd,GAAG,KAAK,GAAG;4BACV,GAAG,KAAK,GAAG;;;uBA0DQ,MAAM;uBAAa,MAAM;;;;;AAxE9D,wBA2+D2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.171",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@floating-ui/vue": "^1.0.6",
|
|
32
|
+
"@headlessui/vue": "^1.7.19",
|
|
32
33
|
"@microsoft/signalr": "^8.0.0",
|
|
33
34
|
"@vee-validate/i18n": "^4.12.4",
|
|
34
35
|
"@vee-validate/rules": "^4.12.4",
|
|
@@ -50,12 +51,13 @@
|
|
|
50
51
|
"vue-i18n": "^9.8.0",
|
|
51
52
|
"vue-router": "^4.2.5",
|
|
52
53
|
"vue3-ace-editor": "^2.2.4",
|
|
54
|
+
"vue3-touch-events": "^4.1.8",
|
|
53
55
|
"whatwg-fetch": "^3.6.19"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
57
|
-
"@vc-shell/config-generator": "^1.0.
|
|
58
|
-
"@vc-shell/ts-config": "^1.0.
|
|
58
|
+
"@vc-shell/api-client-generator": "^1.0.171",
|
|
59
|
+
"@vc-shell/config-generator": "^1.0.171",
|
|
60
|
+
"@vc-shell/ts-config": "^1.0.171",
|
|
59
61
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
60
62
|
"sass": "^1.69.6",
|
|
61
63
|
"typescript": "^5.3.3",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<VcPopup
|
|
3
|
-
variant="small"
|
|
4
3
|
:title="t('COMPONENTS.CHANGE_PASSWORD.TITLE')"
|
|
4
|
+
is-mobile-fullscreen
|
|
5
5
|
@close="$emit('close')"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
8
|
-
<
|
|
7
|
+
<template #content>
|
|
8
|
+
<!-- <div class="change-password tw-p-3 tw-overflow-scroll"> -->
|
|
9
|
+
<VcForm class="tw-flex tw-flex-col tw-flex-auto">
|
|
9
10
|
<Field
|
|
10
11
|
v-slot="{ field, errorMessage, errors }"
|
|
11
12
|
:label="t('COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL')"
|
|
@@ -69,11 +70,15 @@
|
|
|
69
70
|
@update:model-value="validate"
|
|
70
71
|
></VcInput>
|
|
71
72
|
</Field>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
</VcForm>
|
|
74
|
+
</template>
|
|
75
|
+
<template #footer>
|
|
76
|
+
<div class="tw-flex tw-flex-col tw-flex-auto">
|
|
77
|
+
<div class="tw-flex tw-justify-between tw-flex-auto">
|
|
78
|
+
<!-- <span
|
|
79
|
+
v-if="$isDesktop.value"
|
|
80
|
+
class="tw-grow tw-basis-0"
|
|
81
|
+
></span> -->
|
|
77
82
|
<VcButton
|
|
78
83
|
:outline="true"
|
|
79
84
|
class="tw-mr-3"
|
|
@@ -88,7 +93,6 @@
|
|
|
88
93
|
{{ t("COMPONENTS.CHANGE_PASSWORD.SAVE") }}
|
|
89
94
|
</VcButton>
|
|
90
95
|
</div>
|
|
91
|
-
|
|
92
96
|
<VcHint
|
|
93
97
|
v-for="(err, i) in form.errors"
|
|
94
98
|
:key="i"
|
|
@@ -99,8 +103,10 @@
|
|
|
99
103
|
(err as IIdentityError).code ? t(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${(err as IIdentityError).code}`) : err
|
|
100
104
|
}}
|
|
101
105
|
</VcHint>
|
|
102
|
-
</
|
|
103
|
-
</
|
|
106
|
+
</div>
|
|
107
|
+
</template>
|
|
108
|
+
|
|
109
|
+
<!-- </div> -->
|
|
104
110
|
</VcPopup>
|
|
105
111
|
</template>
|
|
106
112
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<VcPopup
|
|
3
|
+
variant="error"
|
|
4
|
+
is-mobile-fullscreen
|
|
5
|
+
:title="title"
|
|
6
|
+
@close="$emit('close')"
|
|
7
|
+
>
|
|
8
|
+
<template #content>
|
|
9
|
+
<slot />
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<template #footer="{ close }">
|
|
13
|
+
<div class="tw-flex tw-flex-auto tw-justify-end">
|
|
14
|
+
<VcButton
|
|
15
|
+
class="tw-ml-auto"
|
|
16
|
+
@click="close"
|
|
17
|
+
>{{ $t("COMPONENTS.ORGANISMS.VC_POPUP.OK") }}</VcButton
|
|
18
|
+
>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
</VcPopup>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script lang="ts" setup>
|
|
25
|
+
import VcPopup from "./../../../../ui/components/organisms/vc-popup/vc-popup.vue";
|
|
26
|
+
|
|
27
|
+
export interface Props {
|
|
28
|
+
title?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface Emits {
|
|
32
|
+
(event: "close"): void;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
defineProps<Props>();
|
|
36
|
+
|
|
37
|
+
defineEmits<Emits>();
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style lang="scss">
|
|
41
|
+
:root {
|
|
42
|
+
--confirm-button-color: #6b7987;
|
|
43
|
+
}
|
|
44
|
+
</style>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<VcPopup
|
|
3
|
+
variant="warning"
|
|
4
|
+
is-mobile-fullscreen
|
|
5
|
+
:title="title"
|
|
6
|
+
@close="$emit('close')"
|
|
7
|
+
>
|
|
8
|
+
<template #content>
|
|
9
|
+
<slot />
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<template #footer="{ close }">
|
|
13
|
+
<div class="tw-flex tw-flex-auto tw-justify-end tw-gap-6">
|
|
14
|
+
<VcButton
|
|
15
|
+
text
|
|
16
|
+
class="!tw-text-[var(--confirm-button-color)]"
|
|
17
|
+
@click="$emit('confirm')"
|
|
18
|
+
>{{ $t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM") }}</VcButton
|
|
19
|
+
>
|
|
20
|
+
<VcButton @click="close">{{ $t("COMPONENTS.ORGANISMS.VC_POPUP.CANCEL") }}</VcButton>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
</VcPopup>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script lang="ts" setup>
|
|
27
|
+
import VcPopup from "./../../../../ui/components/organisms/vc-popup/vc-popup.vue";
|
|
28
|
+
|
|
29
|
+
export interface Props {
|
|
30
|
+
title?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface Emits {
|
|
34
|
+
(event: "close"): void;
|
|
35
|
+
(event: "confirm"): void;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
defineProps<Props>();
|
|
39
|
+
|
|
40
|
+
defineEmits<Emits>();
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
<style lang="scss">
|
|
44
|
+
:root {
|
|
45
|
+
--confirm-button-color: #6b7987;
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
@@ -12,12 +12,15 @@ import {
|
|
|
12
12
|
MaybeRef,
|
|
13
13
|
unref,
|
|
14
14
|
DefineComponent,
|
|
15
|
+
h,
|
|
15
16
|
} from "vue";
|
|
16
17
|
import { PopupPlugin, UsePopupInternal, UsePopupProps } from "./../../types";
|
|
17
18
|
import { popupPluginInstance } from "./../../plugin";
|
|
18
19
|
import { useI18n } from "vue-i18n";
|
|
19
20
|
import { ComponentPublicInstanceConstructor } from "../../../../utilities/vueUtils";
|
|
20
21
|
import * as _ from "lodash-es";
|
|
22
|
+
import vcPopupWarning from "../../../common/popup/vc-popup-warning.vue";
|
|
23
|
+
import vcPopupError from "../../../common/popup/vc-popup-error.vue";
|
|
21
24
|
|
|
22
25
|
interface IUsePopup {
|
|
23
26
|
open(): void;
|
|
@@ -85,10 +88,8 @@ export function usePopup<T extends ComponentPublicInstanceConstructor<any> = typ
|
|
|
85
88
|
async function showConfirmation(message: string | Ref<string>): Promise<boolean> {
|
|
86
89
|
let resolvePromise: (value: boolean | PromiseLike<boolean>) => void;
|
|
87
90
|
const confirmation = createInstance({
|
|
88
|
-
component:
|
|
91
|
+
component: vcPopupWarning,
|
|
89
92
|
props: {
|
|
90
|
-
type: "warning",
|
|
91
|
-
variant: "small",
|
|
92
93
|
title: t("COMPONENTS.ORGANISMS.VC_POPUP.TITLE.CONFIRMATION"),
|
|
93
94
|
},
|
|
94
95
|
emits: {
|
|
@@ -102,7 +103,7 @@ export function usePopup<T extends ComponentPublicInstanceConstructor<any> = typ
|
|
|
102
103
|
},
|
|
103
104
|
},
|
|
104
105
|
slots: {
|
|
105
|
-
|
|
106
|
+
content: message,
|
|
106
107
|
},
|
|
107
108
|
});
|
|
108
109
|
|
|
@@ -117,10 +118,8 @@ export function usePopup<T extends ComponentPublicInstanceConstructor<any> = typ
|
|
|
117
118
|
|
|
118
119
|
function showError(message: string | Ref<string>) {
|
|
119
120
|
const confirmation = createInstance({
|
|
120
|
-
component:
|
|
121
|
+
component: vcPopupError,
|
|
121
122
|
props: {
|
|
122
|
-
type: "error",
|
|
123
|
-
variant: "small",
|
|
124
123
|
title: t("COMPONENTS.ORGANISMS.VC_POPUP.TITLE.ERROR"),
|
|
125
124
|
},
|
|
126
125
|
emits: {
|
|
@@ -129,7 +128,7 @@ export function usePopup<T extends ComponentPublicInstanceConstructor<any> = typ
|
|
|
129
128
|
},
|
|
130
129
|
},
|
|
131
130
|
slots: {
|
|
132
|
-
|
|
131
|
+
content: message,
|
|
133
132
|
},
|
|
134
133
|
});
|
|
135
134
|
|