@oneclick.dev/cms-core-modules 0.0.109 → 0.0.111

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 (578) hide show
  1. package/dist/Acquisition-DgzDQH51.js +1 -0
  2. package/dist/Acquisition-FV3QpaUX.mjs +400 -0
  3. package/dist/AgendaOpeningHoursCard-B7ROIPWw.js +1 -0
  4. package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +172 -0
  5. package/dist/AppointmentDetailsCard-33WpATpV.mjs +161 -0
  6. package/dist/AppointmentDetailsCard-DpLM5IrB.js +1 -0
  7. package/dist/AppointmentEditor-BeOtYV6u.mjs +196 -0
  8. package/dist/AppointmentEditor-CaTfbkIf.js +1 -0
  9. package/dist/AppointmentListTable-DZJNmTMb.mjs +177 -0
  10. package/dist/AppointmentListTable-Dieu9US_.js +1 -0
  11. package/dist/Audience-BSgNvcVb.js +1 -0
  12. package/dist/Audience-ka0b7YPE.mjs +489 -0
  13. package/dist/Components-C83O-xlF.mjs +623 -0
  14. package/dist/Components-DXbx0RLV.js +1 -0
  15. package/dist/Content-BHr_rPVY.js +1 -0
  16. package/dist/Content-CYOZKvWK.mjs +358 -0
  17. package/dist/ContentEditor-pZPfo0qN.mjs +30802 -0
  18. package/dist/ContentEditor-tYkh4vRV.js +462 -0
  19. package/dist/CountryBreakdownCard-D7BK3nRD.js +1 -0
  20. package/dist/CountryBreakdownCard-DVxNz2DJ.mjs +196 -0
  21. package/dist/Create--MOBOTA-.js +1 -0
  22. package/dist/Create-BXNLRQag.mjs +1251 -0
  23. package/dist/DateFormatter-CSAbE3BC.js +1 -0
  24. package/dist/DateFormatter-qbhRYxI_.mjs +738 -0
  25. package/dist/Detail-BCOcP2ql.mjs +585 -0
  26. package/dist/Detail-Btzwo0Y3.mjs +3477 -0
  27. package/dist/Detail-Byk781b4.mjs +26 -0
  28. package/dist/Detail-C8wQiDcv.js +1 -0
  29. package/dist/Detail-CPqug27l.js +1 -0
  30. package/dist/Detail-ChD5XurA.mjs +379 -0
  31. package/dist/Detail-CjuhjPby.js +1 -0
  32. package/dist/Detail-DnX7tsqN.mjs +649 -0
  33. package/dist/Detail-RISEJJab.js +1 -0
  34. package/dist/Detail-mvSGbnFU.js +1 -0
  35. package/dist/DeviceBreakdownCard-DRhQ9ufG.js +1 -0
  36. package/dist/DeviceBreakdownCard-W1frLe0L.mjs +159 -0
  37. package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +76 -0
  38. package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +1 -0
  39. package/dist/Entries-BdhUyJR5.mjs +728 -0
  40. package/dist/Entries-CEXM_SkO.js +1 -0
  41. package/dist/Find-D4Qa45qC.js +1 -0
  42. package/dist/Find-zN_dKz4p.mjs +229 -0
  43. package/dist/GlobalStyling-C9VthHWK.mjs +1588 -0
  44. package/dist/GlobalStyling-CnSlXkZc.js +25 -0
  45. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Baqy-rTT.js +1 -0
  46. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dx4Bpa2m.mjs +1263 -0
  47. package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-COrK1j0S.js +1 -0
  48. package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-Vb3q8EVv.mjs +330 -0
  49. package/dist/Overview-98nkJUWN.mjs +481 -0
  50. package/dist/Overview-BCpJNiEB.mjs +190 -0
  51. package/dist/Overview-BDlBCUI_.js +1 -0
  52. package/dist/Overview-BR_y8x3W.mjs +860 -0
  53. package/dist/Overview-BbvfH1u-.js +1 -0
  54. package/dist/Overview-Bn1Xx3_j.js +1 -0
  55. package/dist/Overview-CIa1E-HH.mjs +178 -0
  56. package/dist/Overview-CX-n6W7d.js +1 -0
  57. package/dist/Overview-DAxCu9XC.js +1 -0
  58. package/dist/Overview-Dl8cMlsr.js +1 -0
  59. package/dist/Overview-MpgkLB6m.mjs +567 -0
  60. package/dist/Overview-Su8ZUbMs.mjs +26 -0
  61. package/dist/Overview-T-lsy3UZ.js +1 -0
  62. package/dist/Overview-lWAyyenp.mjs +632 -0
  63. package/dist/PeakHoursCard-9-EZFZLR.mjs +182 -0
  64. package/dist/PeakHoursCard-BR5zmta4.js +1 -0
  65. package/dist/ProductDetailsCard-6nHikw4V.mjs +121 -0
  66. package/dist/ProductDetailsCard-Bn7qrgmc.js +1 -0
  67. package/dist/RealtimeCard--APfRNc8.js +1 -0
  68. package/dist/RealtimeCard-fvQlJcM7.mjs +126 -0
  69. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CuwREvXD.js +349 -0
  70. package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-GYNZ_yhD.mjs +3077 -0
  71. package/dist/SearchTermsCard-BsB-63aH.js +1 -0
  72. package/dist/SearchTermsCard-BzVrHKqQ.mjs +201 -0
  73. package/dist/SendPush-COns44j7.js +1 -0
  74. package/dist/SendPush-CPIOjVX4.mjs +184 -0
  75. package/dist/SeoHealth-C5npw7mE.js +1 -0
  76. package/dist/SeoHealth-bVQj_Xgm.mjs +615 -0
  77. package/dist/TableView-Bf1fdJrD.mjs +6159 -0
  78. package/dist/TableView-DNcXyIMu.js +4 -0
  79. package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +1 -0
  80. package/dist/TemplateList.vue_vue_type_script_setup_true_lang-Cmovy7kk.mjs +40 -0
  81. package/dist/TopPagesCard-BDeA997A.js +1 -0
  82. package/dist/TopPagesCard-CTozhOr_.mjs +159 -0
  83. package/dist/TrafficSourcesCard-BxtCKsqx.mjs +197 -0
  84. package/dist/TrafficSourcesCard-C3ziDTUL.js +1 -0
  85. package/dist/View-CsudjxCE.mjs +30 -0
  86. package/dist/View-Dw_wA6kK.js +1 -0
  87. package/dist/VisitorStatsCard-BmByE_Hi.js +1 -0
  88. package/dist/VisitorStatsCard-CXizEbVK.mjs +174 -0
  89. package/dist/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  90. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  91. package/dist/agenda-BaJu3-1c.js +1 -0
  92. package/dist/agenda-BwVY_8oM.mjs +1165 -0
  93. package/dist/availability-CMrRa5y2.mjs +269 -0
  94. package/dist/availability-Cf2YfMwM.js +1 -0
  95. package/dist/booking-data-DgJd0BcM.mjs +889 -0
  96. package/dist/booking-data-Di5GmH_8.js +1 -0
  97. package/dist/cms-core-modules.css +1 -2
  98. package/dist/countries-BTPvmrsb.mjs +4 -0
  99. package/dist/countries-CgZ081No.js +1 -0
  100. package/dist/exceptions-B6P9UiCj.js +1 -0
  101. package/dist/exceptions-De9-FvdP.mjs +646 -0
  102. package/dist/google-CvtuJwgk.mjs +4 -0
  103. package/dist/google-D4N3gb01.js +1 -0
  104. package/dist/index-4tjmIans.js +1 -0
  105. package/dist/index-9HVlmvK3.js +1 -0
  106. package/dist/index-B8GvmAwh.mjs +1403 -0
  107. package/dist/index-BIF2RB7k.mjs +2836 -0
  108. package/dist/index-BWDwEd8D.mjs +24 -0
  109. package/dist/index-BfBBm9uY.mjs +24 -0
  110. package/dist/index-Bkq58CeQ.mjs +22 -0
  111. package/dist/index-ByRsp77L.js +70 -0
  112. package/dist/index-CFzn2Lus.mjs +172 -0
  113. package/dist/index-CJQQBRLY.js +1 -0
  114. package/dist/index-CQkOH2_3.mjs +24 -0
  115. package/dist/index-CSxYBeVA.js +1 -0
  116. package/dist/index-CU-tbS5W.mjs +24 -0
  117. package/dist/index-CZn2nDLv.mjs +34 -0
  118. package/dist/index-CkVwMqpn.mjs +3857 -0
  119. package/dist/index-CkiNvRzs.js +1 -0
  120. package/dist/index-Co4ON2Di.js +1 -0
  121. package/dist/index-Cpnn_Pxd.mjs +24 -0
  122. package/dist/index-CsVeM3PA.mjs +24 -0
  123. package/dist/index-CwqrAU-H.js +1 -0
  124. package/dist/index-CxETuRsG.js +1 -0
  125. package/dist/index-Cz-baGax.js +1 -0
  126. package/dist/index-DFQGVHTs.js +1 -0
  127. package/dist/index-DL6orwdK.js +35 -0
  128. package/dist/index-DPd3waTN.js +1 -0
  129. package/dist/index-DRqJOqUR.mjs +3484 -0
  130. package/dist/index-DUlYrnXH.js +58 -0
  131. package/dist/index-DZV720u-.mjs +439 -0
  132. package/dist/index-D_nfGegA.js +184 -0
  133. package/dist/index-DjWuIBxh.js +1 -0
  134. package/dist/index-Dnn2SCSl.js +1 -0
  135. package/dist/index-Dpl9sU6a.mjs +12 -0
  136. package/dist/index-DrXxXB2F.mjs +138 -0
  137. package/dist/index-DtSvAFLL.js +54 -0
  138. package/dist/index-L54VBzwJ.mjs +109 -0
  139. package/dist/index-R2oUDsjx.js +1 -0
  140. package/dist/index-RLz1QPrf.mjs +203 -0
  141. package/dist/index-UtjLbLw-.js +1 -0
  142. package/dist/index-cOnxXTbF.mjs +24 -0
  143. package/dist/index-hH3e-IYz.mjs +1187 -0
  144. package/dist/index-hlylYYgy.mjs +24 -0
  145. package/dist/index-ijdf0d9-.js +1 -0
  146. package/dist/index.cjs.js +1 -1
  147. package/dist/index.mjs +806 -1095
  148. package/dist/interpolation-CHn59tIC.js +1 -0
  149. package/dist/interpolation-w7IRDJwK.mjs +180 -0
  150. package/dist/math-BJ-oX_IM.mjs +80 -0
  151. package/dist/math-emotyaF6.js +1 -0
  152. package/dist/orders-C65SlpJy.mjs +618 -0
  153. package/dist/orders-XVzWAgG1.js +1 -0
  154. package/dist/payment-C3ohkehF.mjs +1080 -0
  155. package/dist/payment-Dfr-Ro-a.js +1 -0
  156. package/dist/regular-1LXNPviB.js +1 -0
  157. package/dist/regular-_05oq5Tx.mjs +1101 -0
  158. package/dist/resources-CxeFd57z.js +1 -0
  159. package/dist/resources-DwYxn2Vi.mjs +811 -0
  160. package/dist/server-handlers.cjs.js +1 -1
  161. package/dist/server-handlers.mjs +996 -1049
  162. package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +15 -0
  163. package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +14 -0
  164. package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +14 -0
  165. package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +14 -0
  166. package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +32 -0
  167. package/dist/src/appointments/components/create/regular/Step1.vue.d.ts +2 -0
  168. package/dist/src/appointments/components/create/regular/Step2.vue.d.ts +2 -0
  169. package/dist/src/appointments/components/create/regular/Step3.vue.d.ts +2 -0
  170. package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +2 -0
  171. package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +24 -0
  172. package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +17 -0
  173. package/dist/src/appointments/components/edit/Event24hSidebar.vue.d.ts +2 -0
  174. package/dist/src/appointments/components/edit/EventDialog/ApproveReservationDialog.vue.d.ts +8 -0
  175. package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +136 -0
  176. package/dist/src/appointments/components/edit/EventDialog/CancelReservationDialog.vue.d.ts +8 -0
  177. package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +11 -0
  178. package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +55 -0
  179. package/dist/src/appointments/components/edit/EventDialog/RejectReservationDialog.vue.d.ts +8 -0
  180. package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +87 -0
  181. package/dist/src/appointments/components/edit/EventDialog/TimelineChart.vue.d.ts +24 -0
  182. package/dist/src/appointments/components/edit/EventDialog/TransferReservationDialog.vue.d.ts +4 -0
  183. package/dist/src/appointments/components/edit/EventTimeIndicator.vue.d.ts +12 -0
  184. package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +48 -0
  185. package/dist/src/appointments/components/edit/EventView.vue.d.ts +9 -0
  186. package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +29 -0
  187. package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +12 -0
  188. package/dist/src/appointments/components/edit/NewReservationDialog/CustomerInformation.vue.d.ts +10 -0
  189. package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +26 -0
  190. package/dist/src/appointments/components/edit/NewReservationDialog/QuickReservationAdder.vue.d.ts +26 -0
  191. package/dist/src/appointments/components/edit/NewReservationDialog/ReservationLines.vue.d.ts +31 -0
  192. package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +21 -0
  193. package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +22 -0
  194. package/dist/src/appointments/components/edit/PaymentAddons/AddonList.vue.d.ts +5 -0
  195. package/dist/src/appointments/components/edit/PaymentAddons/index.vue.d.ts +15 -0
  196. package/dist/src/appointments/components/edit/ResourceEditorDialog.vue.d.ts +13 -0
  197. package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +36 -0
  198. package/dist/src/appointments/components/edit/dashboard/timeline/ResourceSelector.vue.d.ts +50 -0
  199. package/dist/src/appointments/index.d.ts +12 -9
  200. package/dist/src/appointments/index.vue.d.ts +22 -0
  201. package/dist/src/appointments/metadata.d.ts +1 -1
  202. package/dist/src/appointments/pages/Overview.vue.d.ts +4 -0
  203. package/dist/src/appointments/pages/create/index.vue.d.ts +2 -0
  204. package/dist/src/appointments/pages/create/regular.vue.d.ts +6 -0
  205. package/dist/src/appointments/pages/edit/agenda.vue.d.ts +4 -0
  206. package/dist/src/appointments/pages/edit/availability.vue.d.ts +2 -0
  207. package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +65 -0
  208. package/dist/src/appointments/pages/edit/index.vue.d.ts +2 -0
  209. package/dist/src/appointments/pages/edit/payment.vue.d.ts +2 -0
  210. package/dist/src/appointments/pages/edit/resources.vue.d.ts +28 -0
  211. package/dist/src/appointments/routes.d.ts +6 -3
  212. package/dist/src/contentManager/components/components/ComponentDialog.vue.d.ts +12 -0
  213. package/dist/src/contentManager/components/components/ComponentGridItem.vue.d.ts +16 -0
  214. package/dist/src/contentManager/components/content-editor/ApiDocs.vue.d.ts +2 -0
  215. package/dist/src/contentManager/components/content-editor/ContentLayout.vue.d.ts +49 -0
  216. package/dist/src/contentManager/components/content-editor/ContentSettings.vue.d.ts +24 -0
  217. package/dist/src/contentManager/components/content-editor/ContentStructuredContentSections.vue.d.ts +4 -0
  218. package/dist/src/contentManager/components/content-editor/Header.vue.d.ts +64 -0
  219. package/dist/src/contentManager/components/content-editor/LivePreviewWrapper.vue.d.ts +53 -0
  220. package/dist/src/contentManager/components/content-editor/Locales.vue.d.ts +44 -0
  221. package/dist/src/contentManager/components/content-editor/NewSectionDialog.vue.d.ts +21 -0
  222. package/dist/src/contentManager/components/content-editor/PageSettings.vue.d.ts +2 -0
  223. package/dist/src/contentManager/components/content-editor/SEO.vue.d.ts +14 -0
  224. package/dist/src/contentManager/components/content-editor/SidebarSectionWrapper.vue.d.ts +39 -0
  225. package/dist/src/contentManager/components/content-editor/Status.vue.d.ts +2 -0
  226. package/dist/src/contentManager/components/content-editor/Versions.vue.d.ts +63 -0
  227. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Button.vue.d.ts +94 -0
  228. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Card.vue.d.ts +92 -0
  229. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Column.vue.d.ts +92 -0
  230. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Container.vue.d.ts +92 -0
  231. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +92 -0
  232. package/dist/src/contentManager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +94 -0
  233. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +92 -0
  234. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Image.vue.d.ts +92 -0
  235. package/dist/src/contentManager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +0 -15
  236. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Map.vue.d.ts +92 -0
  237. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +92 -0
  238. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Row.vue.d.ts +115 -0
  239. package/dist/src/contentManager/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +1 -2
  240. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Stack.vue.d.ts +115 -0
  241. package/dist/src/contentManager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +1 -4
  242. package/dist/src/contentManager/components/content-editor/tiptap-extensions/Video.vue.d.ts +92 -0
  243. package/dist/src/contentManager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +92 -0
  244. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +108 -0
  245. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +20 -0
  246. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +104 -0
  247. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +1 -0
  248. package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +19 -0
  249. package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +19 -0
  250. package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +29 -0
  251. package/dist/src/contentManager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +13 -0
  252. package/dist/src/contentManager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +19 -0
  253. package/dist/src/contentManager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +8 -0
  254. package/dist/src/contentManager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +47 -0
  255. package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +6 -0
  256. package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +17 -0
  257. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +13 -0
  258. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +13 -0
  259. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +13 -0
  260. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +13 -0
  261. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +13 -0
  262. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +13 -0
  263. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +13 -0
  264. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +13 -0
  265. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +13 -0
  266. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +13 -0
  267. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +13 -0
  268. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +13 -0
  269. package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +132 -12
  270. package/dist/src/contentManager/components/overview/CollectionDialog.vue.d.ts +30 -0
  271. package/dist/src/contentManager/components/overview/CollectionsGridView.vue.d.ts +18 -0
  272. package/dist/src/contentManager/components/overview/ContentEntryContextMenu.vue.d.ts +27 -0
  273. package/dist/src/contentManager/components/overview/FilterPopover.vue.d.ts +2 -0
  274. package/dist/src/contentManager/components/overview/ListView.vue.d.ts +12 -0
  275. package/dist/src/contentManager/components/styling/ButtonStyleDialog.vue.d.ts +24 -0
  276. package/dist/src/contentManager/components/styling/CardStyleDialog.vue.d.ts +24 -0
  277. package/dist/src/contentManager/components/styling/SectionStyleDialog.vue.d.ts +24 -0
  278. package/dist/src/contentManager/index.d.ts +14 -5
  279. package/dist/src/contentManager/index.vue.d.ts +22 -0
  280. package/dist/src/contentManager/metadata.d.ts +1 -1
  281. package/dist/src/contentManager/pages/Components.vue.d.ts +27 -0
  282. package/dist/src/contentManager/pages/ContentEditor.vue.d.ts +14 -0
  283. package/dist/src/contentManager/pages/Entries.vue.d.ts +16 -0
  284. package/dist/src/contentManager/pages/GlobalStyling.vue.d.ts +117 -0
  285. package/dist/src/contentManager/pages/Overview.vue.d.ts +57 -0
  286. package/dist/src/contentManager/routes.d.ts +12 -3
  287. package/dist/src/custom/index.d.ts +2 -2
  288. package/dist/src/custom/index.vue.d.ts +2 -0
  289. package/dist/src/custom/pages/View.vue.d.ts +2 -0
  290. package/dist/src/custom/routes.d.ts +1 -1
  291. package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +14 -0
  292. package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +14 -0
  293. package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +14 -0
  294. package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +14 -0
  295. package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +14 -0
  296. package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +14 -0
  297. package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +14 -0
  298. package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +14 -0
  299. package/dist/src/googleAnalytics/components/seo-health/SeoClicksChart.vue.d.ts +5 -0
  300. package/dist/src/googleAnalytics/components/seo-health/SeoImpressionsChart.vue.d.ts +5 -0
  301. package/dist/src/googleAnalytics/components/seo-health/SeoKeywordsTab.vue.d.ts +5 -0
  302. package/dist/src/googleAnalytics/components/seo-health/SeoKpiCards.vue.d.ts +10 -0
  303. package/dist/src/googleAnalytics/components/seo-health/SeoMappingTab.vue.d.ts +5 -0
  304. package/dist/src/googleAnalytics/components/seo-health/SeoPagesTab.vue.d.ts +5 -0
  305. package/dist/src/googleAnalytics/components/seo-health/SeoRankingDistribution.vue.d.ts +5 -0
  306. package/dist/src/googleAnalytics/index.d.ts +10 -10
  307. package/dist/src/googleAnalytics/index.vue.d.ts +2 -0
  308. package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +2 -0
  309. package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +2 -0
  310. package/dist/src/googleAnalytics/pages/Content.vue.d.ts +2 -0
  311. package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +2 -0
  312. package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +2 -0
  313. package/dist/src/googleAnalytics/routes.d.ts +1 -1
  314. package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +2 -0
  315. package/dist/src/mailTemplates/index.d.ts +3 -3
  316. package/dist/src/mailTemplates/index.vue.d.ts +22 -0
  317. package/dist/src/mailTemplates/metadata.d.ts +1 -1
  318. package/dist/src/mailTemplates/pages/Detail.vue.d.ts +14 -0
  319. package/dist/src/mailTemplates/pages/Overview.vue.d.ts +14 -0
  320. package/dist/src/mailTemplates/routes.d.ts +1 -1
  321. package/dist/src/productCollections/components/detail/Main.vue.d.ts +2 -0
  322. package/dist/src/productCollections/components/detail/SEO.vue.d.ts +2 -0
  323. package/dist/src/productCollections/components/detail/Status.vue.d.ts +2 -0
  324. package/dist/src/productCollections/components/overview/ListView.vue.d.ts +12 -0
  325. package/dist/src/productCollections/index.d.ts +3 -3
  326. package/dist/src/productCollections/index.vue.d.ts +22 -0
  327. package/dist/src/productCollections/metadata.d.ts +1 -1
  328. package/dist/src/productCollections/pages/Detail.vue.d.ts +14 -0
  329. package/dist/src/productCollections/pages/Overview.vue.d.ts +16 -0
  330. package/dist/src/productCollections/routes.d.ts +1 -1
  331. package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +14 -0
  332. package/dist/src/products/components/detail/Collections.vue.d.ts +14 -0
  333. package/dist/src/products/components/detail/Inventory.vue.d.ts +2 -0
  334. package/dist/src/products/components/detail/Main.vue.d.ts +2 -0
  335. package/dist/src/products/components/detail/NewSection.vue.d.ts +2 -0
  336. package/dist/src/products/components/detail/Price.vue.d.ts +2 -0
  337. package/dist/src/products/components/detail/SEO.vue.d.ts +2 -0
  338. package/dist/src/products/components/detail/Shipping.vue.d.ts +2 -0
  339. package/dist/src/products/components/detail/Status.vue.d.ts +2 -0
  340. package/dist/src/products/components/detail/price/UnitPriceDialog.vue.d.ts +17 -0
  341. package/dist/src/products/components/detail/variants/Option.vue.d.ts +33 -0
  342. package/dist/src/products/components/detail/variants/VariantList.vue.d.ts +38 -0
  343. package/dist/src/products/components/overview/FilterPopover.vue.d.ts +2 -0
  344. package/dist/src/products/components/overview/GridView.vue.d.ts +12 -0
  345. package/dist/src/products/components/overview/ListView.vue.d.ts +12 -0
  346. package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +27 -0
  347. package/dist/src/products/index.d.ts +4 -4
  348. package/dist/src/products/index.vue.d.ts +22 -0
  349. package/dist/src/products/metadata.d.ts +1 -1
  350. package/dist/src/products/pages/Detail.vue.d.ts +14 -0
  351. package/dist/src/products/pages/Overview.vue.d.ts +16 -0
  352. package/dist/src/products/routes.d.ts +1 -1
  353. package/dist/src/promoCodes/components/create/DateRange.vue.d.ts +2 -0
  354. package/dist/src/promoCodes/components/create/MultiCodes.vue.d.ts +2 -0
  355. package/dist/src/promoCodes/components/create/Note.vue.d.ts +2 -0
  356. package/dist/src/promoCodes/components/create/SingleCode.vue.d.ts +2 -0
  357. package/dist/src/promoCodes/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +6 -0
  358. package/dist/src/promoCodes/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +18 -0
  359. package/dist/src/promoCodes/components/create/TypeAndValue/index.vue.d.ts +2 -0
  360. package/dist/src/promoCodes/index.d.ts +3 -3
  361. package/dist/src/promoCodes/index.vue.d.ts +22 -0
  362. package/dist/src/promoCodes/metadata.d.ts +1 -1
  363. package/dist/src/promoCodes/pages/Create.vue.d.ts +16 -0
  364. package/dist/src/promoCodes/pages/Detail.vue.d.ts +14 -0
  365. package/dist/src/promoCodes/pages/Find.vue.d.ts +16 -0
  366. package/dist/src/promoCodes/routes.d.ts +1 -1
  367. package/dist/src/push-notifications/components/PreviewAndroid.vue.d.ts +28 -0
  368. package/dist/src/push-notifications/components/PreviewIPhone.vue.d.ts +28 -0
  369. package/dist/src/push-notifications/components/PushPreview.vue.d.ts +28 -0
  370. package/dist/src/push-notifications/index.d.ts +3 -3
  371. package/dist/src/push-notifications/index.vue.d.ts +22 -0
  372. package/dist/src/push-notifications/metadata.d.ts +1 -1
  373. package/dist/src/push-notifications/pages/SendPush.vue.d.ts +14 -0
  374. package/dist/src/push-notifications/routes.d.ts +1 -1
  375. package/dist/src/shared/BrandLogo.vue.d.ts +12 -0
  376. package/dist/src/shared/DrawerToggle.vue.d.ts +60 -0
  377. package/dist/src/shared/VerticalToggle.vue.d.ts +60 -0
  378. package/dist/src/shippingOptions/components/detail/Condition.vue.d.ts +2 -0
  379. package/dist/src/shippingOptions/components/detail/Countries.vue.d.ts +2 -0
  380. package/dist/src/shippingOptions/components/detail/Example.vue.d.ts +2 -0
  381. package/dist/src/shippingOptions/components/detail/Main.vue.d.ts +2 -0
  382. package/dist/src/shippingOptions/components/overview/ListView.vue.d.ts +12 -0
  383. package/dist/src/shippingOptions/index.d.ts +3 -3
  384. package/dist/src/shippingOptions/index.vue.d.ts +22 -0
  385. package/dist/src/shippingOptions/metadata.d.ts +1 -1
  386. package/dist/src/shippingOptions/pages/Detail.vue.d.ts +14 -0
  387. package/dist/src/shippingOptions/pages/Overview.vue.d.ts +16 -0
  388. package/dist/src/shippingOptions/routes.d.ts +1 -1
  389. package/dist/src/table/components/DataTable.vue.d.ts +18 -0
  390. package/dist/src/table/components/DataTableAction.vue.d.ts +14 -0
  391. package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +4 -0
  392. package/dist/src/table/components/DataTablePagination.vue.d.ts +6 -0
  393. package/dist/src/table/components/actions/ActionDialog.vue.d.ts +19 -0
  394. package/dist/src/table/components/actions/CtaActionDialog.vue.d.ts +4 -0
  395. package/dist/src/table/components/columns/ColumnDropdown.vue.d.ts +2 -0
  396. package/dist/src/table/components/columns/ColumnEditorDialog.vue.d.ts +34 -0
  397. package/dist/src/table/components/columns/DialogTableColumnItem.vue.d.ts +12 -0
  398. package/dist/src/table/components/date-range-filter/DateRangeFilter.vue.d.ts +2 -0
  399. package/dist/src/table/components/date-range-filter/DateRangeSettingsDialog.vue.d.ts +27 -0
  400. package/dist/src/table/components/filters/FilterDialog.vue.d.ts +12 -0
  401. package/dist/src/table/components/filters/Filters.vue.d.ts +27 -0
  402. package/dist/src/table/components/search/Search.vue.d.ts +2 -0
  403. package/dist/src/table/components/sort/SortMode.vue.d.ts +2 -0
  404. package/dist/src/table/components/sort/SortModeSettingsDialog.vue.d.ts +18 -0
  405. package/dist/src/table/components/stats/StatDialog.vue.d.ts +12 -0
  406. package/dist/src/table/components/stats/Stats.vue.d.ts +27 -0
  407. package/dist/src/table/flow-builder-extensions/TableRowEditor.vue.d.ts +16 -0
  408. package/dist/src/table/flow-builder-extensions/row-item.d.ts +17 -3
  409. package/dist/src/table/index.d.ts +2 -2
  410. package/dist/src/table/index.vue.d.ts +22 -0
  411. package/dist/src/table/pages/TableView.vue.d.ts +54 -0
  412. package/dist/src/table/routes.d.ts +1 -1
  413. package/dist/src/types/index.d.ts +0 -6
  414. package/dist/utils-CanmrIWO.mjs +47 -0
  415. package/dist/utils-Yd6F5mea.js +3 -0
  416. package/dist/vee-validate-zod-ByykgYKJ.js +1 -0
  417. package/dist/vee-validate-zod-DNjTLCgh.mjs +4402 -0
  418. package/package.json +56 -55
  419. package/dist/Acquisition-DypEyPSO.js +0 -1
  420. package/dist/Acquisition-TCNX-th6.mjs +0 -308
  421. package/dist/AgendaOpeningHoursCard-BIhm0vpV.js +0 -1
  422. package/dist/AgendaOpeningHoursCard-BKUdJxRI.mjs +0 -133
  423. package/dist/AppointmentDetailsCard-C5rQ5jsW.js +0 -1
  424. package/dist/AppointmentDetailsCard-NRHeNP2L.mjs +0 -111
  425. package/dist/AppointmentEditor-BcF8CiD-.mjs +0 -150
  426. package/dist/AppointmentEditor-BlhFtoCm.js +0 -1
  427. package/dist/AppointmentListTable-B-ReBVtV.js +0 -1
  428. package/dist/AppointmentListTable-DHmy-iid.mjs +0 -129
  429. package/dist/Audience-CfWHjjg8.mjs +0 -394
  430. package/dist/Audience-Cj4TyauW.js +0 -1
  431. package/dist/Components-BehelN4r.js +0 -1
  432. package/dist/Components-CR6zukUU.mjs +0 -468
  433. package/dist/Content-C5Iye3t0.mjs +0 -257
  434. package/dist/Content-eOfBx52Y.js +0 -1
  435. package/dist/ContentEditor-BgL4qEeg.mjs +0 -26835
  436. package/dist/ContentEditor-Tlu3w0Hu.js +0 -462
  437. package/dist/CountryBreakdownCard-CWVyB8be.mjs +0 -151
  438. package/dist/CountryBreakdownCard-Db-pMiNe.js +0 -1
  439. package/dist/Create-B1it8S4m.js +0 -1
  440. package/dist/Create-DbYi0FAI.mjs +0 -907
  441. package/dist/DateFormatter-DLrDYkby.mjs +0 -630
  442. package/dist/DateFormatter-Dni0Oq8r.js +0 -1
  443. package/dist/Detail-D-eahJGO.mjs +0 -21
  444. package/dist/Detail-D0kdPPIm.mjs +0 -2757
  445. package/dist/Detail-DAafePYi.mjs +0 -485
  446. package/dist/Detail-DYpv4fYg.js +0 -1
  447. package/dist/Detail-Dc_ui4LM.js +0 -1
  448. package/dist/Detail-DccUekl_.js +0 -1
  449. package/dist/Detail-Dhz0V0Vf.js +0 -1
  450. package/dist/Detail-DjnGY0F8.mjs +0 -282
  451. package/dist/Detail-DplAitHg.mjs +0 -447
  452. package/dist/Detail-SugyeSxb.js +0 -1
  453. package/dist/DeviceBreakdownCard-CzxZT6To.js +0 -1
  454. package/dist/DeviceBreakdownCard-eEwPjzKl.mjs +0 -115
  455. package/dist/EditLayout-Bnz9q_jd.js +0 -1
  456. package/dist/EditLayout-J_DGXb8v.mjs +0 -99
  457. package/dist/Entries-CgpWg6fE.js +0 -1
  458. package/dist/Entries-CkGTXcAq.mjs +0 -575
  459. package/dist/Find-Bz0TNJzk.mjs +0 -164
  460. package/dist/Find-D-ItTXaZ.js +0 -1
  461. package/dist/GlobalStyling-CSQPF7o_.mjs +0 -1162
  462. package/dist/GlobalStyling-DabldMZh.js +0 -15
  463. package/dist/NewReservationDialog-BhIiY2B9.js +0 -1
  464. package/dist/NewReservationDialog-CN49aGcM.mjs +0 -1002
  465. package/dist/OrderDetailDialog-BJ01DZFe.js +0 -1
  466. package/dist/OrderDetailDialog-CoVQ_rzs.mjs +0 -215
  467. package/dist/Overview-9FMgn5hT.mjs +0 -492
  468. package/dist/Overview-BOOwMQ-c.mjs +0 -636
  469. package/dist/Overview-Biz3h60w.js +0 -1
  470. package/dist/Overview-C2K2ofdS.js +0 -1
  471. package/dist/Overview-CFHOXP9N.mjs +0 -123
  472. package/dist/Overview-CTJe7J5_.js +0 -1
  473. package/dist/Overview-Cvj2i9eW.js +0 -1
  474. package/dist/Overview-D2I1F8Dm.mjs +0 -21
  475. package/dist/Overview-DFOc9emt.mjs +0 -345
  476. package/dist/Overview-Dmhfb94Y.js +0 -1
  477. package/dist/Overview-PPzv7weG.mjs +0 -450
  478. package/dist/Overview-qFKcXHVF.js +0 -1
  479. package/dist/Overview-xkmYYTae.mjs +0 -133
  480. package/dist/Overview-yPsLvR2c.js +0 -1
  481. package/dist/PeakHoursCard-CtgEP-ez.mjs +0 -157
  482. package/dist/PeakHoursCard-DPeoMyhu.js +0 -1
  483. package/dist/ProductDetailsCard-B0WhmzO-.mjs +0 -98
  484. package/dist/ProductDetailsCard-C1ROuH6l.js +0 -1
  485. package/dist/RealtimeCard-DQno-Okz.js +0 -1
  486. package/dist/RealtimeCard-dR-g1iDo.mjs +0 -92
  487. package/dist/ReservationDetailDialog-Cdo6h0RD.mjs +0 -2163
  488. package/dist/ReservationDetailDialog-DZTFD2xI.js +0 -349
  489. package/dist/SearchTermsCard-BXJSXz_k.js +0 -1
  490. package/dist/SearchTermsCard-DsaxLKwP.mjs +0 -146
  491. package/dist/SendPush-Bssi-OZD.mjs +0 -150
  492. package/dist/SendPush-BuaYboRH.js +0 -1
  493. package/dist/SeoHealth-CP-kL0us.js +0 -1
  494. package/dist/SeoHealth-Cxp_Gb3Y.mjs +0 -459
  495. package/dist/TableView-7iwBkQ_k.mjs +0 -4757
  496. package/dist/TableView-BB_oIYYZ.js +0 -4
  497. package/dist/TemplateList-CNcM_Kgq.mjs +0 -56
  498. package/dist/TemplateList-VuPcBUJO.js +0 -1
  499. package/dist/TopPagesCard-CvDECn3_.mjs +0 -117
  500. package/dist/TopPagesCard-DNdATXJE.js +0 -1
  501. package/dist/TrafficSourcesCard-BLpBr7u0.mjs +0 -151
  502. package/dist/TrafficSourcesCard-_3gRUCw3.js +0 -1
  503. package/dist/View-DSnUHI7h.mjs +0 -30
  504. package/dist/View-Dbcfpdqh.js +0 -1
  505. package/dist/VisitorStatsCard-CFEnXSjF.mjs +0 -185
  506. package/dist/VisitorStatsCard-C_jhQxDW.js +0 -1
  507. package/dist/_plugin-vue_export-helper-5u7tqpWC.js +0 -1
  508. package/dist/_plugin-vue_export-helper-BJQSo0im.mjs +0 -8
  509. package/dist/agenda-CzMRcQTA.mjs +0 -989
  510. package/dist/agenda-D4zWRYSQ.js +0 -1
  511. package/dist/appointments-9syR5TZE.js +0 -1
  512. package/dist/appointments-BBmOJMhM.mjs +0 -23
  513. package/dist/array-BH1uH7XT.js +0 -1
  514. package/dist/array-DnDL9cFz.mjs +0 -98
  515. package/dist/availability-CAXB7Yd6.js +0 -1
  516. package/dist/availability-Dp7eF-ZK.mjs +0 -215
  517. package/dist/booking-data-Bysf6e5x.mjs +0 -724
  518. package/dist/booking-data-C6SGjC2X.js +0 -1
  519. package/dist/chunk-DQi1bQcV.js +0 -1
  520. package/dist/contentManager-D7JxXCwE.js +0 -1
  521. package/dist/contentManager-tfy0x1LD.mjs +0 -22
  522. package/dist/context-AQKfnJ4t.mjs +0 -3809
  523. package/dist/context-ubyMq9Xe.js +0 -54
  524. package/dist/core-Dhgr4ctC.mjs +0 -202
  525. package/dist/core-_HKfBlaZ.js +0 -1
  526. package/dist/countries-MXLT3mVe.mjs +0 -4
  527. package/dist/countries-OCd5qPxG.js +0 -1
  528. package/dist/create-BfNc2C7N.js +0 -1
  529. package/dist/create-C7JlIlIh.mjs +0 -95
  530. package/dist/custom-BwN9-6Mb.js +0 -1
  531. package/dist/custom-INNwaWla.mjs +0 -13
  532. package/dist/dist-BCVg7FKM.js +0 -1
  533. package/dist/dist-DIhK9VWh.mjs +0 -3045
  534. package/dist/edit-BiI2VG60.js +0 -35
  535. package/dist/edit-DD3iFBEh.mjs +0 -1097
  536. package/dist/exceptions-DICMaDcH.mjs +0 -462
  537. package/dist/exceptions-DpWqMNuG.js +0 -1
  538. package/dist/google-Bcc4XZnV.mjs +0 -4
  539. package/dist/google-DTSRmJ51.js +0 -1
  540. package/dist/googleAnalytics-BSaqRR_L.js +0 -1
  541. package/dist/googleAnalytics-Cg-iWblZ.mjs +0 -47
  542. package/dist/interpolation-B8OzkMyi.mjs +0 -131
  543. package/dist/interpolation-DpAqtGOW.js +0 -1
  544. package/dist/lib-4wSi00Vr.js +0 -1
  545. package/dist/lib-BZgXUui5.mjs +0 -198
  546. package/dist/line-DJdnFNI7.js +0 -75
  547. package/dist/line-tYLnEDGV.mjs +0 -1500
  548. package/dist/mailTemplates-BNk8fhVS.mjs +0 -23
  549. package/dist/mailTemplates-DswHzyQe.js +0 -1
  550. package/dist/orders-CIc0JlKX.mjs +0 -512
  551. package/dist/orders-DwPSi_pD.js +0 -1
  552. package/dist/payment-BsNWFaDm.js +0 -1
  553. package/dist/payment-Ced5_dpa.mjs +0 -718
  554. package/dist/productCollections-Cuvw_8zC.js +0 -1
  555. package/dist/productCollections-D0AxRlzr.mjs +0 -23
  556. package/dist/products-DUD-ZMkR.mjs +0 -22
  557. package/dist/products-DvX9B-Ul.js +0 -1
  558. package/dist/promoCodes-BCWqN6w4.mjs +0 -23
  559. package/dist/promoCodes-CEZ4LYot.js +0 -1
  560. package/dist/push-notifications-BGp4XWo9.js +0 -1
  561. package/dist/push-notifications-C7W7KuzR.mjs +0 -23
  562. package/dist/regular-BCFrS6lK.mjs +0 -908
  563. package/dist/regular-DBqPgT8C.js +0 -1
  564. package/dist/resources-DwsMmWgm.mjs +0 -669
  565. package/dist/resources-Dz81GkHe.js +0 -1
  566. package/dist/shippingOptions-C3NEJff1.mjs +0 -23
  567. package/dist/shippingOptions-Cy040ZW1.js +0 -1
  568. package/dist/single-container-BJmmqq65.mjs +0 -468
  569. package/dist/single-container-Xoo0Xzxv.js +0 -58
  570. package/dist/src/vue-shim.d.ts +0 -7
  571. package/dist/table-DWw0fs3S.js +0 -1
  572. package/dist/table-LXt5DQOL.mjs +0 -23
  573. package/dist/utils-CVIHqQsU.js +0 -3
  574. package/dist/utils-h3owcMtS.mjs +0 -37
  575. package/dist/vee-validate-zod-BmXMJo8W.js +0 -1
  576. package/dist/vee-validate-zod-D9dZzbWZ.mjs +0 -4985
  577. package/dist/xy-container-CuQSwrtB.mjs +0 -3180
  578. package/dist/xy-container-_6YpscZh.js +0 -158
@@ -0,0 +1,623 @@
1
+ import { defineComponent as z, ref as w, resolveComponent as a, openBlock as s, createBlock as p, withCtx as i, createVNode as n, createTextVNode as D, toDisplayString as L, createElementVNode as t, normalizeClass as $, unref as g, createCommentVNode as T, createElementBlock as x, resolveDynamicComponent as X, computed as P, Fragment as H, renderList as M, useTemplateRef as ee, onMounted as te } from "vue";
2
+ import { Circle as U, CircleCheck as A, icons as oe, Baseline as le, LetterText as ne, Check as j, ChevronDown as se, ChevronLeft as ae, Plus as ie } from "lucide-vue-next";
3
+ import { useConfirmation as ue, useModuleStorage as de, useModuleRoute as re, useModuleBreadcrumbs as me } from "@oneclick.dev/cms-kit";
4
+ const ce = { class: "grid py-4" }, pe = { class: "flex gap-6 mb-6" }, ve = { class: "w-1/2" }, fe = { class: "w-1/2" }, xe = { class: "flex gap-6 mb-6" }, ge = { class: "w-1/2" }, ye = { class: "w-1/2" }, Ce = { class: "grid grid-cols-3 bg-input/30 rounded border divide-x divide-input/30 mb-6" }, be = /* @__PURE__ */ z({
5
+ __name: "ComponentDialog",
6
+ emits: ["add", "edit", "delete"],
7
+ setup(r, { expose: V, emit: b }) {
8
+ const { confirm: h } = ue(), c = b, m = w(!1), l = w("create"), d = w(""), v = w(""), C = w(""), _ = w(""), u = w(""), o = w("layout"), f = w([]), E = (k) => {
9
+ k ? (l.value = "edit", d.value = k.id, v.value = k.displayName || "", C.value = k.name || "", _.value = k.tint || "", u.value = k.icon || "", o.value = k.componentType || "layout", f.value = k.formLayout || []) : (l.value = "create", d.value = "", v.value = "", C.value = "", _.value = "", u.value = "", o.value = "layout", f.value = []), m.value = !0;
10
+ }, N = () => {
11
+ c("add", {
12
+ id: crypto.randomUUID(),
13
+ displayName: v.value,
14
+ name: C.value,
15
+ tint: _.value,
16
+ icon: u.value,
17
+ componentType: o.value,
18
+ formLayout: f.value
19
+ }), m.value = !1;
20
+ }, Z = () => {
21
+ c("edit", {
22
+ id: d.value,
23
+ displayName: v.value,
24
+ name: C.value,
25
+ tint: _.value,
26
+ icon: u.value,
27
+ componentType: o.value,
28
+ formLayout: f.value
29
+ }), m.value = !1;
30
+ }, S = async () => {
31
+ await h("Are you sure you want to delete this component? This action cannot be undone.", "Delete Component", "Delete") && (c("delete", d.value), m.value = !1);
32
+ };
33
+ return V({
34
+ openDialog: E
35
+ }), (k, e) => {
36
+ const B = a("DialogTitle"), q = a("DialogDescription"), G = a("DialogHeader"), O = a("Input"), R = a("TailwindColorPicker"), Y = a("LucideIconPicker"), J = a("FormBuilderSelect"), I = a("Button"), K = a("DialogFooter"), Q = a("DialogScrollContent"), W = a("Dialog");
37
+ return s(), p(W, {
38
+ open: m.value,
39
+ "onUpdate:open": e[8] || (e[8] = (y) => m.value = y)
40
+ }, {
41
+ default: i(() => [
42
+ n(Q, { class: "sm:max-w-2xl" }, {
43
+ default: i(() => [
44
+ n(G, null, {
45
+ default: i(() => [
46
+ n(B, null, {
47
+ default: i(() => [
48
+ D(L(l.value === "create" ? "Add New Component" : "Update Component"), 1)
49
+ ]),
50
+ _: 1
51
+ }),
52
+ n(q, null, {
53
+ default: i(() => [...e[9] || (e[9] = [
54
+ D(" Connect the components from your front-end to build pages with them. ", -1)
55
+ ])]),
56
+ _: 1
57
+ })
58
+ ]),
59
+ _: 1
60
+ }),
61
+ t("div", ce, [
62
+ t("div", pe, [
63
+ t("div", ve, [
64
+ e[10] || (e[10] = t("label", {
65
+ for: "component-dialog-display-name",
66
+ class: "text-sm mb-1 block font-medium"
67
+ }, "Display Name", -1)),
68
+ n(O, {
69
+ modelValue: v.value,
70
+ "onUpdate:modelValue": e[0] || (e[0] = (y) => v.value = y),
71
+ placeholder: "Display Name",
72
+ id: "component-dialog-display-name"
73
+ }, null, 8, ["modelValue"]),
74
+ e[11] || (e[11] = t("p", { class: "text-xs text-muted-foreground mt-2" }, " This is the name that the user will see in the component list. ", -1))
75
+ ]),
76
+ t("div", fe, [
77
+ e[12] || (e[12] = t("label", {
78
+ for: "component-dialog-component-name",
79
+ class: "text-sm mb-1 block font-medium"
80
+ }, "Component Name", -1)),
81
+ n(O, {
82
+ modelValue: C.value,
83
+ "onUpdate:modelValue": e[1] || (e[1] = (y) => C.value = y),
84
+ placeholder: "Component Name",
85
+ id: "component-dialog-component-name"
86
+ }, null, 8, ["modelValue"]),
87
+ e[13] || (e[13] = t("p", { class: "text-xs text-muted-foreground mt-2" }, " How is the component called in your front-end? ", -1))
88
+ ])
89
+ ]),
90
+ t("div", xe, [
91
+ t("div", ge, [
92
+ e[14] || (e[14] = t("label", {
93
+ for: "component-dialog-display-name",
94
+ class: "text-sm mb-1 block font-medium"
95
+ }, "Tint", -1)),
96
+ n(R, {
97
+ modelValue: _.value,
98
+ "onUpdate:modelValue": e[2] || (e[2] = (y) => _.value = y),
99
+ "default-value": "white"
100
+ }, null, 8, ["modelValue"])
101
+ ]),
102
+ t("div", ye, [
103
+ e[15] || (e[15] = t("label", {
104
+ for: "component-dialog-component-name",
105
+ class: "text-sm mb-1 block font-medium"
106
+ }, "Icon", -1)),
107
+ n(Y, {
108
+ modelValue: u.value,
109
+ "onUpdate:modelValue": e[3] || (e[3] = (y) => u.value = y)
110
+ }, null, 8, ["modelValue"])
111
+ ])
112
+ ]),
113
+ e[22] || (e[22] = t("p", { class: "text-sm mb-1 block font-medium" }, " Component Type ", -1)),
114
+ t("div", Ce, [
115
+ t("button", {
116
+ class: $(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": o.value == "layout" }]),
117
+ onClick: e[4] || (e[4] = (y) => o.value = "layout")
118
+ }, [
119
+ e[16] || (e[16] = t("svg", {
120
+ width: "60",
121
+ height: "60",
122
+ viewBox: "0 0 60 60",
123
+ fill: "none",
124
+ xmlns: "http://www.w3.org/2000/svg",
125
+ class: "dark:invert dark:opacity-30 mx-auto mb-4"
126
+ }, [
127
+ t("path", {
128
+ "fill-rule": "evenodd",
129
+ "clip-rule": "evenodd",
130
+ d: "M10 6C7.79086 6 6 7.79086 6 10V15H0V10C0 4.47715 4.47715 0 10 0H15V6H10ZM35 6H25V0H35V6ZM50 6H45V0H50C55.5229 0 60 4.47715 60 10V15H54V10C54 7.79086 52.2091 6 50 6ZM6 25V35H0V25H6ZM54 35V25H60V35H54ZM6 45V50C6 52.2091 7.79086 54 10 54H15V60H10C4.47715 60 0 55.5228 0 50V45H6ZM54 50V45H60V50C60 55.5229 55.5228 60 50 60H45V54H50C52.2091 54 54 52.2091 54 50ZM25 54H35V60H25V54Z",
131
+ fill: "black"
132
+ })
133
+ ], -1)),
134
+ e[17] || (e[17] = t("div", { class: "mb-auto" }, [
135
+ t("strong", { class: "text-sm mb-1" }, "Layout Component"),
136
+ t("p", { class: "text-xs text-muted-foreground" }, " Helps setting up the overall structure or layout of the page. (Examples: Section, 2 Column Grid, ...) ")
137
+ ], -1)),
138
+ o.value != "layout" ? (s(), p(g(U), {
139
+ key: 0,
140
+ class: "size-4 mx-auto mt-4"
141
+ })) : (s(), p(g(A), {
142
+ key: 1,
143
+ class: "size-4 mx-auto mt-4"
144
+ }))
145
+ ], 2),
146
+ t("button", {
147
+ class: $(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": o.value == "content" }]),
148
+ onClick: e[5] || (e[5] = (y) => o.value = "content")
149
+ }, [
150
+ e[18] || (e[18] = t("svg", {
151
+ width: "60",
152
+ height: "60",
153
+ viewBox: "0 0 60 60",
154
+ fill: "none",
155
+ xmlns: "http://www.w3.org/2000/svg",
156
+ class: "dark:invert dark:opacity-30 mx-auto mb-4"
157
+ }, [
158
+ t("path", {
159
+ "fill-rule": "evenodd",
160
+ "clip-rule": "evenodd",
161
+ d: "M0 10C0 4.47715 4.47715 0 10 0H50C55.5229 0 60 4.47715 60 10V50C60 55.5229 55.5228 60 50 60H10C4.47715 60 0 55.5228 0 50V10ZM10 6C7.79086 6 6 7.79086 6 10V50C6 52.2091 7.79086 54 10 54H50C52.2091 54 54 52.2091 54 50V10C54 7.79086 52.2091 6 50 6H10Z",
162
+ fill: "black"
163
+ })
164
+ ], -1)),
165
+ e[19] || (e[19] = t("div", { class: "mb-auto" }, [
166
+ t("strong", { class: "text-sm mb-1" }, "Content Component"),
167
+ t("p", { class: "text-xs text-muted-foreground" }, " Aimed at hosting and displaying unique content. (Examples: Text, Link, Image, ...) ")
168
+ ], -1)),
169
+ o.value != "content" ? (s(), p(g(U), {
170
+ key: 0,
171
+ class: "size-4 mx-auto mt-4"
172
+ })) : (s(), p(g(A), {
173
+ key: 1,
174
+ class: "size-4 mx-auto mt-4"
175
+ }))
176
+ ], 2),
177
+ t("button", {
178
+ class: $(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": o.value == "hybrid" }]),
179
+ onClick: e[6] || (e[6] = (y) => o.value = "hybrid")
180
+ }, [
181
+ e[20] || (e[20] = t("svg", {
182
+ width: "60",
183
+ height: "60",
184
+ viewBox: "0 0 60 60",
185
+ fill: "none",
186
+ xmlns: "http://www.w3.org/2000/svg",
187
+ class: "dark:invert dark:opacity-30 mx-auto mb-4"
188
+ }, [
189
+ t("path", {
190
+ "fill-rule": "evenodd",
191
+ "clip-rule": "evenodd",
192
+ d: "M54 10C54 7.79086 52.2091 6 50 6L45 6L45 -6.55671e-07L50 -4.37114e-07C55.5228 -1.95703e-07 60 4.47715 60 10L60 15L54 15L54 10ZM54 50L54 15L60 15L60 50C60 55.5229 55.5228 60 50 60L15 60L15 54L50 54C52.2091 54 54 52.2091 54 50ZM35 6L25 6L25 -1.5299e-06L35 -1.09278e-06L35 6ZM15 6L10 6C7.79086 6 6 7.79086 6 10L6 15L-6.55671e-07 15L-4.37114e-07 10C-1.95703e-07 4.47715 4.47715 -2.42698e-06 10 -2.18557e-06L15 -1.96701e-06L15 6ZM10 54L15 54L15 60L10 60C4.47715 60 -2.42698e-06 55.5228 -2.18557e-06 50L-1.96701e-06 45L6 45L6 50C6 52.2091 7.79086 54 10 54ZM6 25L6 35L-1.5299e-06 35L-1.09278e-06 25L6 25Z",
193
+ fill: "black"
194
+ })
195
+ ], -1)),
196
+ e[21] || (e[21] = t("div", { class: "mb-auto" }, [
197
+ t("strong", { class: "text-sm mb-1" }, "Hybrid Component"),
198
+ t("p", { class: "text-xs text-muted-foreground" }, " These serve as both layout and content components, unlocking complex layouts. ")
199
+ ], -1)),
200
+ o.value != "hybrid" ? (s(), p(g(U), {
201
+ key: 0,
202
+ class: "size-4 mx-auto mt-4"
203
+ })) : (s(), p(g(A), {
204
+ key: 1,
205
+ class: "size-4 mx-auto mt-4"
206
+ }))
207
+ ], 2)
208
+ ]),
209
+ e[23] || (e[23] = t("p", { class: "text-sm mb-1 block font-medium" }, " Form Layout ", -1)),
210
+ e[24] || (e[24] = t("p", { class: "text-xs text-muted-foreground mb-2" }, " This will be the form that the client can fill in to populate this component. ", -1)),
211
+ t("div", null, [
212
+ n(J, {
213
+ modelValue: f.value,
214
+ "onUpdate:modelValue": e[7] || (e[7] = (y) => f.value = y),
215
+ buildText: "Edit Form Layout",
216
+ editText: "Edit Form Layout"
217
+ }, null, 8, ["modelValue"])
218
+ ])
219
+ ]),
220
+ n(K, null, {
221
+ default: i(() => [
222
+ l.value === "edit" ? (s(), p(I, {
223
+ key: 0,
224
+ variant: "destructive",
225
+ class: "mr-auto",
226
+ onClick: S
227
+ }, {
228
+ default: i(() => [...e[25] || (e[25] = [
229
+ D(" Delete Component ", -1)
230
+ ])]),
231
+ _: 1
232
+ })) : T("", !0),
233
+ l.value === "create" ? (s(), p(I, {
234
+ key: 1,
235
+ type: "submit",
236
+ onClick: N
237
+ }, {
238
+ default: i(() => [...e[26] || (e[26] = [
239
+ D(" Add Component ", -1)
240
+ ])]),
241
+ _: 1
242
+ })) : (s(), p(I, {
243
+ key: 2,
244
+ type: "submit",
245
+ onClick: Z
246
+ }, {
247
+ default: i(() => [...e[27] || (e[27] = [
248
+ D(" Edit Component ", -1)
249
+ ])]),
250
+ _: 1
251
+ }))
252
+ ]),
253
+ _: 1
254
+ })
255
+ ]),
256
+ _: 1
257
+ })
258
+ ]),
259
+ _: 1
260
+ }, 8, ["open"]);
261
+ };
262
+ }
263
+ }), _e = { class: "w-full truncate text-sm font-medium" }, ke = { class: "w-full truncate text-xs text-muted-foreground" }, F = /* @__PURE__ */ z({
264
+ __name: "ComponentGridItem",
265
+ props: {
266
+ component: {
267
+ type: Object,
268
+ required: !0
269
+ }
270
+ },
271
+ emits: ["edit"],
272
+ setup(r, { emit: V }) {
273
+ const b = V;
274
+ return (h, c) => {
275
+ const m = a("Skeleton"), l = a("Card");
276
+ return s(), x("button", {
277
+ onClick: c[0] || (c[0] = (d) => b("edit")),
278
+ class: "basis-[100px] max-w-[200px] @7xl:max-w-xs"
279
+ }, [
280
+ n(l, { class: "flex flex-col items-center px-4 py-4 gap-0 hover:bg-input/30" }, {
281
+ default: i(() => [
282
+ r.component.icon ? (s(), x("div", {
283
+ key: 0,
284
+ class: $(`${r.component.tint ? "bg-" + r.component.tint : "bg-input/50"} rounded-lg p-4 mb-2`)
285
+ }, [
286
+ (s(), p(X(g(oe)[r.component.icon]), { class: "size-16 @5xl:size-22 @7xl:size-28" }))
287
+ ], 2)) : (s(), p(m, {
288
+ key: 1,
289
+ class: "size-24 @5xl:size-30 @7xl:size-36 mb-2"
290
+ })),
291
+ t("p", _e, L(r.component.displayName), 1),
292
+ t("p", ke, L(r.component.name), 1)
293
+ ]),
294
+ _: 1
295
+ })
296
+ ]);
297
+ };
298
+ }
299
+ }), we = { class: "flex flex-col gap-2 mb-12" }, Ve = { class: "flex items-start gap-4 overflow-hidden" }, he = { class: "flex flex-col text-left" }, Le = { class: "text-sm font-semibold" }, De = {
300
+ key: 0,
301
+ class: "text-xs text-muted-foreground/70 dark:text-muted-foreground/50 line-clamp-2 whitespace-normal mt-2"
302
+ }, $e = /* @__PURE__ */ z({
303
+ __name: "VerticalToggle",
304
+ props: {
305
+ modelValue: {
306
+ type: Array,
307
+ required: !0
308
+ },
309
+ options: {
310
+ type: Array,
311
+ required: !0
312
+ }
313
+ },
314
+ emits: ["update:modelValue"],
315
+ setup(r, { emit: V }) {
316
+ const b = r, h = V, c = P({
317
+ get() {
318
+ return b.modelValue;
319
+ },
320
+ set(d) {
321
+ h("update:modelValue", d);
322
+ }
323
+ }), m = w("full"), l = (d) => {
324
+ c.value.includes(d) ? c.value = c.value.filter((v) => v !== d) : c.value.push(d);
325
+ };
326
+ return (d, v) => {
327
+ const C = a("SegmentedControlButton"), _ = a("SegmentedControl"), u = a("Button");
328
+ return s(), x("div", null, [
329
+ n(_, {
330
+ modelValue: m.value,
331
+ "onUpdate:modelValue": v[0] || (v[0] = (o) => m.value = o),
332
+ class: "grid grid-cols-2 mb-4 w-28 scale-75 origin-left opacity-50 transition-all duration-300 hover:opacity-100"
333
+ }, {
334
+ default: i(() => [
335
+ n(C, { value: "minimal" }, {
336
+ default: i(() => [
337
+ n(g(le), { class: "size-5 mx-auto" })
338
+ ]),
339
+ _: 1
340
+ }),
341
+ n(C, { value: "full" }, {
342
+ default: i(() => [
343
+ n(g(ne), { class: "size-5 mx-auto" })
344
+ ]),
345
+ _: 1
346
+ })
347
+ ]),
348
+ _: 1
349
+ }, 8, ["modelValue"]),
350
+ t("div", we, [
351
+ (s(!0), x(H, null, M(r.options, (o) => (s(), p(u, {
352
+ variant: "ghost",
353
+ key: o.value,
354
+ class: $(["flex-1 transition-all duration-300 active:scale-95 rounded-md justify-start w-full h-auto cursor-pointer border", r.modelValue.includes(o.value) ? "bg-white hover:bg-white dark:bg-input/30 dark:hover:bg-input/30 shadow-xs" : "hover:bg-transparent"]),
355
+ onClick: (f) => l(o.value)
356
+ }, {
357
+ default: i(() => [
358
+ t("div", Ve, [
359
+ n(g(j), {
360
+ class: $(["size-5 text-muted-foreground transition-opacity duration-300", r.modelValue.includes(o.value) ? "opacity-100" : "opacity-0"])
361
+ }, null, 8, ["class"]),
362
+ t("div", he, [
363
+ t("span", Le, L(o.text), 1),
364
+ m.value === "full" && o.description ? (s(), x("p", De, L(o.description), 1)) : T("", !0)
365
+ ])
366
+ ])
367
+ ]),
368
+ _: 2
369
+ }, 1032, ["class", "onClick"]))), 128))
370
+ ])
371
+ ]);
372
+ };
373
+ }
374
+ }), He = {
375
+ key: 0,
376
+ class: "truncate"
377
+ }, Te = { key: 1 }, Me = { class: "p-6 overflow-y-auto" }, ze = { class: "flex flex-col gap-3" }, Be = { class: "flex items-start gap-4 overflow-hidden" }, Ee = { class: "flex flex-col text-left" }, Ne = { class: "text-sm font-semibold mb-2" }, Ze = { class: "text-xs text-muted-foreground line-clamp-2 whitespace-normal" }, Se = /* @__PURE__ */ z({
378
+ __name: "DrawerToggle",
379
+ props: {
380
+ modelValue: {
381
+ type: Array,
382
+ required: !0
383
+ },
384
+ options: {
385
+ type: Array,
386
+ required: !0
387
+ }
388
+ },
389
+ emits: ["update:modelValue"],
390
+ setup(r, { emit: V }) {
391
+ const b = r, h = V, c = P({
392
+ get() {
393
+ return b.modelValue;
394
+ },
395
+ set(l) {
396
+ h("update:modelValue", l);
397
+ }
398
+ }), m = (l) => {
399
+ c.value.includes(l) ? c.value = c.value.filter((d) => d !== l) : c.value.push(l);
400
+ };
401
+ return (l, d) => {
402
+ const v = a("Button"), C = a("DrawerTrigger"), _ = a("DrawerContent"), u = a("Drawer");
403
+ return s(), p(u, null, {
404
+ default: i(() => [
405
+ n(C, { "as-child": "" }, {
406
+ default: i(() => [
407
+ n(v, {
408
+ variant: "outline",
409
+ class: "mb-2"
410
+ }, {
411
+ default: i(() => [
412
+ r.modelValue.length < 4 ? (s(), x("p", He, L(r.modelValue.join(", ")), 1)) : (s(), x("p", Te, L(r.modelValue.slice(0, 3).join(", ")) + " + " + L(r.modelValue.length - 3) + " more ", 1)),
413
+ n(g(se), { class: "size-4 text-muted-foreground translate-y-0.25 ml-4" })
414
+ ]),
415
+ _: 1
416
+ })
417
+ ]),
418
+ _: 1
419
+ }),
420
+ n(_, null, {
421
+ default: i(() => [
422
+ t("div", Me, [
423
+ t("div", ze, [
424
+ (s(!0), x(H, null, M(r.options, (o) => (s(), p(v, {
425
+ key: o.value,
426
+ class: $(["justify-start w-full h-auto cursor-pointer flex-1 transition-all duration-300 active:scale-95 rounded-md border border-transparent", r.modelValue.includes(o.value) ? "bg-input/30 border-border" : ""]),
427
+ variant: "ghost",
428
+ onClick: (f) => m(o.value)
429
+ }, {
430
+ default: i(() => [
431
+ t("div", Be, [
432
+ n(g(j), {
433
+ class: $(["size-5 text-muted-foreground transition-opacity duration-300", r.modelValue.includes(o.value) ? "opacity-100" : "opacity-0"])
434
+ }, null, 8, ["class"]),
435
+ t("div", Ee, [
436
+ t("span", Ne, L(o.text), 1),
437
+ t("p", Ze, L(o.description), 1)
438
+ ])
439
+ ])
440
+ ]),
441
+ _: 2
442
+ }, 1032, ["class", "onClick"]))), 128))
443
+ ])
444
+ ])
445
+ ]),
446
+ _: 1
447
+ })
448
+ ]),
449
+ _: 1
450
+ });
451
+ };
452
+ }
453
+ }), Ie = { class: "w-full" }, Ue = { class: "flex items-center justify-between gap-4 w-full my-4" }, Ae = { class: "flex flex-col space-y-8 @5xl:flex-row @5xl:space-x-12 @5xl:space-y-0" }, Fe = { class: "hidden @5xl:block @5xl:w-1/4 @7xl:w-1/5" }, Oe = { class: "flex-1" }, Pe = { class: "@5xl:hidden" }, je = { class: "flex items-center justify-between w-full" }, qe = { class: "flex items-start gap-8" }, Ge = {
454
+ key: 0,
455
+ class: "mb-8"
456
+ }, Re = { class: "flex flex-wrap gap-4" }, Ye = {
457
+ key: 1,
458
+ class: "mb-8"
459
+ }, Je = { class: "flex flex-wrap gap-4" }, Ke = {
460
+ key: 2,
461
+ class: "mb-8"
462
+ }, Qe = { class: "flex flex-wrap gap-4" }, tt = /* @__PURE__ */ z({
463
+ __name: "Components",
464
+ setup(r) {
465
+ const V = [
466
+ {
467
+ value: "hybrid",
468
+ text: "Hybrid Components",
469
+ icon: "",
470
+ description: "These serve as both layout and content components, unlocking complex layouts."
471
+ },
472
+ {
473
+ value: "layout",
474
+ text: "Layout Component",
475
+ icon: "",
476
+ description: "Helps setting up the overall structure or layout of the page. (Examples: Section, 2 Column Grid, ...)"
477
+ },
478
+ {
479
+ value: "content",
480
+ text: "Content Component",
481
+ icon: "",
482
+ description: "Aimed at hosting and displaying unique content. (Examples: Text, Link, Image, ...)"
483
+ }
484
+ ], { getModuleData: b, setModuleData: h } = de(), { navigateTo: c } = re();
485
+ me(() => [
486
+ { text: "Components" }
487
+ ]);
488
+ const m = ee("componentDialog"), l = w([]), d = w(["hybrid", "layout", "content"]), v = async (u) => {
489
+ l.value.push(u), l.value = await b("components") || [], l.value.push(u), h("components", l.value);
490
+ }, C = async (u) => {
491
+ let o = l.value.findIndex((f) => f.id === u.id);
492
+ o !== -1 && (l.value[o] = u), l.value = await b("components") || [], o = l.value.findIndex((f) => f.id === u.id), o !== -1 && (l.value[o] = u, h("components", l.value));
493
+ }, _ = async (u) => {
494
+ l.value = l.value.filter((o) => o.id !== u), l.value = await b("components") || [], l.value = l.value.filter((o) => o.id !== u), h("components", l.value);
495
+ };
496
+ return te(() => {
497
+ b("components").then((u) => {
498
+ l.value = u;
499
+ });
500
+ }), (u, o) => {
501
+ const f = a("Button"), E = a("CardTitle"), N = a("CardDescription"), Z = a("CardHeader"), S = a("CardContent"), k = a("Card");
502
+ return s(), x(H, null, [
503
+ t("div", Ie, [
504
+ t("div", Ue, [
505
+ n(f, {
506
+ onClick: o[0] || (o[0] = (e) => g(c)("/")),
507
+ variant: "link",
508
+ class: "!pl-0"
509
+ }, {
510
+ default: i(() => [
511
+ n(g(ae), { class: "size-4" }),
512
+ o[4] || (o[4] = D(" Collections ", -1))
513
+ ]),
514
+ _: 1
515
+ })
516
+ ]),
517
+ t("div", Ae, [
518
+ t("div", Fe, [
519
+ n($e, {
520
+ options: V,
521
+ modelValue: d.value,
522
+ "onUpdate:modelValue": o[1] || (o[1] = (e) => d.value = e)
523
+ }, null, 8, ["modelValue"])
524
+ ]),
525
+ t("div", Oe, [
526
+ t("div", Pe, [
527
+ n(Se, {
528
+ options: V,
529
+ modelValue: d.value,
530
+ "onUpdate:modelValue": o[2] || (o[2] = (e) => d.value = e)
531
+ }, null, 8, ["modelValue"])
532
+ ]),
533
+ n(k, null, {
534
+ default: i(() => [
535
+ n(Z, null, {
536
+ default: i(() => [
537
+ t("div", je, [
538
+ t("div", null, [
539
+ n(E, null, {
540
+ default: i(() => [...o[5] || (o[5] = [
541
+ D("Components", -1)
542
+ ])]),
543
+ _: 1
544
+ }),
545
+ n(N, null, {
546
+ default: i(() => [...o[6] || (o[6] = [
547
+ D("Manage your components here.", -1)
548
+ ])]),
549
+ _: 1
550
+ })
551
+ ]),
552
+ n(f, {
553
+ onClick: o[3] || (o[3] = (e) => m.value.openDialog())
554
+ }, {
555
+ default: i(() => [
556
+ n(g(ie), { class: "size-4" }),
557
+ o[7] || (o[7] = D(" New Component ", -1))
558
+ ]),
559
+ _: 1
560
+ })
561
+ ])
562
+ ]),
563
+ _: 1
564
+ }),
565
+ n(S, null, {
566
+ default: i(() => [
567
+ t("div", qe, [
568
+ t("div", null, [
569
+ d.value.includes("hybrid") ? (s(), x("div", Ge, [
570
+ o[8] || (o[8] = t("h3", { class: "font-medium mb-2" }, "Hybrid Components", -1)),
571
+ t("div", Re, [
572
+ (s(!0), x(H, null, M(l.value, (e) => (s(), p(F, {
573
+ key: e.name,
574
+ onEdit: (B) => m.value.openDialog(e),
575
+ component: e
576
+ }, null, 8, ["onEdit", "component"]))), 128))
577
+ ])
578
+ ])) : T("", !0),
579
+ d.value.includes("layout") ? (s(), x("div", Ye, [
580
+ o[9] || (o[9] = t("h3", { class: "font-medium mb-2" }, "Layout Components", -1)),
581
+ t("div", Je, [
582
+ (s(!0), x(H, null, M(l.value, (e) => (s(), p(F, {
583
+ key: e.name,
584
+ onEdit: (B) => m.value.openDialog(e),
585
+ component: e
586
+ }, null, 8, ["onEdit", "component"]))), 128))
587
+ ])
588
+ ])) : T("", !0),
589
+ d.value.includes("content") ? (s(), x("div", Ke, [
590
+ o[10] || (o[10] = t("h3", { class: "font-medium mb-2" }, "Content Components", -1)),
591
+ t("div", Qe, [
592
+ (s(!0), x(H, null, M(l.value, (e) => (s(), p(F, {
593
+ key: e.name,
594
+ onEdit: (B) => m.value.openDialog(e),
595
+ component: e
596
+ }, null, 8, ["onEdit", "component"]))), 128))
597
+ ])
598
+ ])) : T("", !0)
599
+ ])
600
+ ])
601
+ ]),
602
+ _: 1
603
+ })
604
+ ]),
605
+ _: 1
606
+ })
607
+ ])
608
+ ])
609
+ ]),
610
+ n(be, {
611
+ ref_key: "componentDialog",
612
+ ref: m,
613
+ onAdd: v,
614
+ onEdit: C,
615
+ onDelete: _
616
+ }, null, 512)
617
+ ], 64);
618
+ };
619
+ }
620
+ });
621
+ export {
622
+ tt as default
623
+ };