@v1nt1248/3nclient-lib 0.0.41 → 0.1.0

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 (78) hide show
  1. package/README.md +4 -4
  2. package/dist/components/index.d.ts +22 -38
  3. package/dist/components/ui3n-badge-simple.vue.d.ts +3 -3
  4. package/dist/components/ui3n-badge.vue.d.ts +2 -2
  5. package/dist/components/ui3n-breadcrumb.vue.d.ts +7 -7
  6. package/dist/components/ui3n-breadcrumbs.vue.d.ts +3 -3
  7. package/dist/components/ui3n-button.vue.d.ts +29 -4
  8. package/dist/components/ui3n-checkbox.vue.d.ts +3 -3
  9. package/dist/components/ui3n-chip.vue.d.ts +3 -3
  10. package/dist/components/ui3n-dialog.vue.d.ts +6 -5
  11. package/dist/components/ui3n-drop-files.vue.d.ts +23 -3
  12. package/dist/components/ui3n-emoji.vue.d.ts +3 -3
  13. package/dist/components/ui3n-icon.vue.d.ts +29 -3
  14. package/dist/components/ui3n-input.vue.d.ts +9 -9
  15. package/dist/components/ui3n-list.vue.d.ts +4 -4
  16. package/dist/components/ui3n-menu.vue.d.ts +3 -3
  17. package/dist/components/ui3n-notification.vue.d.ts +32 -2
  18. package/dist/components/ui3n-switch.vue.d.ts +55 -0
  19. package/dist/components/ui3n-table-sort-icon.vue.d.ts +1 -1
  20. package/dist/components/ui3n-table.vue.d.ts +4 -3
  21. package/dist/components/ui3n-tabs.vue.d.ts +3 -3
  22. package/dist/components/ui3n-text.vue.d.ts +29 -3
  23. package/dist/components/ui3n-virtual-scroll.vue.d.ts +12 -9
  24. package/dist/constants/types.d.ts +2 -4
  25. package/dist/directives/index.d.ts +3 -2
  26. package/dist/directives/ui3n-click-outside.d.ts +2 -1
  27. package/dist/directives/ui3n-html.d.ts +1 -0
  28. package/dist/index.d.ts +27 -29
  29. package/dist/plugins/dialogs.d.ts +3 -3
  30. package/dist/plugins/i18n.d.ts +2 -2
  31. package/dist/plugins/icons.d.ts +1 -0
  32. package/dist/plugins/index.d.ts +5 -8
  33. package/dist/plugins/notifications.d.ts +2 -2
  34. package/dist/plugins/store-dialogs.d.ts +2 -1
  35. package/dist/plugins/store-notifications.d.ts +2 -1
  36. package/dist/plugins/store-vue-bus.d.ts +2 -1
  37. package/dist/plugins/vue-bus.d.ts +3 -3
  38. package/dist/style.css +1 -1
  39. package/dist/tools/sqlite-on-3nstorage/index.d.ts +3 -2
  40. package/dist/tools/ui.helpers.d.ts +1 -0
  41. package/dist/ui-3n-lib.js +6953 -6615
  42. package/package.json +57 -58
  43. package/src/components/index.ts +47 -41
  44. package/src/components/ui3n-badge-simple.vue +35 -38
  45. package/src/components/ui3n-badge.vue +25 -25
  46. package/src/components/ui3n-breadcrumb.vue +44 -44
  47. package/src/components/ui3n-breadcrumbs.vue +19 -19
  48. package/src/components/ui3n-button.vue +240 -150
  49. package/src/components/ui3n-checkbox.vue +199 -158
  50. package/src/components/ui3n-chip.vue +96 -98
  51. package/src/components/ui3n-dialog.vue +225 -235
  52. package/src/components/ui3n-drop-files.vue +146 -154
  53. package/src/components/ui3n-emoji.vue +62 -64
  54. package/src/components/ui3n-icon.vue +32 -13
  55. package/src/components/ui3n-input.vue +239 -221
  56. package/src/components/ui3n-list.vue +92 -111
  57. package/src/components/ui3n-menu.vue +101 -100
  58. package/src/components/ui3n-notification.vue +182 -113
  59. package/src/components/ui3n-switch.vue +146 -0
  60. package/src/components/ui3n-table-sort-icon.vue +1 -2
  61. package/src/components/ui3n-table.vue +229 -223
  62. package/src/components/ui3n-tabs.vue +141 -148
  63. package/src/components/ui3n-text.vue +235 -146
  64. package/src/components/ui3n-virtual-scroll.vue +68 -68
  65. package/dist/stories/Ui3nBadge.stories.d.ts +0 -124
  66. package/dist/stories/Ui3nBreadcrumbs.stories.d.ts +0 -252
  67. package/dist/stories/Ui3nButton.stories.d.ts +0 -152
  68. package/dist/stories/Ui3nCheckbox.stories.d.ts +0 -186
  69. package/dist/stories/Ui3nChip.stories.d.ts +0 -562
  70. package/dist/stories/Ui3nDialog.stories.d.ts +0 -41
  71. package/dist/stories/Ui3nDropFiles.stories.d.ts +0 -73
  72. package/dist/stories/Ui3nEmoji.stories.d.ts +0 -39
  73. package/dist/stories/Ui3nIcon.stories.d.ts +0 -80
  74. package/dist/stories/Ui3nInput.stories.d.ts +0 -456
  75. package/dist/stories/Ui3nList.stories.d.ts +0 -54
  76. package/dist/stories/Ui3nTabs.stories.d.ts +0 -177
  77. package/dist/stories/data/data-to-list.d.ts +0 -8
  78. package/dist/stories/data/icons.d.ts +0 -1
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Library (Vue3 + Typescript + Vite)
2
2
 
3
3
  Components, directives and plugins for Vue3 projects and some helpers methods (tools).
4
- Storybook is used for documentation and demo.
4
+ Vitepress is used for documentation and demo.
5
5
 
6
- For demo and development - `yarn storybook` or `npm run storybook`.
7
- You can run the project as `yarn dev` or `npm run dev` if you don't want to use Storybook.
6
+ For demo and development - `pnpm run docs:dev` or `npm run docs:dev`.
7
+ You can run the project as `pnpm dev` or `npm run dev` if you don't want to use Vitepress.
8
8
 
9
9
  ## Components
10
10
  - Ui3nBadge,
@@ -23,7 +23,7 @@ You can run the project as `yarn dev` or `npm run dev` if you don't want to use
23
23
  - Ui3nVirtualScroll
24
24
  - Ui3nNotification
25
25
  - Ui3nDialog
26
- - Ui3nTable
26
+ - Ui3nSwitch
27
27
  - Ui3nTabs
28
28
 
29
29
  ## Directives
@@ -1,38 +1,22 @@
1
- import Ui3nIcon from './ui3n-icon.vue';
2
- import type { Ui3nIconProps, Ui3nIconEmits } from './ui3n-icon.vue';
3
- import Ui3nButton from './ui3n-button.vue';
4
- import type { Ui3nButtonProps, Ui3nButtonEmits } from './ui3n-button.vue';
5
- import Ui3nChip from './ui3n-chip.vue';
6
- import type { Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots } from './ui3n-chip.vue';
7
- import Ui3nDropFiles from './ui3n-drop-files.vue';
8
- import type { Ui3nDropFilesProps, Ui3nDropFilesEmits } from './ui3n-drop-files.vue';
9
- import Ui3nEmoji from './ui3n-emoji.vue';
10
- import type { Ui3nEmojiProps, Ui3nEmojiEmits } from './ui3n-emoji.vue';
11
- import Ui3nInput from './ui3n-input.vue';
12
- import type { Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
13
- import Ui3nText from './ui3n-text.vue';
14
- import type { Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
15
- import Ui3nCheckbox from './ui3n-checkbox.vue';
16
- import type { Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots } from './ui3n-checkbox.vue';
17
- import Ui3nNotification from './ui3n-notification.vue';
18
- import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
19
- import type { Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
20
- import Ui3nTable from './ui3n-table.vue';
21
- import type { Ui3nTableProps, Ui3nTableEmits } from './ui3n-table.vue';
22
- import Ui3nDialog from './ui3n-dialog.vue';
23
- import type { Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent } from './ui3n-dialog.vue';
24
- import Ui3nMenu from './ui3n-menu.vue';
25
- import type { Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots } from './ui3n-menu.vue';
26
- import Ui3nList from './ui3n-list.vue';
27
- import type { Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
28
- import Ui3nVirtualScroll from './ui3n-virtual-scroll.vue';
29
- import type { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
30
- import Ui3nTabs from './ui3n-tabs.vue';
31
- import type { Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots } from './ui3n-tabs.vue';
32
- import Ui3nBadge from './ui3n-badge.vue';
33
- import type { Ui3nBadgeProps } from './ui3n-badge.vue';
34
- import Ui3nBreadcrumb from './ui3n-breadcrumb.vue';
35
- import type { Ui3nBreadcrumdProps, Ui3nBreadcrumdEmits, Ui3nBreadcrumdSlots } from './ui3n-breadcrumb.vue';
36
- import Ui3nBreadcrumbs from './ui3n-breadcrumbs.vue';
37
- import type { Ui3nBreadcrumdsProps } from './ui3n-breadcrumbs.vue';
38
- export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, Ui3nBreadcrumb, Ui3nBreadcrumdProps, Ui3nBreadcrumdEmits, Ui3nBreadcrumdSlots, Ui3nBreadcrumbs, Ui3nBreadcrumdsProps, };
1
+ import { default as Ui3nIcon, Ui3nIconProps, Ui3nIconEmits } from './ui3n-icon.vue';
2
+ import { default as Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits } from './ui3n-button.vue';
3
+ import { default as Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots } from './ui3n-chip.vue';
4
+ import { default as Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits } from './ui3n-drop-files.vue';
5
+ import { default as Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits } from './ui3n-emoji.vue';
6
+ import { default as Ui3nInput, Ui3nInputProps, Ui3nInputEmits } from './ui3n-input.vue';
7
+ import { default as Ui3nText, Ui3nTextProps, Ui3nTextEmits } from './ui3n-text.vue';
8
+ import { default as Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots } from './ui3n-checkbox.vue';
9
+ import { default as Ui3nNotification } from './ui3n-notification.vue';
10
+ import { default as Ui3nTableSortIcon, Ui3nTableSortIconProps } from './ui3n-table-sort-icon.vue';
11
+ import { default as Ui3nTable, Ui3nTableProps, Ui3nTableEmits } from './ui3n-table.vue';
12
+ import { default as Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent } from './ui3n-dialog.vue';
13
+ import { default as Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots } from './ui3n-menu.vue';
14
+ import { default as Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots } from './ui3n-list.vue';
15
+ import { default as Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
16
+ import { default as Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots } from './ui3n-tabs.vue';
17
+ import { default as Ui3nBadge, Ui3nBadgeProps } from './ui3n-badge.vue';
18
+ import { default as Ui3nBreadcrumb, Ui3nBreadcrumbProps, Ui3nBreadcrumbEmits, Ui3nBreadcrumbSlots } from './ui3n-breadcrumb.vue';
19
+ import { default as Ui3nBreadcrumbs, Ui3nBreadcrumbsProps } from './ui3n-breadcrumbs.vue';
20
+ import { default as Ui3nSwitch, Ui3nSwitchProps, Ui3nSwitchEmits, Ui3nSwitchSlots } from './ui3n-switch.vue';
21
+
22
+ export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3nCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, Ui3nBreadcrumb, Ui3nBreadcrumbProps, Ui3nBreadcrumbEmits, Ui3nBreadcrumbSlots, Ui3nBreadcrumbs, Ui3nBreadcrumbsProps, Ui3nSwitch, Ui3nSwitchProps, Ui3nSwitchEmits, Ui3nSwitchSlots, };
@@ -4,17 +4,17 @@ export interface Ui3nBadgeSimpleProps {
4
4
  color?: string;
5
5
  textColor?: string;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
7
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
8
8
  dot: boolean;
9
9
  value: string;
10
10
  color: string;
11
11
  textColor: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
13
  "change:size": (val: {
14
14
  width: number;
15
15
  height: number;
16
16
  }) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
17
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
18
18
  dot: boolean;
19
19
  value: string;
20
20
  color: string;
@@ -5,13 +5,13 @@ export interface Ui3nBadgeProps {
5
5
  textColor?: string;
6
6
  position?: 'right-top' | 'right-bottom' | 'left-top' | 'left-bottom';
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
9
9
  dot: boolean;
10
10
  value: string;
11
11
  color: string;
12
12
  textColor: string;
13
13
  position: string;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
14
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
15
15
  dot: boolean;
16
16
  value: string;
17
17
  color: string;
@@ -1,22 +1,22 @@
1
- export interface Ui3nBreadcrumdProps {
1
+ export interface Ui3nBreadcrumbProps {
2
2
  separator?: string | undefined;
3
3
  isActive?: boolean;
4
4
  disabled?: boolean;
5
5
  }
6
- export interface Ui3nBreadcrumdEmits {
6
+ export interface Ui3nBreadcrumbEmits {
7
7
  (ev: 'click', value: Event): void;
8
8
  }
9
- export interface Ui3nBreadcrumdSlots {
9
+ export interface Ui3nBreadcrumbSlots {
10
10
  separator: () => unknown;
11
11
  default: () => unknown;
12
12
  }
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdProps>, {
13
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumbProps>, {
14
14
  separator: undefined;
15
15
  isActive: boolean;
16
16
  disabled: boolean;
17
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  click: (value: Event) => void;
19
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdProps>, {
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumbProps>, {
20
20
  separator: undefined;
21
21
  isActive: boolean;
22
22
  disabled: boolean;
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
26
  separator: string;
27
27
  isActive: boolean;
28
28
  disabled: boolean;
29
- }, {}>, Readonly<Ui3nBreadcrumdSlots> & Ui3nBreadcrumdSlots>;
29
+ }, {}>, Readonly<Ui3nBreadcrumbSlots> & Ui3nBreadcrumbSlots>;
30
30
  export default _default;
31
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
32
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,11 +1,11 @@
1
- export interface Ui3nBreadcrumdsProps {
1
+ export interface Ui3nBreadcrumbsProps {
2
2
  separator?: string;
3
3
  disabled?: boolean;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdsProps>, {
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumbsProps>, {
6
6
  separator: string;
7
7
  disabled: boolean;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumdsProps>, {
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBreadcrumbsProps>, {
9
9
  separator: string;
10
10
  disabled: boolean;
11
11
  }>>>, {
@@ -1,11 +1,13 @@
1
1
  export interface Ui3nButtonProps {
2
+ type?: 'primary' | 'secondary' | 'tertiary' | 'icon' | 'custom';
3
+ size?: 'regular' | 'small';
2
4
  textColor?: string;
3
5
  color?: string;
4
- round?: boolean;
5
6
  elevation?: boolean;
6
7
  icon?: string;
7
8
  iconSize?: string | number;
8
9
  iconColor?: string;
10
+ iconPosition?: 'left' | 'right';
9
11
  disabled?: boolean;
10
12
  }
11
13
  export interface Ui3nButtonEmits {
@@ -14,17 +16,32 @@ export interface Ui3nButtonEmits {
14
16
  (ev: 'focus', value: Event): void;
15
17
  (ev: 'blur', value: Event): void;
16
18
  }
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {
20
+ type: string;
21
+ size: string;
22
+ iconPosition: string;
23
+ disabled: boolean;
24
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
25
  init: (value: HTMLButtonElement) => void;
19
26
  click: (value: Event) => void;
20
27
  focus: (value: Event) => void;
21
28
  blur: (value: Event) => void;
22
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>>> & {
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>, {
30
+ type: string;
31
+ size: string;
32
+ iconPosition: string;
33
+ disabled: boolean;
34
+ }>>> & {
23
35
  onFocus?: ((value: Event) => any) | undefined;
24
36
  onBlur?: ((value: Event) => any) | undefined;
25
37
  onClick?: ((value: Event) => any) | undefined;
26
38
  onInit?: ((value: HTMLButtonElement) => any) | undefined;
27
- }, {}, {}>, {
39
+ }, {
40
+ type: "icon" | "primary" | "secondary" | "tertiary" | "custom";
41
+ disabled: boolean;
42
+ size: "small" | "regular";
43
+ iconPosition: "right" | "left";
44
+ }, {}>, {
28
45
  default?(_: {}): any;
29
46
  }>;
30
47
  export default _default;
@@ -37,6 +54,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
37
54
  required: true;
38
55
  };
39
56
  };
57
+ type __VLS_WithDefaults<P, D> = {
58
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
+ default: D[K];
60
+ }> : P[K];
61
+ };
62
+ type __VLS_Prettify<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
40
65
  type __VLS_WithTemplateSlots<T, S> = T & {
41
66
  new (): {
42
67
  $slots: S;
@@ -15,7 +15,7 @@ export interface Ui3nCheckboxEmits {
15
15
  export interface Ui3nCheckboxSlots {
16
16
  default: () => any;
17
17
  }
18
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
18
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
19
19
  modelValue: boolean;
20
20
  checkedValue: boolean;
21
21
  uncheckedValue: boolean;
@@ -23,10 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  color: string;
24
24
  indeterminate: boolean;
25
25
  disabled: boolean;
26
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
27
  change: (value: Ui3nCheckboxValue) => void;
28
28
  "update:modelValue": (value: Ui3nCheckboxValue) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nCheckboxProps>, {
30
30
  modelValue: boolean;
31
31
  checkedValue: boolean;
32
32
  uncheckedValue: boolean;
@@ -18,7 +18,7 @@ export interface Ui3nChipSlots {
18
18
  }) => any;
19
19
  default: () => any;
20
20
  }
21
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
21
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
22
22
  height: number;
23
23
  maxWidth: number;
24
24
  plain: boolean;
@@ -27,9 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  color: string;
28
28
  textSize: number;
29
29
  textColor: string;
30
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
31
  close: () => void;
32
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nChipProps>, {
33
33
  height: number;
34
34
  maxWidth: number;
35
35
  plain: boolean;
@@ -1,12 +1,13 @@
1
- import type { Component } from 'vue';
1
+ import { Component } from 'vue';
2
+
2
3
  export type Ui3nDialogEvent = 'open' | 'before-close' | 'close' | 'confirm' | 'cancel' | 'click-overlay';
3
4
  export interface Ui3nDialogProps {
4
5
  teleport?: string;
5
6
  title?: string;
6
7
  width?: string | number;
7
- cssClass?: string;
8
+ cssClass?: string[];
8
9
  cssStyle?: Record<string, string>;
9
- contentCssClass?: string;
10
+ contentCssClass?: string[];
10
11
  contentCssStyle?: Record<string, string>;
11
12
  confirmButton?: boolean;
12
13
  cancelButton?: boolean;
@@ -34,14 +35,14 @@ export interface Ui3nDialogComponentEmits {
34
35
  (ev: 'cancel', value?: any): void;
35
36
  (ev: 'click-overlay', value?: any): void;
36
37
  }
37
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
39
  open: (value?: any) => void;
39
40
  "before-close": (value?: any) => void;
40
41
  close: (value?: any) => void;
41
42
  confirm: (value?: any) => void;
42
43
  cancel: (value?: any) => void;
43
44
  "click-overlay": (value?: any) => void;
44
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>>> & {
45
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDialogComponentProps>>> & {
45
46
  onClose?: ((value?: any) => any) | undefined;
46
47
  onCancel?: ((value?: any) => any) | undefined;
47
48
  onOpen?: ((value?: any) => any) | undefined;
@@ -6,11 +6,23 @@ export interface Ui3nDropFilesProps {
6
6
  export interface Ui3nDropFilesEmits {
7
7
  (e: 'select', fileList: FileList): void;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {
10
+ title: string;
11
+ text: string;
12
+ additionalText: string;
13
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
14
  select: (fileList: FileList) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>>> & {
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nDropFilesProps>, {
16
+ title: string;
17
+ text: string;
18
+ additionalText: string;
19
+ }>>> & {
12
20
  onSelect?: ((fileList: FileList) => any) | undefined;
13
- }, {}, {}>, {
21
+ }, {
22
+ title: string;
23
+ text: string;
24
+ additionalText: string;
25
+ }, {}>, {
14
26
  default?(_: {}): any;
15
27
  }>;
16
28
  export default _default;
@@ -23,6 +35,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
23
35
  required: true;
24
36
  };
25
37
  };
38
+ type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
26
46
  type __VLS_WithTemplateSlots<T, S> = T & {
27
47
  new (): {
28
48
  $slots: S;
@@ -6,12 +6,12 @@ export interface Ui3nEmojiProps {
6
6
  export interface Ui3nEmojiEmits {
7
7
  (ev: 'click', value: Event): void;
8
8
  }
9
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
9
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
10
10
  size: number;
11
11
  readonly: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
13
  click: (value: Event) => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nEmojiProps>, {
15
15
  size: number;
16
16
  readonly: boolean;
17
17
  }>>> & {
@@ -14,11 +14,29 @@ export interface Ui3nIconProps {
14
14
  export interface Ui3nIconEmits {
15
15
  (ev: 'click', value: Event): void;
16
16
  }
17
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {
18
+ title: string;
19
+ width: number;
20
+ height: number;
21
+ rotate: number;
22
+ color: string;
23
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
24
  click: (value: Event) => void;
19
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>>> & {
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nIconProps>, {
26
+ title: string;
27
+ width: number;
28
+ height: number;
29
+ rotate: number;
30
+ color: string;
31
+ }>>> & {
20
32
  onClick?: ((value: Event) => any) | undefined;
21
- }, {}, {}>;
33
+ }, {
34
+ color: string;
35
+ title: string;
36
+ width: string | number;
37
+ height: string | number;
38
+ rotate: number;
39
+ }, {}>;
22
40
  export default _default;
23
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
42
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -29,3 +47,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
29
47
  required: true;
30
48
  };
31
49
  };
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -1,5 +1,5 @@
1
1
  export interface Ui3nInputProps {
2
- value: string;
2
+ modelValue: string;
3
3
  label?: string;
4
4
  placeholder?: string;
5
5
  clearable?: boolean;
@@ -13,26 +13,26 @@ export interface Ui3nInputEmits {
13
13
  (ev: 'input', value: string): void;
14
14
  (ev: 'focus', value: Event): void;
15
15
  (ev: 'blur', value: Event): void;
16
- (ev: 'clear', value: string): void;
16
+ (ev: 'clear'): void;
17
17
  (ev: 'change', value: string): void;
18
- (ev: 'update:value', value: string): void;
18
+ (ev: 'update:modelValue', value: string): void;
19
19
  (ev: 'update:valid', value: boolean): void;
20
20
  }
21
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
22
  input: (value: string) => void;
23
23
  focus: (value: Event) => void;
24
24
  blur: (value: Event) => void;
25
- clear: (value: string) => void;
25
+ clear: () => void;
26
26
  change: (value: string) => void;
27
- "update:value": (value: string) => void;
27
+ "update:modelValue": (value: string) => void;
28
28
  "update:valid": (value: boolean) => void;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>>> & {
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nInputProps>>> & {
30
30
  onFocus?: ((value: Event) => any) | undefined;
31
31
  onBlur?: ((value: Event) => any) | undefined;
32
32
  onChange?: ((value: string) => any) | undefined;
33
33
  onInput?: ((value: string) => any) | undefined;
34
- onClear?: ((value: string) => any) | undefined;
35
- "onUpdate:value"?: ((value: string) => any) | undefined;
34
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
35
+ onClear?: (() => any) | undefined;
36
36
  "onUpdate:valid"?: ((value: boolean) => any) | undefined;
37
37
  }, {}, {}>;
38
38
  export default _default;
@@ -28,7 +28,7 @@ declare const _default: <T extends {
28
28
  disabled?: boolean | undefined;
29
29
  sticky?: boolean | undefined;
30
30
  items: T[];
31
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
31
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
32
32
  attrs: any;
33
33
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
34
34
  emit: Ui3nListEmits<T>;
@@ -42,12 +42,12 @@ declare const _default: <T extends {
42
42
  disabled?: boolean | undefined;
43
43
  sticky?: boolean | undefined;
44
44
  items: T[];
45
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
46
46
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
47
47
  attrs: any;
48
48
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
49
49
  emit: Ui3nListEmits<T>;
50
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
51
51
  [key: string]: any;
52
52
  }> & {
53
53
  __ctx?: {
@@ -60,7 +60,7 @@ declare const _default: <T extends {
60
60
  disabled?: boolean | undefined;
61
61
  sticky?: boolean | undefined;
62
62
  items: T[];
63
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
63
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
64
64
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
65
65
  attrs: any;
66
66
  slots: Readonly<Ui3nListSlots<T>> & Ui3nListSlots<T>;
@@ -16,19 +16,19 @@ export interface Ui3nMenuSlots {
16
16
  default: () => any;
17
17
  menu?: () => any;
18
18
  }
19
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
19
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
20
20
  offsetX: number;
21
21
  offsetY: number;
22
22
  closeOnClick: boolean;
23
23
  closeOnClickOutside: boolean;
24
24
  disabled: boolean;
25
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
26
  open: () => void;
27
27
  opened: () => void;
28
28
  close: () => void;
29
29
  closed: () => void;
30
30
  "click-outside": () => void;
31
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nMenuProps>, {
32
32
  offsetX: number;
33
33
  offsetY: number;
34
34
  closeOnClick: boolean;
@@ -1,5 +1,27 @@
1
- import type { Ui3nNotificationProps } from '../constants';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>>>, {}, {}>;
1
+ import { Ui3nNotificationProps } from '../constants';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>, {
4
+ type: string;
5
+ position: string;
6
+ duration: number;
7
+ withIcon: boolean;
8
+ onOpen: () => undefined;
9
+ onClose: () => undefined;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nNotificationProps>, {
11
+ type: string;
12
+ position: string;
13
+ duration: number;
14
+ withIcon: boolean;
15
+ onOpen: () => undefined;
16
+ onClose: () => undefined;
17
+ }>>>, {
18
+ type: "error" | "success" | "warning" | "info";
19
+ position: "right" | "left" | "center";
20
+ onClose: () => void;
21
+ withIcon: boolean;
22
+ onOpen: () => void;
23
+ duration: number;
24
+ }, {}>;
3
25
  export default _default;
4
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
27
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -10,3 +32,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
10
32
  required: true;
11
33
  };
12
34
  };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -0,0 +1,55 @@
1
+ export interface Ui3nSwitchProps {
2
+ modelValue: boolean;
3
+ size?: number | string;
4
+ color?: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface Ui3nSwitchEmits {
8
+ (ev: 'change', value: boolean): void;
9
+ (ev: 'update:modelValue', value: boolean): void;
10
+ }
11
+ export interface Ui3nSwitchSlots {
12
+ default: () => any;
13
+ }
14
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nSwitchProps>, {
15
+ size: number;
16
+ color: string;
17
+ disabled: boolean;
18
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ change: (value: boolean) => void;
20
+ "update:modelValue": (value: boolean) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nSwitchProps>, {
22
+ size: number;
23
+ color: string;
24
+ disabled: boolean;
25
+ }>>> & {
26
+ onChange?: ((value: boolean) => any) | undefined;
27
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
28
+ }, {
29
+ color: string;
30
+ disabled: boolean;
31
+ size: string | number;
32
+ }, {}>, Readonly<Ui3nSwitchSlots> & Ui3nSwitchSlots>;
33
+ export default _default;
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToRuntimeProps<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: import('vue').PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
43
+ type __VLS_WithDefaults<P, D> = {
44
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
+ default: D[K];
46
+ }> : P[K];
47
+ };
48
+ type __VLS_Prettify<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
51
+ type __VLS_WithTemplateSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };