@v1nt1248/3nclient-lib 0.2.85 → 0.2.87
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/index.d.ts +1 -1
- package/dist/components/ui3n-dialog/types.d.ts +1 -0
- package/dist/components/ui3n-notification/ui3n-notification.vue.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/plugins/dialogs/dialogs.d.ts +4 -4
- package/dist/plugins/dialogs/store-dialog.d.ts +2 -2
- package/dist/plugins/dialogs/types.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/ui3n-components.d.ts +1 -1
- package/dist/ui3n-components.js +1744 -1725
- package/dist/ui3n-plugins.d.ts +4 -4
- package/package.json +1 -1
- package/src/components/index.ts +1 -1
- package/src/components/ui3n-dialog/types.ts +1 -0
- package/src/components/ui3n-dialog/ui3n-dialog-provider.vue +52 -0
- package/src/components/ui3n-dialog/ui3n-dialog.vue +16 -11
- /package/dist/{plugins/dialogs → components/ui3n-dialog}/ui3n-dialog-provider.vue.d.ts +0 -0
|
@@ -20,7 +20,7 @@ import { default as Ui3nNotification } from './ui3n-notification/ui3n-notificati
|
|
|
20
20
|
import { default as Ui3nTableSortIcon } from './ui3n-table/ui3n-table-sort-icon.vue';
|
|
21
21
|
import { default as Ui3nTable } from './ui3n-table/ui3n-table.vue';
|
|
22
22
|
import { Ui3nTableSortIconProps, Ui3nTableSort, Ui3nTableConfig, Ui3nTableHeadProps, Ui3nTableBodyProps, Ui3nTableGroupActionsSlot, Ui3nTableHeaderCellSlot, Ui3nTableBodyRowSlotScope, Ui3nTableBodyRowSlot, Ui3nTableBodyRowCellSlotScope, Ui3nTableBodyRowCellSlot, Ui3nTableSlots, Ui3nTableProps, Ui3nTableEmits, Ui3nTableExpose } from './ui3n-table/types';
|
|
23
|
-
import { default as Ui3nDialogProvider } from '
|
|
23
|
+
import { default as Ui3nDialogProvider } from './ui3n-dialog/ui3n-dialog-provider.vue';
|
|
24
24
|
import { default as Ui3nDialog } from './ui3n-dialog/ui3n-dialog.vue';
|
|
25
25
|
import { Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogComponentSlots, Ui3nDialogEvent } from './ui3n-dialog/types';
|
|
26
26
|
import { default as Ui3nMenu } from './ui3n-menu/ui3n-menu.vue';
|
|
@@ -4,7 +4,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
4
4
|
duration: number;
|
|
5
5
|
withIcon: boolean;
|
|
6
6
|
onClose: () => void;
|
|
7
|
-
onOpen: () => void;
|
|
8
7
|
position: "left" | "center" | "right";
|
|
8
|
+
onOpen: () => void;
|
|
9
9
|
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
10
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -49,11 +49,11 @@ declare module '../vue/dist/vue.esm-bundler.js' {
|
|
|
49
49
|
interface ComponentCustomProperties {
|
|
50
50
|
$openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
51
51
|
event: Ui3nDialogEvent;
|
|
52
|
-
data?: V
|
|
52
|
+
data?: V;
|
|
53
53
|
}>;
|
|
54
54
|
$closeDialog: <V>(id: string, value: {
|
|
55
55
|
event: Ui3nDialogEvent;
|
|
56
|
-
data?: V
|
|
56
|
+
data?: V;
|
|
57
57
|
}) => void;
|
|
58
58
|
$closeDialogs: () => void;
|
|
59
59
|
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
@@ -108,11 +108,11 @@ declare module 'pinia' {
|
|
|
108
108
|
$dialogs: {
|
|
109
109
|
open: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
110
110
|
event: Ui3nDialogEvent;
|
|
111
|
-
data?: V
|
|
111
|
+
data?: V;
|
|
112
112
|
}>;
|
|
113
113
|
close: <V>(id: string, value: {
|
|
114
114
|
event: Ui3nDialogEvent;
|
|
115
|
-
data?: V
|
|
115
|
+
data?: V;
|
|
116
116
|
}) => void;
|
|
117
117
|
closeAll: () => void;
|
|
118
118
|
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
@@ -5,11 +5,11 @@ import { ExtractComponentProps } from '../../types';
|
|
|
5
5
|
export declare const dialogService: {
|
|
6
6
|
$openDialog<V>(component: Component, props: ExtractComponentProps<Component>): Promise<{
|
|
7
7
|
event: Ui3nDialogEvent;
|
|
8
|
-
data?: V
|
|
8
|
+
data?: V;
|
|
9
9
|
}>;
|
|
10
10
|
$closeDialog<V>(id: string, value: {
|
|
11
11
|
event: Ui3nDialogEvent;
|
|
12
|
-
data?: V
|
|
12
|
+
data?: V;
|
|
13
13
|
}): void;
|
|
14
14
|
$closeDialogs(): void;
|
|
15
15
|
readonly dialogStack: Reactive<DialogOptions<any>[]>;
|
|
@@ -22,11 +22,11 @@ declare module '@vue/runtime-core' {
|
|
|
22
22
|
interface ComponentCustomProperties {
|
|
23
23
|
$openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
24
24
|
event: Ui3nDialogEvent;
|
|
25
|
-
data?: V
|
|
25
|
+
data?: V;
|
|
26
26
|
}>;
|
|
27
27
|
$closeDialog: <V>(id: string, value: {
|
|
28
28
|
event: Ui3nDialogEvent;
|
|
29
|
-
data?: V
|
|
29
|
+
data?: V;
|
|
30
30
|
}) => void;
|
|
31
31
|
$closeDialogs: () => void;
|
|
32
32
|
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
@@ -6,11 +6,11 @@ export declare function storeDialogs(context: any): {
|
|
|
6
6
|
$dialogs: {
|
|
7
7
|
open: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
8
8
|
event: Ui3nDialogEvent;
|
|
9
|
-
data?: V
|
|
9
|
+
data?: V;
|
|
10
10
|
}>;
|
|
11
11
|
close: <V>(id: string, value: {
|
|
12
12
|
event: Ui3nDialogEvent;
|
|
13
|
-
data?: V
|
|
13
|
+
data?: V;
|
|
14
14
|
}) => void;
|
|
15
15
|
closeAll: () => void;
|
|
16
16
|
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
@@ -7,17 +7,17 @@ export interface DialogOptions<V> {
|
|
|
7
7
|
props: ExtractComponentProps<Component>;
|
|
8
8
|
resolve: (value: {
|
|
9
9
|
event: Ui3nDialogEvent;
|
|
10
|
-
data?: V
|
|
10
|
+
data?: V;
|
|
11
11
|
}) => void;
|
|
12
12
|
}
|
|
13
13
|
export interface DialogsPlugin {
|
|
14
14
|
$openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
15
15
|
event: Ui3nDialogEvent;
|
|
16
|
-
data?: V
|
|
16
|
+
data?: V;
|
|
17
17
|
}>;
|
|
18
18
|
$closeDialog: <V>(id: string, value: {
|
|
19
19
|
event: Ui3nDialogEvent;
|
|
20
|
-
data?: V
|
|
20
|
+
data?: V;
|
|
21
21
|
}) => void;
|
|
22
22
|
$closeDialogs: () => void;
|
|
23
23
|
dialogStack: Reactive<DialogOptions<any>[]>;
|