@v1nt1248/3nclient-lib 0.2.87 → 0.2.88

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 (79) hide show
  1. package/dist/components/ui3n-autocomplete/types.d.ts +1 -1
  2. package/dist/components/ui3n-autocomplete/ui3n-autocomplete.vue.d.ts +3 -3
  3. package/dist/components/ui3n-badge/ui3n-badge-simple.vue.d.ts +3 -3
  4. package/dist/components/ui3n-badge/ui3n-badge.vue.d.ts +2 -2
  5. package/dist/components/ui3n-breadcrumbs/types.d.ts +1 -1
  6. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue.d.ts +3 -3
  7. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue.d.ts +2 -2
  8. package/dist/components/ui3n-button/ui3n-button.vue.d.ts +3 -3
  9. package/dist/components/ui3n-checkbox/types.d.ts +1 -1
  10. package/dist/components/ui3n-checkbox/ui3n-checkbox.vue.d.ts +3 -3
  11. package/dist/components/ui3n-chip/types.d.ts +1 -1
  12. package/dist/components/ui3n-chip/ui3n-chip.vue.d.ts +3 -3
  13. package/dist/components/ui3n-dialog/types.d.ts +2 -2
  14. package/dist/components/ui3n-dialog/ui3n-dialog-provider.vue.d.ts +3 -3
  15. package/dist/components/ui3n-dialog/ui3n-dialog.vue.d.ts +3 -3
  16. package/dist/components/ui3n-drop-files/types.d.ts +1 -1
  17. package/dist/components/ui3n-drop-files/ui3n-drop-files.vue.d.ts +3 -3
  18. package/dist/components/ui3n-editable/ui3n-editable.vue.d.ts +3 -3
  19. package/dist/components/ui3n-editable/useContentEditable.d.ts +2 -2
  20. package/dist/components/ui3n-emoji/ui3n-emoji.vue.d.ts +3 -3
  21. package/dist/components/ui3n-icon/ui3n-icon.vue.d.ts +3 -3
  22. package/dist/components/ui3n-input/ui3n-input.vue.d.ts +6 -6
  23. package/dist/components/ui3n-input-file/ui3n-input-file.vue.d.ts +3 -3
  24. package/dist/components/ui3n-list/types.d.ts +1 -1
  25. package/dist/components/ui3n-list/ui3n-list.vue.d.ts +3 -3
  26. package/dist/components/ui3n-menu/types.d.ts +1 -1
  27. package/dist/components/ui3n-menu/ui3n-menu.vue.d.ts +5 -5
  28. package/dist/components/ui3n-notification/ui3n-notification.vue.d.ts +2 -2
  29. package/dist/components/ui3n-progress/ui3n-progress-circular.vue.d.ts +2 -2
  30. package/dist/components/ui3n-progress/ui3n-progress-linear.vue.d.ts +2 -2
  31. package/dist/components/ui3n-radio-group/types.d.ts +1 -1
  32. package/dist/components/ui3n-radio-group/ui3n-radio-group.vue.d.ts +3 -3
  33. package/dist/components/ui3n-radio-group/ui3n-radio.vue.d.ts +3 -3
  34. package/dist/components/ui3n-slider/ui3n-slider.vue.d.ts +3 -3
  35. package/dist/components/ui3n-step-line-bar/ui3n-step-line-bar.vue.d.ts +2 -2
  36. package/dist/components/ui3n-switch/types.d.ts +1 -1
  37. package/dist/components/ui3n-switch/ui3n-switch.vue.d.ts +3 -3
  38. package/dist/components/ui3n-table/composables/useTable.d.ts +6 -6
  39. package/dist/components/ui3n-table/types.d.ts +1 -1
  40. package/dist/components/ui3n-table/ui3n-table-sort-icon.vue.d.ts +1 -1
  41. package/dist/components/ui3n-table/ui3n-table.vue.d.ts +3 -3
  42. package/dist/components/ui3n-tabs/types.d.ts +1 -1
  43. package/dist/components/ui3n-tabs/ui3n-tabs.vue.d.ts +3 -3
  44. package/dist/components/ui3n-text/ui3n-text.vue.d.ts +3 -3
  45. package/dist/components/ui3n-tooltip/types.d.ts +1 -1
  46. package/dist/components/ui3n-tooltip/ui3n-tooltip.vue.d.ts +3 -3
  47. package/dist/components/ui3n-virtual-scroll/types.d.ts +1 -1
  48. package/dist/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue.d.ts +3 -3
  49. package/dist/constants/index.d.ts +1 -0
  50. package/dist/constants/plugins-keys.d.ts +9 -0
  51. package/dist/directives/ui3n-click-outside.d.ts +1 -1
  52. package/dist/directives/ui3n-html.d.ts +1 -1
  53. package/dist/directives/ui3n-long-press.d.ts +1 -1
  54. package/dist/directives/ui3n-resize.d.ts +1 -1
  55. package/dist/directives/ui3n-ripple.d.ts +1 -1
  56. package/dist/directives/ui3n-title.d.ts +1 -1
  57. package/dist/index.d.ts +4 -4
  58. package/dist/plugins/dialogs/dialogs.d.ts +3 -15
  59. package/dist/plugins/dialogs/store-dialog.d.ts +2 -2
  60. package/dist/plugins/dialogs/types.d.ts +2 -3
  61. package/dist/plugins/i18n/i18n.d.ts +1 -1
  62. package/dist/plugins/i18n/types.d.ts +0 -2
  63. package/dist/plugins/index.d.ts +5 -5
  64. package/dist/plugins/notifications/notifications.d.ts +1 -1
  65. package/dist/plugins/notifications/types.d.ts +0 -2
  66. package/dist/plugins/vue-bus/types.d.ts +0 -2
  67. package/dist/plugins/vue-bus/vue-bus.d.ts +1 -1
  68. package/dist/types/components.types.d.ts +1 -1
  69. package/dist/types/directives.types.d.ts +1 -1
  70. package/dist/ui3n-components.d.ts +1 -1
  71. package/dist/ui3n-components.js +3316 -3337
  72. package/dist/ui3n-plugins.d.ts +6 -5
  73. package/dist/ui3n-plugins.js +675 -669
  74. package/dist/ui3n-utils.js +69 -65
  75. package/dist/utils/ui/has-slot-content.d.ts +1 -1
  76. package/package.json +1 -1
  77. package/src/components/ui3n-dialog/types.ts +1 -1
  78. package/src/components/ui3n-dialog/ui3n-dialog-provider.vue +6 -5
  79. package/src/components/ui3n-dialog/ui3n-dialog.vue +2 -0
@@ -8,17 +8,17 @@ declare function __VLS_template(): {
8
8
  rootEl: HTMLDivElement;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<Ui3nSwitchProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
11
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
12
  change: (value: boolean) => any;
13
13
  "update:modelValue": (value: boolean) => any;
14
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<Ui3nSwitchProps> & Readonly<{
14
+ }, string, import('vue').PublicProps, Readonly<Ui3nSwitchProps> & Readonly<{
15
15
  onChange?: ((value: boolean) => any) | undefined;
16
16
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
17
  }>, {
18
18
  size: number | string;
19
19
  color: string;
20
20
  disabled: boolean;
21
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
22
  switchEl: HTMLDivElement;
23
23
  }, HTMLDivElement>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,9 +1,9 @@
1
- import { Ref, UnwrapRef } from '../../../../vue/dist/vue.esm-bundler.js';
1
+ import { Ref, UnwrapRef } from 'vue';
2
2
  import { Ui3nTableBodyBaseItem, Ui3nTableConfig, Ui3nTableEmits, Ui3nTableProps } from '../types';
3
3
  import { Ui3nCheckboxValue } from '../../ui3n-checkbox/types';
4
4
  export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTableProps<T>, emits: Ui3nTableEmits<T>): {
5
5
  tableEl: Ref<HTMLDivElement | null, HTMLDivElement | null>;
6
- unusedPlaceCssStyle: import('../../../../vue/dist/vue.esm-bundler.js').ComputedRef<{
6
+ unusedPlaceCssStyle: import('vue').ComputedRef<{
7
7
  minHeight?: undefined;
8
8
  } | {
9
9
  minHeight: string;
@@ -21,12 +21,12 @@ export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTab
21
21
  } | undefined;
22
22
  fieldAsRowKey?: UnwrapRef<keyof T> | undefined;
23
23
  }>;
24
- visibleColumns: import('../../../../vue/dist/vue.esm-bundler.js').ComputedRef<import('../types').Ui3nTableHeadProps<T>[]>;
24
+ visibleColumns: import('vue').ComputedRef<import('../types').Ui3nTableHeadProps<T>[]>;
25
25
  hasGroupActionsRow: Ref<boolean, boolean>;
26
- showGroupActionsRow: import('../../../../vue/dist/vue.esm-bundler.js').ComputedRef<boolean>;
26
+ showGroupActionsRow: import('vue').ComputedRef<boolean>;
27
27
  selectedRows: Ref<Set<T> | T[keyof T][], Set<T> | T[keyof T][]>;
28
- selectedRowsArray: import('../../../../vue/dist/vue.esm-bundler.js').ComputedRef<T[]>;
29
- selectedRowsSize: import('../../../../vue/dist/vue.esm-bundler.js').ComputedRef<number>;
28
+ selectedRowsArray: import('vue').ComputedRef<T[]>;
29
+ selectedRowsSize: import('vue').ComputedRef<number>;
30
30
  closeGroupActionsRow: () => void;
31
31
  getRowKey: (row: T, index: number) => string | number;
32
32
  isRowSelected: (row: T) => boolean;
@@ -1,4 +1,4 @@
1
- import { VNode, Ref, ComputedRef } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { VNode, Ref, ComputedRef } from 'vue';
2
2
  export interface Ui3nTableBodyBaseItem {
3
3
  id?: string | number | symbol;
4
4
  }
@@ -1,3 +1,3 @@
1
1
  import { Ui3nTableSortIconProps } from './types';
2
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<Ui3nTableSortIconProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<Ui3nTableSortIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
2
+ declare const _default: import('vue').DefineComponent<Ui3nTableSortIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nTableSortIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
3
  export default _default;
@@ -3,12 +3,12 @@ declare const _default: <T extends Ui3nTableBodyBaseItem>(__VLS_props: NonNullab
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly "onChange:sort"?: ((val: import('./types').Ui3nTableSort<T>) => any) | undefined;
5
5
  readonly "onSelect:row"?: ((val: T[]) => any) | undefined;
6
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T> & Partial<{}>> & import('../../../vue/dist/vue.esm-bundler.js').PublicProps;
7
- expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<Ui3nTableExpose<T>>): void;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T> & Partial<{}>> & import('vue').PublicProps;
7
+ expose(exposed: import('vue').ShallowUnwrapRef<Ui3nTableExpose<T>>): void;
8
8
  attrs: any;
9
9
  slots: Readonly<import('./types').Ui3nTableOtherSlots & import('./types').Ui3nTableGroupActionsSlot<T> & import('./types').Ui3nTableHeaderCellSlot<T, string & keyof T> & import('./types').Ui3nTableBodyRowSlot<T> & import('./types').Ui3nTableBodyRowCellSlot<T, string & keyof T>> & import('./types').Ui3nTableOtherSlots & import('./types').Ui3nTableGroupActionsSlot<T> & import('./types').Ui3nTableHeaderCellSlot<T, string & keyof T> & import('./types').Ui3nTableBodyRowSlot<T> & import('./types').Ui3nTableBodyRowCellSlot<T, string & keyof T>;
10
10
  emit: Ui3nTableEmits<T>;
11
- }>) => import('../../../vue/dist/vue.esm-bundler.js').VNode & {
11
+ }>) => import('vue').VNode & {
12
12
  __ctx?: Awaited<typeof __VLS_setup>;
13
13
  };
14
14
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VNode } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { VNode } from 'vue';
2
2
  export interface Ui3nTabsProps {
3
3
  modelValue: number;
4
4
  itemDirection?: 'horizontal' | 'vertical';
@@ -8,9 +8,9 @@ declare function __VLS_template(): {
8
8
  rootEl: HTMLDivElement;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<Ui3nTabsProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
11
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
12
  "update:modelValue": (val: number) => any;
13
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<Ui3nTabsProps> & Readonly<{
13
+ }, string, import('vue').PublicProps, Readonly<Ui3nTabsProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
15
15
  }>, {
16
16
  modelValue: number;
@@ -20,7 +20,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
20
20
  indicatorColor: string;
21
21
  indicatorSize: number | string;
22
22
  indicatorPosition: "normal" | "reverse";
23
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
24
  tabs: HTMLDivElement;
25
25
  }, HTMLDivElement>;
26
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,5 +1,5 @@
1
1
  import { Ui3nTextProps } from './types';
2
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
2
+ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
3
  input: (value: string) => any;
4
4
  enter: (value: {
5
5
  value: string;
@@ -16,7 +16,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
16
16
  escape: (value: Event) => any;
17
17
  "update:valid": (value: boolean) => any;
18
18
  "update:text": (value: string) => any;
19
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<Ui3nTextProps> & Readonly<{
19
+ }, string, import('vue').PublicProps, Readonly<Ui3nTextProps> & Readonly<{
20
20
  onInput?: ((value: string) => any) | undefined;
21
21
  onEnter?: ((value: {
22
22
  value: string;
@@ -39,7 +39,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
39
39
  placeholder: string;
40
40
  rows: number;
41
41
  maxRows: number;
42
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
43
  textareaElement: HTMLTextAreaElement;
44
44
  }, HTMLDivElement>;
45
45
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VNode } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { VNode } from 'vue';
2
2
  export type Ui3nTooltipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
3
3
  export interface Ui3nTooltipProps {
4
4
  modelValue?: boolean;
@@ -9,13 +9,13 @@ declare function __VLS_template(): {
9
9
  rootEl: any;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<Ui3nTooltipProps, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
12
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
13
  close: () => any;
14
14
  "update:modelValue": (value: boolean) => any;
15
15
  open: () => any;
16
16
  opened: () => any;
17
17
  closed: () => any;
18
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<Ui3nTooltipProps> & Readonly<{
18
+ }, string, import('vue').PublicProps, Readonly<Ui3nTooltipProps> & Readonly<{
19
19
  onClose?: (() => any) | undefined;
20
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
21
  onOpen?: (() => any) | undefined;
@@ -30,7 +30,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
30
30
  offsetY: string | number;
31
31
  maxContentWidth: number | string;
32
32
  trigger: "click" | "hover" | "manual";
33
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
34
34
  floatingEl: HTMLDivElement;
35
35
  floatingArrowEl: HTMLDivElement;
36
36
  }, any>;
@@ -1,4 +1,4 @@
1
- import { VNode } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { VNode } from 'vue';
2
2
  export interface Ui3nVirtualScrollProps<T> {
3
3
  items: T[];
4
4
  minChildHeight: number;
@@ -2,12 +2,12 @@ import { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './types';
2
2
  declare const _default: <T extends {
3
3
  id?: string;
4
4
  }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, never>, never> & Ui3nVirtualScrollProps<T> & Partial<{}>> & import('../../../vue/dist/vue.esm-bundler.js').PublicProps;
6
- expose(exposed: import('../../../vue/dist/vue.esm-bundler.js').ShallowUnwrapRef<{}>): void;
5
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & Ui3nVirtualScrollProps<T> & Partial<{}>> & import('vue').PublicProps;
6
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Ui3nVirtualScrollSlots<T>> & Ui3nVirtualScrollSlots<T>;
9
9
  emit: {};
10
- }>) => import('../../../vue/dist/vue.esm-bundler.js').VNode & {
10
+ }>) => import('vue').VNode & {
11
11
  __ctx?: Awaited<typeof __VLS_setup>;
12
12
  };
13
13
  export default _default;
@@ -1,2 +1,3 @@
1
1
  export * from './general';
2
2
  export * from './emoticons';
3
+ export * from './plugins-keys';
@@ -0,0 +1,9 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { DialogsPlugin } from '../plugins/dialogs/types';
3
+ import { I18nPlugin } from '../plugins/i18n/types';
4
+ import { NotificationsPlugin } from '../plugins/notifications/types';
5
+ import { VueBusPlugin } from '../plugins/vue-bus/types';
6
+ export declare const DIALOGS_KEY: InjectionKey<DialogsPlugin>;
7
+ export declare const I18N_KEY: InjectionKey<I18nPlugin>;
8
+ export declare const NOTIFICATIONS_KEY: InjectionKey<NotificationsPlugin>;
9
+ export declare const VUEBUS_KEY: InjectionKey<VueBusPlugin<any>>;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { DirectiveBinding } from 'vue';
2
2
  type ClickOutside = (event: MouseEvent) => void;
3
3
  interface ExtendedHTMLElement extends HTMLElement {
4
4
  clickOutside: ClickOutside;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { DirectiveBinding } from 'vue';
2
2
  import { default as sanitizeHtml } from 'sanitize-html';
3
3
  export type Ui3nHtmlArg = 'sanitize';
4
4
  export interface Ui3nHtmlValue extends sanitizeHtml.IOptions {
@@ -1,4 +1,4 @@
1
- import { ObjectDirective } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { ObjectDirective } from 'vue';
2
2
  export type Ui3nLongPressBindingValue = {
3
3
  handler: (event: PointerEvent) => void;
4
4
  delay?: number;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { DirectiveBinding } from 'vue';
2
2
  export type Ui3nResizeCbArg = {
3
3
  left: number;
4
4
  top: number;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { DirectiveBinding } from 'vue';
2
2
  export interface Ui3nRippleDirectiveProps {
3
3
  color?: string;
4
4
  duration?: number;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { DirectiveBinding } from 'vue';
2
2
  export type Ui3nTitleDirectivePlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
3
3
  export interface Ui3nTitleDirectiveProps {
4
4
  text: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Component, Reactive } from '../vue/dist/vue.esm-bundler.js';
1
+ import { Component, Ref } from 'vue';
2
2
  import { default as Ui3nButton } from './components/ui3n-button/ui3n-button.vue';
3
3
  import { default as Ui3nChip } from './components/ui3n-chip/ui3n-chip.vue';
4
4
  import { default as Ui3nCheckbox } from './components/ui3n-checkbox/ui3n-checkbox.vue';
@@ -45,7 +45,7 @@ export * from './plugins';
45
45
  export * from './directives';
46
46
  export * from './components';
47
47
  export * from './types';
48
- declare module '../vue/dist/vue.esm-bundler.js' {
48
+ declare module 'vue' {
49
49
  interface ComponentCustomProperties {
50
50
  $openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
51
51
  event: Ui3nDialogEvent;
@@ -56,7 +56,7 @@ declare module '../vue/dist/vue.esm-bundler.js' {
56
56
  data?: V;
57
57
  }) => void;
58
58
  $closeDialogs: () => void;
59
- dialogStack: Reactive<DialogOptions<any>[]>;
59
+ dialogStack: Ref<DialogOptions<any>[]>;
60
60
  $createNotice: (params: Ui3nNotificationProps) => void;
61
61
  $locale: string;
62
62
  $tr: (key: string, placeholders?: Record<string, string>) => string;
@@ -115,7 +115,7 @@ declare module 'pinia' {
115
115
  data?: V;
116
116
  }) => void;
117
117
  closeAll: () => void;
118
- dialogStack: Reactive<DialogOptions<any>[]>;
118
+ dialogStack: Ref<DialogOptions<any>[]>;
119
119
  };
120
120
  $createNotice: (params: Ui3nNotificationProps) => void;
121
121
  $emitter: VueEventBus<any>;
@@ -1,25 +1,14 @@
1
- import { App, Component, Reactive } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { App, Ref } from 'vue';
2
+ import { ExtractComponentProps } from '../../types';
2
3
  import { DialogOptions } from './types';
3
4
  import { Ui3nDialogEvent } from '../../components/ui3n-dialog/types';
4
- import { ExtractComponentProps } from '../../types';
5
- export declare const dialogService: {
6
- $openDialog<V>(component: Component, props: ExtractComponentProps<Component>): Promise<{
7
- event: Ui3nDialogEvent;
8
- data?: V;
9
- }>;
10
- $closeDialog<V>(id: string, value: {
11
- event: Ui3nDialogEvent;
12
- data?: V;
13
- }): void;
14
- $closeDialogs(): void;
15
- readonly dialogStack: Reactive<DialogOptions<any>[]>;
16
- };
17
5
  declare const _default: {
18
6
  install(app: App): void;
19
7
  };
20
8
  export default _default;
21
9
  declare module '@vue/runtime-core' {
22
10
  interface ComponentCustomProperties {
11
+ dialogStack: Ref<DialogOptions<any>[]>;
23
12
  $openDialog: <V>(component: Component, props: ExtractComponentProps<Component>) => Promise<{
24
13
  event: Ui3nDialogEvent;
25
14
  data?: V;
@@ -29,6 +18,5 @@ declare module '@vue/runtime-core' {
29
18
  data?: V;
30
19
  }) => void;
31
20
  $closeDialogs: () => void;
32
- dialogStack: Reactive<DialogOptions<any>[]>;
33
21
  }
34
22
  }
@@ -1,4 +1,4 @@
1
- import { Component, Reactive } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { Component, Ref } from 'vue';
2
2
  import { ExtractComponentProps } from '../../types';
3
3
  import { Ui3nDialogEvent } from '../../components/ui3n-dialog/types';
4
4
  import { DialogOptions } from './types';
@@ -13,6 +13,6 @@ export declare function storeDialogs(context: any): {
13
13
  data?: V;
14
14
  }) => void;
15
15
  closeAll: () => void;
16
- dialogStack: Reactive<DialogOptions<any>[]>;
16
+ dialogStack: Ref<DialogOptions<any>[]>;
17
17
  };
18
18
  };
@@ -1,4 +1,4 @@
1
- import { Component, InjectionKey, Reactive } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { Component, Ref } from 'vue';
2
2
  import { ExtractComponentProps } from '../../types';
3
3
  import { Ui3nDialogEvent } from '../../components/ui3n-dialog/types';
4
4
  export interface DialogOptions<V> {
@@ -20,6 +20,5 @@ export interface DialogsPlugin {
20
20
  data?: V;
21
21
  }) => void;
22
22
  $closeDialogs: () => void;
23
- dialogStack: Reactive<DialogOptions<any>[]>;
23
+ dialogStack: Ref<DialogOptions<any>[]>;
24
24
  }
25
- export declare const DIALOGS_KEY: InjectionKey<DialogsPlugin>;
@@ -1,4 +1,4 @@
1
- import { Plugin } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { Plugin } from 'vue';
2
2
  export declare const i18n: Plugin;
3
3
  declare module '@vue/runtime-core' {
4
4
  interface ComponentCustomProperties {
@@ -1,4 +1,3 @@
1
- import { InjectionKey } from '../../../vue/dist/vue.esm-bundler.js';
2
1
  export interface I18nOptions {
3
2
  lang: string;
4
3
  messages: Record<string, Record<string, string>>;
@@ -8,4 +7,3 @@ export interface I18nPlugin {
8
7
  $tr: (key: string, placeholders?: Record<string, string>) => string;
9
8
  $changeLocale: (lang: string) => void;
10
9
  }
11
- export declare const I18N_KEY: InjectionKey<I18nPlugin>;
@@ -1,13 +1,13 @@
1
1
  import { i18n } from './i18n/i18n';
2
- import { I18N_KEY, I18nOptions, I18nPlugin } from './i18n/types';
2
+ import { I18nOptions, I18nPlugin } from './i18n/types';
3
3
  import { notifications } from './notifications/notifications';
4
- import { NOTIFICATIONS_KEY, NotificationsPlugin } from './notifications/types';
4
+ import { NotificationsPlugin } from './notifications/types';
5
5
  import { vueBus } from './vue-bus/vue-bus';
6
- import { VUEBUS_KEY, VueBusPlugin } from './vue-bus/types';
6
+ import { VueBusPlugin } from './vue-bus/types';
7
7
  import { default as dialogs } from './dialogs/dialogs';
8
- import { DIALOGS_KEY, DialogsPlugin, DialogOptions } from './dialogs/types';
8
+ import { DialogsPlugin, DialogOptions } from './dialogs/types';
9
9
  import { storeI18n } from './i18n/store-i18n';
10
10
  import { storeNotifications } from './notifications/store-notifications';
11
11
  import { storeVueBus } from './vue-bus/store-vue-bus';
12
12
  import { storeDialogs } from './dialogs/store-dialog';
13
- export { i18n, I18nOptions, I18nPlugin, I18N_KEY, notifications, NotificationsPlugin, NOTIFICATIONS_KEY, vueBus, VueBusPlugin, VUEBUS_KEY, dialogs, DialogsPlugin, DialogOptions, DIALOGS_KEY, storeI18n, storeNotifications, storeVueBus, storeDialogs, };
13
+ export { i18n, I18nOptions, I18nPlugin, notifications, NotificationsPlugin, vueBus, VueBusPlugin, dialogs, DialogsPlugin, DialogOptions, storeI18n, storeNotifications, storeVueBus, storeDialogs, };
@@ -1,4 +1,4 @@
1
- import { Plugin } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { Plugin } from 'vue';
2
2
  import { Ui3nNotificationProps } from '../../components/ui3n-notification/types';
3
3
  export declare const notifications: Plugin;
4
4
  declare module '@vue/runtime-core' {
@@ -1,6 +1,4 @@
1
- import { InjectionKey } from '../../../vue/dist/vue.esm-bundler.js';
2
1
  import { Ui3nNotificationProps } from '../../components/ui3n-notification/types';
3
2
  export interface NotificationsPlugin {
4
3
  $createNotice: (params: Ui3nNotificationProps) => void;
5
4
  }
6
- export declare const NOTIFICATIONS_KEY: InjectionKey<NotificationsPlugin>;
@@ -1,4 +1,3 @@
1
- import { InjectionKey } from '../../../vue/dist/vue.esm-bundler.js';
2
1
  export type CbFunction<T> = (arg: T) => void;
3
2
  export interface VueEventBus<T extends object> {
4
3
  on: <Ev extends keyof T>(type: Ev, handler: CbFunction<T[Ev]>) => void;
@@ -10,4 +9,3 @@ export interface VueEventBus<T extends object> {
10
9
  export interface VueBusPlugin<T extends object> {
11
10
  $emitter: VueEventBus<T>;
12
11
  }
13
- export declare const VUEBUS_KEY: InjectionKey<VueBusPlugin<any>>;
@@ -1,4 +1,4 @@
1
- import { Plugin } from '../../../vue/dist/vue.esm-bundler.js';
1
+ import { Plugin } from 'vue';
2
2
  import { VueEventBus } from './types';
3
3
  export declare const vueBus: Plugin;
4
4
  declare module '@vue/runtime-core' {
@@ -1,4 +1,4 @@
1
- import { VNodeProps, AllowedComponentProps } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { VNodeProps, AllowedComponentProps } from 'vue';
2
2
  export type ExtractComponentProps<TComponent> = TComponent extends new () => {
3
3
  $props: infer P;
4
4
  } ? Omit<P, keyof VNodeProps | keyof AllowedComponentProps> : never;
@@ -1,4 +1,4 @@
1
- import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter } from '../../vue/dist/vue.esm-bundler.js';
1
+ import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter } from 'vue';
2
2
  export type Fn = () => void;
3
3
  export type VueInstance = ComponentPublicInstance;
4
4
  export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
@@ -38,7 +38,7 @@ export * from './directives';
38
38
  export * from './components';
39
39
  export * from './composables';
40
40
  export * from './types';
41
- declare module '../vue/dist/vue.esm-bundler.js' {
41
+ declare module 'vue' {
42
42
  interface GlobalComponents {
43
43
  Ui3nAutocomplete: typeof Ui3nAutocomplete;
44
44
  Ui3nBadge: typeof Ui3nBadge;