@v1nt1248/3nclient-lib 0.0.40 → 0.0.42

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.
Files changed (55) hide show
  1. package/README.md +2 -2
  2. package/dist/components/index.d.ts +20 -37
  3. package/dist/components/ui3n-badge-simple.vue.d.ts +1 -1
  4. package/dist/components/ui3n-badge.vue.d.ts +1 -1
  5. package/dist/components/ui3n-breadcrumb.vue.d.ts +1 -1
  6. package/dist/components/ui3n-breadcrumbs.vue.d.ts +1 -1
  7. package/dist/components/ui3n-button.vue.d.ts +1 -1
  8. package/dist/components/ui3n-checkbox.vue.d.ts +1 -1
  9. package/dist/components/ui3n-chip.vue.d.ts +1 -1
  10. package/dist/components/ui3n-dialog.vue.d.ts +3 -2
  11. package/dist/components/ui3n-drop-files.vue.d.ts +1 -1
  12. package/dist/components/ui3n-emoji.vue.d.ts +1 -1
  13. package/dist/components/ui3n-icon.vue.d.ts +1 -1
  14. package/dist/components/ui3n-input.vue.d.ts +1 -1
  15. package/dist/components/ui3n-list.vue.d.ts +4 -4
  16. package/dist/components/ui3n-menu.vue.d.ts +1 -1
  17. package/dist/components/ui3n-notification.vue.d.ts +3 -2
  18. package/dist/components/ui3n-table-sort-icon.vue.d.ts +1 -1
  19. package/dist/components/ui3n-table.vue.d.ts +3 -2
  20. package/dist/components/ui3n-tabs.vue.d.ts +1 -1
  21. package/dist/components/ui3n-text.vue.d.ts +1 -1
  22. package/dist/components/ui3n-virtual-scroll.vue.d.ts +4 -4
  23. package/dist/directives/index.d.ts +3 -2
  24. package/dist/directives/ui3n-click-outside.d.ts +2 -1
  25. package/dist/directives/ui3n-html.d.ts +1 -0
  26. package/dist/index.d.ts +24 -24
  27. package/dist/plugins/dialogs.d.ts +3 -3
  28. package/dist/plugins/i18n.d.ts +2 -2
  29. package/dist/plugins/icons.d.ts +1 -0
  30. package/dist/plugins/index.d.ts +9 -12
  31. package/dist/plugins/notifications.d.ts +2 -2
  32. package/dist/plugins/store-dialogs.d.ts +2 -1
  33. package/dist/plugins/store-notifications.d.ts +2 -1
  34. package/dist/plugins/store-vue-bus.d.ts +2 -1
  35. package/dist/plugins/vue-bus.d.ts +3 -3
  36. package/dist/style.css +1 -1
  37. package/dist/tools/sqlite-on-3nstorage/index.d.ts +2 -1
  38. package/dist/tools/ui.helpers.d.ts +1 -0
  39. package/dist/ui-3n-lib.js +1153 -1140
  40. package/package.json +3 -2
  41. package/src/components/ui3n-breadcrumb.vue +0 -2
  42. package/dist/stories/Ui3nBadge.stories.d.ts +0 -124
  43. package/dist/stories/Ui3nBreadcrumbs.stories.d.ts +0 -252
  44. package/dist/stories/Ui3nButton.stories.d.ts +0 -152
  45. package/dist/stories/Ui3nCheckbox.stories.d.ts +0 -186
  46. package/dist/stories/Ui3nChip.stories.d.ts +0 -562
  47. package/dist/stories/Ui3nDialog.stories.d.ts +0 -41
  48. package/dist/stories/Ui3nDropFiles.stories.d.ts +0 -73
  49. package/dist/stories/Ui3nEmoji.stories.d.ts +0 -39
  50. package/dist/stories/Ui3nIcon.stories.d.ts +0 -80
  51. package/dist/stories/Ui3nInput.stories.d.ts +0 -456
  52. package/dist/stories/Ui3nList.stories.d.ts +0 -54
  53. package/dist/stories/Ui3nTabs.stories.d.ts +0 -177
  54. package/dist/stories/data/data-to-list.d.ts +0 -8
  55. package/dist/stories/data/icons.d.ts +0 -1
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  Components, directives and plugins for Vue3 projects and some helpers methods (tools).
4
4
  Storybook is used for documentation and demo.
5
5
 
6
- For demo and development - `yarn storybook` or `npm run storybook`.
7
- You can run the project as `yarn dev` or `npm run dev` if you don't want to use Storybook.
6
+ For demo and development - `pnpm run storybook` or `npm run storybook`.
7
+ You can run the project as `pnpm dev` or `npm run dev` if you don't want to use Storybook.
8
8
 
9
9
  ## Components
10
10
  - Ui3nBadge,
@@ -1,38 +1,21 @@
1
- import Ui3nIcon from './ui3n-icon.vue';
2
- import type { Ui3nIconProps, Ui3nIconEmits } from './ui3n-icon.vue';
3
- import Ui3nButton from './ui3n-button.vue';
4
- import type { Ui3nButtonProps, Ui3nButtonEmits } from './ui3n-button.vue';
5
- import Ui3nChip from './ui3n-chip.vue';
6
- import type { Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots } from './ui3n-chip.vue';
7
- import Ui3nDropFiles from './ui3n-drop-files.vue';
8
- import type { Ui3nDropFilesProps, Ui3nDropFilesEmits } from './ui3n-drop-files.vue';
9
- import Ui3nEmoji from './ui3n-emoji.vue';
10
- import type { Ui3nEmojiProps, Ui3nEmojiEmits } from './ui3n-emoji.vue';
11
- import Ui3nInput from './ui3n-input.vue';
12
- import type { Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
13
- import Ui3nText from './ui3n-text.vue';
14
- import type { Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
15
- import Ui3nCheckbox from './ui3n-checkbox.vue';
16
- import type { Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots } from './ui3n-checkbox.vue';
17
- import Ui3nNotification from './ui3n-notification.vue';
18
- import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
19
- import type { Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
20
- import Ui3nTable from './ui3n-table.vue';
21
- import type { Ui3nTableProps, Ui3nTableEmits } from './ui3n-table.vue';
22
- import Ui3nDialog from './ui3n-dialog.vue';
23
- import type { Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent } from './ui3n-dialog.vue';
24
- import Ui3nMenu from './ui3n-menu.vue';
25
- import type { Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots } from './ui3n-menu.vue';
26
- import Ui3nList from './ui3n-list.vue';
27
- import type { Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
28
- import Ui3nVirtualScroll from './ui3n-virtual-scroll.vue';
29
- import type { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
30
- import Ui3nTabs from './ui3n-tabs.vue';
31
- import type { Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots } from './ui3n-tabs.vue';
32
- import Ui3nBadge from './ui3n-badge.vue';
33
- import type { Ui3nBadgeProps } from './ui3n-badge.vue';
34
- import Ui3nBreadcrumb from './ui3n-breadcrumb.vue';
35
- import type { Ui3nBreadcrumdProps, Ui3nBreadcrumdEmits, Ui3nBreadcrumdSlots } from './ui3n-breadcrumb.vue';
36
- import Ui3nBreadcrumbs from './ui3n-breadcrumbs.vue';
37
- import type { Ui3nBreadcrumdsProps } from './ui3n-breadcrumbs.vue';
1
+ import { default as Ui3nBreadcrumbs, Ui3nBreadcrumdsProps } from './ui3n-breadcrumbs.vue';
2
+ import { default as Ui3nBreadcrumb, Ui3nBreadcrumdProps, Ui3nBreadcrumdEmits, Ui3nBreadcrumdSlots } from './ui3n-breadcrumb.vue';
3
+ import { default as Ui3nBadge, Ui3nBadgeProps } from './ui3n-badge.vue';
4
+ import { default as Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots } from './ui3n-tabs.vue';
5
+ import { default as Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
6
+ import { default as Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
7
+ import { default as Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots } from './ui3n-menu.vue';
8
+ import { default as Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent } from './ui3n-dialog.vue';
9
+ import { default as Ui3nTable, Ui3nTableProps, Ui3nTableEmits } from './ui3n-table.vue';
10
+ import { default as Ui3nTableSortIcon, Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
11
+ import { default as Ui3nNotification } from './ui3n-notification.vue';
12
+ import { default as Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots } from './ui3n-checkbox.vue';
13
+ import { default as Ui3nText, Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
14
+ import { default as Ui3nInput, Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
15
+ import { default as Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits } from './ui3n-emoji.vue';
16
+ import { default as Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits } from './ui3n-drop-files.vue';
17
+ import { default as Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots } from './ui3n-chip.vue';
18
+ import { default as Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits } from './ui3n-button.vue';
19
+ import { default as Ui3nIcon, Ui3nIconProps, Ui3nIconEmits } from './ui3n-icon.vue';
20
+
38
21
  export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, Ui3nBreadcrumb, Ui3nBreadcrumdProps, Ui3nBreadcrumdEmits, Ui3nBreadcrumdSlots, Ui3nBreadcrumbs, Ui3nBreadcrumdsProps, };
@@ -4,7 +4,7 @@ export interface Ui3nBadgeSimpleProps {
4
4
  color?: string;
5
5
  textColor?: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
7
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
8
8
  dot: boolean;
9
9
  value: string;
10
10
  color: string;
@@ -5,7 +5,7 @@ export interface Ui3nBadgeProps {
5
5
  textColor?: string;
6
6
  position?: 'right-top' | 'right-bottom' | 'left-top' | 'left-bottom';
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
9
9
  dot: boolean;
10
10
  value: string;
11
11
  color: string;
@@ -10,7 +10,7 @@ export interface Ui3nBreadcrumdSlots {
10
10
  separator: () => unknown;
11
11
  default: () => unknown;
12
12
  }
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdProps>, {
13
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdProps>, {
14
14
  separator: undefined;
15
15
  isActive: boolean;
16
16
  disabled: boolean;
@@ -2,7 +2,7 @@ export interface Ui3nBreadcrumdsProps {
2
2
  separator?: string;
3
3
  disabled?: boolean;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdsProps>, {
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdsProps>, {
6
6
  separator: string;
7
7
  disabled: boolean;
8
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdsProps>, {
@@ -14,7 +14,7 @@ export interface Ui3nButtonEmits {
14
14
  (ev: 'focus', value: Event): void;
15
15
  (ev: 'blur', value: Event): void;
16
16
  }
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  init: (value: HTMLButtonElement) => void;
19
19
  click: (value: Event) => void;
20
20
  focus: (value: Event) => void;
@@ -15,7 +15,7 @@ export interface Ui3nCheckboxEmits {
15
15
  export interface Ui3nCheckboxSlots {
16
16
  default: () => any;
17
17
  }
18
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
18
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
19
19
  modelValue: boolean;
20
20
  checkedValue: boolean;
21
21
  uncheckedValue: boolean;
@@ -18,7 +18,7 @@ export interface Ui3nChipSlots {
18
18
  }) => any;
19
19
  default: () => any;
20
20
  }
21
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
21
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
22
22
  height: number;
23
23
  maxWidth: number;
24
24
  plain: boolean;
@@ -1,4 +1,5 @@
1
- import type { Component } from 'vue';
1
+ import { Component } from 'vue';
2
+
2
3
  export type Ui3nDialogEvent = 'open' | 'before-close' | 'close' | 'confirm' | 'cancel' | 'click-overlay';
3
4
  export interface Ui3nDialogProps {
4
5
  teleport?: string;
@@ -34,7 +35,7 @@ export interface Ui3nDialogComponentEmits {
34
35
  (ev: 'cancel', value?: any): void;
35
36
  (ev: 'click-overlay', value?: any): void;
36
37
  }
37
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
39
  open: (value?: any) => void;
39
40
  "before-close": (value?: any) => void;
40
41
  close: (value?: any) => void;
@@ -6,7 +6,7 @@ export interface Ui3nDropFilesProps {
6
6
  export interface Ui3nDropFilesEmits {
7
7
  (e: 'select', fileList: FileList): void;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  select: (fileList: FileList) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>>> & {
12
12
  onSelect?: ((fileList: FileList) => any) | undefined;
@@ -6,7 +6,7 @@ export interface Ui3nEmojiProps {
6
6
  export interface Ui3nEmojiEmits {
7
7
  (ev: 'click', value: Event): void;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
9
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
10
10
  size: number;
11
11
  readonly: boolean;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -14,7 +14,7 @@ export interface Ui3nIconProps {
14
14
  export interface Ui3nIconEmits {
15
15
  (ev: 'click', value: Event): void;
16
16
  }
17
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  click: (value: Event) => void;
19
19
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>>> & {
20
20
  onClick?: ((value: Event) => any) | undefined;
@@ -18,7 +18,7 @@ export interface Ui3nInputEmits {
18
18
  (ev: 'update:value', value: string): void;
19
19
  (ev: 'update:valid', value: boolean): void;
20
20
  }
21
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  input: (value: string) => void;
23
23
  focus: (value: Event) => void;
24
24
  blur: (value: Event) => void;
@@ -28,7 +28,7 @@ declare const _default: <T extends {
28
28
  disabled?: boolean | undefined;
29
29
  sticky?: boolean | undefined;
30
30
  items: T[];
31
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
31
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
32
32
  attrs: any;
33
33
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
34
34
  emit: Ui3nListEmits<T>;
@@ -42,12 +42,12 @@ declare const _default: <T extends {
42
42
  disabled?: boolean | undefined;
43
43
  sticky?: boolean | undefined;
44
44
  items: T[];
45
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
46
46
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
47
47
  attrs: any;
48
48
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
49
49
  emit: Ui3nListEmits<T>;
50
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ }>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
51
  [key: string]: any;
52
52
  }> & {
53
53
  __ctx?: {
@@ -60,7 +60,7 @@ declare const _default: <T extends {
60
60
  disabled?: boolean | undefined;
61
61
  sticky?: boolean | undefined;
62
62
  items: T[];
63
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
63
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
64
64
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
65
65
  attrs: any;
66
66
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
@@ -16,7 +16,7 @@ export interface Ui3nMenuSlots {
16
16
  default: () => any;
17
17
  menu?: () => any;
18
18
  }
19
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
19
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
20
20
  offsetX: number;
21
21
  offsetY: number;
22
22
  closeOnClick: boolean;
@@ -1,5 +1,6 @@
1
- import type { Ui3nNotificationProps } from '../constants';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>>>, {}, {}>;
1
+ import { Ui3nNotificationProps } from '../constants';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>>>, {}, {}>;
3
4
  export default _default;
4
5
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
6
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -3,7 +3,7 @@ export interface Ui3nTableSortIconProps {
3
3
  color?: string;
4
4
  value: 'asc' | 'desc';
5
5
  }
6
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTableSortIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nTableSortIconProps>>>, {}, {}>;
6
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTableSortIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nTableSortIconProps>>>, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
9
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,5 @@
1
- import type { ListingEntryTypeExtended, EntityAction } from '../constants';
1
+ import { ListingEntryTypeExtended, EntityAction } from '../constants';
2
+
2
3
  export interface Ui3nTableProps {
3
4
  items: ListingEntryTypeExtended[];
4
5
  textIfEmpty?: string;
@@ -10,7 +11,7 @@ export interface Ui3nTableEmits {
10
11
  entity: ListingEntryTypeExtended;
11
12
  }): void;
12
13
  }
13
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTableProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTableProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
15
  go: (name: string) => void;
15
16
  action: (value: {
16
17
  action: EntityAction;
@@ -13,7 +13,7 @@ export interface Ui3nTabsEmits {
13
13
  export interface Ui3nTabsSlots {
14
14
  default: () => any;
15
15
  }
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nTabsProps>, {
16
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nTabsProps>, {
17
17
  modelValue: number;
18
18
  itemDirection: string;
19
19
  activeColor: string;
@@ -15,7 +15,7 @@ export interface Ui3nTextEmits {
15
15
  (ev: 'update:text', value: string): void;
16
16
  (ev: 'update:valid', value: boolean): void;
17
17
  }
18
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  init: (value: HTMLTextAreaElement) => void;
20
20
  input: (value: string) => void;
21
21
  focus: (value: Event) => void;
@@ -12,7 +12,7 @@ declare const _default: <T extends {
12
12
  items: T[];
13
13
  minChildHeight: number;
14
14
  renderAhread?: number | undefined;
15
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
15
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
16
16
  attrs: any;
17
17
  slots: Readonly<Ui3nVirtualScrollSlots<T>> & Ui3nVirtualScrollSlots<T>;
18
18
  emit: any;
@@ -21,12 +21,12 @@ declare const _default: <T extends {
21
21
  items: T[];
22
22
  minChildHeight: number;
23
23
  renderAhread?: number | undefined;
24
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
24
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
25
25
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
26
26
  attrs: any;
27
27
  slots: Readonly<Ui3nVirtualScrollSlots<T>> & Ui3nVirtualScrollSlots<T>;
28
28
  emit: any;
29
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ }>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
30
  [key: string]: any;
31
31
  }> & {
32
32
  __ctx?: {
@@ -34,7 +34,7 @@ declare const _default: <T extends {
34
34
  items: T[];
35
35
  minChildHeight: number;
36
36
  renderAhread?: number | undefined;
37
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
38
38
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
39
39
  attrs: any;
40
40
  slots: Readonly<Ui3nVirtualScrollSlots<T>> & Ui3nVirtualScrollSlots<T>;
@@ -1,3 +1,4 @@
1
- import Ui3nHtml from './ui3n-html';
2
- import Ui3nClickOutside from './ui3n-click-outside';
1
+ import { default as Ui3nClickOutside } from './ui3n-click-outside';
2
+ import { default as Ui3nHtml } from './ui3n-html';
3
+
3
4
  export { Ui3nHtml, Ui3nClickOutside, };
@@ -1,4 +1,5 @@
1
- import type { DirectiveBinding } from 'vue';
1
+ import { DirectiveBinding } from 'vue';
2
+
2
3
  type ClickOutside = (event: MouseEvent) => void;
3
4
  interface ExtendedHTMLElement extends HTMLElement {
4
5
  clickOutside: ClickOutside;
@@ -1,4 +1,5 @@
1
1
  import { DirectiveBinding } from 'vue';
2
+
2
3
  declare const _default: {
3
4
  mounted(el: Element, binding: DirectiveBinding): void;
4
5
  updated(el: Element, binding: DirectiveBinding): void;
package/dist/index.d.ts CHANGED
@@ -1,27 +1,27 @@
1
- import type { CbFunction, Ui3nNotificationProps, VueEventBus } from './constants';
2
- import type { DialogInstance } from './plugins/dialogs';
3
- import type Ui3nButton from './components/ui3n-button.vue';
4
- import type Ui3nChip from './components/ui3n-chip.vue';
5
- import type Ui3nCheckbox from './components/ui3n-checkbox.vue';
6
- import type Ui3nDialog from './components/ui3n-dialog.vue';
7
- import type { Ui3nDialogComponentProps } from './components/ui3n-dialog.vue';
8
- import type Ui3nDropFiles from './components/ui3n-drop-files.vue';
9
- import type Ui3nEmoji from './components/ui3n-emoji.vue';
10
- import type Ui3nIcon from './components/ui3n-icon.vue';
11
- import type Ui3nInput from './components/ui3n-input.vue';
12
- import type Ui3nList from './components/ui3n-list.vue';
13
- import type Ui3nMenu from './components/ui3n-menu.vue';
14
- import type Ui3nNotification from './components/ui3n-notification.vue';
15
- import type Ui3nTableSortIcon from './components/ui3n-table-sort-icon.vue';
16
- import type Ui3nTable from './components/ui3n-table.vue';
17
- import type Ui3nText from './components/ui3n-text.vue';
18
- import type Ui3nVirtualScroll from './components/ui3n-virtual-scroll.vue';
19
- import type Ui3nTabs from './components/ui3n-tabs.vue';
20
- import type Ui3nBadge from './components/ui3n-badge.vue';
21
- import type Ui3nBreadcrumd from './components/ui3n-breadcrumb.vue';
22
- import type Ui3nBreadcrumds from './components/ui3n-breadcrumbs.vue';
23
- import type Ui3nHtml from './directives/ui3n-html';
24
- import type Ui3nClickOutside from './directives/ui3n-click-outside';
1
+ import { default as Ui3nClickOutside } from './directives/ui3n-click-outside';
2
+ import { default as Ui3nHtml } from './directives/ui3n-html';
3
+ import { default as Ui3nBreadcrumds } from './components/ui3n-breadcrumbs.vue';
4
+ import { default as Ui3nBreadcrumd } from './components/ui3n-breadcrumb.vue';
5
+ import { default as Ui3nBadge } from './components/ui3n-badge.vue';
6
+ import { default as Ui3nTabs } from './components/ui3n-tabs.vue';
7
+ import { default as Ui3nVirtualScroll } from './components/ui3n-virtual-scroll.vue';
8
+ import { default as Ui3nText } from './components/ui3n-text.vue';
9
+ import { default as Ui3nTable } from './components/ui3n-table.vue';
10
+ import { default as Ui3nTableSortIcon } from './components/ui3n-table-sort-icon.vue';
11
+ import { default as Ui3nNotification } from './components/ui3n-notification.vue';
12
+ import { default as Ui3nMenu } from './components/ui3n-menu.vue';
13
+ import { default as Ui3nList } from './components/ui3n-list.vue';
14
+ import { default as Ui3nInput } from './components/ui3n-input.vue';
15
+ import { default as Ui3nIcon } from './components/ui3n-icon.vue';
16
+ import { default as Ui3nEmoji } from './components/ui3n-emoji.vue';
17
+ import { default as Ui3nDropFiles } from './components/ui3n-drop-files.vue';
18
+ import { default as Ui3nDialog, Ui3nDialogComponentProps } from './components/ui3n-dialog.vue';
19
+ import { default as Ui3nCheckbox } from './components/ui3n-checkbox.vue';
20
+ import { default as Ui3nChip } from './components/ui3n-chip.vue';
21
+ import { default as Ui3nButton } from './components/ui3n-button.vue';
22
+ import { DialogInstance } from './plugins/dialogs';
23
+ import { CbFunction, Ui3nNotificationProps, VueEventBus } from './constants';
24
+
25
25
  export * from './constants';
26
26
  export * from './tools';
27
27
  export * from './plugins';
@@ -1,6 +1,6 @@
1
- import type { Plugin, VNode } from 'vue';
2
- import type { InjectionKey } from 'vue';
3
- import type { Ui3nDialogComponentProps } from '../components/ui3n-dialog.vue';
1
+ import { Ui3nDialogComponentProps } from '../components/ui3n-dialog.vue';
2
+ import { Plugin, VNode, InjectionKey } from 'vue';
3
+
4
4
  export type DialogInstance = {
5
5
  id: string;
6
6
  el: HTMLDivElement;
@@ -1,5 +1,5 @@
1
- import { Plugin } from 'vue';
2
- import type { InjectionKey } from 'vue';
1
+ import { Plugin, InjectionKey } from 'vue';
2
+
3
3
  export interface I18nOptions {
4
4
  lang: string;
5
5
  messages: Record<string, Record<string, string>>;
@@ -1,2 +1,3 @@
1
1
  import { Plugin } from 'vue';
2
+
2
3
  export declare const useIcons: Plugin;
@@ -1,14 +1,11 @@
1
- import { i18n, I18N_KEY } from './i18n';
2
- import type { I18nOptions, I18nPlugin } from './i18n';
3
- import { useIcons } from './icons';
4
- import { notifications, NOTIFICATIONS_KEY } from './notifications';
5
- import type { NotificationsPlugin } from './notifications';
6
- import { vueBus, VUEBUS_KEY } from './vue-bus';
7
- import type { VueBusPlugin } from './vue-bus';
8
- import { dialogs, DIALOGS_KEY } from './dialogs';
9
- import type { DialogsPlugin } from './dialogs';
10
- import { storeI18n } from './store-i18n';
11
- import { storeNotifications } from './store-notifications';
12
- import { storeVueBus } from './store-vue-bus';
13
1
  import { storeDialogs } from './store-dialogs';
2
+ import { storeVueBus } from './store-vue-bus';
3
+ import { storeNotifications } from './store-notifications';
4
+ import { storeI18n } from './store-i18n';
5
+ import { dialogs, DIALOGS_KEY, DialogsPlugin } from './dialogs';
6
+ import { vueBus, VUEBUS_KEY, VueBusPlugin } from './vue-bus';
7
+ import { notifications, NOTIFICATIONS_KEY, NotificationsPlugin } from './notifications';
8
+ import { useIcons } from './icons';
9
+ import { i18n, I18N_KEY, I18nOptions, I18nPlugin } from './i18n';
10
+
14
11
  export { i18n, I18nOptions, I18nPlugin, I18N_KEY, useIcons, notifications, NotificationsPlugin, NOTIFICATIONS_KEY, vueBus, VueBusPlugin, VUEBUS_KEY, dialogs, DialogsPlugin, DIALOGS_KEY, storeI18n, storeNotifications, storeVueBus, storeDialogs, };
@@ -1,6 +1,6 @@
1
- import { Plugin } from 'vue';
2
- import type { InjectionKey } from 'vue';
3
1
  import { Ui3nNotificationProps } from '../constants';
2
+ import { Plugin, InjectionKey } from 'vue';
3
+
4
4
  export interface NotificationsPlugin {
5
5
  $createNotice: (params: Ui3nNotificationProps) => void;
6
6
  }
@@ -1,4 +1,5 @@
1
- import type { Ui3nDialogComponentProps } from '../components/ui3n-dialog.vue';
1
+ import { Ui3nDialogComponentProps } from '../components/ui3n-dialog.vue';
2
+
2
3
  export declare function storeDialogs(context: any): {
3
4
  $openDialog: (params: Ui3nDialogComponentProps) => void;
4
5
  };
@@ -1,4 +1,5 @@
1
- import type { Ui3nNotificationProps } from '../constants';
1
+ import { Ui3nNotificationProps } from '../constants';
2
+
2
3
  export declare function storeNotifications(context: any): {
3
4
  $createNotice: (params: Ui3nNotificationProps) => void;
4
5
  };
@@ -1,4 +1,5 @@
1
- import type { VueEventBus } from '../constants';
1
+ import { VueEventBus } from '../constants';
2
+
2
3
  export declare function storeVueBus(context: any): {
3
4
  $emitter: VueEventBus;
4
5
  };
@@ -1,6 +1,6 @@
1
- import { Plugin } from 'vue';
2
- import type { InjectionKey } from 'vue';
3
- import type { CbFunction, VueEventBus } from '../constants';
1
+ import { CbFunction, VueEventBus } from '../constants';
2
+ import { Plugin, InjectionKey } from 'vue';
3
+
4
4
  export interface VueBusPlugin {
5
5
  $emitter: VueEventBus;
6
6
  }