@bagelink/vue 1.0.54 → 1.0.60

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 (404) hide show
  1. package/dist/components/AddressSearch.vue.d.ts +9 -9
  2. package/dist/components/Alert.vue.d.ts +1 -1
  3. package/dist/components/Badge.vue.d.ts +1 -1
  4. package/dist/components/Btn.vue.d.ts +1 -1
  5. package/dist/components/DataPreview.vue.d.ts.map +1 -1
  6. package/dist/components/{DropDown.vue.d.ts → Dropdown.vue.d.ts} +1 -1
  7. package/dist/components/Icon/Icon.vue.d.ts +1 -1
  8. package/dist/components/ListItem.vue.d.ts +1 -1
  9. package/dist/components/{MapEmbed.vue.d.ts → MapEmbed/Index.vue.d.ts} +1 -1
  10. package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -0
  11. package/dist/components/Modal.vue.d.ts +1 -1
  12. package/dist/components/ModalConfirm.vue.d.ts +1 -1
  13. package/dist/components/ModalForm.vue.d.ts.map +1 -1
  14. package/dist/components/NavBar.vue.d.ts +1 -1
  15. package/dist/components/Pill.vue.d.ts +1 -1
  16. package/dist/components/Spreadsheet/Index.vue.d.ts +4 -4
  17. package/dist/components/{Calendar → calendar}/Index.vue.d.ts.map +1 -1
  18. package/dist/components/{Calendar → calendar}/components/header/Header.vue.d.ts.map +1 -1
  19. package/dist/components/{Calendar → calendar}/components/month/AgendaEventTile.vue.d.ts.map +1 -1
  20. package/dist/components/{Calendar → calendar}/components/month/AgendaEvents.vue.d.ts.map +1 -1
  21. package/dist/components/{Calendar → calendar}/components/month/Day.vue.d.ts.map +1 -1
  22. package/dist/components/{Calendar → calendar}/components/month/Event.vue.d.ts.map +1 -1
  23. package/dist/components/{Calendar → calendar}/components/month/Month.vue.d.ts.map +1 -1
  24. package/dist/components/{Calendar → calendar}/components/month/WeekDay.vue.d.ts.map +1 -1
  25. package/dist/components/{Calendar → calendar}/components/partials/EventFlyout.vue.d.ts.map +1 -1
  26. package/dist/components/{Calendar → calendar}/components/week/Day.vue.d.ts.map +1 -1
  27. package/dist/components/{Calendar → calendar}/components/week/DayEvent.vue.d.ts.map +1 -1
  28. package/dist/components/{Calendar → calendar}/components/week/DayTimeline.vue.d.ts.map +1 -1
  29. package/dist/components/{Calendar → calendar}/components/week/FullDayEvent.vue.d.ts.map +1 -1
  30. package/dist/components/{Calendar → calendar}/components/week/Week.vue.d.ts.map +1 -1
  31. package/dist/components/{Calendar → calendar}/components/week/WeekTimeline.vue.d.ts.map +1 -1
  32. package/dist/components/{Calendar → calendar}/constants.d.ts.map +1 -1
  33. package/dist/components/{Calendar → calendar}/helpers/DayIntervals.d.ts.map +1 -1
  34. package/dist/components/{Calendar → calendar}/helpers/EDate.d.ts.map +1 -1
  35. package/dist/components/{Calendar → calendar}/helpers/Errors.d.ts.map +1 -1
  36. package/dist/components/{Calendar → calendar}/helpers/EventChange.d.ts.map +1 -1
  37. package/dist/components/{Calendar → calendar}/helpers/EventConcurrency.d.ts.map +1 -1
  38. package/dist/components/{Calendar → calendar}/helpers/EventFlyoutPosition.d.ts.map +1 -1
  39. package/dist/components/{Calendar → calendar}/helpers/EventPosition.d.ts.map +1 -1
  40. package/dist/components/{Calendar → calendar}/helpers/EventsFilter.d.ts.map +1 -1
  41. package/dist/components/{Calendar → calendar}/helpers/Helpers.d.ts.map +1 -1
  42. package/dist/components/{Calendar → calendar}/helpers/Time.d.ts.map +1 -1
  43. package/dist/components/{Calendar → calendar}/helpers/Week.d.ts.map +1 -1
  44. package/dist/components/{Calendar → calendar}/language/index.d.ts.map +1 -1
  45. package/dist/components/{Calendar → calendar}/language/keys.d.ts.map +1 -1
  46. package/dist/components/{Calendar → calendar}/models/Event.d.ts.map +1 -1
  47. package/dist/components/{Calendar → calendar}/typings/config.interface.d.ts.map +1 -1
  48. package/dist/components/{Calendar → calendar}/typings/interfaces/day.interface.d.ts.map +1 -1
  49. package/dist/components/{Calendar → calendar}/typings/interfaces/event.interface.d.ts.map +1 -1
  50. package/dist/components/{Calendar → calendar}/typings/interfaces/full-day-events-week.type.d.ts.map +1 -1
  51. package/dist/components/{Calendar → calendar}/typings/interfaces/period.interface.d.ts.map +1 -1
  52. package/dist/components/{Calendar → calendar}/typings/interfaces/time-modes.d.ts.map +1 -1
  53. package/dist/components/{Calendar → calendar}/typings/types.d.ts.map +1 -1
  54. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -0
  55. package/dist/components/{DataTable → dataTable}/tableTypes.d.ts +1 -1
  56. package/dist/components/{DataTable → dataTable}/tableTypes.d.ts.map +1 -1
  57. package/dist/components/{DataTable → dataTable}/useSorting.d.ts.map +1 -1
  58. package/dist/components/{DataTable → dataTable}/useTableData.d.ts.map +1 -1
  59. package/dist/components/{DataTable → dataTable}/useTableSelection.d.ts.map +1 -1
  60. package/dist/components/{DataTable → dataTable}/useTableVirtualization.d.ts.map +1 -1
  61. package/dist/components/dialog/index.d.ts.map +1 -1
  62. package/dist/components/{Draggable → draggable}/Draggable.vue.d.ts.map +1 -1
  63. package/dist/components/{Draggable → draggable}/index.d.ts.map +1 -1
  64. package/dist/components/{Draggable → draggable}/useDraggable.d.ts.map +1 -1
  65. package/dist/components/{Draggable → draggable}/vDraggable.d.ts.map +1 -1
  66. package/dist/components/form/BagelForm.vue.d.ts +1 -1
  67. package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
  68. package/dist/components/form/FieldArray.vue.d.ts +1 -1
  69. package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
  70. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  71. package/dist/components/form/inputs/DateInput.vue.d.ts +2 -4
  72. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  73. package/dist/components/form/inputs/DatePick.vue.d.ts +2 -2
  74. package/dist/components/form/inputs/FileUpload.vue.d.ts +1 -1
  75. package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -1
  76. package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
  77. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
  78. package/dist/components/form/inputs/PhoneInput.vue.d.ts +4 -4
  79. package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
  80. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +1 -1
  81. package/dist/components/form/inputs/RichText/utils/media.d.ts +1 -1
  82. package/dist/components/form/inputs/SelectInput.vue.d.ts +7 -7
  83. package/dist/components/form/inputs/TextInput.vue.d.ts +1 -1
  84. package/dist/components/form/useBagelFormState.d.ts +1 -1
  85. package/dist/components/form/useBagelFormState.d.ts.map +1 -1
  86. package/dist/components/index.d.ts +5 -5
  87. package/dist/components/index.d.ts.map +1 -1
  88. package/dist/components/layout/BottomMenu.vue.d.ts +1 -1
  89. package/dist/components/layout/SidebarMenu.vue.d.ts +1 -1
  90. package/dist/components/layout/Tabs.vue.d.ts +1 -1
  91. package/dist/components/layout/TabsNav.vue.d.ts +1 -1
  92. package/dist/components/lightbox/index.d.ts +3 -5
  93. package/dist/components/lightbox/index.d.ts.map +1 -1
  94. package/dist/composables/index.d.ts +1 -1
  95. package/dist/composables/useFormField.d.ts +1 -1
  96. package/dist/index.cjs +737 -736
  97. package/dist/index.mjs +738 -737
  98. package/dist/plugins/bagel.d.ts +3 -3
  99. package/dist/plugins/bagel.d.ts.map +1 -1
  100. package/dist/plugins/modalTypes.d.ts +1 -1
  101. package/dist/style.css +204 -205
  102. package/dist/types/BagelForm.d.ts +1 -1
  103. package/dist/types/NavLink.d.ts +1 -1
  104. package/dist/types/TableSchema.d.ts +1 -1
  105. package/dist/utils/BagelFormUtils.d.ts +9 -4
  106. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  107. package/dist/utils/index.d.ts +1 -1
  108. package/dist/utils/index.d.ts.map +1 -1
  109. package/dist/utils/timeAgo.d.ts.map +1 -1
  110. package/package.json +7 -6
  111. package/src/components/DataPreview.vue +1 -1
  112. package/src/components/{MapEmbed.vue → MapEmbed/Index.vue} +1 -1
  113. package/src/components/{Calendar → calendar}/Index.vue +1 -1
  114. package/src/components/{Calendar → calendar}/models/Event.ts +1 -1
  115. package/src/components/form/inputs/DateInput.vue +46 -55
  116. package/src/components/form/inputs/DatePick.vue +2 -2
  117. package/src/components/form/inputs/NumberInput.vue +3 -3
  118. package/src/components/form/inputs/OTP.vue +1 -2
  119. package/src/components/form/inputs/RichText/utils/media.ts +8 -8
  120. package/src/components/form/inputs/TelInput.vue +4 -4
  121. package/src/components/form/inputs/Upload/UploadInput.vue +2 -2
  122. package/src/components/form/useBagelFormState.ts +2 -2
  123. package/src/components/index.ts +5 -6
  124. package/src/components/lightbox/index.ts +5 -2
  125. package/src/plugins/bagel.ts +9 -10
  126. package/src/utils/BagelFormUtils.ts +10 -1
  127. package/src/utils/timeAgo.ts +9 -17
  128. package/tsconfig.json +3 -1
  129. package/vite.config.ts +14 -6
  130. package/dist/common-C_IH8b5S.cjs +0 -12580
  131. package/dist/common-DoeNgx31.js +0 -12579
  132. package/dist/components/AddressSaerch.vue.d.ts +0 -7
  133. package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
  134. package/dist/components/BglComponent.vue.d.ts +0 -24
  135. package/dist/components/BglComponent.vue.d.ts.map +0 -1
  136. package/dist/components/Calendar/index.d.ts +0 -4
  137. package/dist/components/Calendar/index.d.ts.map +0 -1
  138. package/dist/components/ComboBox.vue.d.ts +0 -45
  139. package/dist/components/ComboBox.vue.d.ts.map +0 -1
  140. package/dist/components/Comments.vue.d.ts +0 -20
  141. package/dist/components/Comments.vue.d.ts.map +0 -1
  142. package/dist/components/ContactSubmissions.vue.d.ts +0 -13
  143. package/dist/components/ContactSubmissions.vue.d.ts.map +0 -1
  144. package/dist/components/DataTable/DataTable.vue.d.ts.map +0 -1
  145. package/dist/components/FormSchema.vue.d.ts +0 -27
  146. package/dist/components/FormSchema.vue.d.ts.map +0 -1
  147. package/dist/components/LangText.vue.d.ts +0 -16
  148. package/dist/components/LangText.vue.d.ts.map +0 -1
  149. package/dist/components/MapEmbed.vue.d.ts.map +0 -1
  150. package/dist/components/MaterialIcon.vue.d.ts +0 -11
  151. package/dist/components/MaterialIcon.vue.d.ts.map +0 -1
  152. package/dist/components/ModalBglForm.vue.d.ts +0 -63
  153. package/dist/components/ModalBglForm.vue.d.ts.map +0 -1
  154. package/dist/components/PersonPreview.vue.d.ts +0 -22
  155. package/dist/components/PersonPreview.vue.d.ts.map +0 -1
  156. package/dist/components/PersonPreviewFormkit.vue.d.ts +0 -21
  157. package/dist/components/PersonPreviewFormkit.vue.d.ts.map +0 -1
  158. package/dist/components/Popover.vue.d.ts +0 -10
  159. package/dist/components/Popover.vue.d.ts.map +0 -1
  160. package/dist/components/RTXEditor.vue.d.ts +0 -41
  161. package/dist/components/RTXEditor.vue.d.ts.map +0 -1
  162. package/dist/components/TabbedLayout.vue.d.ts +0 -38
  163. package/dist/components/TabbedLayout.vue.d.ts.map +0 -1
  164. package/dist/components/TableSchema.vue.d.ts +0 -40
  165. package/dist/components/TableSchema.vue.d.ts.map +0 -1
  166. package/dist/components/charts/BarChart.vue.d.ts +0 -34
  167. package/dist/components/charts/BarChart.vue.d.ts.map +0 -1
  168. package/dist/components/charts/index.d.ts +0 -2
  169. package/dist/components/charts/index.d.ts.map +0 -1
  170. package/dist/components/form/BglField.vue.d.ts +0 -22
  171. package/dist/components/form/BglField.vue.d.ts.map +0 -1
  172. package/dist/components/form/BglForm.vue.d.ts +0 -70
  173. package/dist/components/form/BglForm.vue.d.ts.map +0 -1
  174. package/dist/components/form/BglMultiStepForm.vue.d.ts +0 -50
  175. package/dist/components/form/BglMultiStepForm.vue.d.ts.map +0 -1
  176. package/dist/components/form/ItemRef.vue.d.ts +0 -21
  177. package/dist/components/form/ItemRef.vue.d.ts.map +0 -1
  178. package/dist/components/form/MaterialIcon.vue.d.ts +0 -19
  179. package/dist/components/form/MaterialIcon.vue.d.ts.map +0 -1
  180. package/dist/components/form/PlainInputField.vue.d.ts +0 -30
  181. package/dist/components/form/PlainInputField.vue.d.ts.map +0 -1
  182. package/dist/components/form/inputs/ColorPicker.vue.d.ts +0 -21
  183. package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +0 -1
  184. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +0 -42
  185. package/dist/components/form/inputs/CurrencyInput.vue.d.ts.map +0 -1
  186. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +0 -53
  187. package/dist/components/form/inputs/DatetimeInput.vue.d.ts.map +0 -1
  188. package/dist/components/form/inputs/DurationInput.vue.d.ts +0 -53
  189. package/dist/components/form/inputs/DurationInput.vue.d.ts.map +0 -1
  190. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +0 -56
  191. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts.map +0 -1
  192. package/dist/components/form/inputs/EmailInput.vue.d.ts +0 -53
  193. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +0 -1
  194. package/dist/components/form/inputs/FloatInput.vue.d.ts +0 -53
  195. package/dist/components/form/inputs/FloatInput.vue.d.ts.map +0 -1
  196. package/dist/components/form/inputs/IntInput.vue.d.ts +0 -53
  197. package/dist/components/form/inputs/IntInput.vue.d.ts.map +0 -1
  198. package/dist/components/form/inputs/LinkField.vue.d.ts +0 -64
  199. package/dist/components/form/inputs/LinkField.vue.d.ts.map +0 -1
  200. package/dist/components/form/inputs/Password.vue.d.ts +0 -46
  201. package/dist/components/form/inputs/Password.vue.d.ts.map +0 -1
  202. package/dist/components/form/inputs/PlainText.vue.d.ts +0 -46
  203. package/dist/components/form/inputs/PlainText.vue.d.ts.map +0 -1
  204. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +0 -20
  205. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts.map +0 -1
  206. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
  207. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
  208. package/dist/components/form/inputs/RichText/components/Toolbar.vue.d.ts +0 -12
  209. package/dist/components/form/inputs/RichText/components/Toolbar.vue.d.ts.map +0 -1
  210. package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
  211. package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
  212. package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
  213. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
  214. package/dist/components/form/inputs/RichText.vue.d.ts +0 -11
  215. package/dist/components/form/inputs/RichText.vue.d.ts.map +0 -1
  216. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts +0 -12
  217. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +0 -1
  218. package/dist/components/form/inputs/RichText2/formatting.d.ts +0 -11
  219. package/dist/components/form/inputs/RichText2/formatting.d.ts.map +0 -1
  220. package/dist/components/form/inputs/RichText2/index.vue.d.ts +0 -14
  221. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +0 -1
  222. package/dist/components/form/inputs/RichText2/richtext-types.d.ts +0 -3
  223. package/dist/components/form/inputs/RichText2/richtext-types.d.ts.map +0 -1
  224. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +0 -53
  225. package/dist/components/form/inputs/RichTextEditor.vue.d.ts.map +0 -1
  226. package/dist/components/form/inputs/SelectField.vue.d.ts +0 -55
  227. package/dist/components/form/inputs/SelectField.vue.d.ts.map +0 -1
  228. package/dist/components/form/inputs/TelInput.vue.d.ts +0 -92
  229. package/dist/components/form/inputs/TelInput.vue.d.ts.map +0 -1
  230. package/dist/components/form/inputs/TextArea.vue.d.ts +0 -59
  231. package/dist/components/form/inputs/TextArea.vue.d.ts.map +0 -1
  232. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
  233. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
  234. package/dist/components/formkit/AddressArray.vue.d.ts +0 -35
  235. package/dist/components/formkit/AddressArray.vue.d.ts.map +0 -1
  236. package/dist/components/formkit/BankDetailsArray.vue.d.ts +0 -37
  237. package/dist/components/formkit/BankDetailsArray.vue.d.ts.map +0 -1
  238. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +0 -33
  239. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts.map +0 -1
  240. package/dist/components/formkit/FileUploader.vue.d.ts +0 -42
  241. package/dist/components/formkit/FileUploader.vue.d.ts.map +0 -1
  242. package/dist/components/formkit/MiscFields.vue.d.ts +0 -18
  243. package/dist/components/formkit/MiscFields.vue.d.ts.map +0 -1
  244. package/dist/components/formkit/Toggle.vue.d.ts +0 -7
  245. package/dist/components/formkit/Toggle.vue.d.ts.map +0 -1
  246. package/dist/components/formkit/index.d.ts +0 -2
  247. package/dist/components/formkit/index.d.ts.map +0 -1
  248. package/dist/components/sortable/Animation.d.ts +0 -43
  249. package/dist/components/sortable/Animation.d.ts.map +0 -1
  250. package/dist/components/sortable/BrowserInfo.d.ts +0 -7
  251. package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
  252. package/dist/components/sortable/EventDispatcher.d.ts +0 -13
  253. package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
  254. package/dist/components/sortable/PluginManager.d.ts +0 -27
  255. package/dist/components/sortable/PluginManager.d.ts.map +0 -1
  256. package/dist/components/sortable/Sortable.d.ts +0 -81
  257. package/dist/components/sortable/Sortable.d.ts.map +0 -1
  258. package/dist/components/sortable/index.d.ts +0 -5
  259. package/dist/components/sortable/index.d.ts.map +0 -1
  260. package/dist/components/sortable/utils.d.ts +0 -49
  261. package/dist/components/sortable/utils.d.ts.map +0 -1
  262. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +0 -39
  263. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts.map +0 -1
  264. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +0 -7
  265. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts.map +0 -1
  266. package/dist/components/whatsapp/index.d.ts +0 -1
  267. package/dist/components/whatsapp/index.d.ts.map +0 -1
  268. package/dist/components/whatsapp/interfaces.d.ts +0 -50
  269. package/dist/components/whatsapp/interfaces.d.ts.map +0 -1
  270. package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
  271. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
  272. package/dist/editor-B3mMCQSg.cjs +0 -4
  273. package/dist/editor-BKPRpAjr.js +0 -4
  274. package/dist/editor-BPwswoA2.cjs +0 -4
  275. package/dist/editor-CUDRLdmS.js +0 -4
  276. package/dist/editor-ChLRSWzW.js +0 -4
  277. package/dist/editor-Cu374vEW.cjs +0 -4
  278. package/dist/editor-a8DSbb6P.js +0 -4
  279. package/dist/editor-xBt_vIha.cjs +0 -4
  280. package/dist/heic2any-8wMqMfB_.js +0 -933
  281. package/dist/heic2any-BrqcNzfV.js +0 -935
  282. package/dist/heic2any-C8KwH72N.cjs +0 -934
  283. package/dist/heic2any-k9wDCKka.cjs +0 -932
  284. package/dist/index-DiG-xM9T.cjs +0 -35016
  285. package/dist/index-nGuSAiY2.js +0 -35017
  286. package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
  287. package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
  288. package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
  289. package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
  290. package/dist/plugins/drag-n-drop/index.d.ts +0 -5
  291. package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
  292. package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
  293. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
  294. package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
  295. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
  296. package/dist/plugins/ripple.d.ts +0 -4
  297. package/dist/plugins/ripple.d.ts.map +0 -1
  298. package/dist/types/BagelField.d.ts +0 -33
  299. package/dist/types/BagelField.d.ts.map +0 -1
  300. package/dist/types/Person.d.ts +0 -48
  301. package/dist/types/Person.d.ts.map +0 -1
  302. package/dist/types/materialIcon.d.ts +0 -2
  303. package/dist/types/materialIcon.d.ts.map +0 -1
  304. package/dist/types/materialIcons.d.ts +0 -2
  305. package/dist/types/materialIcons.d.ts.map +0 -1
  306. package/dist/utils/objects.d.ts +0 -4
  307. package/dist/utils/objects.d.ts.map +0 -1
  308. /package/dist/components/{DropDown.vue.d.ts.map → Dropdown.vue.d.ts.map} +0 -0
  309. /package/dist/components/{Calendar → calendar}/Index.vue.d.ts +0 -0
  310. /package/dist/components/{Calendar → calendar}/components/header/Header.vue.d.ts +0 -0
  311. /package/dist/components/{Calendar → calendar}/components/month/AgendaEventTile.vue.d.ts +0 -0
  312. /package/dist/components/{Calendar → calendar}/components/month/AgendaEvents.vue.d.ts +0 -0
  313. /package/dist/components/{Calendar → calendar}/components/month/Day.vue.d.ts +0 -0
  314. /package/dist/components/{Calendar → calendar}/components/month/Event.vue.d.ts +0 -0
  315. /package/dist/components/{Calendar → calendar}/components/month/Month.vue.d.ts +0 -0
  316. /package/dist/components/{Calendar → calendar}/components/month/WeekDay.vue.d.ts +0 -0
  317. /package/dist/components/{Calendar → calendar}/components/partials/EventFlyout.vue.d.ts +0 -0
  318. /package/dist/components/{Calendar → calendar}/components/week/Day.vue.d.ts +0 -0
  319. /package/dist/components/{Calendar → calendar}/components/week/DayEvent.vue.d.ts +0 -0
  320. /package/dist/components/{Calendar → calendar}/components/week/DayTimeline.vue.d.ts +0 -0
  321. /package/dist/components/{Calendar → calendar}/components/week/FullDayEvent.vue.d.ts +0 -0
  322. /package/dist/components/{Calendar → calendar}/components/week/Week.vue.d.ts +0 -0
  323. /package/dist/components/{Calendar → calendar}/components/week/WeekTimeline.vue.d.ts +0 -0
  324. /package/dist/components/{Calendar → calendar}/constants.d.ts +0 -0
  325. /package/dist/components/{Calendar → calendar}/helpers/DayIntervals.d.ts +0 -0
  326. /package/dist/components/{Calendar → calendar}/helpers/EDate.d.ts +0 -0
  327. /package/dist/components/{Calendar → calendar}/helpers/Errors.d.ts +0 -0
  328. /package/dist/components/{Calendar → calendar}/helpers/EventChange.d.ts +0 -0
  329. /package/dist/components/{Calendar → calendar}/helpers/EventConcurrency.d.ts +0 -0
  330. /package/dist/components/{Calendar → calendar}/helpers/EventFlyoutPosition.d.ts +0 -0
  331. /package/dist/components/{Calendar → calendar}/helpers/EventPosition.d.ts +0 -0
  332. /package/dist/components/{Calendar → calendar}/helpers/EventsFilter.d.ts +0 -0
  333. /package/dist/components/{Calendar → calendar}/helpers/Helpers.d.ts +0 -0
  334. /package/dist/components/{Calendar → calendar}/helpers/Time.d.ts +0 -0
  335. /package/dist/components/{Calendar → calendar}/helpers/Week.d.ts +0 -0
  336. /package/dist/components/{Calendar → calendar}/language/index.d.ts +0 -0
  337. /package/dist/components/{Calendar → calendar}/language/keys.d.ts +0 -0
  338. /package/dist/components/{Calendar → calendar}/models/Event.d.ts +0 -0
  339. /package/dist/components/{Calendar → calendar}/typings/config.interface.d.ts +0 -0
  340. /package/dist/components/{Calendar → calendar}/typings/interfaces/day.interface.d.ts +0 -0
  341. /package/dist/components/{Calendar → calendar}/typings/interfaces/event.interface.d.ts +0 -0
  342. /package/dist/components/{Calendar → calendar}/typings/interfaces/full-day-events-week.type.d.ts +0 -0
  343. /package/dist/components/{Calendar → calendar}/typings/interfaces/period.interface.d.ts +0 -0
  344. /package/dist/components/{Calendar → calendar}/typings/interfaces/time-modes.d.ts +0 -0
  345. /package/dist/components/{Calendar → calendar}/typings/types.d.ts +0 -0
  346. /package/dist/components/{DataTable → dataTable}/DataTable.vue.d.ts +0 -0
  347. /package/dist/components/{DataTable → dataTable}/useSorting.d.ts +0 -0
  348. /package/dist/components/{DataTable → dataTable}/useTableData.d.ts +0 -0
  349. /package/dist/components/{DataTable → dataTable}/useTableSelection.d.ts +0 -0
  350. /package/dist/components/{DataTable → dataTable}/useTableVirtualization.d.ts +0 -0
  351. /package/dist/components/{Draggable → draggable}/Draggable.vue.d.ts +0 -0
  352. /package/dist/components/{Draggable → draggable}/index.d.ts +0 -0
  353. /package/dist/components/{Draggable → draggable}/useDraggable.d.ts +0 -0
  354. /package/dist/components/{Draggable → draggable}/vDraggable.d.ts +0 -0
  355. /package/src/components/{leaflet → MapEmbed}/leaflet.css +0 -0
  356. /package/src/components/{Calendar → calendar}/assets/base.css +0 -0
  357. /package/src/components/{Calendar → calendar}/components/header/Header.vue +0 -0
  358. /package/src/components/{Calendar → calendar}/components/month/AgendaEventTile.vue +0 -0
  359. /package/src/components/{Calendar → calendar}/components/month/AgendaEvents.vue +0 -0
  360. /package/src/components/{Calendar → calendar}/components/month/Day.vue +0 -0
  361. /package/src/components/{Calendar → calendar}/components/month/Event.vue +0 -0
  362. /package/src/components/{Calendar → calendar}/components/month/Month.vue +0 -0
  363. /package/src/components/{Calendar → calendar}/components/month/WeekDay.vue +0 -0
  364. /package/src/components/{Calendar → calendar}/components/partials/EventFlyout.vue +0 -0
  365. /package/src/components/{Calendar → calendar}/components/week/Day.vue +0 -0
  366. /package/src/components/{Calendar → calendar}/components/week/DayEvent.vue +0 -0
  367. /package/src/components/{Calendar → calendar}/components/week/DayTimeline.vue +0 -0
  368. /package/src/components/{Calendar → calendar}/components/week/FullDayEvent.vue +0 -0
  369. /package/src/components/{Calendar → calendar}/components/week/Week.vue +0 -0
  370. /package/src/components/{Calendar → calendar}/components/week/WeekTimeline.vue +0 -0
  371. /package/src/components/{Calendar → calendar}/constants.ts +0 -0
  372. /package/src/components/{Calendar → calendar}/helpers/DayIntervals.ts +0 -0
  373. /package/src/components/{Calendar → calendar}/helpers/EDate.ts +0 -0
  374. /package/src/components/{Calendar → calendar}/helpers/Errors.ts +0 -0
  375. /package/src/components/{Calendar → calendar}/helpers/EventChange.ts +0 -0
  376. /package/src/components/{Calendar → calendar}/helpers/EventConcurrency.ts +0 -0
  377. /package/src/components/{Calendar → calendar}/helpers/EventFlyoutPosition.ts +0 -0
  378. /package/src/components/{Calendar → calendar}/helpers/EventPosition.ts +0 -0
  379. /package/src/components/{Calendar → calendar}/helpers/EventsFilter.ts +0 -0
  380. /package/src/components/{Calendar → calendar}/helpers/Helpers.ts +0 -0
  381. /package/src/components/{Calendar → calendar}/helpers/Time.ts +0 -0
  382. /package/src/components/{Calendar → calendar}/helpers/Week.ts +0 -0
  383. /package/src/components/{Calendar → calendar}/language/index.ts +0 -0
  384. /package/src/components/{Calendar → calendar}/language/keys.ts +0 -0
  385. /package/src/components/{Calendar → calendar}/styles/_mixins.css +0 -0
  386. /package/src/components/{Calendar → calendar}/styles/_variables.css +0 -0
  387. /package/src/components/{Calendar → calendar}/typings/config.interface.ts +0 -0
  388. /package/src/components/{Calendar → calendar}/typings/interfaces/day.interface.ts +0 -0
  389. /package/src/components/{Calendar → calendar}/typings/interfaces/event.interface.ts +0 -0
  390. /package/src/components/{Calendar → calendar}/typings/interfaces/full-day-events-week.type.ts +0 -0
  391. /package/src/components/{Calendar → calendar}/typings/interfaces/period.interface.ts +0 -0
  392. /package/src/components/{Calendar → calendar}/typings/interfaces/time-modes.ts +0 -0
  393. /package/src/components/{Calendar → calendar}/typings/types.ts +0 -0
  394. /package/src/components/{DataTable → dataTable}/DataTable.vue +0 -0
  395. /package/src/components/{DataTable → dataTable}/tableTypes.ts +0 -0
  396. /package/src/components/{DataTable → dataTable}/useSorting.ts +0 -0
  397. /package/src/components/{DataTable → dataTable}/useTableData.ts +0 -0
  398. /package/src/components/{DataTable → dataTable}/useTableSelection.ts +0 -0
  399. /package/src/components/{DataTable → dataTable}/useTableVirtualization.ts +0 -0
  400. /package/src/components/{Dialog → dialog}/index.ts +0 -0
  401. /package/src/components/{Draggable → draggable}/Draggable.vue +0 -0
  402. /package/src/components/{Draggable → draggable}/index.ts +0 -0
  403. /package/src/components/{Draggable → draggable}/useDraggable.ts +0 -0
  404. /package/src/components/{Draggable → draggable}/vDraggable.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { SelectInput, TextInput } from '..';
1
+ import { SelectInput, TextInput } from '../index.ts';
2
2
  import { VNode } from 'vue';
3
3
  export type AttributeValue = string | number | boolean | undefined | undefined | {
4
4
  [key: string]: any;
@@ -1,4 +1,4 @@
1
- import { IconType } from '..';
1
+ import { IconType } from '../index.ts';
2
2
  export interface NavLink {
3
3
  label: string;
4
4
  to?: string;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaT } from '..';
1
+ import { BglFormSchemaT } from '../index.ts';
2
2
  import { Ref, ComputedRef } from 'vue';
3
3
  export type SortDirectionsT = 'ASC' | 'DESC';
4
4
  export type EmitOrderT = `${string} ${SortDirectionsT}`;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaT, Field, Option, DotNotation } from '..';
1
+ import { BglFormSchemaT, Field, Option, DotNotation } from '../index.ts';
2
2
  import { UploadInputProps } from '../components/form/inputs/Upload/upload.types';
3
3
  interface InputOptions {
4
4
  required?: boolean;
@@ -10,7 +10,12 @@ interface InputOptions {
10
10
  autocomplete?: string;
11
11
  vIf?: boolean | ((item: any, row: any) => boolean);
12
12
  }
13
- type DateOptions = InputOptions;
13
+ interface DateOptions extends InputOptions {
14
+ enableTime?: boolean;
15
+ mode?: 'day' | 'month' | 'year';
16
+ locale?: string;
17
+ timezone?: string;
18
+ }
14
19
  interface TextInputOptions extends InputOptions {
15
20
  type?: 'text' | 'tel' | 'email';
16
21
  pattern?: string;
@@ -105,14 +110,14 @@ export declare function bglForm(idOrField?: string | Field, ...schema: Field[]):
105
110
  $el: string;
106
111
  id: string;
107
112
  attrs: {
108
- schema: (string | import('..').BaseBagelField<{
113
+ schema: (string | import('../index.ts').BaseBagelField<{
109
114
  [key: string]: any;
110
115
  }>)[];
111
116
  };
112
117
  } | {
113
118
  $el: string;
114
119
  attrs: {
115
- schema: (import('..').BaseBagelField<{
120
+ schema: (import('../index.ts').BaseBagelField<{
116
121
  [key: string]: any;
117
122
  }> | undefined)[];
118
123
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BagelFormUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BagelFormUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,KAA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,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,cAAc,GAAG,SAAS,EACxC,OAAO,CAAC,EAAE,iBAAiB,GACzB,KAAK,CAAC,CAAC,CAAC,CAWV"}
@@ -1,4 +1,4 @@
1
- import { Attributes, BglFormSchemaT } from '..';
1
+ import { Attributes, BglFormSchemaT } from '../index.ts';
2
2
  export declare function debounce(fn: () => void, wait?: number): void;
3
3
  export declare function slugify(str: string): string;
4
4
  export declare function keyToLabel(key?: string): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAI/D,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,IAAI,GAAE,MAAY,QAO1D;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,UAMlC;AAED,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQ3D;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,iBAGtE;AAED,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAG3C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,QAIrE;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,UAOpE;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EACnD,KAAK,CAAC,EAAE,UAAU,EAClB,QAAQ,CAAC,EAAE,GAAG,EACd,GAAG,CAAC,EAAE,CAAC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AAG,IAAI,EAAE,MAAM,GAAE,MAAmB,EAAE,MAAM,CAAC,EAAE,MAAM,UAyF5F"}
1
+ {"version":3,"file":"timeAgo.d.ts","sourceRoot":"","sources":["../../src/utils/timeAgo.ts"],"names":[],"mappings":"AAWA,KAAK,sBAAsB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAqDvD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,GAAE,sBAA6B,UAsD/E;AASD,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,GAAE,MAAmB,EAAE,MAAM,CAAC,EAAE,MAAM,UAiF5F"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.0.54",
4
+ "version": "1.0.60",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -34,7 +34,7 @@
34
34
  "./style.css": "./dist/style.css",
35
35
  "./*": "./*"
36
36
  },
37
- "main": "./dist/index.mjs",
37
+ "main": "./dist/index.cjs",
38
38
  "module": "./dist/index.mjs",
39
39
  "types": "./dist/index.d.ts",
40
40
  "typesVersions": {
@@ -82,15 +82,16 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "date-fns": "^4.1.0",
85
- "@vueuse/core": "^12.8.1",
86
- "axios": "^1.8.1",
85
+ "@vueuse/core": "^13.0.0",
86
+ "axios": "^1.8.2",
87
87
  "floating-vue": "^5.2.2",
88
- "libphonenumber-js": "1.12.4",
88
+ "libphonenumber-js": "1.12.5",
89
89
  "signature_pad": "^5.0.4"
90
90
  },
91
91
  "scripts": {
92
92
  "dev": "tsx watch src/index.ts",
93
93
  "build": "vite build",
94
- "start": "tsx src/index.ts"
94
+ "start": "tsx src/index.ts",
95
+ "test": "vitest"
95
96
  }
96
97
  }
@@ -4,7 +4,7 @@ import type { Slots } from 'vue'
4
4
  import type { TableSchemaProps } from '../types/TableSchema'
5
5
  import { computed, useSlots } from 'vue'
6
6
  import { useSchemaField } from '../composables/useSchemaField'
7
- import { useTableData } from './DataTable/useTableData'
7
+ import { useTableData } from './dataTable/useTableData'
8
8
 
9
9
  const props = defineProps<Omit<TableSchemaProps<T>, 'data'> & { modelValue: T, includeUnset?: boolean }>()
10
10
  const slots = useSlots() as Slots & Record<string, (props: { row: T, field: BaseBagelField<T> }) => any>
@@ -2,7 +2,7 @@
2
2
  import type { LatLngExpression, Map, Marker } from 'leaflet'
3
3
  import { appendScript, sleep } from '@bagelink/vue'
4
4
  import { onMounted, watch } from 'vue'
5
- import './leaflet/leaflet.css'
5
+ import './leaflet.css'
6
6
 
7
7
  type MapMarker = {
8
8
  lat: number | string
@@ -332,7 +332,7 @@ function handleDateWasClicked(payload: string) {
332
332
  </template>
333
333
 
334
334
  <!-- <style src="../../styles/_variables.css"></style> -->
335
- <style src="../Calendar/styles/_variables.css"></style>
335
+ <style src="../calendar/styles/_variables.css"></style>
336
336
 
337
337
  <style>
338
338
  .calendar-root-wrapper {
@@ -14,7 +14,7 @@ export class EventImpl implements EventInterface {
14
14
  disableResize?: modeType[]
15
15
  isCustom?: boolean | modeType[]
16
16
 
17
- // Properties that should not be set from outside Qalendar
17
+ // Properties that should not be set from outside Calendar
18
18
  nOfPreviousConcurrentEvents?: number
19
19
 
20
20
  constructor(
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
- import type { modeType } from '../../Calendar/typings/types'
2
+ import type { modeType } from '../../calendar/typings/types'
3
3
  import { Btn, NumberInput, Dropdown, TextInput, formatDate } from '@bagelink/vue'
4
4
  import { computed, ref, onMounted, onBeforeUnmount } from 'vue'
5
- import Time, { WEEK_START_DAY } from '../../Calendar/helpers/Time'
5
+ import Time, { WEEK_START_DAY } from '../../calendar/helpers/Time'
6
6
 
7
7
  // Types
8
8
  type ViewMode = 'days' | 'months' | 'years'
@@ -18,7 +18,6 @@ const props = withDefaults(
18
18
  modelValue?: string | Date
19
19
  min?: string | Date
20
20
  max?: string | Date
21
- timezone?: string
22
21
  mode?: modeType
23
22
  defaultValue?: string | Date
24
23
  firstDayOfWeek?: WEEK_START_DAY
@@ -29,7 +28,6 @@ const props = withDefaults(
29
28
  enableTime: false,
30
29
  editMode: true,
31
30
  small: false,
32
- timezone: 'UTC',
33
31
  mode: 'day',
34
32
  firstDayOfWeek: WEEK_START_DAY.SUNDAY,
35
33
  locale: ''
@@ -46,6 +44,13 @@ const currentView = ref<ViewMode>('days')
46
44
  // Time helper instance
47
45
  const time = new Time(props.firstDayOfWeek, props.locale)
48
46
 
47
+ // Parse a date string or object into a Date object
48
+ function parseDate(value: string | Date | undefined): Date | null {
49
+ if (!value) return null
50
+ const date = typeof value === 'string' ? new Date(value) : value
51
+ return Number.isNaN(date.getTime()) ? null : date
52
+ }
53
+
49
54
  // Date formatting composable
50
55
  function useFormatting() {
51
56
  const formatDisplayDate = (date: Date | string | undefined): string => {
@@ -77,7 +82,6 @@ function useFormatting() {
77
82
 
78
83
  return {
79
84
  formatDisplayDate,
80
-
81
85
  parseUserInput
82
86
  }
83
87
  }
@@ -86,8 +90,8 @@ function useFormatting() {
86
90
  function useDateValidation() {
87
91
  const isDateDisabled = (date: Date | null) => {
88
92
  if (!date) return true
89
- const minDate = props.min ? new Date(props.min) : null
90
- const maxDate = props.max ? new Date(props.max) : null
93
+ const minDate = parseDate(props.min)
94
+ const maxDate = parseDate(props.max)
91
95
 
92
96
  if (minDate && date < minDate) return true
93
97
  if (maxDate && date > maxDate) return true
@@ -95,8 +99,8 @@ function useDateValidation() {
95
99
  }
96
100
 
97
101
  const isYearDisabled = (year: number) => {
98
- const minDate = props.min ? new Date(props.min) : null
99
- const maxDate = props.max ? new Date(props.max) : null
102
+ const minDate = parseDate(props.min)
103
+ const maxDate = parseDate(props.max)
100
104
 
101
105
  if (minDate && year < minDate.getFullYear()) return true
102
106
  if (maxDate && year > maxDate.getFullYear()) return true
@@ -117,9 +121,7 @@ function useDateState() {
117
121
  const formattedMin = computed(() => formatDate(props.min, props.enableTime ? 'dd.mm.yy HH:MM' : 'dd.mm.yy'))
118
122
  const formattedMax = computed(() => formatDate(props.max, props.enableTime ? 'dd.mm.yy HH:MM' : 'dd.mm.yy'))
119
123
  const selectedDate = computed(() => {
120
- const value = props.modelValue || props.defaultValue
121
- if (!value) return null
122
- return typeof value === 'string' ? new Date(value) : value
124
+ return parseDate(props.modelValue || props.defaultValue)
123
125
  })
124
126
 
125
127
  return {
@@ -256,34 +258,32 @@ function useTimeHandling() {
256
258
  if (!selectedDate.value) return
257
259
  const newDate = new Date(selectedDate.value)
258
260
  newDate.setHours(value)
259
- emit('update:modelValue', newDate.toISOString())
261
+ emitDateValue(newDate)
260
262
  }
261
263
 
262
264
  const handleMinuteInput = (value: number) => {
263
265
  if (!selectedDate.value) return
264
266
  const newDate = new Date(selectedDate.value)
265
267
  newDate.setMinutes(value)
266
- emit('update:modelValue', newDate.toISOString())
268
+ emitDateValue(newDate)
267
269
  }
268
270
 
269
- const timezoneDisplay = computed(() => {
270
- if (!props.enableTime) return ''
271
- try {
272
- return new Date().toLocaleString('en-US', {
273
- timeZoneName: 'short',
274
- timeZone: props.timezone
275
- }).split(' ').pop()
276
- } catch {
277
- return 'UTC'
278
- }
279
- })
280
-
281
271
  return {
282
272
  hours,
283
273
  minutes,
284
274
  handleHourInput,
285
- handleMinuteInput,
286
- timezoneDisplay
275
+ handleMinuteInput
276
+ }
277
+ }
278
+
279
+ // Centralized date emission function
280
+ function emitDateValue(date: Date) {
281
+ if (props.enableTime) {
282
+ // For dates with time, emit the date object directly
283
+ emit('update:modelValue', formatDate(date, 'yyyy-mm-dd HH:MM'))
284
+ } else {
285
+ // For date-only, emit a date with time set to midnight
286
+ emit('update:modelValue', formatDate(date, 'yyyy-mm-dd'))
287
287
  }
288
288
  }
289
289
 
@@ -298,12 +298,7 @@ function useInputHandling() {
298
298
 
299
299
  const date = parseUserInput(input.value)
300
300
  if (date) {
301
- if (props.enableTime) {
302
- emit('update:modelValue', date.toISOString())
303
- } else {
304
- const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()))
305
- emit('update:modelValue', utcDate.toISOString().split('T')[0])
306
- }
301
+ emitDateValue(date)
307
302
  }
308
303
  }
309
304
 
@@ -324,12 +319,7 @@ function useInputHandling() {
324
319
  } else if (event.key === 'Enter' && inputValue.value) {
325
320
  const date = parseUserInput(inputValue.value)
326
321
  if (date) {
327
- if (props.enableTime) {
328
- emit('update:modelValue', date.toISOString())
329
- } else {
330
- const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()))
331
- emit('update:modelValue', utcDate.toISOString().split('T')[0])
332
- }
322
+ emitDateValue(date)
333
323
  isOpen.value = false
334
324
  }
335
325
  }
@@ -356,31 +346,25 @@ const {
356
346
  // Initialize remaining composables
357
347
  const { currentMonthDays, currentMonthValue, months, years, weekDays, isSelected, isToday, isNotInMonth } = useCalendarView()
358
348
  const { selectMonth, selectYear, previousMonth, nextMonth, previousYear, nextYear } = useNavigation()
359
- const { hours, minutes, handleHourInput, handleMinuteInput, timezoneDisplay } = useTimeHandling()
349
+ const { hours, minutes, handleHourInput, handleMinuteInput } = useTimeHandling()
360
350
 
361
351
  // Date selection handler
362
352
  function selectDate(date: Date | null) {
363
353
  if (!date || !props.editMode) return
364
354
 
365
355
  if (props.enableTime) {
366
- // Create date in the target timezone
356
+ // Create date with current time values
367
357
  const newDate = new Date(date.getFullYear(), date.getMonth(), date.getDate())
368
358
  const currentHours = selectedDate.value?.getHours() ?? new Date().getHours()
369
359
  const currentMinutes = selectedDate.value?.getMinutes() ?? new Date().getMinutes()
370
360
  newDate.setHours(currentHours)
371
361
  newDate.setMinutes(currentMinutes)
372
362
 
373
- // Adjust for timezone when time is enabled
374
- if (props.timezone === 'UTC') {
375
- const tzOffset = new Date().getTimezoneOffset()
376
- newDate.setMinutes(newDate.getMinutes() + tzOffset)
377
- }
378
- emit('update:modelValue', newDate.toISOString())
363
+ emitDateValue(newDate)
379
364
  } else {
380
- // For date-only selection, ensure we're working with UTC midnight
381
- // This ensures the date displayed matches the date selected regardless of timezone
382
- const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()))
383
- emit('update:modelValue', utcDate.toISOString().split('T')[0])
365
+ // For date-only selection, create a date at midnight
366
+ const newDate = new Date(date.getFullYear(), date.getMonth(), date.getDate())
367
+ emitDateValue(newDate)
384
368
  isOpen.value = false
385
369
  }
386
370
  }
@@ -389,6 +373,15 @@ const datePickerRef = ref<HTMLElement | null>(null)
389
373
  const calendarRef = ref<HTMLElement | null>(null)
390
374
 
391
375
  onMounted(() => {
376
+ // Initialize calendar view with selected date if available
377
+ if (selectedDate.value) {
378
+ currentMonth.value = new Date(
379
+ selectedDate.value.getFullYear(),
380
+ selectedDate.value.getMonth(),
381
+ 1
382
+ )
383
+ }
384
+
392
385
  const handleDocumentClick = (e: MouseEvent) => {
393
386
  const target = e.target as HTMLElement
394
387
  if (!datePickerRef.value?.contains(target) && !calendarRef.value?.contains(target)) {
@@ -410,7 +403,6 @@ onMounted(() => {
410
403
  {{ label }}
411
404
  <span v-if="required" class="required">*</span>
412
405
  </label>
413
-
414
406
  <Dropdown
415
407
  :shown="isOpen"
416
408
  placement="bottom-start"
@@ -521,7 +513,7 @@ onMounted(() => {
521
513
  </div>
522
514
  </div>
523
515
 
524
- <div v-if="enableTime && currentView === 'days'" class="time-picker border-start flex column gap-1 w-120px">
516
+ <div v-if="enableTime && currentView === 'days'" class="time-picker border-start flex column gap-1 w-120px px-025">
525
517
  <div class="flex gap-025">
526
518
  <NumberInput
527
519
  center
@@ -547,7 +539,6 @@ onMounted(() => {
547
539
  @update:model-value="handleMinuteInput"
548
540
  />
549
541
  </div>
550
- <span class="txt-center opacity-6 txt14">{{ timezoneDisplay }}</span>
551
542
  <Btn v-if="selectedDate" flat @click="isOpen = false">
552
543
  Done
553
544
  </Btn>
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import type { modeType } from '../../Calendar/typings/types'
2
+ import type { modeType } from '../../calendar/typings/types'
3
3
  import { Btn, NumberInput, Dropdown, formatDate } from '@bagelink/vue'
4
- import Time, { WEEK_START_DAY } from '../../Calendar/helpers/Time'
4
+ import Time, { WEEK_START_DAY } from '../../calendar/helpers/Time'
5
5
 
6
6
  const props = withDefaults(
7
7
  defineProps<{
@@ -53,7 +53,7 @@ let numberValue = $ref<number>()
53
53
  onMounted(() => {
54
54
  const num = modelValue !== undefined ? Number.parseFloat(`${modelValue}`) : undefined
55
55
  const defaultNum = defaultValue !== undefined ? Number.parseFloat(`${defaultValue}`) : undefined
56
- numberValue = num || defaultNum
56
+ numberValue = num ?? defaultNum
57
57
  })
58
58
 
59
59
  const btnLayouts: NumberLayout[] = ['horizontal', 'vertical']
@@ -71,13 +71,13 @@ function subtract(...numbers: (number | undefined)[]) {
71
71
  return Number.parseFloat(numArr.reduce((acc, curr) => acc - curr, firstNum).toFixed(precision))
72
72
  }
73
73
 
74
- const canAdd = $computed(() => !(max !== undefined && add(numberValue, step) <= max))
74
+ const canAdd = $computed(() => max === undefined || add(numberValue, step) <= max)
75
75
  const canDecrement = $computed(() => min === undefined || subtract(numberValue, step) >= min)
76
76
 
77
77
  // Methods
78
78
  function increment() {
79
79
  if (!canAdd) return
80
- numberValue = add(numberValue || 0, step)
80
+ numberValue = add(numberValue ?? 0, step)
81
81
  emit('update:modelValue', numberValue)
82
82
  }
83
83
 
@@ -121,8 +121,7 @@ function isDigitsFull() {
121
121
  caret-color: transparent;
122
122
  }
123
123
 
124
- .digit-box::-webkit-outer-spin-button,
125
- .digit-box::-webkit-inner-spin-button {
124
+ .digit-box::-webkit-outer-spin-button {
126
125
  -webkit-appearance: none; /* Chrome, Safari, Edge, Opera */
127
126
  margin: 0;
128
127
  }
@@ -1,8 +1,8 @@
1
1
  import type { Modal } from '@bagelink/vue'
2
2
  import type { EditorState } from '../richTextTypes'
3
- import { bagelFormUtils } from '@bagelink/vue'
3
+ import { bagelFormUtils as bglFrmUtil } from '@bagelink/vue'
4
4
 
5
- const { frmRow, numField } = bagelFormUtils
5
+ // const { frmRow, numField } = bagelFormUtils
6
6
 
7
7
  export function insertImage(modal: typeof Modal, state: EditorState) {
8
8
  const { range, doc } = state
@@ -13,9 +13,9 @@ export function insertImage(modal: typeof Modal, state: EditorState) {
13
13
  schema: [
14
14
  { id: 'src', $el: 'file', attrs: { bindkey: 'url' } },
15
15
  { id: 'alt', $el: 'text', label: 'Alt Text' },
16
- frmRow(
17
- numField('width', 'Width', { min: 1 }),
18
- numField('height', 'Height', { min: 1 }),
16
+ bglFrmUtil.frmRow(
17
+ bglFrmUtil.numField('width', 'Width', { min: 1 }),
18
+ bglFrmUtil.numField('height', 'Height', { min: 1 }),
19
19
  ),
20
20
  { id: 'figcaption', $el: 'check', label: 'Show Caption' },
21
21
  ],
@@ -77,9 +77,9 @@ export function insertEmbed(modal: typeof Modal, state: EditorState) {
77
77
  title: 'Insert Embed',
78
78
  schema: [
79
79
  { id: 'url', $el: 'text', label: 'URL', attrs: { placeholder: 'Enter URL (YouTube, Vimeo, etc.)' } },
80
- frmRow(
81
- numField('width', 'Width', { min: 200, placeholder: '560' }),
82
- numField('height', 'Height', { min: 200, placeholder: '315' })
80
+ bglFrmUtil.frmRow(
81
+ bglFrmUtil.numField('width', 'Width', { min: 200, placeholder: '560' }),
82
+ bglFrmUtil.numField('height', 'Height', { min: 200, placeholder: '315' })
83
83
  ),
84
84
  { id: 'allowFullscreen', $el: 'check', label: 'Allow Fullscreen', value: true },
85
85
  ],
@@ -14,7 +14,7 @@ import axios from 'axios'
14
14
  import { parsePhoneNumberFromString } from 'libphonenumber-js'
15
15
  import { onMounted, watch, ref, computed } from 'vue'
16
16
 
17
- export interface Props {
17
+ export interface TelInputProps {
18
18
  label?: string
19
19
  id?: string
20
20
  class?: string
@@ -38,7 +38,7 @@ export interface Props {
38
38
  parseArg?: { extract?: boolean }
39
39
  }
40
40
 
41
- const props = withDefaults(defineProps<Props>(), {
41
+ const props = withDefaults(defineProps<TelInputProps>(), {
42
42
  modelValue: '',
43
43
  autocomplete: 'on',
44
44
  allCountries: () => allCountries,
@@ -107,7 +107,7 @@ const computedInputOptions = $computed(() => ({
107
107
  }))
108
108
 
109
109
  // Composables
110
- function useCountrySelection(props: Props, emit: any) {
110
+ function useCountrySelection(props: TelInputProps, emit: any) {
111
111
  const activeCountryCode = ref<CountryCode>()
112
112
  const selectedIndex = ref<number>()
113
113
  const searchQuery = ref('')
@@ -227,7 +227,7 @@ function useCountrySelection(props: Props, emit: any) {
227
227
  }
228
228
  }
229
229
 
230
- function usePhoneNumberFormatting(props: Props, activeCountryCode: Ref<CountryCode | undefined>) {
230
+ function usePhoneNumberFormatting(props: TelInputProps, activeCountryCode: Ref<CountryCode | undefined>) {
231
231
  const parseArgs = computed(() => ({
232
232
  ...props.parseArg,
233
233
  defaultCountry: activeCountryCode.value,
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { BglFile, QueueFile, UploadInputProps } from './upload.types'
3
- import { Btn, IMAGE_FORMATS_REGEXP, Icon, useBagel, Card, Image, pathKeyToURL } from '@bagelink/vue'
3
+ import { Btn, IMAGE_FORMATS_REGEXP, Icon, useBagel, Card, Image, pathKeyToURL, bagelInjectionKey } from '@bagelink/vue'
4
4
  import { watch } from 'vue'
5
5
  import { files } from './upload'
6
6
 
@@ -11,7 +11,7 @@ const props = withDefaults(defineProps<UploadInputProps>(), {
11
11
  })
12
12
 
13
13
  const emit = defineEmits(['update:modelValue', 'addFileStart'])
14
- const bagel = useBagel()
14
+ const bagel = useBagel(bagelInjectionKey)
15
15
 
16
16
  files.setBaseUrl(bagel.host)
17
17
 
@@ -69,8 +69,8 @@ export function provideBagelFormState<T>(initialData: T) {
69
69
  return state
70
70
  }
71
71
 
72
- export function useBagelFormState<T>() {
73
- const state = inject<BagelFormState<T>>(FORM_STATE_KEY)
72
+ export function useBagelFormState<T>(injectionKey: typeof FORM_STATE_KEY = FORM_STATE_KEY): BagelFormState<T> {
73
+ const state = inject<BagelFormState<T>>(injectionKey)
74
74
  if (!state) throw new Error('BagelFormState must be provided')
75
75
  return state
76
76
  }
@@ -6,16 +6,15 @@ export { default as Avatar } from './Avatar.vue'
6
6
  export { default as Badge } from './Badge.vue'
7
7
  export { default as BglVideo } from './BglVideo.vue'
8
8
  export { default as Btn } from './Btn.vue'
9
- // export { default as CalendarExample } from './Calendar/CalendarExample.vue'
10
- export { default as Calendar } from './Calendar/Index.vue'
9
+ export { default as Calendar } from './calendar/Index.vue'
11
10
  export { default as Card } from './Card.vue'
12
11
  export { default as Carousel } from './Carousel.vue'
13
12
  export * from './dashboard'
14
13
  export { default as DataPreview } from './DataPreview.vue'
15
- export { default as DataTable } from './DataTable/DataTable.vue'
14
+ export { default as DataTable } from './dataTable/DataTable.vue'
16
15
  /** @deprecated Use DataTable instead. TableSchema is an alias that will be removed in a future version. */
17
- export { default as TableSchema } from './DataTable/DataTable.vue'
18
- export { Draggable, useDraggable, vDraggable } from './Draggable'
16
+ export { default as TableSchema } from './dataTable/DataTable.vue'
17
+ export { Draggable, useDraggable, vDraggable } from './draggable'
19
18
  export { default as Dropdown } from './Dropdown.vue'
20
19
  export { default as FieldSetVue } from './FieldSetVue.vue'
21
20
  export { default as Flag } from './Flag.vue'
@@ -27,7 +26,7 @@ export * from './layout'
27
26
  export { default as ListItem } from './ListItem.vue'
28
27
  export { default as ListView } from './ListView.vue'
29
28
  export { default as Loading } from './Loading.vue'
30
- export { default as MapEmbed } from './MapEmbed.vue'
29
+ export { default as MapEmbed } from './MapEmbed/Index.vue'
31
30
  export { default as Modal } from './Modal.vue'
32
31
  export { default as ModalConfirm } from './ModalConfirm.vue'
33
32
  export { default as ModalForm } from './ModalForm.vue'
@@ -1,4 +1,5 @@
1
- import type { App, Directive, DirectiveBinding } from 'vue'
1
+ import type { App, Directive, DirectiveBinding, Plugin } from 'vue'
2
+
2
3
  import type { LightboxItem } from './lightbox.types'
3
4
  import { IMAGE_FORMATS_REGEXP, pathKeyToURL, VIDEO_FORMATS_REGEXP } from '@bagelink/vue'
4
5
  import { createApp } from 'vue'
@@ -86,8 +87,10 @@ function getLightboxInstance(): InstanceType<typeof Lightbox> {
86
87
  return lightboxInstance
87
88
  }
88
89
 
89
- export default {
90
+ const lightboxPlugin: Plugin = {
90
91
  install(app: App) {
91
92
  app.directive('lightbox', lightboxDirective)
92
93
  },
93
94
  }
95
+
96
+ export default lightboxPlugin