@v1nt1248/3nclient-lib 0.1.42 → 0.1.44

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 (33) hide show
  1. package/dist/components/ui3n-badge/ui3n-badge-simple.vue.d.ts +3 -1
  2. package/dist/components/ui3n-badge/ui3n-badge.vue.d.ts +2 -1
  3. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue.d.ts +3 -2
  4. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue.d.ts +3 -2
  5. package/dist/components/ui3n-button/ui3n-button.vue.d.ts +5 -2
  6. package/dist/components/ui3n-checkbox/ui3n-checkbox.vue.d.ts +5 -2
  7. package/dist/components/ui3n-chip/ui3n-chip.vue.d.ts +3 -2
  8. package/dist/components/ui3n-dialog/ui3n-dialog.vue.d.ts +2 -4
  9. package/dist/components/ui3n-drop-files/ui3n-drop-files.vue.d.ts +5 -2
  10. package/dist/components/ui3n-emoji/ui3n-emoji.vue.d.ts +3 -1
  11. package/dist/components/ui3n-icon/ui3n-icon.vue.d.ts +1 -1
  12. package/dist/components/ui3n-input/ui3n-input.vue.d.ts +4 -1
  13. package/dist/components/ui3n-list/ui3n-list.vue.d.ts +2 -4
  14. package/dist/components/ui3n-menu/ui3n-menu.vue.d.ts +7 -2
  15. package/dist/components/ui3n-notification/ui3n-notification.vue.d.ts +1 -1
  16. package/dist/components/ui3n-progress/ui3n-progress-circular.vue.d.ts +3 -1
  17. package/dist/components/ui3n-progress/ui3n-progress-linear.vue.d.ts +1 -1
  18. package/dist/components/ui3n-radio-group/ui3n-radio-group.vue.d.ts +3 -2
  19. package/dist/components/ui3n-radio-group/ui3n-radio.vue.d.ts +5 -2
  20. package/dist/components/ui3n-step-line-bar/ui3n-step-line-bar.vue.d.ts +1 -1
  21. package/dist/components/ui3n-switch/ui3n-switch.vue.d.ts +5 -2
  22. package/dist/components/ui3n-table/types.d.ts +3 -4
  23. package/dist/components/ui3n-table/ui3n-table.vue.d.ts +2 -4
  24. package/dist/components/ui3n-tabs/ui3n-tabs.vue.d.ts +5 -2
  25. package/dist/components/ui3n-text/ui3n-text.vue.d.ts +3 -1
  26. package/dist/components/ui3n-tooltip/ui3n-tooltip.vue.d.ts +7 -2
  27. package/dist/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue.d.ts +2 -4
  28. package/dist/ui3n-components.js +7 -7
  29. package/dist/v1nt1248-3nclient-lib-0.1.43-1.tgz +0 -0
  30. package/package.json +16 -16
  31. package/src/components/ui3n-radio-group/ui3n-radio.vue +20 -38
  32. package/src/components/ui3n-table/types.ts +3 -5
  33. package/src/components/ui3n-table/ui3n-table.vue +5 -2
@@ -14,5 +14,7 @@ declare const _default: import('vue').DefineComponent<Ui3nBadgeSimpleProps, {},
14
14
  textColor: string;
15
15
  value: string | number;
16
16
  dot: boolean;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
+ element: HTMLDivElement;
19
+ }, HTMLDivElement>;
18
20
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { Ui3nBadgeProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nBadgeProps> & Readonly<{}>, {
@@ -1,8 +1,9 @@
1
1
  import { Ui3nBreadcrumbProps, Ui3nBreadcrumbSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nBreadcrumbSlots> & Ui3nBreadcrumbSlots;
4
5
  refs: {};
5
- attrs: Partial<{}>;
6
+ rootEl: HTMLDivElement;
6
7
  };
7
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
9
  declare const __VLS_component: import('vue').DefineComponent<Ui3nBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -13,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nBreadcrumbProps
13
14
  disabled: boolean;
14
15
  separator: string;
15
16
  isActive: boolean;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
19
  export default _default;
19
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,16 +1,17 @@
1
1
  import { Ui3nBreadcrumbsProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {};
7
- attrs: Partial<{}>;
8
+ rootEl: HTMLDivElement;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nBreadcrumbsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nBreadcrumbsProps> & Readonly<{}>, {
11
12
  disabled: boolean;
12
13
  separator: string;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
16
  export default _default;
16
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,12 +1,13 @@
1
1
  import { Ui3nButtonProps } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: {
4
5
  default?(_: {}): any;
5
6
  };
6
7
  refs: {
7
8
  buttonEl: HTMLButtonElement;
8
9
  };
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLButtonElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import('vue').DefineComponent<Ui3nButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -26,7 +27,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nButtonProps, {}
26
27
  disabled: boolean;
27
28
  size: "regular" | "small";
28
29
  iconPosition: "left" | "right";
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ buttonEl: HTMLButtonElement;
32
+ }, HTMLButtonElement>;
30
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
34
  export default _default;
32
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,11 @@
1
1
  import { Ui3nCheckboxProps, Ui3nCheckboxSlots, Ui3nCheckboxValue } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nCheckboxSlots> & Ui3nCheckboxSlots;
4
5
  refs: {
5
6
  checkboxEl: HTMLDivElement;
6
7
  };
7
- attrs: Partial<{}>;
8
+ rootEl: HTMLDivElement;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nCheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -21,7 +22,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nCheckboxProps,
21
22
  checkedValue: Ui3nCheckboxValue;
22
23
  uncheckedValue: Ui3nCheckboxValue;
23
24
  indeterminate: boolean;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
+ checkboxEl: HTMLDivElement;
27
+ }, HTMLDivElement>;
25
28
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
29
  export default _default;
27
30
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,8 +1,9 @@
1
1
  import { Ui3nChipProps, Ui3nChipSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nChipSlots> & Ui3nChipSlots;
4
5
  refs: {};
5
- attrs: Partial<{}>;
6
+ rootEl: HTMLDivElement;
6
7
  };
7
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
9
  declare const __VLS_component: import('vue').DefineComponent<Ui3nChipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -18,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nChipProps, {},
18
19
  round: boolean;
19
20
  closeable: boolean;
20
21
  textSize: number | string;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
24
  export default _default;
24
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -8,14 +8,12 @@ declare const _default: <T extends Component>(__VLS_props: NonNullable<Awaited<t
8
8
  readonly "onBefore-close"?: ((value?: unknown) => any) | undefined;
9
9
  readonly onConfirm?: ((value?: unknown) => any) | undefined;
10
10
  readonly "onClick-overlay"?: ((value?: unknown) => any) | undefined;
11
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClose" | "onCancel" | "onOpen" | "onBefore-close" | "onConfirm" | "onClick-overlay"> & Ui3nDialogComponentProps<T>> & import('vue').PublicProps;
11
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClose" | "onCancel" | "onOpen" | "onBefore-close" | "onConfirm" | "onClick-overlay"> & Ui3nDialogComponentProps<T> & Partial<{}>> & import('vue').PublicProps;
12
12
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
13
13
  attrs: any;
14
14
  slots: {};
15
15
  emit: Ui3nDialogComponentEmits;
16
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
17
- [key: string]: any;
18
- }> & {
16
+ }>) => import('vue').VNode & {
19
17
  __ctx?: Awaited<typeof __VLS_setup>;
20
18
  };
21
19
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { Ui3nDropFilesProps, Ui3nDropFilesSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nDropFilesSlots> & Ui3nDropFilesSlots;
4
5
  refs: {
5
6
  wrapperElement: HTMLDivElement;
6
7
  };
7
- attrs: Partial<{}>;
8
+ rootEl: any;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nDropFilesProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -15,7 +16,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nDropFilesProps,
15
16
  title: string;
16
17
  text: string;
17
18
  additionalText: string;
18
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
20
+ wrapperElement: HTMLDivElement;
21
+ }, any>;
19
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
23
  export default _default;
21
24
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -6,5 +6,7 @@ declare const _default: import('vue').DefineComponent<Ui3nEmojiProps, {}, {}, {}
6
6
  }>, {
7
7
  size: string | number;
8
8
  readonly: boolean;
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
+ emojiElement: HTMLDivElement;
11
+ }, HTMLDivElement>;
10
12
  export default _default;
@@ -9,5 +9,5 @@ declare const _default: import('vue').DefineComponent<Ui3nIconProps, {}, {}, {},
9
9
  height: string | number;
10
10
  color: string;
11
11
  rotate: number;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
13
  export default _default;
@@ -10,5 +10,8 @@ declare const _default: import('vue').DefineComponent<Ui3nInputProps, {
10
10
  [x: string]: any;
11
11
  }, string, import('vue').PublicProps, Readonly<Ui3nInputProps> & Readonly<{
12
12
  [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
+ wrapperElement: HTMLDivElement;
15
+ inputElement: HTMLInputElement;
16
+ }, HTMLDivElement>;
14
17
  export default _default;
@@ -7,14 +7,12 @@ declare const _default: <T extends {
7
7
  value: T;
8
8
  index: number;
9
9
  }) => any) | undefined;
10
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect"> & Ui3nListProps<T>> & import('vue').PublicProps;
10
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect"> & Ui3nListProps<T> & Partial<{}>> & import('vue').PublicProps;
11
11
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
12
  attrs: any;
13
13
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
14
14
  emit: Ui3nListEmits<T>;
15
- }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
16
- [key: string]: any;
17
- }> & {
15
+ }>) => import('vue').VNode & {
18
16
  __ctx?: Awaited<typeof __VLS_setup>;
19
17
  };
20
18
  export default _default;
@@ -1,12 +1,13 @@
1
1
  import { Ui3nMenuProps, Ui3nMenuSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nMenuSlots> & Ui3nMenuSlots;
4
5
  refs: {
5
6
  menuElement: HTMLDivElement;
6
7
  menuTriggerElement: HTMLDivElement;
7
8
  menuContentElement: HTMLDivElement;
8
9
  };
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLDivElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -28,7 +29,11 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {},
28
29
  offsetY: number;
29
30
  closeOnClick: boolean;
30
31
  closeOnClickOutside: boolean;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ menuElement: HTMLDivElement;
34
+ menuTriggerElement: HTMLDivElement;
35
+ menuContentElement: HTMLDivElement;
36
+ }, HTMLDivElement>;
32
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
38
  export default _default;
34
39
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -6,5 +6,5 @@ declare const _default: import('vue').DefineComponent<Ui3nNotificationProps, {},
6
6
  onClose: () => void;
7
7
  onOpen: () => void;
8
8
  position: "left" | "center" | "right";
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
10
  export default _default;
@@ -4,5 +4,7 @@ declare const _default: import('vue').DefineComponent<Ui3nProgressCircularProps,
4
4
  size: number | string;
5
5
  bgColor: string;
6
6
  value: number | string;
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
+ element: HTMLDivElement;
9
+ }, HTMLDivElement>;
8
10
  export default _default;
@@ -4,5 +4,5 @@ declare const _default: import('vue').DefineComponent<Ui3nProgressLinearProps, {
4
4
  color: string;
5
5
  bgColor: string;
6
6
  value: number | string;
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
8
  export default _default;
@@ -1,8 +1,9 @@
1
1
  import { Ui3nRadioGroupProps, Ui3nRadioGroupSlots, Ui3nRadioValue } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nRadioGroupSlots> & Ui3nRadioGroupSlots;
4
5
  refs: {};
5
- attrs: Partial<{}>;
6
+ rootEl: HTMLDivElement;
6
7
  };
7
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
9
  declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -14,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioGroupProps
14
15
  }>, {
15
16
  disabled: boolean;
16
17
  direction: "horizontal" | "vertical";
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
20
  export default _default;
20
21
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,10 +1,11 @@
1
1
  import { Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioValue } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nRadioSlots> & Ui3nRadioSlots;
4
5
  refs: {
5
6
  radioEl: HTMLDivElement;
6
7
  };
7
- attrs: Partial<{}>;
8
+ rootEl: HTMLDivElement;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -20,7 +21,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {},
20
21
  modelValue: Ui3nRadioValue;
21
22
  checkedValue: Ui3nRadioValue;
22
23
  uncheckedValue: Ui3nRadioValue;
23
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
+ radioEl: HTMLDivElement;
26
+ }, HTMLDivElement>;
24
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
28
  export default _default;
26
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { Ui3nStepLineBarProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nStepLineBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nStepLineBarProps> & Readonly<{}>, {
3
3
  current: number;
4
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
5
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { Ui3nSwitchProps, Ui3nSwitchSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nSwitchSlots> & Ui3nSwitchSlots;
4
5
  refs: {
5
6
  switchEl: HTMLDivElement;
6
7
  };
7
- attrs: Partial<{}>;
8
+ rootEl: HTMLDivElement;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -17,7 +18,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {}
17
18
  color: string;
18
19
  disabled: boolean;
19
20
  size: number | string;
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ switchEl: HTMLDivElement;
23
+ }, HTMLDivElement>;
21
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
25
  export default _default;
23
26
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -45,9 +45,6 @@ export type Ui3nTableGroupActionsSlot = {
45
45
  export type Ui3nTableHeaderCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
46
46
  [p in `header-cell-${K}`]: () => VNode;
47
47
  };
48
- export type Ui3nTableBodyRowEventHandlers<T extends Ui3nTableBodyBaseItem> = {
49
- select: (row: T, withoutEvents?: boolean) => void;
50
- };
51
48
  export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
52
49
  row: T;
53
50
  rowStyle?: Record<string, string>;
@@ -56,7 +53,9 @@ export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends
56
53
  columnStyle?: {
57
54
  [P in Omit<K, 'id'> as string | number]: Record<string, string>;
58
55
  };
59
- eventHandlers?: Ui3nTableBodyRowEventHandlers<T>;
56
+ events?: {
57
+ select: (row: T, withoutEvents?: boolean) => void;
58
+ };
60
59
  };
61
60
  export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
62
61
  row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
@@ -3,14 +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').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T>> & import('vue').PublicProps;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange:sort" | "onSelect:row"> & Ui3nTableProps<T> & Partial<{}>> & import('vue').PublicProps;
7
7
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
8
  attrs: any;
9
9
  slots: Readonly<import('./types').Ui3nTableGroupActionsSlot & import('./types').Ui3nTableHeaderCellSlot<T, string & keyof T> & import('./types').Ui3nTableBodyRowSlot<T> & import('./types').Ui3nTableBodyRowCellSlot<T, string & keyof T>> & import('./types').Ui3nTableGroupActionsSlot & 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').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
- [key: string]: any;
13
- }> & {
11
+ }>) => import('vue').VNode & {
14
12
  __ctx?: Awaited<typeof __VLS_setup>;
15
13
  };
16
14
  export default _default;
@@ -1,10 +1,11 @@
1
1
  import { Ui3nTabsProps, Ui3nTabsSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nTabsSlots> & Ui3nTabsSlots;
4
5
  refs: {
5
6
  tabs: HTMLDivElement;
6
7
  };
7
- attrs: Partial<{}>;
8
+ rootEl: HTMLDivElement;
8
9
  };
9
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
11
  declare const __VLS_component: import('vue').DefineComponent<Ui3nTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -19,7 +20,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nTabsProps, {},
19
20
  indicatorColor: string;
20
21
  indicatorSize: number | string;
21
22
  indicatorPosition: "normal" | "reverse";
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ tabs: HTMLDivElement;
25
+ }, HTMLDivElement>;
23
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
27
  export default _default;
25
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -11,5 +11,7 @@ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {},
11
11
  placeholder: string;
12
12
  rows: number;
13
13
  maxRows: number;
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ textareaElement: HTMLTextAreaElement;
16
+ }, HTMLDivElement>;
15
17
  export default _default;
@@ -1,12 +1,13 @@
1
1
  import { Ui3nTooltipProps, Ui3nTooltipSlots } from './types';
2
2
  declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
3
4
  slots: Readonly<Ui3nTooltipSlots> & Ui3nTooltipSlots;
4
5
  refs: {
5
6
  referenceEl: HTMLDivElement;
6
7
  floatingEl: HTMLDivElement;
7
8
  floatingArrowEl: HTMLDivElement;
8
9
  };
9
- attrs: Partial<{}>;
10
+ rootEl: HTMLDivElement;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
13
  declare const __VLS_component: import('vue').DefineComponent<Ui3nTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
@@ -29,7 +30,11 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nTooltipProps, {
29
30
  offsetY: string | number;
30
31
  placement: import('./types').Ui3nTooltipPlacement;
31
32
  trigger: "click" | "hover" | "manual";
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
34
+ referenceEl: HTMLDivElement;
35
+ floatingEl: HTMLDivElement;
36
+ floatingArrowEl: HTMLDivElement;
37
+ }, HTMLDivElement>;
33
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
39
  export default _default;
35
40
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,14 +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').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & Ui3nVirtualScrollProps<T>> & import('vue').PublicProps;
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
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').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
- [key: string]: any;
12
- }> & {
10
+ }>) => import('vue').VNode & {
13
11
  __ctx?: Awaited<typeof __VLS_setup>;
14
12
  };
15
13
  export default _default;
@@ -12974,7 +12974,7 @@ const mf = /* @__PURE__ */ Eg({
12974
12974
  rowIndex: CA,
12975
12975
  isRowSelected: KA(h)(O),
12976
12976
  columnStyle: (W = x.config) == null ? void 0 : W.columnStyle,
12977
- "eventHandlers-": J
12977
+ events: J
12978
12978
  })
12979
12979
  ], 2);
12980
12980
  }), 128)) : (eA(!0), DA(AB, { key: 1 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
@@ -15383,7 +15383,11 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15383
15383
  h.value || (U.value = I.checkedValue, R(U.value));
15384
15384
  }
15385
15385
  return at(() => {
15386
- if (i.checkedIcon && !i.uncheckedIcon || !i.checkedIcon && i.uncheckedIcon)
15386
+ if (
15387
+ // @ts-ignore
15388
+ i.checkedIcon && !i.uncheckedIcon || // @ts-ignore
15389
+ !i.checkedIcon && i.uncheckedIcon
15390
+ )
15387
15391
  throw Error("[Ui3nRadio] Both checkedIcon and uncheckedIcon slots must have values ​​defined.");
15388
15392
  }), jg(() => {
15389
15393
  n.value && (n.value.style.setProperty("--ui3n-radio-size", `${I.size}px`), n.value.style.setProperty("--ui3n-radio-color", I.color));
@@ -15410,11 +15414,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15410
15414
  ), (J, x) => (eA(), DA("div", {
15411
15415
  ref_key: "radioEl",
15412
15416
  ref: n,
15413
- class: EA([
15414
- J.$style.ui3nRadio,
15415
- J.disabled && J.$style.disabled,
15416
- !KA(i).default && J.$style.noLabel
15417
- ])
15417
+ class: EA([J.$style.ui3nRadio, J.disabled && J.$style.disabled, !KA(i).default && J.$style.noLabel])
15418
15418
  }, [
15419
15419
  RA("div", {
15420
15420
  class: EA([J.$style.body, J.disabled && J.$style.bodyDisabled]),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.1.42",
5
+ "version": "0.1.44",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -60,19 +60,19 @@
60
60
  "vuedraggable": "4.1.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "pinia": "2.2.4",
64
- "vue": "3.5.12"
63
+ "pinia": "2.3.0",
64
+ "vue": "3.5.13"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/lodash": "4.17.12",
68
- "@types/node": "20.16.13",
68
+ "@types/node": "20.17.12",
69
69
  "@types/sanitize-html": "2.13.0",
70
70
  "@typescript-eslint/eslint-plugin": "8.0.1",
71
71
  "@typescript-eslint/parser": "8.0.1",
72
- "@vitejs/plugin-vue": "5.1.4",
73
- "@vue/compiler-core": "3.5.12",
72
+ "@vitejs/plugin-vue": "5.2.1",
73
+ "@vue/compiler-core": "3.5.13",
74
74
  "@vue/eslint-config-typescript": "13.0.0",
75
- "@vue/runtime-core": "3.5.12",
75
+ "@vue/runtime-core": "3.5.13",
76
76
  "@vuedx/typescript-plugin-vue": "0.7.6",
77
77
  "eslint": "9.9.0",
78
78
  "eslint-config-prettier": "^9.1.0",
@@ -83,7 +83,7 @@
83
83
  "eslint-plugin-vue": "9.27.0",
84
84
  "jackspeak": "4.0.1",
85
85
  "path": "0.12.7",
86
- "pinia": "2.2.4",
86
+ "pinia": "2.3.0",
87
87
  "postcss-html": "1.7.0",
88
88
  "prettier": "^3.3.3",
89
89
  "sass": "1.80.3",
@@ -92,16 +92,16 @@
92
92
  "stylelint-config-recommended-vue": "1.5.0",
93
93
  "stylelint-config-standard": "36.0.1",
94
94
  "stylelint-scss": "6.5.0",
95
- "typescript": "5.6.3",
96
- "vite": "5.4.9",
95
+ "typescript": "5.7.3",
96
+ "vite": "5.4.11",
97
97
  "vite-plugin-css-injected-by-js": "3.5.2",
98
- "vite-plugin-dts": "4.2.4",
99
- "vite-plugin-vue-devtools": "^7.5.2",
100
- "vitepress": "1.4.1",
101
- "vue": "3.5.12",
102
- "vue-tsc": "2.1.6"
98
+ "vite-plugin-dts": "4.5.0",
99
+ "vite-plugin-vue-devtools": "^7.7.0",
100
+ "vitepress": "1.5.0",
101
+ "vue": "3.5.13",
102
+ "vue-tsc": "2.2.0"
103
103
  },
104
- "packageManager": "pnpm@9.12.0",
104
+ "packageManager": "pnpm@9.15.3",
105
105
  "pnpm": {
106
106
  "peerDependencyRules": {
107
107
  "ignoreMissing": [
@@ -1,41 +1,25 @@
1
1
  <script lang="ts" setup>
2
- import {
3
- computed,
4
- getCurrentInstance,
5
- inject,
6
- onBeforeMount,
7
- onMounted,
8
- ref,
9
- useSlots,
10
- watch,
11
- } from 'vue';
2
+ import { computed, getCurrentInstance, inject, onBeforeMount, onMounted, ref, useSlots, watch } from 'vue';
12
3
  import type { Ref } from 'vue';
13
4
  import type { Nullable } from '../types';
14
- import type {
15
- Ui3nRadioEmits,
16
- Ui3nRadioProps,
17
- Ui3nRadioSlots,
18
- Ui3nRadioValue,
19
- } from './types';
20
-
21
- const props = withDefaults(
22
- defineProps<Ui3nRadioProps>(),
23
- {
24
- modelValue: false,
25
- checkedValue: true,
26
- uncheckedValue: false,
27
- size: '16',
28
- color: 'var(--color-icon-control-accent-default)',
29
- disabled: false,
30
- },
31
- );
5
+ import type { Ui3nRadioEmits, Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioValue } from './types';
6
+
7
+ const props = withDefaults(defineProps<Ui3nRadioProps>(), {
8
+ modelValue: false,
9
+ checkedValue: true,
10
+ uncheckedValue: false,
11
+ size: '16',
12
+ color: 'var(--color-icon-control-accent-default)',
13
+ disabled: false,
14
+ });
32
15
  const emits = defineEmits<Ui3nRadioEmits>();
33
16
  defineSlots<Ui3nRadioSlots>();
34
17
 
35
18
  const slots = useSlots();
36
19
 
37
20
  const instance = getCurrentInstance();
38
- const isComponentPartOfGroup = instance?.parent?.type.__name === 'Ui3nRadioGroup' || instance?.parent?.type.__name === 'ui3n-radio-group';
21
+ const isComponentPartOfGroup =
22
+ instance?.parent?.type.__name === 'Ui3nRadioGroup' || instance?.parent?.type.__name === 'ui3n-radio-group';
39
23
  const groupName = isComponentPartOfGroup ? instance?.parent?.props.name : '';
40
24
 
41
25
  const radioEl = ref<HTMLDivElement | null>(null);
@@ -49,9 +33,9 @@ const {
49
33
  } = groupName
50
34
  ? inject(`radio-group-${groupName}`)!
51
35
  : {
52
- groupValue: null,
53
- updateGroupValue: null,
54
- };
36
+ groupValue: null,
37
+ updateGroupValue: null,
38
+ };
55
39
 
56
40
  const val = ref<Ui3nRadioValue>(groupName ? groupValue!.value : props.modelValue);
57
41
 
@@ -74,7 +58,6 @@ function change(ev: Event) {
74
58
  val.value = props.checkedValue;
75
59
  updateGroupValue!(val.value);
76
60
 
77
-
78
61
  // if (groupName) {
79
62
  // isOn.value && updateGroupValue!(val.value);
80
63
  // } else {
@@ -85,7 +68,9 @@ function change(ev: Event) {
85
68
 
86
69
  onBeforeMount(() => {
87
70
  if (
71
+ // @ts-ignore
88
72
  (slots.checkedIcon && !slots.uncheckedIcon) ||
73
+ // @ts-ignore
89
74
  (!slots.checkedIcon && slots.uncheckedIcon)
90
75
  ) {
91
76
  throw Error('[Ui3nRadio] Both checkedIcon and uncheckedIcon slots must have values ​​defined.');
@@ -137,13 +122,10 @@ watch(
137
122
  </script>
138
123
 
139
124
  <template>
125
+ <!-- eslint-disable max-len -->
140
126
  <div
141
127
  ref="radioEl"
142
- :class="[
143
- $style.ui3nRadio,
144
- disabled && $style.disabled,
145
- !slots.default && $style.noLabel,
146
- ]"
128
+ :class="[$style.ui3nRadio, disabled && $style.disabled, !slots.default && $style.noLabel]"
147
129
  >
148
130
  <div
149
131
  :class="[$style.body, disabled && $style.bodyDisabled]"
@@ -53,17 +53,15 @@ export type Ui3nTableHeaderCellSlot<T extends Ui3nTableBodyBaseItem, K extends s
53
53
  [p in `header-cell-${K}`]: () => VNode;
54
54
  };
55
55
 
56
- export type Ui3nTableBodyRowEventHandlers<T extends Ui3nTableBodyBaseItem> = {
57
- select: (row: T, withoutEvents?: boolean) => void;
58
- };
59
-
60
56
  export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
61
57
  row: T;
62
58
  rowStyle?: Record<string, string>;
63
59
  rowIndex: number;
64
60
  isRowSelected?: boolean;
65
61
  columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
66
- eventHandlers?: Ui3nTableBodyRowEventHandlers<T>;
62
+ events?: {
63
+ select: (row: T, withoutEvents?: boolean) => void;
64
+ };
67
65
  };
68
66
 
69
67
  export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
@@ -64,7 +64,10 @@
64
64
  </ui3n-button>
65
65
  </div>
66
66
  <!-- table header -->
67
- <template v-for="h in visibleColumns" :key="h.key">
67
+ <template
68
+ v-for="h in visibleColumns"
69
+ :key="h.key"
70
+ >
68
71
  <div
69
72
  :class="[
70
73
  $style.headerItemWrapper,
@@ -108,7 +111,7 @@
108
111
  :row-index="rowIndex"
109
112
  :is-row-selected="isRowSelected(row)"
110
113
  :column-style="config?.columnStyle"
111
- :event-handlers-="eventHandlers"
114
+ :events="eventHandlers"
112
115
  />
113
116
  </div>
114
117
  </template>