sprintify-ui 0.8.35 → 0.8.37

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 (204) hide show
  1. package/README.md +1 -1
  2. package/dist/sprintify-ui.es.js +7597 -7492
  3. package/dist/types/components/BaseActionItem.vue.d.ts +12 -2
  4. package/dist/types/components/BaseActionItemButton.vue.d.ts +3 -3
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +19 -19
  6. package/dist/types/components/BaseAlert.vue.d.ts +19 -17
  7. package/dist/types/components/BaseApp.vue.d.ts +4 -2
  8. package/dist/types/components/BaseAppDialogs.vue.d.ts +2 -2
  9. package/dist/types/components/BaseAutocomplete.vue.d.ts +47 -44
  10. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +22 -19
  11. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +44 -41
  12. package/dist/types/components/BaseAvatar.vue.d.ts +4 -4
  13. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  14. package/dist/types/components/BaseBadge.vue.d.ts +22 -19
  15. package/dist/types/components/BaseBelongsTo.vue.d.ts +38 -35
  16. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +39 -36
  17. package/dist/types/components/BaseButton.vue.d.ts +54 -31
  18. package/dist/types/components/BaseButtonGroup.vue.d.ts +22 -19
  19. package/dist/types/components/BaseCalendar.vue.d.ts +24 -22
  20. package/dist/types/components/BaseCard.vue.d.ts +6 -4
  21. package/dist/types/components/BaseCardRow.vue.d.ts +9 -7
  22. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  23. package/dist/types/components/BaseClipboard.vue.d.ts +6 -4
  24. package/dist/types/components/BaseCollapse.vue.d.ts +34 -32
  25. package/dist/types/components/BaseColor.vue.d.ts +5 -4
  26. package/dist/types/components/BaseContainer.vue.d.ts +19 -13
  27. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  28. package/dist/types/components/BaseCropper.vue.d.ts +24 -22
  29. package/dist/types/components/BaseCropperModal.vue.d.ts +4 -4
  30. package/dist/types/components/BaseDataIterator.vue.d.ts +13 -24
  31. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +6 -4
  32. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +3 -818
  33. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +6 -4
  34. package/dist/types/components/BaseDataTable.vue.d.ts +37 -40
  35. package/dist/types/components/BaseDataTableRowAction.vue.d.ts +2 -2
  36. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +28 -25
  37. package/dist/types/components/BaseDatePicker.vue.d.ts +33 -33
  38. package/dist/types/components/BaseDateSelect.vue.d.ts +3 -2
  39. package/dist/types/components/BaseDescriptionList.vue.d.ts +4 -2
  40. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +4 -2
  41. package/dist/types/components/BaseDialog.vue.d.ts +9 -7
  42. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +9 -7
  43. package/dist/types/components/BaseDraggable.vue.d.ts +10 -8
  44. package/dist/types/components/BaseDropdown.vue.d.ts +10 -8
  45. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +20 -18
  46. package/dist/types/components/BaseField.vue.d.ts +11 -8
  47. package/dist/types/components/BaseFieldI18n.vue.d.ts +6 -6
  48. package/dist/types/components/BaseFilePicker.vue.d.ts +24 -22
  49. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +18 -16
  50. package/dist/types/components/BaseFileUploader.vue.d.ts +58 -56
  51. package/dist/types/components/BaseForm.vue.d.ts +21 -19
  52. package/dist/types/components/BaseGantt.vue.d.ts +20 -411
  53. package/dist/types/components/BaseHasMany.vue.d.ts +39 -37
  54. package/dist/types/components/BaseHeader.vue.d.ts +20 -20
  55. package/dist/types/components/BaseIconPicker.vue.d.ts +7 -7
  56. package/dist/types/components/BaseInput.vue.d.ts +32 -31
  57. package/dist/types/components/BaseInputError.vue.d.ts +9 -6
  58. package/dist/types/components/BaseInputLabel.vue.d.ts +3 -2
  59. package/dist/types/components/BaseInputPercent.vue.d.ts +8 -8
  60. package/dist/types/components/BaseJsonReader.vue.d.ts +7 -7
  61. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +4 -4
  62. package/dist/types/components/BaseLayoutNotificationDropdown.vue.d.ts +1 -1
  63. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +13 -10
  64. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +10 -8
  65. package/dist/types/components/BaseLayoutStacked.vue.d.ts +25 -23
  66. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +9 -7
  67. package/dist/types/components/BaseLoadingCover.vue.d.ts +3 -3
  68. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  69. package/dist/types/components/BaseMediaLibrary.vue.d.ts +39 -38
  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/BaseMenu.vue.d.ts +26 -18
  74. package/dist/types/components/BaseMenuItem.vue.d.ts +5 -5
  75. package/dist/types/components/BaseModalCenter.vue.d.ts +8 -6
  76. package/dist/types/components/BaseModalSide.vue.d.ts +8 -6
  77. package/dist/types/components/BaseNavbar.vue.d.ts +17 -15
  78. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  79. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +4 -4
  80. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  81. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +4 -4
  82. package/dist/types/components/BasePanel.vue.d.ts +1 -1
  83. package/dist/types/components/BasePassword.vue.d.ts +6 -5
  84. package/dist/types/components/BaseProgressCircle.vue.d.ts +2 -2
  85. package/dist/types/components/BaseRadioGroup.vue.d.ts +10 -8
  86. package/dist/types/components/BaseReadMore.vue.d.ts +6 -4
  87. package/dist/types/components/BaseRichText.vue.d.ts +6 -5
  88. package/dist/types/components/BaseScrollColumn.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSelect.vue.d.ts +13 -10
  90. package/dist/types/components/BaseShortcut.vue.d.ts +4 -4
  91. package/dist/types/components/BaseSideNavigation.vue.d.ts +8 -6
  92. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +12 -10
  93. package/dist/types/components/BaseStatistic.vue.d.ts +1 -1
  94. package/dist/types/components/BaseSwitch.vue.d.ts +14 -12
  95. package/dist/types/components/BaseSystemAlert.vue.d.ts +13 -11
  96. package/dist/types/components/BaseTabItem.vue.d.ts +12 -10
  97. package/dist/types/components/BaseTable.vue.d.ts +27 -24
  98. package/dist/types/components/BaseTableBody.vue.d.ts +4 -2
  99. package/dist/types/components/BaseTableCell.vue.d.ts +29 -27
  100. package/dist/types/components/BaseTableColumn.vue.d.ts +11 -11
  101. package/dist/types/components/BaseTableHead.vue.d.ts +6 -4
  102. package/dist/types/components/BaseTableHeader.vue.d.ts +11 -9
  103. package/dist/types/components/BaseTableRow.vue.d.ts +20 -18
  104. package/dist/types/components/BaseTabs.vue.d.ts +8 -6
  105. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +47 -44
  106. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +40 -38
  107. package/dist/types/components/BaseTextarea.vue.d.ts +8 -7
  108. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +7 -6
  109. package/dist/types/components/BaseTimePicker.vue.d.ts +4 -3
  110. package/dist/types/components/BaseTooltip.vue.d.ts +15 -13
  111. package/dist/types/composables/breakpoints.d.ts +6 -6
  112. package/dist/types/composables/mediaQuery.d.ts +1 -1
  113. package/dist/types/composables/modal.d.ts +1 -1
  114. package/package.json +14 -20
  115. package/src/components/BaseAddressForm.stories.js +32 -33
  116. package/src/components/BaseAlert.stories.js +13 -13
  117. package/src/components/BaseAutocomplete.stories.js +26 -26
  118. package/src/components/BaseAutocomplete.vue +10 -3
  119. package/src/components/BaseAutocompleteFetch.stories.js +24 -28
  120. package/src/components/BaseAvatar.stories.js +11 -11
  121. package/src/components/BaseAvatarGroup.stories.js +9 -9
  122. package/src/components/BaseBadge.stories.js +18 -19
  123. package/src/components/BaseBelongsTo.stories.js +20 -20
  124. package/src/components/BaseBelongsToFetch.stories.js +21 -25
  125. package/src/components/BaseBoolean.stories.js +3 -3
  126. package/src/components/BaseBreadcrumbs.stories.js +14 -14
  127. package/src/components/BaseButton.stories.js +34 -34
  128. package/src/components/BaseButtonGroup.stories.js +18 -18
  129. package/src/components/BaseCalendar.stories.js +122 -46
  130. package/src/components/BaseCard.stories.js +3 -3
  131. package/src/components/BaseCharacterCounter.stories.js +5 -5
  132. package/src/components/BaseClipboard.stories.js +6 -6
  133. package/src/components/BaseCollapse.stories.js +81 -82
  134. package/src/components/BaseColor.stories.js +8 -8
  135. package/src/components/BaseContainer.stories.js +6 -6
  136. package/src/components/BaseCounter.stories.js +9 -9
  137. package/src/components/BaseCropper.stories.js +11 -11
  138. package/src/components/BaseCropperModal.stories.js +6 -6
  139. package/src/components/BaseDataIterator.stories.js +30 -33
  140. package/src/components/BaseDataTable.stories.js +61 -56
  141. package/src/components/BaseDatePicker.stories.js +29 -29
  142. package/src/components/BaseDateSelect.stories.js +9 -9
  143. package/src/components/BaseDescriptionList.stories.js +4 -4
  144. package/src/components/BaseDialog.stories.js +27 -27
  145. package/src/components/BaseDisplayRelativeTime.stories.js +4 -4
  146. package/src/components/BaseDropdown.stories.js +13 -13
  147. package/src/components/BaseDropdownAutocomplete.stories.js +25 -25
  148. package/src/components/BaseFieldI18n.stories.js +9 -9
  149. package/src/components/BaseFilePicker.stories.js +8 -8
  150. package/src/components/BaseFilePickerCrop.stories.js +15 -15
  151. package/src/components/BaseFileUploader.stories.js +12 -13
  152. package/src/components/BaseForm.stories.js +7 -7
  153. package/src/components/BaseGantt.stories.js +22 -16
  154. package/src/components/BaseHasMany.stories.js +18 -22
  155. package/src/components/BaseHeader.stories.js +43 -43
  156. package/src/components/BaseIconPicker.stories.js +4 -4
  157. package/src/components/BaseInput.stories.js +48 -48
  158. package/src/components/BaseInputLabel.stories.js +6 -6
  159. package/src/components/BaseInputPercent.stories.js +8 -8
  160. package/src/components/BaseJsonReader.stories.js +42 -49
  161. package/src/components/BaseJsonReader.vue +0 -1
  162. package/src/components/BaseLayoutSidebar.vue +1 -1
  163. package/src/components/BaseLayoutSidebarConfigurable.stories.js +72 -73
  164. package/src/components/BaseLayoutSidebarConfigurable.vue +1 -1
  165. package/src/components/BaseLayoutStackedConfigurable.stories.js +68 -69
  166. package/src/components/BaseLoadingCover.stories.js +9 -9
  167. package/src/components/BaseMediaItem.stories.js +10 -10
  168. package/src/components/BaseMediaLibrary.stories.js +58 -58
  169. package/src/components/BaseMediaPreview.stories.js +21 -21
  170. package/src/components/BaseMenu.stories.js +34 -34
  171. package/src/components/BaseModalCenter.stories.js +9 -9
  172. package/src/components/BaseModalSide.stories.js +6 -6
  173. package/src/components/BaseNavbar.stories.js +26 -26
  174. package/src/components/BasePagination.stories.js +2 -2
  175. package/src/components/BasePanel.stories.js +9 -9
  176. package/src/components/BasePassword.stories.js +11 -12
  177. package/src/components/BaseProgressCircle.stories.js +3 -3
  178. package/src/components/BaseRadioGroup.stories.js +15 -15
  179. package/src/components/BaseReadMore.stories.js +3 -3
  180. package/src/components/BaseRichText.stories.js +32 -32
  181. package/src/components/BaseSelect.stories.js +19 -19
  182. package/src/components/BaseShortcut.stories.js +28 -28
  183. package/src/components/BaseSideNavigation.stories.js +11 -11
  184. package/src/components/BaseSkeleton.stories.js +3 -3
  185. package/src/components/BaseStatistic.stories.js +16 -16
  186. package/src/components/BaseStepper.stories.js +29 -29
  187. package/src/components/BaseStepperItem.stories.js +11 -11
  188. package/src/components/BaseSwitch.stories.js +25 -25
  189. package/src/components/BaseSystemAlert.stories.js +7 -7
  190. package/src/components/BaseTable.stories.js +14 -16
  191. package/src/components/BaseTabs.stories.js +12 -13
  192. package/src/components/BaseTagAutocomplete.stories.js +19 -19
  193. package/src/components/BaseTagAutocompleteFetch.stories.js +11 -11
  194. package/src/components/BaseTextarea.stories.js +10 -10
  195. package/src/components/BaseTextareaAutoresize.stories.js +13 -13
  196. package/src/components/BaseTimePicker.stories.js +9 -9
  197. package/src/components/BaseTimeline.stories.js +22 -22
  198. package/src/components/BaseTimelineItem.stories.js +23 -22
  199. package/src/components/BaseToast.stories.js +6 -6
  200. package/src/components/BaseTooltip.stories.js +27 -27
  201. package/src/components/BaseUniqueCode.stories.js +7 -7
  202. package/src/stories/InputSizes.stories.js +13 -14
  203. package/src/stories/List.stories.js +92 -92
  204. package/src/stories/Show.stories.js +13 -14
@@ -1,7 +1,7 @@
1
- import BaseStepper from './BaseStepper.vue';
1
+ import BaseStepper from "./BaseStepper.vue";
2
2
 
3
3
  export default {
4
- title: 'Layout/BaseStepper',
4
+ title: "Layout/BaseStepper",
5
5
  component: BaseStepper,
6
6
  };
7
7
 
@@ -15,24 +15,24 @@ const Template = (args) => ({
15
15
 
16
16
  const threeItems = [
17
17
  {
18
- title: 'Job details',
19
- description: 'Vitae sed mi luctus laoreet.',
18
+ title: "Job details",
19
+ description: "Vitae sed mi luctus laoreet.",
20
20
  stepNumber: 1,
21
- status: 'completed',
21
+ status: "completed",
22
22
  index: 0,
23
23
  },
24
24
  {
25
- title: 'Application form',
26
- description: 'Cursus semper viverra.',
25
+ title: "Application form",
26
+ description: "Cursus semper viverra.",
27
27
  stepNumber: 2,
28
- status: 'current',
28
+ status: "current",
29
29
  index: 1,
30
30
  },
31
31
  {
32
- title: 'Preview',
33
- description: 'Penatibus eu quis ante.',
32
+ title: "Preview",
33
+ description: "Penatibus eu quis ante.",
34
34
  stepNumber: 3,
35
- status: 'pending',
35
+ status: "pending",
36
36
  index: 2,
37
37
  },
38
38
  ];
@@ -45,45 +45,45 @@ Demo.args = {
45
45
 
46
46
  const sixItems = [
47
47
  {
48
- title: 'Job details',
49
- description: 'Vitae sed mi luctus laoreet.',
48
+ title: "Job details",
49
+ description: "Vitae sed mi luctus laoreet.",
50
50
  stepNumber: 1,
51
- status: 'completed',
51
+ status: "completed",
52
52
  index: 0,
53
53
  },
54
54
  {
55
- title: 'Application form',
56
- description: 'Cursus semper viverra.',
55
+ title: "Application form",
56
+ description: "Cursus semper viverra.",
57
57
  stepNumber: 2,
58
- status: 'completed',
58
+ status: "completed",
59
59
  index: 1,
60
60
  },
61
61
  {
62
- title: 'Preview',
63
- description: 'Penatibus eu quis ante.',
62
+ title: "Preview",
63
+ description: "Penatibus eu quis ante.",
64
64
  stepNumber: 3,
65
- status: 'completed',
65
+ status: "completed",
66
66
  index: 2,
67
67
  },
68
68
  {
69
- title: 'HR interview',
70
- description: 'Penatibus eu quis ante.',
69
+ title: "HR interview",
70
+ description: "Penatibus eu quis ante.",
71
71
  stepNumber: 4,
72
- status: 'completed',
72
+ status: "completed",
73
73
  index: 3,
74
74
  },
75
75
  {
76
- title: 'Technical interview',
77
- description: 'Penatibus eu quis ante.',
76
+ title: "Technical interview",
77
+ description: "Penatibus eu quis ante.",
78
78
  stepNumber: 5,
79
- status: 'current',
79
+ status: "current",
80
80
  index: 4,
81
81
  },
82
82
  {
83
- title: 'Hiring',
84
- description: 'Penatibus eu quis ante.',
83
+ title: "Hiring",
84
+ description: "Penatibus eu quis ante.",
85
85
  stepNumber: 6,
86
- status: 'pending',
86
+ status: "pending",
87
87
  index: 5,
88
88
  },
89
89
  ];
@@ -1,15 +1,15 @@
1
- import BaseStepperItem from './BaseStepperItem.vue';
1
+ import BaseStepperItem from "./BaseStepperItem.vue";
2
2
 
3
3
  export default {
4
- title: 'Layout/BaseStepperItem',
4
+ title: "Layout/BaseStepperItem",
5
5
  component: BaseStepperItem,
6
6
  argTypes: {
7
7
  status: {
8
- control: { type: 'select' },
9
- options: ['pending', 'current', 'completed'],
8
+ control: { type: "select" },
9
+ options: ["pending", "current", "completed"],
10
10
  },
11
11
  description: {
12
- control: { type: 'text' },
12
+ control: { type: "text" },
13
13
  },
14
14
  },
15
15
  };
@@ -47,19 +47,19 @@ const Template = (args) => ({
47
47
  export const Simple = Template.bind({});
48
48
 
49
49
  Simple.args = {
50
- title: 'Job application',
51
- description: '',
50
+ title: "Job application",
51
+ description: "",
52
52
  stepNumber: 1,
53
- status: 'pending',
53
+ status: "pending",
54
54
  index: 0,
55
55
  };
56
56
 
57
57
  export const WithDescription = Template.bind({});
58
58
 
59
59
  WithDescription.args = {
60
- title: 'Job application',
61
- description: 'Vitae sed mi luctus laoreet.',
60
+ title: "Job application",
61
+ description: "Vitae sed mi luctus laoreet.",
62
62
  stepNumber: 1,
63
- status: 'current',
63
+ status: "current",
64
64
  index: 0,
65
65
  };
@@ -1,27 +1,27 @@
1
- import BaseSwitch from './BaseSwitch.vue';
2
- import BaseContainer from './BaseContainer.vue';
3
- import { createFieldStory, sizes } from '../../.storybook/utils';
1
+ import BaseSwitch from "./BaseSwitch.vue";
2
+ import BaseContainer from "./BaseContainer.vue";
3
+ import { createFieldStory, sizes } from "../../.storybook/utils";
4
4
 
5
5
  export default {
6
- title: 'Form/BaseSwitch',
6
+ title: "Form/BaseSwitch",
7
7
  component: BaseSwitch,
8
8
  args: {},
9
9
  argTypes: {
10
10
  color: {
11
- control: { type: 'select' },
11
+ control: { type: "select" },
12
12
  options: [
13
- 'primary',
14
- 'success',
15
- 'info',
16
- 'warning',
17
- 'danger',
18
- 'light',
19
- 'dark',
13
+ "primary",
14
+ "success",
15
+ "info",
16
+ "warning",
17
+ "danger",
18
+ "light",
19
+ "dark",
20
20
  ],
21
21
  },
22
22
  size: {
23
- control: { type: 'select' },
24
- options: ['xs', 'sm', 'base', 'lg', 'xl'],
23
+ control: { type: "select" },
24
+ options: ["xs", "sm", "base", "lg", "xl"],
25
25
  },
26
26
  },
27
27
  };
@@ -51,13 +51,13 @@ Disabled.args = {
51
51
  };
52
52
 
53
53
  const colors = [
54
- 'primary',
55
- 'info',
56
- 'success',
57
- 'warning',
58
- 'danger',
59
- 'light',
60
- 'dark',
54
+ "primary",
55
+ "info",
56
+ "success",
57
+ "warning",
58
+ "danger",
59
+ "light",
60
+ "dark",
61
61
  ];
62
62
 
63
63
  const Colors = (args) => ({
@@ -106,8 +106,8 @@ AllSizes.args = {};
106
106
 
107
107
  export const Field = createFieldStory({
108
108
  component: BaseSwitch,
109
- componentName: 'BaseSwitch',
110
- label: 'Activate',
109
+ componentName: "BaseSwitch",
110
+ label: "Activate",
111
111
  });
112
112
 
113
113
  const Icons = (args) => ({
@@ -128,6 +128,6 @@ const Icons = (args) => ({
128
128
 
129
129
  export const WithIcons = Icons.bind({});
130
130
  WithIcons.args = {
131
- checkedIcon: 'heroicons-solid:check',
132
- unCheckedIcon: 'heroicons-solid:x',
131
+ checkedIcon: "heroicons-solid:check",
132
+ unCheckedIcon: "heroicons-solid:x",
133
133
  };
@@ -1,15 +1,15 @@
1
- import BaseSystemAlert from './BaseSystemAlert.vue';
1
+ import BaseSystemAlert from "./BaseSystemAlert.vue";
2
2
 
3
3
  export default {
4
- title: 'Layout/BaseSystemAlert',
4
+ title: "Layout/BaseSystemAlert",
5
5
  component: BaseSystemAlert,
6
6
  args: {
7
- to: 'https://google.com',
7
+ to: "https://google.com",
8
8
  },
9
9
  argTypes: {
10
10
  color: {
11
- control: { type: 'select' },
12
- options: ['success', 'info', 'warning', 'danger'],
11
+ control: { type: "select" },
12
+ options: ["success", "info", "warning", "danger"],
13
13
  },
14
14
  },
15
15
  };
@@ -20,7 +20,7 @@ const Template = (args) => ({
20
20
  },
21
21
  setup() {
22
22
  function onClose() {
23
- alert('close');
23
+ alert("close");
24
24
  }
25
25
 
26
26
  return { args, onClose };
@@ -40,7 +40,7 @@ Closable.args = {
40
40
  closable: true,
41
41
  };
42
42
 
43
- const colors = ['info', 'success', 'warning', 'danger'];
43
+ const colors = ["info", "success", "warning", "danger"];
44
44
 
45
45
  const Colors = (args) => ({
46
46
  components: {
@@ -1,26 +1,26 @@
1
- import BaseTable from './BaseTable.vue';
2
- import BaseTableHead from './BaseTableHead.vue';
3
- import BaseTableBody from './BaseTableBody.vue';
4
- import BaseTableRow from './BaseTableRow.vue';
5
- import BaseTableCell from './BaseTableCell.vue';
6
- import BaseTableHeader from './BaseTableHeader.vue';
7
- import BaseBadge from './BaseBadge.vue';
8
- import { options, optionsLarge } from '../../.storybook/utils';
1
+ import BaseTable from "./BaseTable.vue";
2
+ import BaseTableHead from "./BaseTableHead.vue";
3
+ import BaseTableBody from "./BaseTableBody.vue";
4
+ import BaseTableRow from "./BaseTableRow.vue";
5
+ import BaseTableCell from "./BaseTableCell.vue";
6
+ import BaseTableHeader from "./BaseTableHeader.vue";
7
+ import BaseBadge from "./BaseBadge.vue";
8
+ import { options, optionsLarge } from "../../.storybook/utils";
9
9
 
10
10
  export default {
11
- title: 'Data/BaseTable',
11
+ title: "Data/BaseTable",
12
12
  component: BaseTable,
13
13
  args: {},
14
14
  argTypes: {
15
15
  size: {
16
16
  control: {
17
- type: 'select',
17
+ type: "select",
18
18
  },
19
- options: ['none', 'xs', 'sm', 'md', 'lg'],
19
+ options: ["none", "xs", "sm", "md", "lg"],
20
20
  },
21
21
  loading: {
22
22
  control: {
23
- type: 'boolean',
23
+ type: "boolean",
24
24
  },
25
25
  },
26
26
  },
@@ -61,7 +61,6 @@ const components = {
61
61
  BaseBadge,
62
62
  };
63
63
 
64
-
65
64
  const Template = (args) => ({
66
65
  components: components,
67
66
  setup() {
@@ -177,9 +176,8 @@ RouterLink.args = {};
177
176
  const TemplateCellClick = (args) => ({
178
177
  components: components,
179
178
  setup() {
180
-
181
179
  const al = function () {
182
- alert('clicked');
180
+ alert("clicked");
183
181
  };
184
182
 
185
183
  return { args, options, al };
@@ -240,4 +238,4 @@ const TemplateCellClick = (args) => ({
240
238
  });
241
239
 
242
240
  export const CellClick = TemplateCellClick.bind({});
243
- CellClick.args = {};
241
+ CellClick.args = {};
@@ -1,12 +1,12 @@
1
- import BaseTabs from './BaseTabs.vue';
2
- import BaseTabItem from './BaseTabItem.vue';
3
- import BaseContainer from './BaseContainer.vue';
4
- import BaseCard from './BaseCard.vue';
5
- import BaseCardRow from './BaseCardRow.vue';
6
- import BaseCounter from './BaseCounter.vue';
1
+ import BaseTabs from "./BaseTabs.vue";
2
+ import BaseTabItem from "./BaseTabItem.vue";
3
+ import BaseContainer from "./BaseContainer.vue";
4
+ import BaseCard from "./BaseCard.vue";
5
+ import BaseCardRow from "./BaseCardRow.vue";
6
+ import BaseCounter from "./BaseCounter.vue";
7
7
 
8
8
  export default {
9
- title: 'Navigation/BaseTabs',
9
+ title: "Navigation/BaseTabs",
10
10
  component: BaseTabs,
11
11
  args: {},
12
12
  };
@@ -21,8 +21,7 @@ const Template = (args) => ({
21
21
  BaseCounter,
22
22
  },
23
23
  setup() {
24
-
25
- const label = ref('Home');
24
+ const label = ref("Home");
26
25
 
27
26
  setInterval(() => {
28
27
  label.value = Math.random().toString(36).substring(7);
@@ -77,20 +76,20 @@ Demo.args = {};
77
76
 
78
77
  export const SizeXS = Template.bind({});
79
78
  SizeXS.args = {
80
- size: 'xs',
79
+ size: "xs",
81
80
  };
82
81
 
83
82
  export const SizeSM = Template.bind({});
84
83
  SizeSM.args = {
85
- size: 'sm',
84
+ size: "sm",
86
85
  };
87
86
 
88
87
  export const SizeMD = Template.bind({});
89
88
  SizeMD.args = {
90
- size: 'md',
89
+ size: "md",
91
90
  };
92
91
 
93
92
  export const SizeLG = Template.bind({});
94
93
  SizeLG.args = {
95
- size: 'lg',
94
+ size: "lg",
96
95
  };
@@ -1,24 +1,24 @@
1
- import { createFieldStory, options, sizes } from '../../.storybook/utils';
2
- import BaseTagAutocomplete from './BaseTagAutocomplete.vue';
3
- import ShowValue from '@/../.storybook/components/ShowValue.vue';
4
- import BaseAppSnackbars from './BaseAppSnackbars.vue';
1
+ import { createFieldStory, options, sizes } from "../../.storybook/utils";
2
+ import BaseTagAutocomplete from "./BaseTagAutocomplete.vue";
3
+ import ShowValue from "@/../.storybook/components/ShowValue.vue";
4
+ import BaseAppSnackbars from "./BaseAppSnackbars.vue";
5
5
 
6
6
  export default {
7
- title: 'Form/BaseTagAutocomplete',
7
+ title: "Form/BaseTagAutocomplete",
8
8
  component: BaseTagAutocomplete,
9
9
  argTypes: {
10
10
  size: {
11
- control: { type: 'select' },
11
+ control: { type: "select" },
12
12
  options: sizes,
13
13
  },
14
14
  dropdownShow: {
15
- control: { type: 'select' },
16
- options: ['always', 'focus'],
15
+ control: { type: "select" },
16
+ options: ["always", "focus"],
17
17
  },
18
18
  },
19
19
  args: {
20
- labelKey: 'label',
21
- valueKey: 'value',
20
+ labelKey: "label",
21
+ valueKey: "value",
22
22
  options: options,
23
23
  },
24
24
  decorators: [() => ({ template: '<div class="mb-36"><story/></div>' })],
@@ -42,13 +42,13 @@ Demo.args = {};
42
42
 
43
43
  export const Max = Template.bind({});
44
44
  Max.args = {
45
- max: 3
45
+ max: 3,
46
46
  };
47
47
 
48
48
  export const AlwaysShowDropdown = Template.bind({});
49
49
  AlwaysShowDropdown.args = {
50
50
  inline: true,
51
- dropdownShow: 'always',
51
+ dropdownShow: "always",
52
52
  };
53
53
 
54
54
  export const NoFocus = Template.bind({});
@@ -93,11 +93,11 @@ export const SlotOption = (args) => ({
93
93
  const value = ref(null);
94
94
 
95
95
  const options = [
96
- { label: 'Red', value: 'red' },
97
- { label: 'Blue', value: 'blue' },
98
- { label: 'Green', value: 'green' },
99
- { label: 'Black', value: 'black' },
100
- { label: 'Gray', value: 'gray' },
96
+ { label: "Red", value: "red" },
97
+ { label: "Blue", value: "blue" },
98
+ { label: "Green", value: "green" },
99
+ { label: "Black", value: "black" },
100
+ { label: "Gray", value: "gray" },
101
101
  ];
102
102
 
103
103
  return { value, options, args };
@@ -253,6 +253,6 @@ export const SlotEmpty = (args) => {
253
253
 
254
254
  export const Field = createFieldStory({
255
255
  component: BaseTagAutocomplete,
256
- componentName: 'BaseTagAutocomplete',
257
- label: 'Name',
256
+ componentName: "BaseTagAutocomplete",
257
+ label: "Name",
258
258
  });
@@ -1,21 +1,21 @@
1
- import BaseTagAutocompleteFetch from './BaseTagAutocompleteFetch.vue';
2
- import ShowValue from '@/../.storybook/components/ShowValue.vue';
3
- import { createFieldStory, sizes } from '../../.storybook/utils';
4
- import BaseAppSnackbars from './BaseAppSnackbars.vue';
1
+ import BaseTagAutocompleteFetch from "./BaseTagAutocompleteFetch.vue";
2
+ import ShowValue from "@/../.storybook/components/ShowValue.vue";
3
+ import { createFieldStory, sizes } from "../../.storybook/utils";
4
+ import BaseAppSnackbars from "./BaseAppSnackbars.vue";
5
5
 
6
6
  export default {
7
- title: 'Form/BaseTagAutocompleteFetch',
7
+ title: "Form/BaseTagAutocompleteFetch",
8
8
  component: BaseTagAutocompleteFetch,
9
9
  argTypes: {
10
10
  size: {
11
- control: { type: 'select' },
11
+ control: { type: "select" },
12
12
  options: sizes,
13
13
  },
14
14
  },
15
15
  args: {
16
- url: 'https://effettandem.com/api/content/articles',
17
- labelKey: 'title',
18
- valueKey: 'id',
16
+ url: "https://effettandem.com/api/content/articles",
17
+ labelKey: "title",
18
+ valueKey: "id",
19
19
  },
20
20
  decorators: [() => ({ template: '<div class="mb-36"><story/></div>' })],
21
21
  };
@@ -199,6 +199,6 @@ export const SlotEmpty = (args) => {
199
199
 
200
200
  export const Field = createFieldStory({
201
201
  component: BaseTagAutocompleteFetch,
202
- componentName: 'BaseTagAutocompleteFetch',
203
- label: 'Name',
202
+ componentName: "BaseTagAutocompleteFetch",
203
+ label: "Name",
204
204
  });
@@ -1,15 +1,15 @@
1
- import { createFieldStory, sizes } from '../../.storybook/utils';
2
- import BaseTextarea from './BaseTextarea.vue';
1
+ import { createFieldStory, sizes } from "../../.storybook/utils";
2
+ import BaseTextarea from "./BaseTextarea.vue";
3
3
 
4
4
  export default {
5
- title: 'Form/BaseTextarea',
5
+ title: "Form/BaseTextarea",
6
6
  component: BaseTextarea,
7
7
  args: {
8
- placeholder: 'Describe your complete life in 4 sentences...',
8
+ placeholder: "Describe your complete life in 4 sentences...",
9
9
  },
10
10
  argTypes: {
11
11
  size: {
12
- control: { type: 'select' },
12
+ control: { type: "select" },
13
13
  options: sizes,
14
14
  },
15
15
  },
@@ -20,7 +20,7 @@ const Template = (args) => ({
20
20
  BaseTextarea,
21
21
  },
22
22
  setup() {
23
- const value = ref('');
23
+ const value = ref("");
24
24
  return { args, value };
25
25
  },
26
26
  template: `
@@ -38,14 +38,14 @@ Demo.args = {
38
38
 
39
39
  export const Disabled = Template.bind({});
40
40
  Disabled.args = {
41
- modelValue: 'Lorem ipsum...',
41
+ modelValue: "Lorem ipsum...",
42
42
  disabled: true,
43
43
  };
44
44
 
45
45
  export const Field = createFieldStory({
46
46
  component: BaseTextarea,
47
- componentName: 'BaseTextarea',
48
- label: 'Biography',
47
+ componentName: "BaseTextarea",
48
+ label: "Biography",
49
49
  });
50
50
 
51
51
  const TemplateSizes = (args) => ({
@@ -78,4 +78,4 @@ const FocusTemplate = (args) => ({
78
78
  `,
79
79
  });
80
80
 
81
- export const Focus = FocusTemplate.bind({});
81
+ export const Focus = FocusTemplate.bind({});
@@ -1,17 +1,17 @@
1
- import BaseTextareaAutoresize from './BaseTextareaAutoresize.vue';
2
- import ShowValue from '@/../.storybook/components/ShowValue.vue';
3
- import { createFieldStory, sizes } from '../../.storybook/utils';
1
+ import BaseTextareaAutoresize from "./BaseTextareaAutoresize.vue";
2
+ import ShowValue from "@/../.storybook/components/ShowValue.vue";
3
+ import { createFieldStory, sizes } from "../../.storybook/utils";
4
4
 
5
5
  export default {
6
- title: 'Form/BaseTextareaAutoresize',
6
+ title: "Form/BaseTextareaAutoresize",
7
7
  component: BaseTextareaAutoresize,
8
8
  args: {
9
- name: 'name',
10
- placeholder: 'Describe your complete life in 4 sentences...',
9
+ name: "name",
10
+ placeholder: "Describe your complete life in 4 sentences...",
11
11
  },
12
12
  argTypes: {
13
13
  size: {
14
- control: { type: 'select' },
14
+ control: { type: "select" },
15
15
  options: sizes,
16
16
  },
17
17
  },
@@ -24,7 +24,7 @@ const Template = (args) => ({
24
24
  },
25
25
  setup() {
26
26
  function onSubmit() {
27
- alert('submit');
27
+ alert("submit");
28
28
  }
29
29
  const value = ref(null);
30
30
  return { args, value, onSubmit };
@@ -53,7 +53,7 @@ SubmitOnEnter.args = {
53
53
 
54
54
  export const Disabled = Template.bind({});
55
55
  Disabled.args = {
56
- modelValue: 'Lorem ipsum...',
56
+ modelValue: "Lorem ipsum...",
57
57
  disabled: true,
58
58
  };
59
59
 
@@ -64,7 +64,7 @@ const TemplateTWTextarea = (args) => ({
64
64
  },
65
65
  setup() {
66
66
  function onSubmit() {
67
- alert('submit');
67
+ alert("submit");
68
68
  }
69
69
  const value = ref(null);
70
70
  return { args, value, onSubmit };
@@ -88,8 +88,8 @@ export const TWTextarea = TemplateTWTextarea.bind({});
88
88
 
89
89
  export const Field = createFieldStory({
90
90
  component: BaseTextareaAutoresize,
91
- componentName: 'BaseTextareaAutoresize',
92
- label: 'Biography',
91
+ componentName: "BaseTextareaAutoresize",
92
+ label: "Biography",
93
93
  });
94
94
 
95
95
  const TemplateSizes = (args) => ({
@@ -122,4 +122,4 @@ const FocusTemplate = (args) => ({
122
122
  `,
123
123
  });
124
124
 
125
- export const Focus = FocusTemplate.bind({});
125
+ export const Focus = FocusTemplate.bind({});
@@ -1,15 +1,15 @@
1
- import { createFieldStory, sizes } from '../../.storybook/utils';
2
- import BaseTimePicker from './BaseTimePicker.vue';
3
- import ShowValue from '@/../.storybook/components/ShowValue.vue';
1
+ import { createFieldStory, sizes } from "../../.storybook/utils";
2
+ import BaseTimePicker from "./BaseTimePicker.vue";
3
+ import ShowValue from "@/../.storybook/components/ShowValue.vue";
4
4
 
5
5
  export default {
6
- title: 'Form/BaseTimePicker',
6
+ title: "Form/BaseTimePicker",
7
7
  component: BaseTimePicker,
8
8
  argTypes: {
9
9
  size: {
10
- control: { type: 'select' },
10
+ control: { type: "select" },
11
11
  options: sizes,
12
- }
12
+ },
13
13
  },
14
14
  };
15
15
 
@@ -63,6 +63,6 @@ export const Sizes = TemplateSizes.bind({});
63
63
 
64
64
  export const Field = createFieldStory({
65
65
  component: BaseTimePicker,
66
- componentName: 'BaseTimePicker',
67
- label: 'Time',
68
- });
66
+ componentName: "BaseTimePicker",
67
+ label: "Time",
68
+ });