sprintify-ui 0.10.14 → 0.10.16

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 (119) hide show
  1. package/README.md +4 -2
  2. package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
  3. package/dist/sprintify-ui.es.js +14283 -81751
  4. package/dist/style.css +3 -3
  5. package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
  6. package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
  7. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  8. package/dist/types/components/BaseAlert.vue.d.ts +24 -11
  9. package/dist/types/components/BaseApp.vue.d.ts +14 -12
  10. package/dist/types/components/BaseAssign.vue.d.ts +1 -1
  11. package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
  12. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
  13. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
  14. package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
  15. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  16. package/dist/types/components/BaseBadge.vue.d.ts +23 -11
  17. package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
  18. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
  19. package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
  20. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
  21. package/dist/types/components/BaseButton.vue.d.ts +57 -13
  22. package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
  23. package/dist/types/components/BaseCard.vue.d.ts +26 -12
  24. package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
  25. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  26. package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
  27. package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
  28. package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
  29. package/dist/types/components/BaseContainer.vue.d.ts +16 -11
  30. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  31. package/dist/types/components/BaseCropper.vue.d.ts +55 -30
  32. package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
  33. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
  34. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
  35. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
  36. package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
  37. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
  38. package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
  39. package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
  40. package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
  41. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
  42. package/dist/types/components/BaseDialog.vue.d.ts +114 -407
  43. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
  44. package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
  45. package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
  46. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
  47. package/dist/types/components/BaseField.vue.d.ts +103 -12
  48. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  49. package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
  50. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
  51. package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
  52. package/dist/types/components/BaseForm.vue.d.ts +161 -20
  53. package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
  54. package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
  55. package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
  56. package/dist/types/components/BaseHeader.vue.d.ts +1 -1
  57. package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
  58. package/dist/types/components/BaseInputError.vue.d.ts +23 -11
  59. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
  60. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
  61. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
  62. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
  63. package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
  64. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
  65. package/dist/types/components/BaseLazy.vue.d.ts +20 -15
  66. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  67. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  68. package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
  69. package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
  70. package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
  71. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  72. package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
  73. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  74. package/dist/types/components/BaseMenu.vue.d.ts +233 -30
  75. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  76. package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
  77. package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
  78. package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
  79. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  80. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  81. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  82. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  83. package/dist/types/components/BasePagination.vue.d.ts +1 -1
  84. package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
  85. package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
  86. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  87. package/dist/types/components/BaseSelect.vue.d.ts +149 -12
  88. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
  90. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
  91. package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
  92. package/dist/types/components/BaseStepper.vue.d.ts +1 -1
  93. package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
  94. package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
  95. package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
  96. package/dist/types/components/BaseTable.vue.d.ts +29 -14
  97. package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
  98. package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
  99. package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
  100. package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
  101. package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
  102. package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
  103. package/dist/types/components/BaseTabs.vue.d.ts +16 -15
  104. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
  105. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
  106. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  107. package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
  108. package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
  109. package/dist/types/components/BaseToast.vue.d.ts +1 -1
  110. package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
  111. package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
  112. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  113. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  114. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  115. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  116. package/package.json +5 -4
  117. package/src/components/BaseCkeditor.vue +137 -0
  118. package/src/components/BaseDraggable.vue +1 -1
  119. package/src/components/BaseRichText.vue +10 -100
@@ -1,27 +1,122 @@
1
1
  import { PropType } from 'vue';
2
2
  import { NormalizedOption } from '@/types';
3
+ import BaseSkeleton from './BaseSkeleton.vue';
4
+ import { Icon as BaseIcon } from '@iconify/vue';
5
+ import BaseSpinnerSmall from '../svg/BaseSpinnerSmall.vue';
6
+ import { t } from '@/i18n';
3
7
  import { Size } from '@/utils/sizes';
8
+ declare const drawerRef: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>;
9
+ declare const focusOption: import("vue").ComputedRef<NormalizedOption>;
10
+ declare function onSelect(option: NormalizedOption): void;
11
+ declare function isSelected(option: NormalizedOption): boolean;
4
12
  declare function onKeydown(event: KeyboardEvent): void;
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- empty?(_: {}): any;
9
- option?(_: {
10
- option: import("@/types").RawOption;
11
- selected: boolean;
12
- active: boolean;
13
- }): any;
14
- footer?(_: {
15
- options: NormalizedOption[];
16
- }): any;
17
- };
18
- refs: {
19
- drawerRef: HTMLDivElement;
20
- footer: HTMLDivElement;
21
- };
22
- rootEl: HTMLDivElement;
13
+ declare const onOptionMouseEnter: (index: number) => void;
14
+ declare const onOptionMouseMove: import("lodash").DebouncedFuncLeading<(index: number) => void>;
15
+ declare const optionClass: (option: NormalizedOption) => "bg-white" | "bg-slate-200";
16
+ declare const optionSizeClass: import("vue").ComputedRef<"text-xs" | "text-sm">;
17
+ declare const optionIconClass: import("vue").ComputedRef<"w-4 h-4" | "w-5 h-5">;
18
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
19
+ declare var __VLS_1: {}, __VLS_3: {
20
+ option: import("@/types").RawOption;
21
+ selected: boolean;
22
+ active: boolean;
23
+ }, __VLS_12: {
24
+ options: NormalizedOption[];
23
25
  };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
27
+ empty?: (props: typeof __VLS_1) => any;
28
+ } & {
29
+ option?: (props: typeof __VLS_3) => any;
30
+ } & {
31
+ footer?: (props: typeof __VLS_12) => any;
32
+ }>;
33
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
34
+ selected: {
35
+ type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
36
+ default: undefined;
37
+ };
38
+ options: {
39
+ type: PropType<NormalizedOption[]>;
40
+ default(): never[];
41
+ };
42
+ keywords: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ loading: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ loadingBottom: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ size: {
55
+ type: PropType<Size>;
56
+ default: string;
57
+ };
58
+ twDrawer: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ }>, {
63
+ BaseSkeleton: typeof BaseSkeleton;
64
+ BaseIcon: typeof BaseIcon;
65
+ BaseSpinnerSmall: typeof BaseSpinnerSmall;
66
+ t: typeof t;
67
+ drawerRef: typeof drawerRef;
68
+ focusOption: typeof focusOption;
69
+ onSelect: typeof onSelect;
70
+ isSelected: typeof isSelected;
71
+ onOptionMouseEnter: typeof onOptionMouseEnter;
72
+ onOptionMouseMove: typeof onOptionMouseMove;
73
+ optionClass: typeof optionClass;
74
+ optionSizeClass: typeof optionSizeClass;
75
+ optionIconClass: typeof optionIconClass;
76
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
+ select: (...args: any[]) => void;
78
+ scrollBottom: (...args: any[]) => void;
79
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
80
+ selected: {
81
+ type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
82
+ default: undefined;
83
+ };
84
+ options: {
85
+ type: PropType<NormalizedOption[]>;
86
+ default(): never[];
87
+ };
88
+ keywords: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ loading: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ loadingBottom: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ size: {
101
+ type: PropType<Size>;
102
+ default: string;
103
+ };
104
+ twDrawer: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ }>> & Readonly<{
109
+ onSelect?: ((...args: any[]) => any) | undefined;
110
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
111
+ }>, {
112
+ size: "xs" | "sm" | "md" | "lg" | "xl";
113
+ options: NormalizedOption[];
114
+ loading: boolean;
115
+ selected: NormalizedOption | NormalizedOption[] | null | undefined;
116
+ keywords: string;
117
+ loadingBottom: boolean;
118
+ twDrawer: string;
119
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
120
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
26
121
  selected: {
27
122
  type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
@@ -96,10 +191,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
96
191
  keywords: string;
97
192
  loadingBottom: boolean;
98
193
  twDrawer: string;
99
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
100
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
194
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
195
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
101
196
  export default _default;
102
- type __VLS_WithTemplateSlots<T, S> = T & {
197
+ type __VLS_WithSlots<T, S> = T & {
103
198
  new (): {
104
199
  $slots: S;
105
200
  };