@v1nt1248/3nclient-lib 0.3.28 → 0.3.29

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 (111) hide show
  1. package/dist/chunks/ui3n-notification-Dr_3Td9N.js +279 -0
  2. package/dist/components/index.d.ts +12 -12
  3. package/dist/components/ui3n-autocomplete/types.d.ts +8 -0
  4. package/dist/components/ui3n-autocomplete/ui3n-autocomplete.d.ts +2 -2
  5. package/dist/components/ui3n-badge/types.d.ts +12 -0
  6. package/dist/components/ui3n-badge/ui3n-badge-simple.d.ts +1 -1
  7. package/dist/components/ui3n-badge/ui3n-badge.d.ts +1 -1
  8. package/dist/components/ui3n-breadcrumbs/types.d.ts +1 -1
  9. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumb.d.ts +2 -2
  10. package/dist/components/ui3n-button/types.d.ts +4 -2
  11. package/dist/components/ui3n-checkbox/types.d.ts +11 -0
  12. package/dist/components/ui3n-checkbox/ui3n-checkbox.d.ts +4 -1
  13. package/dist/components/ui3n-chip/types.d.ts +6 -1
  14. package/dist/components/ui3n-chip/ui3n-chip.d.ts +2 -0
  15. package/dist/components/ui3n-drop-files/types.d.ts +7 -0
  16. package/dist/components/ui3n-drop-files/ui3n-drop-files.d.ts +7 -1
  17. package/dist/components/ui3n-editable/types.d.ts +11 -0
  18. package/dist/components/ui3n-editable/ui3n-editable.d.ts +4 -2
  19. package/dist/components/ui3n-icon/types.d.ts +5 -1
  20. package/dist/components/ui3n-icon/ui3n-icon.d.ts +2 -2
  21. package/dist/components/ui3n-input/types.d.ts +4 -0
  22. package/dist/components/ui3n-input/ui3n-input.d.ts +4 -1
  23. package/dist/components/ui3n-input-file/types.d.ts +11 -0
  24. package/dist/components/ui3n-input-file/ui3n-input-file.d.ts +4 -1
  25. package/dist/components/ui3n-list/types.d.ts +4 -0
  26. package/dist/components/ui3n-menu/types.d.ts +4 -0
  27. package/dist/components/ui3n-menu/ui3n-menu.d.ts +1 -1
  28. package/dist/components/ui3n-notification/ui3n-notification.d.ts +2 -2
  29. package/dist/components/ui3n-progress/ui3n-progress-circular.d.ts +1 -1
  30. package/dist/components/ui3n-progress/ui3n-progress-linear.d.ts +1 -1
  31. package/dist/components/ui3n-radio-group/types.d.ts +18 -0
  32. package/dist/components/ui3n-radio-group/ui3n-radio-group.d.ts +3 -1
  33. package/dist/components/ui3n-radio-group/ui3n-radio.d.ts +6 -7
  34. package/dist/components/ui3n-scrollbar-vertical/types.d.ts +2 -0
  35. package/dist/components/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical.d.ts +2 -0
  36. package/dist/components/ui3n-selector/types.d.ts +11 -0
  37. package/dist/components/ui3n-selector/ui3n-selector.d.ts +2 -2
  38. package/dist/components/ui3n-slider/types.d.ts +11 -0
  39. package/dist/components/ui3n-slider/ui3n-slider.d.ts +4 -1
  40. package/dist/components/ui3n-step-line-bar/types.d.ts +4 -0
  41. package/dist/components/ui3n-switch/types.d.ts +11 -0
  42. package/dist/components/ui3n-switch/ui3n-switch.d.ts +4 -1
  43. package/dist/components/ui3n-table/composables/useTable.d.ts +1 -0
  44. package/dist/components/ui3n-table/types.d.ts +4 -0
  45. package/dist/components/ui3n-table/ui3n-table-sort-icon.d.ts +4 -1
  46. package/dist/components/ui3n-tabs/types.d.ts +4 -0
  47. package/dist/components/ui3n-text/types.d.ts +11 -0
  48. package/dist/components/ui3n-text/ui3n-text.d.ts +4 -1
  49. package/dist/components/ui3n-tooltip/types.d.ts +4 -0
  50. package/dist/components/ui3n-tooltip/ui3n-tooltip.d.ts +4 -2
  51. package/dist/style.css +1 -1
  52. package/dist/ui3n-components.js +2066 -1690
  53. package/dist/ui3n-plugins.js +1 -1
  54. package/package.json +1 -1
  55. package/src/components/index.ts +29 -7
  56. package/src/components/ui3n-autocomplete/types.ts +9 -1
  57. package/src/components/ui3n-autocomplete/ui3n-autocomplete.vue +182 -51
  58. package/src/components/ui3n-badge/types.ts +10 -0
  59. package/src/components/ui3n-badge/ui3n-badge-simple.vue +54 -55
  60. package/src/components/ui3n-badge/ui3n-badge.vue +4 -0
  61. package/src/components/ui3n-breadcrumbs/types.ts +1 -1
  62. package/src/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue +7 -5
  63. package/src/components/ui3n-button/types.ts +4 -2
  64. package/src/components/ui3n-button/ui3n-button.vue +24 -19
  65. package/src/components/ui3n-checkbox/types.ts +12 -0
  66. package/src/components/ui3n-checkbox/ui3n-checkbox.vue +79 -29
  67. package/src/components/ui3n-chip/types.ts +6 -1
  68. package/src/components/ui3n-chip/ui3n-chip.vue +64 -61
  69. package/src/components/ui3n-dialog/ui3n-dialog.vue +3 -3
  70. package/src/components/ui3n-drop-files/types.ts +8 -0
  71. package/src/components/ui3n-drop-files/ui3n-drop-files.vue +73 -29
  72. package/src/components/ui3n-editable/types.ts +12 -0
  73. package/src/components/ui3n-editable/ui3n-editable.vue +56 -24
  74. package/src/components/ui3n-icon/types.ts +5 -1
  75. package/src/components/ui3n-icon/ui3n-icon.vue +45 -50
  76. package/src/components/ui3n-input/types.ts +4 -0
  77. package/src/components/ui3n-input/ui3n-input.vue +14 -1
  78. package/src/components/ui3n-input-file/types.ts +12 -0
  79. package/src/components/ui3n-input-file/ui3n-input-file.vue +33 -16
  80. package/src/components/ui3n-list/types.ts +4 -0
  81. package/src/components/ui3n-list/ui3n-list.vue +3 -1
  82. package/src/components/ui3n-menu/types.ts +4 -0
  83. package/src/components/ui3n-menu/ui3n-menu.vue +43 -32
  84. package/src/components/ui3n-notification/ui3n-notification.vue +190 -175
  85. package/src/components/ui3n-progress/ui3n-progress-circular.vue +40 -22
  86. package/src/components/ui3n-progress/ui3n-progress-linear.vue +14 -7
  87. package/src/components/ui3n-radio-group/types.ts +20 -0
  88. package/src/components/ui3n-radio-group/ui3n-radio-group.vue +61 -48
  89. package/src/components/ui3n-radio-group/ui3n-radio.vue +60 -65
  90. package/src/components/ui3n-scrollbar-vertical/types.ts +2 -0
  91. package/src/components/ui3n-scrollbar-vertical/ui3n-scrollbar-vertical.vue +4 -4
  92. package/src/components/ui3n-selector/types.ts +12 -0
  93. package/src/components/ui3n-selector/ui3n-selector.vue +63 -40
  94. package/src/components/ui3n-slider/types.ts +12 -0
  95. package/src/components/ui3n-slider/ui3n-slider.vue +88 -39
  96. package/src/components/ui3n-step-line-bar/types.ts +4 -0
  97. package/src/components/ui3n-step-line-bar/ui3n-step-line-bar.vue +8 -10
  98. package/src/components/ui3n-switch/types.ts +12 -0
  99. package/src/components/ui3n-switch/ui3n-switch.vue +57 -25
  100. package/src/components/ui3n-table/composables/useTable.ts +17 -0
  101. package/src/components/ui3n-table/types.ts +4 -0
  102. package/src/components/ui3n-table/ui3n-table-sort-icon.vue +9 -8
  103. package/src/components/ui3n-table/ui3n-table.vue +48 -17
  104. package/src/components/ui3n-tabs/types.ts +4 -0
  105. package/src/components/ui3n-tabs/ui3n-tabs.vue +146 -108
  106. package/src/components/ui3n-text/types.ts +12 -0
  107. package/src/components/ui3n-text/ui3n-text.vue +56 -15
  108. package/src/components/ui3n-tooltip/types.ts +4 -0
  109. package/src/components/ui3n-tooltip/ui3n-tooltip.vue +61 -43
  110. package/src/components/ui3n-virtual-scroll/ui3n-virtual-scroll.vue +201 -17
  111. package/dist/chunks/ui3n-notification-DlDM-u-R.js +0 -276
@@ -1,8 +1,8 @@
1
1
  import { Ui3nIconProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
- click: (value: Event) => any;
3
+ click: (value: MouseEvent) => any;
4
4
  }, string, import('vue').PublicProps, Readonly<Ui3nIconProps> & Readonly<{
5
- onClick?: ((value: Event) => any) | undefined;
5
+ onClick?: ((value: MouseEvent) => any) | undefined;
6
6
  }>, {
7
7
  title: string;
8
8
  color: string;
@@ -1,5 +1,9 @@
1
1
  import { Ref, VNode } from 'vue';
2
2
  export interface Ui3nInputProps {
3
+ /**
4
+ * Root element id
5
+ */
6
+ id?: string;
3
7
  /**
4
8
  * Input value
5
9
  */
@@ -54,11 +54,14 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nInputProps, {
54
54
  type: "text" | "password";
55
55
  label: string;
56
56
  disabled: boolean;
57
+ autofocus: boolean;
58
+ name: string;
57
59
  placeholder: string;
58
60
  modelValue: string;
59
61
  readonly: boolean;
60
62
  clearable: boolean;
61
- autofocus: boolean;
63
+ maxlength: number;
64
+ minlength: number;
62
65
  autocomplete: string;
63
66
  rules: Array<(v: unknown) => boolean | string>;
64
67
  validateAtStartup: boolean;
@@ -1,5 +1,13 @@
1
1
  import { VNode } from 'vue';
2
2
  export interface Ui3nInputFileProps {
3
+ /**
4
+ * Root element id
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Input name attribute (for use in native forms)
9
+ */
10
+ name?: string;
3
11
  /**
4
12
  * Selected files
5
13
  */
@@ -47,3 +55,6 @@ export interface Ui3nInputFileSlots {
47
55
  */
48
56
  default: () => VNode;
49
57
  }
58
+ export interface Ui3nInputFileExpose {
59
+ clear: () => void;
60
+ }
@@ -8,13 +8,16 @@ 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').DefineComponent<Ui3nInputFileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nInputFileProps, {
12
+ clear: () => void;
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
14
  error: (value: string) => any;
13
15
  "update:modelValue": (value: FileList | File[]) => any;
14
16
  }, string, import('vue').PublicProps, Readonly<Ui3nInputFileProps> & Readonly<{
15
17
  onError?: ((value: string) => any) | undefined;
16
18
  "onUpdate:modelValue"?: ((value: FileList | File[]) => any) | undefined;
17
19
  }>, {
20
+ name: string;
18
21
  modelValue: File[] | FileList;
19
22
  buttonText: string;
20
23
  allowedFileTypes: string;
@@ -3,6 +3,10 @@ import { VNode } from 'vue';
3
3
  * List component properties
4
4
  */
5
5
  export interface Ui3nListProps<T> {
6
+ /**
7
+ * Root element id
8
+ */
9
+ id?: string;
6
10
  /**
7
11
  * List title
8
12
  */
@@ -3,6 +3,10 @@ import { Ref, VNode } from 'vue';
3
3
  * Menu component properties
4
4
  */
5
5
  export interface Ui3nMenuProps {
6
+ /**
7
+ * Root element id
8
+ */
9
+ id?: string;
6
10
  /**
7
11
  * Menu open state
8
12
  */
@@ -29,9 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nMenuProps, {
29
29
  "onClick-outside"?: (() => any) | undefined;
30
30
  }>, {
31
31
  disabled: boolean;
32
- positionStrategy: "absolute" | "fixed";
33
32
  offsetX: number;
34
33
  offsetY: number;
34
+ positionStrategy: "absolute" | "fixed";
35
35
  allowFlip: boolean;
36
36
  contentBorderRadius: number | number[];
37
37
  zIndex: number;
@@ -2,9 +2,9 @@ import { Ui3nNotificationProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nNotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nNotificationProps> & Readonly<{}>, {
3
3
  type: "success" | "warning" | "info" | "error";
4
4
  duration: number;
5
- withIcon: boolean;
6
5
  onClose: () => void;
6
+ withIcon: boolean;
7
7
  position: "left" | "center" | "right";
8
8
  onOpen: () => void;
9
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
10
  export default _default;
@@ -2,8 +2,8 @@ import { Ui3nProgressCircularProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nProgressCircularProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nProgressCircularProps> & Readonly<{}>, {
3
3
  size: number | string;
4
4
  color: string;
5
- bgColor: string;
6
5
  value: number | string;
6
+ bgColor: string;
7
7
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
8
  element: HTMLDivElement;
9
9
  }, HTMLDivElement>;
@@ -2,7 +2,7 @@ import { Ui3nProgressLinearProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<Ui3nProgressLinearProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nProgressLinearProps> & Readonly<{}>, {
3
3
  height: number | string;
4
4
  color: string;
5
- bgColor: string;
6
5
  value: number | string;
6
+ bgColor: string;
7
7
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
8
  export default _default;
@@ -7,6 +7,14 @@ export type Ui3nRadioValue = boolean | string | number;
7
7
  * Radio component properties
8
8
  */
9
9
  export interface Ui3nRadioProps {
10
+ /**
11
+ * Root element id
12
+ */
13
+ id?: string;
14
+ /**
15
+ * HTML name attribute for form submission (used if radio is outside a group)
16
+ */
17
+ name?: string;
10
18
  /**
11
19
  * Current radio value
12
20
  */
@@ -46,6 +54,9 @@ export interface Ui3nRadioEmits {
46
54
  */
47
55
  (ev: 'update:modelValue', value: Ui3nRadioValue): void;
48
56
  }
57
+ export interface Ui3nRadioExpose {
58
+ clear: () => void;
59
+ }
49
60
  /**
50
61
  * Radio component slots
51
62
  */
@@ -67,6 +78,10 @@ export interface Ui3nRadioSlots {
67
78
  * Radio group component properties
68
79
  */
69
80
  export interface Ui3nRadioGroupProps {
81
+ /**
82
+ * Root element id
83
+ */
84
+ id?: string;
70
85
  /**
71
86
  * Radio group name
72
87
  */
@@ -108,3 +123,6 @@ export interface Ui3nRadioGroupSlots {
108
123
  */
109
124
  default: () => VNode;
110
125
  }
126
+ export interface Ui3nRadioGroupExpose {
127
+ clear: () => void;
128
+ }
@@ -6,7 +6,9 @@ declare function __VLS_template(): {
6
6
  rootEl: HTMLDivElement;
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioGroupProps, {
10
+ clear: () => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
12
  change: (value: Ui3nRadioValue) => any;
11
13
  "update:modelValue": (value: Ui3nRadioValue) => any;
12
14
  }, string, import('vue').PublicProps, Readonly<Ui3nRadioGroupProps> & Readonly<{
@@ -2,13 +2,13 @@ import { Ui3nRadioProps, Ui3nRadioSlots, Ui3nRadioValue } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<Ui3nRadioSlots> & Ui3nRadioSlots;
5
- refs: {
6
- radioEl: HTMLDivElement;
7
- };
5
+ refs: {};
8
6
  rootEl: any;
9
7
  };
10
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {
10
+ clear: () => void;
11
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
12
  change: (value: Ui3nRadioValue) => any;
13
13
  "update:modelValue": (value: Ui3nRadioValue) => any;
14
14
  }, string, import('vue').PublicProps, Readonly<Ui3nRadioProps> & Readonly<{
@@ -18,12 +18,11 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nRadioProps, {},
18
18
  size: number | string;
19
19
  color: string;
20
20
  disabled: boolean;
21
+ name: string;
21
22
  modelValue: Ui3nRadioValue;
22
23
  checkedValue: Ui3nRadioValue;
23
24
  uncheckedValue: Ui3nRadioValue;
24
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
- radioEl: HTMLDivElement;
26
- }, any>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
27
  export default _default;
29
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -12,6 +12,7 @@ export interface Ui3nScrollbarVerticalProps {
12
12
  trackWidth?: number;
13
13
  trackRadius?: number | string;
14
14
  trackColor?: string;
15
+ autoUpdate?: boolean;
15
16
  }
16
17
  /**
17
18
  * ScrollbarVertical component emits
@@ -31,4 +32,5 @@ export interface Ui3nScrollbarVerticalSlots {
31
32
  export interface Ui3nScrollbarVerticalExpose {
32
33
  scrollTo(options: ScrollToOptions): void;
33
34
  getContainer(): HTMLDivElement;
35
+ updateMetrics(): void;
34
36
  }
@@ -13,6 +13,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
13
  declare const __VLS_component: import('vue').DefineComponent<Ui3nScrollbarVerticalProps, {
14
14
  scrollTo(options: ScrollToOptions): void;
15
15
  getContainer(): HTMLDivElement;
16
+ updateMetrics(): void;
16
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
18
  scroll: (value: Event) => any;
18
19
  }, string, import('vue').PublicProps, Readonly<Ui3nScrollbarVerticalProps> & Readonly<{
@@ -27,6 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nScrollbarVertic
27
28
  trackWidth: number;
28
29
  trackRadius: number | string;
29
30
  trackColor: string;
31
+ autoUpdate: boolean;
30
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
33
  containerRef: HTMLDivElement;
32
34
  trackRef: HTMLDivElement;
@@ -22,6 +22,14 @@ export type Ui3nSelectorValue<T extends Ui3nSelectorOptionBase> = T | T[keyof T]
22
22
  * Selector component properties
23
23
  */
24
24
  export interface Ui3nSelectorProps<T extends Ui3nSelectorOptionBase> {
25
+ /**
26
+ * Root element id
27
+ */
28
+ id?: string;
29
+ /**
30
+ * HTML name attribute for form submission
31
+ */
32
+ name?: string;
25
33
  /**
26
34
  * Current selector value
27
35
  */
@@ -138,3 +146,6 @@ export interface Ui3nSelectorSlots<T extends Ui3nSelectorOptionBase> {
138
146
  selectedItem: T | undefined;
139
147
  }) => VNode;
140
148
  }
149
+ export interface Ui3nSelectorExpose {
150
+ clear: () => void;
151
+ }
@@ -1,9 +1,9 @@
1
- import { Ui3nSelectorOptionBase, Ui3nSelectorProps, Ui3nSelectorEmits, Ui3nSelectorSlots } from './types';
1
+ import { Ui3nSelectorOptionBase, Ui3nSelectorProps, Ui3nSelectorEmits, Ui3nSelectorSlots, Ui3nSelectorExpose } from './types';
2
2
  declare const _default: <T extends Ui3nSelectorOptionBase>(__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<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
5
5
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, `on${Capitalize<any>}`> & Ui3nSelectorProps<T> & Partial<{}>> & import('vue').PublicProps;
6
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
6
+ expose(exposed: import('vue').ShallowUnwrapRef<Ui3nSelectorExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Ui3nSelectorSlots<T>> & Ui3nSelectorSlots<T>;
9
9
  emit: Ui3nSelectorEmits<T>;
@@ -1,4 +1,12 @@
1
1
  export interface UI3nSliderProps {
2
+ /**
3
+ * Root element id
4
+ */
5
+ id?: string;
6
+ /**
7
+ * HTML name attribute for form submission
8
+ */
9
+ name?: string;
2
10
  /**
3
11
  * Current slider value
4
12
  */
@@ -69,3 +77,6 @@ export interface UI3nSliderEmits {
69
77
  */
70
78
  (event: 'update:modelValue', value: number | [number, number]): void;
71
79
  }
80
+ export interface UI3nSliderExpose {
81
+ clear: () => void;
82
+ }
@@ -1,9 +1,12 @@
1
1
  import { UI3nSliderProps } from './types';
2
- declare const _default: import('vue').DefineComponent<UI3nSliderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2
+ declare const _default: import('vue').DefineComponent<UI3nSliderProps, {
3
+ clear: () => void;
4
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
5
  "update:modelValue": (value: number | [number, number]) => any;
4
6
  }, string, import('vue').PublicProps, Readonly<UI3nSliderProps> & Readonly<{
5
7
  "onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined;
6
8
  }>, {
9
+ name: string;
7
10
  activeColor: string;
8
11
  thumbColor: string;
9
12
  trackColor: string;
@@ -2,6 +2,10 @@
2
2
  * Step line bar component properties
3
3
  */
4
4
  export interface Ui3nStepLineBarProps {
5
+ /**
6
+ * Root element id
7
+ */
8
+ id?: string;
5
9
  /**
6
10
  * Step label
7
11
  */
@@ -3,6 +3,14 @@ import { VNode } from 'vue';
3
3
  * Switch component properties
4
4
  */
5
5
  export interface Ui3nSwitchProps {
6
+ /**
7
+ * Root element id
8
+ */
9
+ id?: string;
10
+ /**
11
+ * HTML name attribute for form submission
12
+ */
13
+ name?: string;
6
14
  /**
7
15
  * Current switch value
8
16
  */
@@ -43,3 +51,6 @@ export interface Ui3nSwitchSlots {
43
51
  */
44
52
  default: () => VNode;
45
53
  }
54
+ export interface Ui3nSwitchExpose {
55
+ clear: () => void;
56
+ }
@@ -8,7 +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').DefineComponent<Ui3nSwitchProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {
12
+ clear: () => void;
13
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
14
  change: (value: boolean) => any;
13
15
  "update:modelValue": (value: boolean) => any;
14
16
  }, string, import('vue').PublicProps, Readonly<Ui3nSwitchProps> & Readonly<{
@@ -18,6 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nSwitchProps, {}
18
20
  size: number | string;
19
21
  color: string;
20
22
  disabled: boolean;
23
+ name: string;
21
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
25
  switchEl: HTMLDivElement;
23
26
  }, HTMLDivElement>;
@@ -34,4 +34,5 @@ export declare function useTable<T extends Ui3nTableBodyBaseItem>(props: Ui3nTab
34
34
  processSelection: (row: T, withoutEvents?: boolean) => void;
35
35
  toggleSelectedRows: (val: Ui3nCheckboxValue) => void;
36
36
  changeSortOrder: (field: keyof T) => void;
37
+ clear: () => void;
37
38
  };
@@ -290,4 +290,8 @@ export type Ui3nTableExpose<T extends Ui3nTableBodyBaseItem> = {
290
290
  * Close group actions row
291
291
  */
292
292
  closeGroupActionsRow: () => void;
293
+ /**
294
+ * Clear all selected rows
295
+ */
296
+ clear: () => void;
293
297
  };
@@ -1,3 +1,6 @@
1
1
  import { Ui3nTableSortIconProps } from './types';
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>;
2
+ declare const _default: import('vue').DefineComponent<Ui3nTableSortIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Ui3nTableSortIconProps> & Readonly<{}>, {
3
+ size: string | number;
4
+ color: string;
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
6
  export default _default;
@@ -3,6 +3,10 @@ import { VNode } from 'vue';
3
3
  * Tabs component properties
4
4
  */
5
5
  export interface Ui3nTabsProps {
6
+ /**
7
+ * Root element id
8
+ */
9
+ id?: string;
6
10
  /**
7
11
  * Current active tab index
8
12
  */
@@ -1,4 +1,12 @@
1
1
  export interface Ui3nTextProps {
2
+ /**
3
+ * Root element id
4
+ */
5
+ id?: string;
6
+ /**
7
+ * HTML name attribute for form submission
8
+ */
9
+ name?: string;
2
10
  /**
3
11
  * Text value
4
12
  */
@@ -82,3 +90,6 @@ export interface Ui3nTextEmits {
82
90
  */
83
91
  (event: 'update:valid', value: boolean): void;
84
92
  }
93
+ export interface Ui3nTextExpose {
94
+ clear: () => void;
95
+ }
@@ -1,5 +1,7 @@
1
1
  import { Ui3nTextProps } from './types';
2
- declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2
+ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {
3
+ clear: () => void;
4
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
5
  input: (value: string) => any;
4
6
  enter: (value: {
5
7
  value: string;
@@ -36,6 +38,7 @@ declare const _default: import('vue').DefineComponent<Ui3nTextProps, {}, {}, {},
36
38
  }>, {
37
39
  label: string;
38
40
  disabled: boolean;
41
+ name: string;
39
42
  placeholder: string;
40
43
  rows: number;
41
44
  maxRows: number;
@@ -7,6 +7,10 @@ export type Ui3nTooltipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' |
7
7
  * Tooltip component properties
8
8
  */
9
9
  export interface Ui3nTooltipProps {
10
+ /**
11
+ * Root element id
12
+ */
13
+ id?: string;
10
14
  /**
11
15
  * Whether tooltip is open
12
16
  */
@@ -3,6 +3,7 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<Ui3nTooltipSlots> & Ui3nTooltipSlots;
5
5
  refs: {
6
+ referenceContainer: HTMLDivElement;
6
7
  floatingEl: HTMLDivElement;
7
8
  floatingArrowEl: HTMLDivElement;
8
9
  };
@@ -24,13 +25,14 @@ declare const __VLS_component: import('vue').DefineComponent<Ui3nTooltipProps, {
24
25
  }>, {
25
26
  color: string;
26
27
  textColor: string;
27
- placement: import('./types').Ui3nTooltipPlacement;
28
- positionStrategy: "absolute" | "fixed";
29
28
  offsetX: string | number;
30
29
  offsetY: string | number;
30
+ positionStrategy: "absolute" | "fixed";
31
+ placement: import('./types').Ui3nTooltipPlacement;
31
32
  maxContentWidth: number | string;
32
33
  trigger: "click" | "hover" | "manual";
33
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
+ referenceContainer: HTMLDivElement;
34
36
  floatingEl: HTMLDivElement;
35
37
  floatingArrowEl: HTMLDivElement;
36
38
  }, any>;