sprintify-ui 0.10.87 → 0.11.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 (116) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12480 -12553
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +19 -643
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +21 -104
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +26 -1045
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +19 -1022
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +10 -745
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +18 -577
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +25 -571
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -796
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocomplete.stories.js +10 -0
  97. package/src/components/BaseAutocomplete.vue +11 -1
  98. package/src/components/BaseAutocompleteDrawer.vue +52 -1
  99. package/src/components/BaseAutocompleteFetch.stories.js +6 -0
  100. package/src/components/BaseAutocompleteFetch.vue +15 -0
  101. package/src/components/BaseBelongsTo.stories.js +5 -0
  102. package/src/components/BaseBelongsTo.vue +10 -0
  103. package/src/components/BaseBelongsToFetch.stories.js +6 -0
  104. package/src/components/BaseBelongsToFetch.vue +9 -0
  105. package/src/components/BaseForm.mdx +1 -1
  106. package/src/components/BaseGantt.mdx +79 -0
  107. package/src/components/BaseGantt.stories.js +25 -10
  108. package/src/components/BaseGantt.vue +192 -58
  109. package/src/components/BaseHasMany.stories.js +5 -0
  110. package/src/components/BaseHasMany.vue +10 -0
  111. package/src/components/BaseHasManyFetch.stories.js +12 -0
  112. package/src/components/BaseTagAutocomplete.stories.js +5 -0
  113. package/src/components/BaseTagAutocomplete.vue +34 -1
  114. package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
  115. package/src/services/gantt/format.ts +30 -7
  116. package/src/services/gantt/types.ts +18 -8
@@ -1,88 +1,10 @@
1
1
  import { PropType } from 'vue';
2
- import { twMerge } from 'tailwind-merge';
3
- declare const realMaxWidth: import("vue").ComputedRef<string>;
4
- declare const modal: {
5
- close: () => void;
6
- refuseAnimation: () => void;
7
- animationClasses: import("vue").Ref<string, string>;
8
- };
9
- declare const classAlign: import("vue").ComputedRef<"mr-0 ml-auto" | "mr-auto ml-0">;
10
- declare const classButtonAlign: import("vue").ComputedRef<"|| sm:-left-[3rem] sm:top-2" | "|| sm:-right-[3rem] sm:top-2">;
11
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
2
  declare var __VLS_21: {
13
3
  close: () => void;
14
4
  };
15
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ type __VLS_Slots = {} & {
16
6
  default?: (props: typeof __VLS_21) => any;
17
- }>;
18
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- modelValue: {
20
- default: boolean;
21
- type: BooleanConstructor;
22
- };
23
- maxWidth: {
24
- default: string;
25
- type: StringConstructor;
26
- };
27
- closeOnOutsideClick: {
28
- default: boolean;
29
- type: BooleanConstructor;
30
- };
31
- clipped: {
32
- default: boolean;
33
- type: BooleanConstructor;
34
- };
35
- twBackdrop: {
36
- default: string;
37
- type: PropType<string | string[]>;
38
- };
39
- align: {
40
- default: string;
41
- type: PropType<"right" | "left">;
42
- };
43
- }>, {
44
- twMerge: typeof twMerge;
45
- realMaxWidth: typeof realMaxWidth;
46
- modal: typeof modal;
47
- classAlign: typeof classAlign;
48
- classButtonAlign: typeof classButtonAlign;
49
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
- "update:modelValue": (...args: any[]) => void;
51
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
- modelValue: {
53
- default: boolean;
54
- type: BooleanConstructor;
55
- };
56
- maxWidth: {
57
- default: string;
58
- type: StringConstructor;
59
- };
60
- closeOnOutsideClick: {
61
- default: boolean;
62
- type: BooleanConstructor;
63
- };
64
- clipped: {
65
- default: boolean;
66
- type: BooleanConstructor;
67
- };
68
- twBackdrop: {
69
- default: string;
70
- type: PropType<string | string[]>;
71
- };
72
- align: {
73
- default: string;
74
- type: PropType<"right" | "left">;
75
- };
76
- }>> & Readonly<{
77
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
- }>, {
79
- modelValue: boolean;
80
- align: "left" | "right";
81
- closeOnOutsideClick: boolean;
82
- clipped: boolean;
83
- maxWidth: string;
84
- twBackdrop: string | string[];
85
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ };
86
8
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
87
9
  modelValue: {
88
10
  default: boolean;
@@ -1,17 +1,7 @@
1
- import { Icon as BaseIcon } from '@iconify/vue';
2
- import BaseContainer from './BaseContainer.vue';
3
1
  import { PropType } from 'vue';
4
- declare const mobile: import("vue").ComputedRef<boolean>;
5
- declare const heightInner: import("vue").ComputedRef<number>;
6
- declare const backgroundClass: import("vue").ComputedRef<"bg-white" | "bg-slate-800">;
7
- declare const classInternal: import("vue").ComputedRef<string>;
8
- declare const navRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
9
- declare const maxHeight: import("vue").ComputedRef<number>;
10
- declare const showMobileMenu: import("vue").Ref<boolean, boolean>;
11
2
  declare function toggleMenu(): void;
12
3
  declare function openMenu(): void;
13
4
  declare function closeMenu(): void;
14
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
5
  declare var __VLS_4: {
16
6
  mobile: boolean;
17
7
  dark: boolean;
@@ -22,82 +12,11 @@ declare var __VLS_4: {
22
12
  closeMenu: typeof closeMenu;
23
13
  openMenu: typeof openMenu;
24
14
  };
25
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ type __VLS_Slots = {} & {
26
16
  navbar?: (props: typeof __VLS_4) => any;
27
17
  } & {
28
18
  mobile?: (props: typeof __VLS_14) => any;
29
- }>;
30
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
31
- dark: {
32
- default: boolean;
33
- type: BooleanConstructor;
34
- };
35
- height: {
36
- default: undefined;
37
- type: NumberConstructor;
38
- };
39
- breakpoint: {
40
- default: number;
41
- type: NumberConstructor;
42
- };
43
- class: {
44
- default: string;
45
- type: PropType<string | string[]>;
46
- };
47
- size: {
48
- default: string;
49
- type: PropType<"xs" | "sm" | "md">;
50
- };
51
- containerSize: {
52
- default: string;
53
- type: StringConstructor;
54
- };
55
- }>, {
56
- BaseIcon: typeof BaseIcon;
57
- BaseContainer: typeof BaseContainer;
58
- mobile: typeof mobile;
59
- heightInner: typeof heightInner;
60
- backgroundClass: typeof backgroundClass;
61
- classInternal: typeof classInternal;
62
- navRef: typeof navRef;
63
- maxHeight: typeof maxHeight;
64
- showMobileMenu: typeof showMobileMenu;
65
- toggleMenu: typeof toggleMenu;
66
- openMenu: typeof openMenu;
67
- closeMenu: typeof closeMenu;
68
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
- dark: {
70
- default: boolean;
71
- type: BooleanConstructor;
72
- };
73
- height: {
74
- default: undefined;
75
- type: NumberConstructor;
76
- };
77
- breakpoint: {
78
- default: number;
79
- type: NumberConstructor;
80
- };
81
- class: {
82
- default: string;
83
- type: PropType<string | string[]>;
84
- };
85
- size: {
86
- default: string;
87
- type: PropType<"xs" | "sm" | "md">;
88
- };
89
- containerSize: {
90
- default: string;
91
- type: StringConstructor;
92
- };
93
- }>> & Readonly<{}>, {
94
- dark: boolean;
95
- class: string | string[];
96
- size: "xs" | "sm" | "md";
97
- height: number;
98
- breakpoint: number;
99
- containerSize: string;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ };
101
20
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
102
21
  dark: {
103
22
  default: boolean;
@@ -72,12 +72,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
72
72
  onFocus?: ((...args: any[]) => any) | undefined;
73
73
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
74
74
  }>, {
75
+ placeholder: string;
75
76
  size: "xs" | "sm" | "md" | "lg" | "xl";
76
77
  required: boolean;
77
78
  disabled: boolean;
78
79
  name: string;
79
80
  modelValue: string | null;
80
- placeholder: string;
81
81
  hasError: boolean;
82
82
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
83
  export default _default;
@@ -1,116 +1,11 @@
1
1
  import { PropType } from 'vue';
2
2
  import { NormalizedOption, RawOption, OptionValue } from '@/types';
3
- declare const nameInternal: import("vue").ComputedRef<string>, requiredInternal: import("vue").ComputedRef<boolean>, emitUpdate: (value: any) => void;
4
- declare function isChecked(option: NormalizedOption): boolean;
5
- declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[]>;
6
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
3
  declare var __VLS_1: {
8
4
  option: NormalizedOption;
9
5
  };
10
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
11
7
  option?: (props: typeof __VLS_1) => any;
12
- }>;
13
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
- modelValue: {
15
- default: undefined;
16
- type: PropType<OptionValue | undefined>;
17
- };
18
- name: {
19
- default: undefined;
20
- type: StringConstructor;
21
- };
22
- required: {
23
- default: undefined;
24
- type: BooleanConstructor;
25
- };
26
- disabled: {
27
- default: boolean;
28
- type: BooleanConstructor;
29
- };
30
- options: {
31
- required: true;
32
- type: PropType<RawOption[]>;
33
- };
34
- labelKey: {
35
- required: true;
36
- type: StringConstructor;
37
- };
38
- valueKey: {
39
- required: true;
40
- type: StringConstructor;
41
- };
42
- labelClass: {
43
- default: string;
44
- type: StringConstructor;
45
- };
46
- twInput: {
47
- default: string;
48
- type: StringConstructor;
49
- };
50
- hasError: {
51
- default: boolean;
52
- type: BooleanConstructor;
53
- };
54
- }>, {
55
- nameInternal: typeof nameInternal;
56
- requiredInternal: typeof requiredInternal;
57
- emitUpdate: typeof emitUpdate;
58
- isChecked: typeof isChecked;
59
- normalizedOptions: typeof normalizedOptions;
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
- "update:modelValue": (...args: any[]) => void;
62
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
- modelValue: {
64
- default: undefined;
65
- type: PropType<OptionValue | undefined>;
66
- };
67
- name: {
68
- default: undefined;
69
- type: StringConstructor;
70
- };
71
- required: {
72
- default: undefined;
73
- type: BooleanConstructor;
74
- };
75
- disabled: {
76
- default: boolean;
77
- type: BooleanConstructor;
78
- };
79
- options: {
80
- required: true;
81
- type: PropType<RawOption[]>;
82
- };
83
- labelKey: {
84
- required: true;
85
- type: StringConstructor;
86
- };
87
- valueKey: {
88
- required: true;
89
- type: StringConstructor;
90
- };
91
- labelClass: {
92
- default: string;
93
- type: StringConstructor;
94
- };
95
- twInput: {
96
- default: string;
97
- type: StringConstructor;
98
- };
99
- hasError: {
100
- default: boolean;
101
- type: BooleanConstructor;
102
- };
103
- }>> & Readonly<{
104
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
105
- }>, {
106
- required: boolean;
107
- disabled: boolean;
108
- name: string;
109
- labelClass: string;
110
- modelValue: OptionValue | undefined;
111
- hasError: boolean;
112
- twInput: string;
113
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ };
114
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
115
10
  modelValue: {
116
11
  default: undefined;
@@ -1,33 +1,7 @@
1
- import { StyleValue } from 'vue';
2
- import { t } from '@/i18n';
3
- declare const content: import("vue").Ref<HTMLParagraphElement | null, HTMLParagraphElement | null>;
4
- declare const showMore: import("vue").Ref<boolean, boolean>;
5
- declare const isClamped: import("vue").Ref<boolean, boolean>;
6
- declare const lineClampStyle: import("vue").ComputedRef<StyleValue>;
7
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
1
  declare var __VLS_1: {};
9
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
2
+ type __VLS_Slots = {} & {
10
3
  default?: (props: typeof __VLS_1) => any;
11
- }>;
12
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
- maxLines: {
14
- default: number;
15
- type: NumberConstructor;
16
- };
17
- }>, {
18
- t: typeof t;
19
- content: typeof content;
20
- showMore: typeof showMore;
21
- isClamped: typeof isClamped;
22
- lineClampStyle: typeof lineClampStyle;
23
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
- maxLines: {
25
- default: number;
26
- type: NumberConstructor;
27
- };
28
- }>> & Readonly<{}>, {
29
- maxLines: number;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ };
31
5
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
32
6
  maxLines: {
33
7
  default: number;
@@ -27,11 +27,11 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
27
27
  onInput?: ((...args: any[]) => any) | undefined;
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }>, {
30
+ placeholder: string;
30
31
  size: Size;
31
32
  required: boolean;
32
33
  disabled: boolean;
33
34
  name: string;
34
- placeholder: string;
35
35
  hasError: boolean;
36
36
  toolbar: ToolbarOption[] | string[];
37
37
  editor: "classic" | "inline" | "balloon";
@@ -1,155 +1,11 @@
1
1
  import { PropType } from 'vue';
2
- import { NormalizedOption, RawOption } from '@/types';
3
- import { t } from '@/i18n';
2
+ import { RawOption } from '@/types';
4
3
  import { Size } from '@/utils/sizes';
5
4
  type SelectOption = string | number | null;
6
- declare const EMPTY_VALUE_INTERNAL = "";
7
- declare const select: import("vue").Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
8
- declare const nameInternal: import("vue").ComputedRef<string>, requiredInternal: import("vue").ComputedRef<boolean>;
9
- /**
10
- * Transform to external empty NULL
11
- * to internal empty ''.
12
- */
13
- declare const modelValueInternal: import("vue").ComputedRef<SelectOption | undefined>;
14
- /**
15
- *
16
- * Emit change while mutating internal empty value ''
17
- * to external empty value NULL.
18
- */
19
- declare function onChange(event: Event): void;
20
- declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[] | undefined>;
21
- declare const classes: import("vue").ComputedRef<string>;
22
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
23
5
  declare var __VLS_1: {};
24
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
25
7
  default?: (props: typeof __VLS_1) => any;
26
- }>;
27
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
28
- modelValue: {
29
- default: undefined;
30
- type: PropType<SelectOption | undefined>;
31
- };
32
- name: {
33
- default: undefined;
34
- type: StringConstructor;
35
- };
36
- class: {
37
- default: string;
38
- type: PropType<string | string[]>;
39
- };
40
- size: {
41
- default: undefined;
42
- type: PropType<Size>;
43
- };
44
- placeholder: {
45
- default: string;
46
- type: StringConstructor;
47
- };
48
- disabled: {
49
- default: boolean;
50
- type: BooleanConstructor;
51
- };
52
- required: {
53
- default: undefined;
54
- type: BooleanConstructor;
55
- };
56
- hasError: {
57
- default: boolean;
58
- type: BooleanConstructor;
59
- };
60
- options: {
61
- default: undefined;
62
- type: PropType<RawOption[]>;
63
- };
64
- labelKey: {
65
- default: undefined;
66
- type: StringConstructor;
67
- };
68
- valueKey: {
69
- default: undefined;
70
- type: StringConstructor;
71
- };
72
- visibleFocus: {
73
- default: boolean;
74
- type: BooleanConstructor;
75
- };
76
- }>, {
77
- t: typeof t;
78
- EMPTY_VALUE_INTERNAL: typeof EMPTY_VALUE_INTERNAL;
79
- select: typeof select;
80
- nameInternal: typeof nameInternal;
81
- requiredInternal: typeof requiredInternal;
82
- modelValueInternal: typeof modelValueInternal;
83
- onChange: typeof onChange;
84
- normalizedOptions: typeof normalizedOptions;
85
- classes: typeof classes;
86
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
- "update:modelValue": (...args: any[]) => void;
88
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
- modelValue: {
90
- default: undefined;
91
- type: PropType<SelectOption | undefined>;
92
- };
93
- name: {
94
- default: undefined;
95
- type: StringConstructor;
96
- };
97
- class: {
98
- default: string;
99
- type: PropType<string | string[]>;
100
- };
101
- size: {
102
- default: undefined;
103
- type: PropType<Size>;
104
- };
105
- placeholder: {
106
- default: string;
107
- type: StringConstructor;
108
- };
109
- disabled: {
110
- default: boolean;
111
- type: BooleanConstructor;
112
- };
113
- required: {
114
- default: undefined;
115
- type: BooleanConstructor;
116
- };
117
- hasError: {
118
- default: boolean;
119
- type: BooleanConstructor;
120
- };
121
- options: {
122
- default: undefined;
123
- type: PropType<RawOption[]>;
124
- };
125
- labelKey: {
126
- default: undefined;
127
- type: StringConstructor;
128
- };
129
- valueKey: {
130
- default: undefined;
131
- type: StringConstructor;
132
- };
133
- visibleFocus: {
134
- default: boolean;
135
- type: BooleanConstructor;
136
- };
137
- }>> & Readonly<{
138
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
139
- }>, {
140
- class: string | string[];
141
- size: "xs" | "sm" | "md" | "lg" | "xl";
142
- required: boolean;
143
- disabled: boolean;
144
- name: string;
145
- options: RawOption[];
146
- modelValue: SelectOption | undefined;
147
- placeholder: string;
148
- hasError: boolean;
149
- visibleFocus: boolean;
150
- labelKey: string;
151
- valueKey: string;
152
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ };
153
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
154
10
  modelValue: {
155
11
  default: undefined;
@@ -254,13 +110,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
254
110
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
255
111
  }>, {
256
112
  class: string | string[];
113
+ placeholder: string;
257
114
  size: "xs" | "sm" | "md" | "lg" | "xl";
258
115
  required: boolean;
259
116
  disabled: boolean;
260
117
  name: string;
261
118
  options: RawOption[];
262
119
  modelValue: SelectOption | undefined;
263
- placeholder: string;
264
120
  hasError: boolean;
265
121
  visibleFocus: boolean;
266
122
  labelKey: string;
@@ -75,9 +75,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  type: PropType<"low" | "high">;
76
76
  };
77
77
  }>> & Readonly<{}>, {
78
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
79
78
  href: string | undefined;
80
79
  color: string;
80
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | undefined;
81
81
  description: string;
82
82
  contrast: "high" | "low";
83
83
  action: () => Promise<void> | undefined;
@@ -2,15 +2,10 @@ type __VLS_Props = {
2
2
  size?: 'xs' | 'sm' | 'md' | 'lg';
3
3
  orientation?: 'left' | 'right';
4
4
  };
5
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
5
  declare var __VLS_1: {};
7
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
8
7
  default?: (props: typeof __VLS_1) => any;
9
- }>;
10
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
- size: "xs" | "sm" | "md" | "lg";
12
- orientation: "left" | "right";
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ };
14
9
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
10
  size: "xs" | "sm" | "md" | "lg";
16
11
  orientation: "left" | "right";
@@ -1,31 +1,15 @@
1
- import { NavigationFailure, RouteLocationRaw } from 'vue-router';
1
+ import { RouteLocationRaw } from 'vue-router';
2
2
  type __VLS_Props = {
3
3
  to: RouteLocationRaw;
4
4
  disabled?: boolean;
5
5
  activeStrategy?: 'default' | 'exact';
6
6
  };
7
- declare const orientation: import("vue").Ref<"left" | "right", "left" | "right">;
8
- declare function onClick(navigate: () => Promise<void | NavigationFailure>): Promise<void | NavigationFailure> | undefined;
9
- declare function isActiveInternal(isActive: boolean, isExactActive: boolean): boolean;
10
- declare const sizeClassOuter: import("vue").ComputedRef<"" | "py-0.5" | "py-1" | "py-2">;
11
- declare const sizeClassInner: import("vue").ComputedRef<"" | "text-xs px-3 py-0.5 font-normal" | "text-sm px-4 py-0.5 font-normal" | "text-base px-5 py-0.5 font-normal">;
12
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
7
  declare var __VLS_6: {
14
8
  active: boolean;
15
9
  };
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ type __VLS_Slots = {} & {
17
11
  default?: (props: typeof __VLS_6) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
20
- orientation: typeof orientation;
21
- onClick: typeof onClick;
22
- isActiveInternal: typeof isActiveInternal;
23
- sizeClassOuter: typeof sizeClassOuter;
24
- sizeClassInner: typeof sizeClassInner;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
- disabled: boolean;
27
- activeStrategy: "default" | "exact";
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ };
29
13
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
30
14
  disabled: boolean;
31
15
  activeStrategy: "default" | "exact";
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
21
21
  class: string | string[];
22
22
  delay: string;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
24
- default?: ((props: {}) => any) | undefined;
24
+ default?: (props: {}) => any;
25
25
  }>;
26
26
  export default _default;
27
27
  type __VLS_WithSlots<T, S> = T & {