@v1nt1248/3nclient-lib 0.2.82 → 0.2.84
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 +2 -2
- package/dist/components/ui3n-dialog/types.d.ts +15 -18
- package/dist/components/ui3n-dialog/ui3n-dialog.vue.d.ts +9 -12
- package/dist/index.d.ts +25 -8
- package/dist/plugins/dialogs/dialogs.d.ts +29 -6
- package/dist/plugins/dialogs/store-dialog.d.ts +18 -0
- package/dist/plugins/dialogs/types.d.ts +20 -9
- package/dist/plugins/dialogs/ui3n-dialog-provider.vue.d.ts +13 -0
- package/dist/plugins/index.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/ui3n-components.d.ts +2 -0
- package/dist/ui3n-components.js +4231 -4262
- package/dist/ui3n-plugins.d.ts +24 -10
- package/dist/ui3n-plugins.js +2039 -3561
- package/package.json +8 -8
- package/src/components/index.ts +14 -4
- package/src/components/ui3n-dialog/types.ts +12 -20
- package/src/components/ui3n-dialog/ui3n-dialog.vue +163 -245
- package/dist/plugins/dialogs/store-dialogs.d.ts +0 -10
package/dist/ui3n-plugins.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
import { Component } from '../vue/dist/vue.esm-bundler.js';
|
|
2
|
-
import {
|
|
1
|
+
import { Component, Reactive } from '../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
import { ExtractComponentProps } from './types';
|
|
3
3
|
import { Ui3nNotificationProps } from './components/ui3n-notification/types';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Ui3nDialogEvent } from './components/ui3n-dialog/types';
|
|
5
|
+
import { i18n, storeI18n, I18N_KEY, I18nOptions, I18nPlugin, notifications, storeNotifications, NOTIFICATIONS_KEY, NotificationsPlugin, dialogs, storeDialogs, DIALOGS_KEY, DialogOptions, DialogsPlugin, vueBus, storeVueBus, VUEBUS_KEY, VueBusPlugin } from './plugins';
|
|
6
|
+
import { CbFunction, VueEventBus } from './plugins/vue-bus/types';
|
|
7
7
|
declare module '../vue/dist/vue.esm-bundler.js' {
|
|
8
8
|
interface ComponentCustomProperties {
|
|
9
|
-
$openDialog: <
|
|
10
|
-
|
|
9
|
+
$openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
10
|
+
event: Ui3nDialogEvent;
|
|
11
|
+
data?: V | null | Event | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
$closeDialog: <V>(id: string, value: {
|
|
14
|
+
event: Ui3nDialogEvent;
|
|
15
|
+
data?: V | null | Event | undefined;
|
|
16
|
+
}) => void;
|
|
11
17
|
$closeDialogs: () => void;
|
|
18
|
+
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
12
19
|
$createNotice: (params: Ui3nNotificationProps) => void;
|
|
13
20
|
$locale: string;
|
|
14
21
|
$tr: (key: string, placeholders?: Record<string, string>) => string;
|
|
@@ -26,10 +33,17 @@ declare module 'pinia' {
|
|
|
26
33
|
tr: (key: string, placeholders?: Record<string, string>) => string;
|
|
27
34
|
};
|
|
28
35
|
$dialogs: {
|
|
29
|
-
open: <
|
|
30
|
-
|
|
36
|
+
open: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
|
|
37
|
+
event: Ui3nDialogEvent;
|
|
38
|
+
data?: V | null | Event | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
close: <V>(id: string, value: {
|
|
41
|
+
event: Ui3nDialogEvent;
|
|
42
|
+
data?: V | null | Event | undefined;
|
|
43
|
+
}) => void;
|
|
31
44
|
closeAll: () => void;
|
|
45
|
+
dialogStack: Reactive<DialogOptions<any>[]>;
|
|
32
46
|
};
|
|
33
47
|
}
|
|
34
48
|
}
|
|
35
|
-
export { i18n, storeI18n, I18N_KEY, I18nOptions, I18nPlugin, notifications, storeNotifications, NOTIFICATIONS_KEY, NotificationsPlugin, dialogs, storeDialogs, DIALOGS_KEY, DialogsPlugin,
|
|
49
|
+
export { i18n, storeI18n, I18N_KEY, I18nOptions, I18nPlugin, notifications, storeNotifications, NOTIFICATIONS_KEY, NotificationsPlugin, dialogs, storeDialogs, DIALOGS_KEY, DialogsPlugin, DialogOptions, vueBus, storeVueBus, VUEBUS_KEY, CbFunction, VueBusPlugin, VueEventBus, };
|