@oneclick.dev/cms-core-modules 0.0.106 → 0.0.107
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.
- package/dist/Acquisition-DypEyPSO.js +1 -0
- package/dist/Acquisition-TCNX-th6.mjs +308 -0
- package/dist/AgendaOpeningHoursCard-BIhm0vpV.js +1 -0
- package/dist/AgendaOpeningHoursCard-BKUdJxRI.mjs +133 -0
- package/dist/AppointmentDetailsCard-C5rQ5jsW.js +1 -0
- package/dist/AppointmentDetailsCard-NRHeNP2L.mjs +111 -0
- package/dist/AppointmentEditor-BcF8CiD-.mjs +150 -0
- package/dist/AppointmentEditor-BlhFtoCm.js +1 -0
- package/dist/AppointmentListTable-B-ReBVtV.js +1 -0
- package/dist/AppointmentListTable-DHmy-iid.mjs +129 -0
- package/dist/Audience-Cq1Gu-Vo.mjs +394 -0
- package/dist/Audience-h5PfXPz4.js +1 -0
- package/dist/Components-BehelN4r.js +1 -0
- package/dist/Components-CR6zukUU.mjs +468 -0
- package/dist/Content-C5Iye3t0.mjs +257 -0
- package/dist/Content-eOfBx52Y.js +1 -0
- package/dist/ContentEditor-BgL4qEeg.mjs +26835 -0
- package/dist/ContentEditor-Tlu3w0Hu.js +462 -0
- package/dist/CountryBreakdownCard-CWVyB8be.mjs +151 -0
- package/dist/CountryBreakdownCard-Db-pMiNe.js +1 -0
- package/dist/Create-B1it8S4m.js +1 -0
- package/dist/Create-DbYi0FAI.mjs +907 -0
- package/dist/DateFormatter-DLrDYkby.mjs +630 -0
- package/dist/DateFormatter-Dni0Oq8r.js +1 -0
- package/dist/Detail-D-eahJGO.mjs +21 -0
- package/dist/Detail-D0kdPPIm.mjs +2757 -0
- package/dist/Detail-DAafePYi.mjs +485 -0
- package/dist/Detail-DYpv4fYg.js +1 -0
- package/dist/Detail-Dc_ui4LM.js +1 -0
- package/dist/Detail-DccUekl_.js +1 -0
- package/dist/Detail-Dhz0V0Vf.js +1 -0
- package/dist/Detail-DjnGY0F8.mjs +282 -0
- package/dist/Detail-DplAitHg.mjs +447 -0
- package/dist/Detail-SugyeSxb.js +1 -0
- package/dist/DeviceBreakdownCard-CzxZT6To.js +1 -0
- package/dist/DeviceBreakdownCard-eEwPjzKl.mjs +115 -0
- package/dist/EditLayout-Bnz9q_jd.js +1 -0
- package/dist/EditLayout-J_DGXb8v.mjs +99 -0
- package/dist/Entries-CgpWg6fE.js +1 -0
- package/dist/Entries-CkGTXcAq.mjs +575 -0
- package/dist/Find-Bz0TNJzk.mjs +164 -0
- package/dist/Find-D-ItTXaZ.js +1 -0
- package/dist/GlobalStyling-CSQPF7o_.mjs +1162 -0
- package/dist/GlobalStyling-DabldMZh.js +15 -0
- package/dist/NewReservationDialog-BhIiY2B9.js +1 -0
- package/dist/NewReservationDialog-CN49aGcM.mjs +1002 -0
- package/dist/OrderDetailDialog-BJ01DZFe.js +1 -0
- package/dist/OrderDetailDialog-CoVQ_rzs.mjs +215 -0
- package/dist/Overview-9FMgn5hT.mjs +492 -0
- package/dist/Overview-BOOwMQ-c.mjs +636 -0
- package/dist/Overview-Biz3h60w.js +1 -0
- package/dist/Overview-C2K2ofdS.js +1 -0
- package/dist/Overview-CFHOXP9N.mjs +123 -0
- package/dist/Overview-CTJe7J5_.js +1 -0
- package/dist/Overview-Cvj2i9eW.js +1 -0
- package/dist/Overview-D2I1F8Dm.mjs +21 -0
- package/dist/Overview-DFOc9emt.mjs +345 -0
- package/dist/Overview-Dmhfb94Y.js +1 -0
- package/dist/Overview-PPzv7weG.mjs +450 -0
- package/dist/Overview-qFKcXHVF.js +1 -0
- package/dist/Overview-xkmYYTae.mjs +133 -0
- package/dist/Overview-yPsLvR2c.js +1 -0
- package/dist/PeakHoursCard-CtgEP-ez.mjs +157 -0
- package/dist/PeakHoursCard-DPeoMyhu.js +1 -0
- package/dist/ProductDetailsCard-B0WhmzO-.mjs +98 -0
- package/dist/ProductDetailsCard-C1ROuH6l.js +1 -0
- package/dist/RealtimeCard-DQno-Okz.js +1 -0
- package/dist/RealtimeCard-dR-g1iDo.mjs +92 -0
- package/dist/ReservationDetailDialog-Cdo6h0RD.mjs +2163 -0
- package/dist/ReservationDetailDialog-DZTFD2xI.js +349 -0
- package/dist/SearchTermsCard-BXJSXz_k.js +1 -0
- package/dist/SearchTermsCard-DsaxLKwP.mjs +146 -0
- package/dist/SendPush-Bssi-OZD.mjs +150 -0
- package/dist/SendPush-BuaYboRH.js +1 -0
- package/dist/SeoHealth-CP-kL0us.js +1 -0
- package/dist/SeoHealth-Cxp_Gb3Y.mjs +459 -0
- package/dist/TableView-7iwBkQ_k.mjs +4757 -0
- package/dist/TableView-BB_oIYYZ.js +4 -0
- package/dist/TemplateList-CNcM_Kgq.mjs +56 -0
- package/dist/TemplateList-VuPcBUJO.js +1 -0
- package/dist/TopPagesCard-CvDECn3_.mjs +117 -0
- package/dist/TopPagesCard-DNdATXJE.js +1 -0
- package/dist/TrafficSourcesCard-BLpBr7u0.mjs +151 -0
- package/dist/TrafficSourcesCard-_3gRUCw3.js +1 -0
- package/dist/View-DSnUHI7h.mjs +30 -0
- package/dist/View-Dbcfpdqh.js +1 -0
- package/dist/VisitorStatsCard-CFEnXSjF.mjs +185 -0
- package/dist/VisitorStatsCard-C_jhQxDW.js +1 -0
- package/dist/_plugin-vue_export-helper-5u7tqpWC.js +1 -0
- package/dist/_plugin-vue_export-helper-BJQSo0im.mjs +8 -0
- package/dist/agenda-CzMRcQTA.mjs +989 -0
- package/dist/agenda-D4zWRYSQ.js +1 -0
- package/dist/appointments-9syR5TZE.js +1 -0
- package/dist/appointments-BBmOJMhM.mjs +23 -0
- package/dist/array-BH1uH7XT.js +1 -0
- package/dist/array-DnDL9cFz.mjs +98 -0
- package/dist/availability-CAXB7Yd6.js +1 -0
- package/dist/availability-Dp7eF-ZK.mjs +215 -0
- package/dist/booking-data-Bysf6e5x.mjs +724 -0
- package/dist/booking-data-C6SGjC2X.js +1 -0
- package/dist/chunk-DQi1bQcV.js +1 -0
- package/dist/cms-core-modules.css +2 -1
- package/dist/contentManager-D7JxXCwE.js +1 -0
- package/dist/contentManager-tfy0x1LD.mjs +22 -0
- package/dist/context-AQKfnJ4t.mjs +3809 -0
- package/dist/context-ubyMq9Xe.js +54 -0
- package/dist/core-Dhgr4ctC.mjs +202 -0
- package/dist/core-_HKfBlaZ.js +1 -0
- package/dist/countries-MXLT3mVe.mjs +4 -0
- package/dist/countries-OCd5qPxG.js +1 -0
- package/dist/create-BfNc2C7N.js +1 -0
- package/dist/create-C7JlIlIh.mjs +95 -0
- package/dist/custom-BwN9-6Mb.js +1 -0
- package/dist/custom-INNwaWla.mjs +13 -0
- package/dist/dist-BCVg7FKM.js +1 -0
- package/dist/dist-DIhK9VWh.mjs +3045 -0
- package/dist/edit-BiI2VG60.js +35 -0
- package/dist/edit-DD3iFBEh.mjs +1097 -0
- package/dist/exceptions-DICMaDcH.mjs +462 -0
- package/dist/exceptions-DpWqMNuG.js +1 -0
- package/dist/google-Bcc4XZnV.mjs +4 -0
- package/dist/google-DTSRmJ51.js +1 -0
- package/dist/googleAnalytics-BSaqRR_L.js +1 -0
- package/dist/googleAnalytics-Cg-iWblZ.mjs +47 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +1095 -806
- package/dist/interpolation-B8OzkMyi.mjs +131 -0
- package/dist/interpolation-DpAqtGOW.js +1 -0
- package/dist/lib-4wSi00Vr.js +1 -0
- package/dist/lib-BZgXUui5.mjs +198 -0
- package/dist/line-DJdnFNI7.js +75 -0
- package/dist/line-tYLnEDGV.mjs +1500 -0
- package/dist/mailTemplates-BNk8fhVS.mjs +23 -0
- package/dist/mailTemplates-DswHzyQe.js +1 -0
- package/dist/orders-CIc0JlKX.mjs +512 -0
- package/dist/orders-DwPSi_pD.js +1 -0
- package/dist/payment-BsNWFaDm.js +1 -0
- package/dist/payment-Ced5_dpa.mjs +718 -0
- package/dist/productCollections-Cuvw_8zC.js +1 -0
- package/dist/productCollections-D0AxRlzr.mjs +23 -0
- package/dist/products-DUD-ZMkR.mjs +22 -0
- package/dist/products-DvX9B-Ul.js +1 -0
- package/dist/promoCodes-BCWqN6w4.mjs +23 -0
- package/dist/promoCodes-CEZ4LYot.js +1 -0
- package/dist/push-notifications-BGp4XWo9.js +1 -0
- package/dist/push-notifications-C7W7KuzR.mjs +23 -0
- package/dist/regular-BCFrS6lK.mjs +908 -0
- package/dist/regular-DBqPgT8C.js +1 -0
- package/dist/resources-DwsMmWgm.mjs +669 -0
- package/dist/resources-Dz81GkHe.js +1 -0
- package/dist/server-handlers.cjs.js +1 -1
- package/dist/server-handlers.mjs +1049 -996
- package/dist/shippingOptions-C3NEJff1.mjs +23 -0
- package/dist/shippingOptions-Cy040ZW1.js +1 -0
- package/dist/single-container-BJmmqq65.mjs +468 -0
- package/dist/single-container-Xoo0Xzxv.js +58 -0
- package/dist/src/appointments/index.d.ts +9 -12
- package/dist/src/appointments/metadata.d.ts +1 -1
- package/dist/src/appointments/routes.d.ts +3 -6
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/LockBlocks.d.ts +15 -0
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +4 -1
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +12 -132
- package/dist/src/contentManager/index.d.ts +5 -14
- package/dist/src/contentManager/metadata.d.ts +1 -1
- package/dist/src/contentManager/routes.d.ts +3 -12
- package/dist/src/custom/index.d.ts +2 -2
- package/dist/src/custom/routes.d.ts +1 -1
- package/dist/src/googleAnalytics/index.d.ts +10 -10
- package/dist/src/googleAnalytics/routes.d.ts +1 -1
- package/dist/src/mailTemplates/index.d.ts +3 -3
- package/dist/src/mailTemplates/metadata.d.ts +1 -1
- package/dist/src/mailTemplates/routes.d.ts +1 -1
- package/dist/src/productCollections/index.d.ts +3 -3
- package/dist/src/productCollections/metadata.d.ts +1 -1
- package/dist/src/productCollections/routes.d.ts +1 -1
- package/dist/src/products/index.d.ts +4 -4
- package/dist/src/products/metadata.d.ts +1 -1
- package/dist/src/products/routes.d.ts +1 -1
- package/dist/src/promoCodes/index.d.ts +3 -3
- package/dist/src/promoCodes/metadata.d.ts +1 -1
- package/dist/src/promoCodes/routes.d.ts +1 -1
- package/dist/src/push-notifications/index.d.ts +3 -3
- package/dist/src/push-notifications/metadata.d.ts +1 -1
- package/dist/src/push-notifications/routes.d.ts +1 -1
- package/dist/src/shippingOptions/index.d.ts +3 -3
- package/dist/src/shippingOptions/metadata.d.ts +1 -1
- package/dist/src/shippingOptions/routes.d.ts +1 -1
- package/dist/src/table/flow-builder-extensions/row-item.d.ts +3 -17
- package/dist/src/table/index.d.ts +2 -2
- package/dist/src/table/routes.d.ts +1 -1
- package/dist/src/types/index.d.ts +6 -0
- package/dist/src/vue-shim.d.ts +7 -0
- package/dist/table-DWw0fs3S.js +1 -0
- package/dist/table-LXt5DQOL.mjs +23 -0
- package/dist/utils-CVIHqQsU.js +3 -0
- package/dist/utils-h3owcMtS.mjs +37 -0
- package/dist/vee-validate-zod-BmXMJo8W.js +1 -0
- package/dist/vee-validate-zod-D9dZzbWZ.mjs +4985 -0
- package/dist/xy-container-CuQSwrtB.mjs +3180 -0
- package/dist/xy-container-_6YpscZh.js +158 -0
- package/package.json +55 -55
- package/dist/Acquisition-B2pM5vSp.mjs +0 -400
- package/dist/Acquisition-Dt2rREU8.js +0 -1
- package/dist/AgendaOpeningHoursCard-B7ROIPWw.js +0 -1
- package/dist/AgendaOpeningHoursCard-Cp4wxUeK.mjs +0 -172
- package/dist/AppointmentDetailsCard-33WpATpV.mjs +0 -161
- package/dist/AppointmentDetailsCard-DpLM5IrB.js +0 -1
- package/dist/AppointmentEditor-BeOtYV6u.mjs +0 -196
- package/dist/AppointmentEditor-CaTfbkIf.js +0 -1
- package/dist/AppointmentListTable-DZJNmTMb.mjs +0 -177
- package/dist/AppointmentListTable-Dieu9US_.js +0 -1
- package/dist/Audience-Bs7b0TNm.js +0 -1
- package/dist/Audience-VLnUsQvW.mjs +0 -489
- package/dist/Components-C83O-xlF.mjs +0 -623
- package/dist/Components-DXbx0RLV.js +0 -1
- package/dist/Content-BHr_rPVY.js +0 -1
- package/dist/Content-CYOZKvWK.mjs +0 -358
- package/dist/ContentEditor-BNLEv-qJ.mjs +0 -30697
- package/dist/ContentEditor-BUvvqfG1.js +0 -462
- package/dist/CountryBreakdownCard-D7BK3nRD.js +0 -1
- package/dist/CountryBreakdownCard-DVxNz2DJ.mjs +0 -196
- package/dist/Create-89z41K73.js +0 -1
- package/dist/Create-Cn_Eufga.mjs +0 -1251
- package/dist/DateFormatter-Bw-87W31.mjs +0 -734
- package/dist/DateFormatter-CYAD4GBN.js +0 -1
- package/dist/Detail-Byk781b4.mjs +0 -26
- package/dist/Detail-C1Blq61w.mjs +0 -585
- package/dist/Detail-C857g62L.js +0 -1
- package/dist/Detail-C8wQiDcv.js +0 -1
- package/dist/Detail-CPqug27l.js +0 -1
- package/dist/Detail-CjuhjPby.js +0 -1
- package/dist/Detail-CtItxMX4.mjs +0 -649
- package/dist/Detail-CujdFApD.mjs +0 -379
- package/dist/Detail-Dnpnmy4-.mjs +0 -3477
- package/dist/Detail-mvSGbnFU.js +0 -1
- package/dist/DeviceBreakdownCard-DRhQ9ufG.js +0 -1
- package/dist/DeviceBreakdownCard-W1frLe0L.mjs +0 -159
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-DWMqQvHl.mjs +0 -76
- package/dist/EditLayout.vue_vue_type_script_setup_true_lang-kpjbVSXg.js +0 -1
- package/dist/Entries-BdhUyJR5.mjs +0 -728
- package/dist/Entries-CEXM_SkO.js +0 -1
- package/dist/Find-B24ZEhYM.mjs +0 -229
- package/dist/Find-D4Qa45qC.js +0 -1
- package/dist/GlobalStyling-C9VthHWK.mjs +0 -1588
- package/dist/GlobalStyling-CnSlXkZc.js +0 -25
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Ceoje52V.js +0 -1
- package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-DMGcRmm-.mjs +0 -1255
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-COrK1j0S.js +0 -1
- package/dist/OrderDetailDialog.vue_vue_type_script_setup_true_lang-Vb3q8EVv.mjs +0 -330
- package/dist/Overview-3HWhsqaz.mjs +0 -860
- package/dist/Overview-BCpJNiEB.mjs +0 -190
- package/dist/Overview-BDlBCUI_.js +0 -1
- package/dist/Overview-BbvfH1u-.js +0 -1
- package/dist/Overview-Bn1Xx3_j.js +0 -1
- package/dist/Overview-CIa1E-HH.mjs +0 -178
- package/dist/Overview-DAxCu9XC.js +0 -1
- package/dist/Overview-DC9io1bk.js +0 -1
- package/dist/Overview-Di84CsR5.mjs +0 -476
- package/dist/Overview-Su8ZUbMs.mjs +0 -26
- package/dist/Overview-T-lsy3UZ.js +0 -1
- package/dist/Overview-UoZHUMUz.js +0 -1
- package/dist/Overview-ejh4vUMT.mjs +0 -567
- package/dist/Overview-lWAyyenp.mjs +0 -632
- package/dist/PeakHoursCard-9-EZFZLR.mjs +0 -182
- package/dist/PeakHoursCard-BR5zmta4.js +0 -1
- package/dist/ProductDetailsCard-6nHikw4V.mjs +0 -121
- package/dist/ProductDetailsCard-Bn7qrgmc.js +0 -1
- package/dist/RealtimeCard--APfRNc8.js +0 -1
- package/dist/RealtimeCard-fvQlJcM7.mjs +0 -126
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-CuwREvXD.js +0 -349
- package/dist/ReservationDetailDialog.vue_vue_type_script_setup_true_lang-GYNZ_yhD.mjs +0 -3077
- package/dist/SearchTermsCard-BsB-63aH.js +0 -1
- package/dist/SearchTermsCard-BzVrHKqQ.mjs +0 -201
- package/dist/SendPush-COns44j7.js +0 -1
- package/dist/SendPush-CPIOjVX4.mjs +0 -184
- package/dist/SeoHealth-DsbVdd2l.mjs +0 -615
- package/dist/SeoHealth-az1YuNF2.js +0 -1
- package/dist/TableView-Bm6HaRHm.mjs +0 -6143
- package/dist/TableView-DQW0A1oG.js +0 -4
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +0 -1
- package/dist/TemplateList.vue_vue_type_script_setup_true_lang-Cmovy7kk.mjs +0 -40
- package/dist/TopPagesCard-BDeA997A.js +0 -1
- package/dist/TopPagesCard-CTozhOr_.mjs +0 -159
- package/dist/TrafficSourcesCard-BxtCKsqx.mjs +0 -197
- package/dist/TrafficSourcesCard-C3ziDTUL.js +0 -1
- package/dist/View-CsudjxCE.mjs +0 -30
- package/dist/View-Dw_wA6kK.js +0 -1
- package/dist/VisitorStatsCard-BmByE_Hi.js +0 -1
- package/dist/VisitorStatsCard-CXizEbVK.mjs +0 -174
- package/dist/_plugin-vue_export-helper-BHFhmbuH.js +0 -1
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +0 -9
- package/dist/agenda-IOqtALWf.js +0 -1
- package/dist/agenda-neyeLWv-.mjs +0 -1165
- package/dist/array-CbATeQbk.js +0 -1
- package/dist/array-CvmZXzxF.mjs +0 -108
- package/dist/availability-CMrRa5y2.mjs +0 -269
- package/dist/availability-Cf2YfMwM.js +0 -1
- package/dist/booking-data-DgJd0BcM.mjs +0 -889
- package/dist/booking-data-Di5GmH_8.js +0 -1
- package/dist/countries-BTPvmrsb.mjs +0 -4
- package/dist/countries-CgZ081No.js +0 -1
- package/dist/exceptions-CI0B4xVj.js +0 -1
- package/dist/exceptions-vo8SA5SE.mjs +0 -646
- package/dist/google-CvtuJwgk.mjs +0 -4
- package/dist/google-D4N3gb01.js +0 -1
- package/dist/index-4tjmIans.js +0 -1
- package/dist/index-9HVlmvK3.js +0 -1
- package/dist/index-A2kp8Isi.js +0 -75
- package/dist/index-B5aBwdxY.js +0 -54
- package/dist/index-BRdCrvcz.mjs +0 -1443
- package/dist/index-BWDwEd8D.mjs +0 -24
- package/dist/index-BfBBm9uY.mjs +0 -24
- package/dist/index-BiT55eU0.js +0 -58
- package/dist/index-Bkq58CeQ.mjs +0 -22
- package/dist/index-Bvxc5xv_.mjs +0 -3843
- package/dist/index-CJQQBRLY.js +0 -1
- package/dist/index-CQkOH2_3.mjs +0 -24
- package/dist/index-CSxYBeVA.js +0 -1
- package/dist/index-CU-tbS5W.mjs +0 -24
- package/dist/index-CZn2nDLv.mjs +0 -34
- package/dist/index-CkiNvRzs.js +0 -1
- package/dist/index-Co4ON2Di.js +0 -1
- package/dist/index-Cpnn_Pxd.mjs +0 -24
- package/dist/index-CrgzoTyR.mjs +0 -110
- package/dist/index-CsVeM3PA.mjs +0 -24
- package/dist/index-CwqrAU-H.js +0 -1
- package/dist/index-CxETuRsG.js +0 -1
- package/dist/index-Cz-baGax.js +0 -1
- package/dist/index-DFQGVHTs.js +0 -1
- package/dist/index-DPd3waTN.js +0 -1
- package/dist/index-DRqJOqUR.mjs +0 -3484
- package/dist/index-DjWuIBxh.js +0 -1
- package/dist/index-Dnn2SCSl.js +0 -1
- package/dist/index-Dpl9sU6a.mjs +0 -12
- package/dist/index-DrXxXB2F.mjs +0 -138
- package/dist/index-G7cIlnGN.js +0 -158
- package/dist/index-MYWjg0zi.mjs +0 -176
- package/dist/index-R2oUDsjx.js +0 -1
- package/dist/index-RLz1QPrf.mjs +0 -203
- package/dist/index-UtjLbLw-.js +0 -1
- package/dist/index-X6LV64jK.mjs +0 -442
- package/dist/index-cOnxXTbF.mjs +0 -24
- package/dist/index-hlylYYgy.mjs +0 -24
- package/dist/index-ijdf0d9-.js +0 -1
- package/dist/index-uOkqO74I.mjs +0 -2940
- package/dist/index-unsDfNYv.mjs +0 -1187
- package/dist/index-vHmvbEwa.js +0 -35
- package/dist/interpolation-CHn59tIC.js +0 -1
- package/dist/interpolation-w7IRDJwK.mjs +0 -180
- package/dist/orders-C65SlpJy.mjs +0 -618
- package/dist/orders-XVzWAgG1.js +0 -1
- package/dist/payment-C3ohkehF.mjs +0 -1080
- package/dist/payment-Dfr-Ro-a.js +0 -1
- package/dist/regular-1LXNPviB.js +0 -1
- package/dist/regular-_05oq5Tx.mjs +0 -1101
- package/dist/resources-CxeFd57z.js +0 -1
- package/dist/resources-WI_4SO6T.mjs +0 -811
- package/dist/src/appointments/chat-components/AgendaOpeningHoursCard.vue.d.ts +0 -15
- package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +0 -14
- package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +0 -14
- package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +0 -14
- package/dist/src/appointments/components/create/StepNavigation.vue.d.ts +0 -32
- package/dist/src/appointments/components/create/regular/Step1.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step2.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step3.vue.d.ts +0 -2
- package/dist/src/appointments/components/create/regular/Step4.vue.d.ts +0 -2
- package/dist/src/appointments/components/edit/CustomerInformationFieldEditorDialog.vue.d.ts +0 -24
- package/dist/src/appointments/components/edit/EditLayout.vue.d.ts +0 -17
- package/dist/src/appointments/components/edit/Event24hSidebar.vue.d.ts +0 -2
- package/dist/src/appointments/components/edit/EventDialog/ApproveReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/BookingsList.vue.d.ts +0 -136
- package/dist/src/appointments/components/edit/EventDialog/CancelReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/EventDialog.vue.d.ts +0 -11
- package/dist/src/appointments/components/edit/EventDialog/OrderDetailDialog.vue.d.ts +0 -55
- package/dist/src/appointments/components/edit/EventDialog/RejectReservationDialog.vue.d.ts +0 -8
- package/dist/src/appointments/components/edit/EventDialog/ReservationDetailDialog.vue.d.ts +0 -87
- package/dist/src/appointments/components/edit/EventDialog/TimelineChart.vue.d.ts +0 -24
- package/dist/src/appointments/components/edit/EventDialog/TransferReservationDialog.vue.d.ts +0 -4
- package/dist/src/appointments/components/edit/EventTimeIndicator.vue.d.ts +0 -12
- package/dist/src/appointments/components/edit/EventTimeline.vue.d.ts +0 -48
- package/dist/src/appointments/components/edit/EventView.vue.d.ts +0 -9
- package/dist/src/appointments/components/edit/ExceptionDialog.vue.d.ts +0 -29
- package/dist/src/appointments/components/edit/MetadataSchemaEditorDialog.vue.d.ts +0 -12
- package/dist/src/appointments/components/edit/NewReservationDialog/CustomerInformation.vue.d.ts +0 -10
- package/dist/src/appointments/components/edit/NewReservationDialog/NewReservationDialog.vue.d.ts +0 -26
- package/dist/src/appointments/components/edit/NewReservationDialog/QuickReservationAdder.vue.d.ts +0 -26
- package/dist/src/appointments/components/edit/NewReservationDialog/ReservationLines.vue.d.ts +0 -31
- package/dist/src/appointments/components/edit/OrderMetadataDisplay.vue.d.ts +0 -21
- package/dist/src/appointments/components/edit/PaymentAddons/Addon.vue.d.ts +0 -22
- package/dist/src/appointments/components/edit/PaymentAddons/AddonList.vue.d.ts +0 -5
- package/dist/src/appointments/components/edit/PaymentAddons/index.vue.d.ts +0 -15
- package/dist/src/appointments/components/edit/ResourceEditorDialog.vue.d.ts +0 -13
- package/dist/src/appointments/components/edit/dashboard/Timeline.vue.d.ts +0 -36
- package/dist/src/appointments/components/edit/dashboard/timeline/ResourceSelector.vue.d.ts +0 -50
- package/dist/src/appointments/index.vue.d.ts +0 -22
- package/dist/src/appointments/pages/Overview.vue.d.ts +0 -4
- package/dist/src/appointments/pages/create/index.vue.d.ts +0 -2
- package/dist/src/appointments/pages/create/regular.vue.d.ts +0 -6
- package/dist/src/appointments/pages/edit/agenda.vue.d.ts +0 -4
- package/dist/src/appointments/pages/edit/availability.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/booking-data.vue.d.ts +0 -65
- package/dist/src/appointments/pages/edit/index.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/payment.vue.d.ts +0 -2
- package/dist/src/appointments/pages/edit/resources.vue.d.ts +0 -28
- package/dist/src/contentManager/components/components/ComponentDialog.vue.d.ts +0 -12
- package/dist/src/contentManager/components/components/ComponentGridItem.vue.d.ts +0 -16
- package/dist/src/contentManager/components/content-editor/ApiDocs.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/ContentLayout.vue.d.ts +0 -49
- package/dist/src/contentManager/components/content-editor/ContentSettings.vue.d.ts +0 -24
- package/dist/src/contentManager/components/content-editor/ContentStructuredContentSections.vue.d.ts +0 -4
- package/dist/src/contentManager/components/content-editor/Header.vue.d.ts +0 -64
- package/dist/src/contentManager/components/content-editor/LivePreviewWrapper.vue.d.ts +0 -53
- package/dist/src/contentManager/components/content-editor/Locales.vue.d.ts +0 -44
- package/dist/src/contentManager/components/content-editor/NewSectionDialog.vue.d.ts +0 -21
- package/dist/src/contentManager/components/content-editor/PageSettings.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/SEO.vue.d.ts +0 -14
- package/dist/src/contentManager/components/content-editor/SidebarSectionWrapper.vue.d.ts +0 -39
- package/dist/src/contentManager/components/content-editor/Status.vue.d.ts +0 -2
- package/dist/src/contentManager/components/content-editor/Versions.vue.d.ts +0 -63
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Button.vue.d.ts +0 -94
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Card.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Column.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Container.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Divider.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +0 -94
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Heading.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Image.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Map.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Row.vue.d.ts +0 -115
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Stack.vue.d.ts +0 -115
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/Video.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +0 -92
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +0 -108
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +0 -20
- package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +0 -104
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +0 -29
- package/dist/src/contentManager/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +0 -19
- package/dist/src/contentManager/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +0 -8
- package/dist/src/contentManager/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +0 -47
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +0 -6
- package/dist/src/contentManager/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +0 -17
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +0 -13
- package/dist/src/contentManager/components/overview/CollectionDialog.vue.d.ts +0 -30
- package/dist/src/contentManager/components/overview/CollectionsGridView.vue.d.ts +0 -18
- package/dist/src/contentManager/components/overview/ContentEntryContextMenu.vue.d.ts +0 -27
- package/dist/src/contentManager/components/overview/FilterPopover.vue.d.ts +0 -2
- package/dist/src/contentManager/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/contentManager/components/styling/ButtonStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/components/styling/CardStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/components/styling/SectionStyleDialog.vue.d.ts +0 -24
- package/dist/src/contentManager/index.vue.d.ts +0 -22
- package/dist/src/contentManager/pages/Components.vue.d.ts +0 -27
- package/dist/src/contentManager/pages/ContentEditor.vue.d.ts +0 -14
- package/dist/src/contentManager/pages/Entries.vue.d.ts +0 -16
- package/dist/src/contentManager/pages/GlobalStyling.vue.d.ts +0 -117
- package/dist/src/contentManager/pages/Overview.vue.d.ts +0 -57
- package/dist/src/custom/index.vue.d.ts +0 -2
- package/dist/src/custom/pages/View.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +0 -14
- package/dist/src/googleAnalytics/components/seo-health/SeoClicksChart.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoImpressionsChart.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoKeywordsTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoKpiCards.vue.d.ts +0 -10
- package/dist/src/googleAnalytics/components/seo-health/SeoMappingTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoPagesTab.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/components/seo-health/SeoRankingDistribution.vue.d.ts +0 -5
- package/dist/src/googleAnalytics/index.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Content.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +0 -2
- package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +0 -2
- package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +0 -2
- package/dist/src/mailTemplates/index.vue.d.ts +0 -22
- package/dist/src/mailTemplates/pages/Detail.vue.d.ts +0 -14
- package/dist/src/mailTemplates/pages/Overview.vue.d.ts +0 -14
- package/dist/src/productCollections/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/productCollections/components/detail/SEO.vue.d.ts +0 -2
- package/dist/src/productCollections/components/detail/Status.vue.d.ts +0 -2
- package/dist/src/productCollections/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/productCollections/index.vue.d.ts +0 -22
- package/dist/src/productCollections/pages/Detail.vue.d.ts +0 -14
- package/dist/src/productCollections/pages/Overview.vue.d.ts +0 -16
- package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +0 -14
- package/dist/src/products/components/detail/Collections.vue.d.ts +0 -14
- package/dist/src/products/components/detail/Inventory.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/products/components/detail/NewSection.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Price.vue.d.ts +0 -2
- package/dist/src/products/components/detail/SEO.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Shipping.vue.d.ts +0 -2
- package/dist/src/products/components/detail/Status.vue.d.ts +0 -2
- package/dist/src/products/components/detail/price/UnitPriceDialog.vue.d.ts +0 -17
- package/dist/src/products/components/detail/variants/Option.vue.d.ts +0 -33
- package/dist/src/products/components/detail/variants/VariantList.vue.d.ts +0 -38
- package/dist/src/products/components/overview/FilterPopover.vue.d.ts +0 -2
- package/dist/src/products/components/overview/GridView.vue.d.ts +0 -12
- package/dist/src/products/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/products/components/overview/ProductContextMenu.vue.d.ts +0 -27
- package/dist/src/products/index.vue.d.ts +0 -22
- package/dist/src/products/pages/Detail.vue.d.ts +0 -14
- package/dist/src/products/pages/Overview.vue.d.ts +0 -16
- package/dist/src/promoCodes/components/create/DateRange.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/MultiCodes.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/Note.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/SingleCode.vue.d.ts +0 -2
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +0 -6
- package/dist/src/promoCodes/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +0 -18
- package/dist/src/promoCodes/components/create/TypeAndValue/index.vue.d.ts +0 -2
- package/dist/src/promoCodes/index.vue.d.ts +0 -22
- package/dist/src/promoCodes/pages/Create.vue.d.ts +0 -16
- package/dist/src/promoCodes/pages/Detail.vue.d.ts +0 -14
- package/dist/src/promoCodes/pages/Find.vue.d.ts +0 -16
- package/dist/src/push-notifications/components/PreviewAndroid.vue.d.ts +0 -28
- package/dist/src/push-notifications/components/PreviewIPhone.vue.d.ts +0 -28
- package/dist/src/push-notifications/components/PushPreview.vue.d.ts +0 -28
- package/dist/src/push-notifications/index.vue.d.ts +0 -22
- package/dist/src/push-notifications/pages/SendPush.vue.d.ts +0 -14
- package/dist/src/shared/BrandLogo.vue.d.ts +0 -12
- package/dist/src/shared/DrawerToggle.vue.d.ts +0 -60
- package/dist/src/shared/VerticalToggle.vue.d.ts +0 -60
- package/dist/src/shippingOptions/components/detail/Condition.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Countries.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Example.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/detail/Main.vue.d.ts +0 -2
- package/dist/src/shippingOptions/components/overview/ListView.vue.d.ts +0 -12
- package/dist/src/shippingOptions/index.vue.d.ts +0 -22
- package/dist/src/shippingOptions/pages/Detail.vue.d.ts +0 -14
- package/dist/src/shippingOptions/pages/Overview.vue.d.ts +0 -16
- package/dist/src/table/components/DataTable.vue.d.ts +0 -18
- package/dist/src/table/components/DataTableAction.vue.d.ts +0 -14
- package/dist/src/table/components/DataTableMobileRowActionDrawer.vue.d.ts +0 -4
- package/dist/src/table/components/DataTablePagination.vue.d.ts +0 -6
- package/dist/src/table/components/actions/ActionDialog.vue.d.ts +0 -19
- package/dist/src/table/components/actions/CtaActionDialog.vue.d.ts +0 -4
- package/dist/src/table/components/columns/ColumnDropdown.vue.d.ts +0 -2
- package/dist/src/table/components/columns/ColumnEditorDialog.vue.d.ts +0 -34
- package/dist/src/table/components/columns/DialogTableColumnItem.vue.d.ts +0 -12
- package/dist/src/table/components/date-range-filter/DateRangeFilter.vue.d.ts +0 -2
- package/dist/src/table/components/date-range-filter/DateRangeSettingsDialog.vue.d.ts +0 -27
- package/dist/src/table/components/filters/FilterDialog.vue.d.ts +0 -12
- package/dist/src/table/components/filters/Filters.vue.d.ts +0 -27
- package/dist/src/table/components/search/Search.vue.d.ts +0 -2
- package/dist/src/table/components/sort/SortMode.vue.d.ts +0 -2
- package/dist/src/table/components/sort/SortModeSettingsDialog.vue.d.ts +0 -18
- package/dist/src/table/components/stats/StatDialog.vue.d.ts +0 -12
- package/dist/src/table/components/stats/Stats.vue.d.ts +0 -27
- package/dist/src/table/flow-builder-extensions/TableRowEditor.vue.d.ts +0 -16
- package/dist/src/table/index.vue.d.ts +0 -22
- package/dist/src/table/pages/TableView.vue.d.ts +0 -54
- package/dist/utils-CanmrIWO.mjs +0 -47
- package/dist/utils-Yd6F5mea.js +0 -3
- package/dist/vee-validate-zod-ByykgYKJ.js +0 -1
- package/dist/vee-validate-zod-CcOwoF6y.mjs +0 -4402
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
import { useConfirmation as e, useModuleBreadcrumbs as t, useModuleRoute as n, useModuleStorage as r } from "@oneclick.dev/cms-kit";
|
|
2
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, onMounted as m, openBlock as h, ref as g, renderList as _, resolveComponent as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, useTemplateRef as S, withCtx as C } from "vue";
|
|
3
|
+
import { Baseline as w, Check as T, ChevronDown as E, ChevronLeft as D, Circle as O, CircleCheck as k, LetterText as A, Plus as j, icons as M } from "@lucide/vue";
|
|
4
|
+
//#region src/contentManager/components/components/ComponentDialog.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var N = { class: "grid py-4" }, P = { class: "flex gap-6 mb-6" }, F = { class: "w-1/2" }, I = { class: "w-1/2" }, ee = { class: "flex gap-6 mb-6" }, L = { class: "w-1/2" }, R = { class: "w-1/2" }, z = { class: "grid grid-cols-3 bg-input/30 rounded border divide-x divide-input/30 mb-6" }, B = /* @__PURE__ */ f({
|
|
6
|
+
__name: "ComponentDialog",
|
|
7
|
+
emits: [
|
|
8
|
+
"add",
|
|
9
|
+
"edit",
|
|
10
|
+
"delete"
|
|
11
|
+
],
|
|
12
|
+
setup(t, { expose: n, emit: r }) {
|
|
13
|
+
let { confirm: i } = e(), a = r, c = g(!1), f = g("create"), m = g(""), _ = g(""), y = g(""), S = g(""), w = g(""), T = g("layout"), E = g([]), D = (e) => {
|
|
14
|
+
e ? (f.value = "edit", m.value = e.id, _.value = e.displayName || "", y.value = e.name || "", S.value = e.tint || "", w.value = e.icon || "", T.value = e.componentType || "layout", E.value = e.formLayout || []) : (f.value = "create", m.value = "", _.value = "", y.value = "", S.value = "", w.value = "", T.value = "layout", E.value = []), c.value = !0;
|
|
15
|
+
}, A = () => {
|
|
16
|
+
a("add", {
|
|
17
|
+
id: crypto.randomUUID(),
|
|
18
|
+
displayName: _.value,
|
|
19
|
+
name: y.value,
|
|
20
|
+
tint: S.value,
|
|
21
|
+
icon: w.value,
|
|
22
|
+
componentType: T.value,
|
|
23
|
+
formLayout: E.value
|
|
24
|
+
}), c.value = !1;
|
|
25
|
+
}, j = () => {
|
|
26
|
+
a("edit", {
|
|
27
|
+
id: m.value,
|
|
28
|
+
displayName: _.value,
|
|
29
|
+
name: y.value,
|
|
30
|
+
tint: S.value,
|
|
31
|
+
icon: w.value,
|
|
32
|
+
componentType: T.value,
|
|
33
|
+
formLayout: E.value
|
|
34
|
+
}), c.value = !1;
|
|
35
|
+
}, M = async () => {
|
|
36
|
+
await i("Are you sure you want to delete this component? This action cannot be undone.", "Delete Component", "Delete") && (a("delete", m.value), c.value = !1);
|
|
37
|
+
};
|
|
38
|
+
return n({ openDialog: D }), (e, t) => {
|
|
39
|
+
let n = v("DialogTitle"), r = v("DialogDescription"), i = v("DialogHeader"), a = v("Input"), m = v("TailwindColorPicker"), g = v("LucideIconPicker"), D = v("FormBuilderSelect"), B = v("Button"), V = v("DialogFooter"), H = v("DialogScrollContent"), U = v("Dialog");
|
|
40
|
+
return h(), o(U, {
|
|
41
|
+
open: c.value,
|
|
42
|
+
"onUpdate:open": t[8] ||= (e) => c.value = e
|
|
43
|
+
}, {
|
|
44
|
+
default: C(() => [d(H, { class: "sm:max-w-2xl" }, {
|
|
45
|
+
default: C(() => [
|
|
46
|
+
d(i, null, {
|
|
47
|
+
default: C(() => [d(n, null, {
|
|
48
|
+
default: C(() => [u(b(f.value === "create" ? "Add New Component" : "Update Component"), 1)]),
|
|
49
|
+
_: 1
|
|
50
|
+
}), d(r, null, {
|
|
51
|
+
default: C(() => [...t[9] ||= [u(" Connect the components from your front-end to build pages with them. ", -1)]]),
|
|
52
|
+
_: 1
|
|
53
|
+
})]),
|
|
54
|
+
_: 1
|
|
55
|
+
}),
|
|
56
|
+
l("div", N, [
|
|
57
|
+
l("div", P, [l("div", F, [
|
|
58
|
+
t[10] ||= l("label", {
|
|
59
|
+
for: "component-dialog-display-name",
|
|
60
|
+
class: "text-sm mb-1 block font-medium"
|
|
61
|
+
}, "Display Name", -1),
|
|
62
|
+
d(a, {
|
|
63
|
+
modelValue: _.value,
|
|
64
|
+
"onUpdate:modelValue": t[0] ||= (e) => _.value = e,
|
|
65
|
+
placeholder: "Display Name",
|
|
66
|
+
id: "component-dialog-display-name"
|
|
67
|
+
}, null, 8, ["modelValue"]),
|
|
68
|
+
t[11] ||= l("p", { class: "text-xs text-muted-foreground mt-2" }, " This is the name that the user will see in the component list. ", -1)
|
|
69
|
+
]), l("div", I, [
|
|
70
|
+
t[12] ||= l("label", {
|
|
71
|
+
for: "component-dialog-component-name",
|
|
72
|
+
class: "text-sm mb-1 block font-medium"
|
|
73
|
+
}, "Component Name", -1),
|
|
74
|
+
d(a, {
|
|
75
|
+
modelValue: y.value,
|
|
76
|
+
"onUpdate:modelValue": t[1] ||= (e) => y.value = e,
|
|
77
|
+
placeholder: "Component Name",
|
|
78
|
+
id: "component-dialog-component-name"
|
|
79
|
+
}, null, 8, ["modelValue"]),
|
|
80
|
+
t[13] ||= l("p", { class: "text-xs text-muted-foreground mt-2" }, " How is the component called in your front-end? ", -1)
|
|
81
|
+
])]),
|
|
82
|
+
l("div", ee, [l("div", L, [t[14] ||= l("label", {
|
|
83
|
+
for: "component-dialog-display-name",
|
|
84
|
+
class: "text-sm mb-1 block font-medium"
|
|
85
|
+
}, "Tint", -1), d(m, {
|
|
86
|
+
modelValue: S.value,
|
|
87
|
+
"onUpdate:modelValue": t[2] ||= (e) => S.value = e,
|
|
88
|
+
"default-value": "white"
|
|
89
|
+
}, null, 8, ["modelValue"])]), l("div", R, [t[15] ||= l("label", {
|
|
90
|
+
for: "component-dialog-component-name",
|
|
91
|
+
class: "text-sm mb-1 block font-medium"
|
|
92
|
+
}, "Icon", -1), d(g, {
|
|
93
|
+
modelValue: w.value,
|
|
94
|
+
"onUpdate:modelValue": t[3] ||= (e) => w.value = e
|
|
95
|
+
}, null, 8, ["modelValue"])])]),
|
|
96
|
+
t[22] ||= l("p", { class: "text-sm mb-1 block font-medium" }, " Component Type ", -1),
|
|
97
|
+
l("div", z, [
|
|
98
|
+
l("button", {
|
|
99
|
+
class: p(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": T.value == "layout" }]),
|
|
100
|
+
onClick: t[4] ||= (e) => T.value = "layout"
|
|
101
|
+
}, [
|
|
102
|
+
t[16] ||= l("svg", {
|
|
103
|
+
width: "60",
|
|
104
|
+
height: "60",
|
|
105
|
+
viewBox: "0 0 60 60",
|
|
106
|
+
fill: "none",
|
|
107
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
108
|
+
class: "dark:invert dark:opacity-30 mx-auto mb-4"
|
|
109
|
+
}, [l("path", {
|
|
110
|
+
"fill-rule": "evenodd",
|
|
111
|
+
"clip-rule": "evenodd",
|
|
112
|
+
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",
|
|
113
|
+
fill: "black"
|
|
114
|
+
})], -1),
|
|
115
|
+
t[17] ||= l("div", { class: "mb-auto" }, [l("strong", { class: "text-sm mb-1" }, "Layout Component"), l("p", { class: "text-xs text-muted-foreground" }, " Helps setting up the overall structure or layout of the page. (Examples: Section, 2\xA0Column\xA0Grid,\xA0...) ")], -1),
|
|
116
|
+
T.value == "layout" ? (h(), o(x(k), {
|
|
117
|
+
key: 1,
|
|
118
|
+
class: "size-4 mx-auto mt-4"
|
|
119
|
+
})) : (h(), o(x(O), {
|
|
120
|
+
key: 0,
|
|
121
|
+
class: "size-4 mx-auto mt-4"
|
|
122
|
+
}))
|
|
123
|
+
], 2),
|
|
124
|
+
l("button", {
|
|
125
|
+
class: p(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": T.value == "content" }]),
|
|
126
|
+
onClick: t[5] ||= (e) => T.value = "content"
|
|
127
|
+
}, [
|
|
128
|
+
t[18] ||= l("svg", {
|
|
129
|
+
width: "60",
|
|
130
|
+
height: "60",
|
|
131
|
+
viewBox: "0 0 60 60",
|
|
132
|
+
fill: "none",
|
|
133
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
134
|
+
class: "dark:invert dark:opacity-30 mx-auto mb-4"
|
|
135
|
+
}, [l("path", {
|
|
136
|
+
"fill-rule": "evenodd",
|
|
137
|
+
"clip-rule": "evenodd",
|
|
138
|
+
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",
|
|
139
|
+
fill: "black"
|
|
140
|
+
})], -1),
|
|
141
|
+
t[19] ||= l("div", { class: "mb-auto" }, [l("strong", { class: "text-sm mb-1" }, "Content Component"), l("p", { class: "text-xs text-muted-foreground" }, " Aimed at hosting and displaying unique content. (Examples: Text, Link, Image,\xA0...) ")], -1),
|
|
142
|
+
T.value == "content" ? (h(), o(x(k), {
|
|
143
|
+
key: 1,
|
|
144
|
+
class: "size-4 mx-auto mt-4"
|
|
145
|
+
})) : (h(), o(x(O), {
|
|
146
|
+
key: 0,
|
|
147
|
+
class: "size-4 mx-auto mt-4"
|
|
148
|
+
}))
|
|
149
|
+
], 2),
|
|
150
|
+
l("button", {
|
|
151
|
+
class: p(["flex flex-col p-6 hover:bg-input/30 transition-all duration-300", { "bg-input/50 hover:bg-input/50": T.value == "hybrid" }]),
|
|
152
|
+
onClick: t[6] ||= (e) => T.value = "hybrid"
|
|
153
|
+
}, [
|
|
154
|
+
t[20] ||= l("svg", {
|
|
155
|
+
width: "60",
|
|
156
|
+
height: "60",
|
|
157
|
+
viewBox: "0 0 60 60",
|
|
158
|
+
fill: "none",
|
|
159
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
160
|
+
class: "dark:invert dark:opacity-30 mx-auto mb-4"
|
|
161
|
+
}, [l("path", {
|
|
162
|
+
"fill-rule": "evenodd",
|
|
163
|
+
"clip-rule": "evenodd",
|
|
164
|
+
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",
|
|
165
|
+
fill: "black"
|
|
166
|
+
})], -1),
|
|
167
|
+
t[21] ||= l("div", { class: "mb-auto" }, [l("strong", { class: "text-sm mb-1" }, "Hybrid Component"), l("p", { class: "text-xs text-muted-foreground" }, " These serve as both layout and content components, unlocking complex layouts. ")], -1),
|
|
168
|
+
T.value == "hybrid" ? (h(), o(x(k), {
|
|
169
|
+
key: 1,
|
|
170
|
+
class: "size-4 mx-auto mt-4"
|
|
171
|
+
})) : (h(), o(x(O), {
|
|
172
|
+
key: 0,
|
|
173
|
+
class: "size-4 mx-auto mt-4"
|
|
174
|
+
}))
|
|
175
|
+
], 2)
|
|
176
|
+
]),
|
|
177
|
+
t[23] ||= l("p", { class: "text-sm mb-1 block font-medium" }, " Form Layout ", -1),
|
|
178
|
+
t[24] ||= l("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),
|
|
179
|
+
l("div", null, [d(D, {
|
|
180
|
+
modelValue: E.value,
|
|
181
|
+
"onUpdate:modelValue": t[7] ||= (e) => E.value = e,
|
|
182
|
+
buildText: "Edit Form Layout",
|
|
183
|
+
editText: "Edit Form Layout"
|
|
184
|
+
}, null, 8, ["modelValue"])])
|
|
185
|
+
]),
|
|
186
|
+
d(V, null, {
|
|
187
|
+
default: C(() => [f.value === "edit" ? (h(), o(B, {
|
|
188
|
+
key: 0,
|
|
189
|
+
variant: "destructive",
|
|
190
|
+
class: "mr-auto",
|
|
191
|
+
onClick: M
|
|
192
|
+
}, {
|
|
193
|
+
default: C(() => [...t[25] ||= [u(" Delete Component ", -1)]]),
|
|
194
|
+
_: 1
|
|
195
|
+
})) : s("", !0), f.value === "create" ? (h(), o(B, {
|
|
196
|
+
key: 1,
|
|
197
|
+
type: "submit",
|
|
198
|
+
onClick: A
|
|
199
|
+
}, {
|
|
200
|
+
default: C(() => [...t[26] ||= [u(" Add Component ", -1)]]),
|
|
201
|
+
_: 1
|
|
202
|
+
})) : (h(), o(B, {
|
|
203
|
+
key: 2,
|
|
204
|
+
type: "submit",
|
|
205
|
+
onClick: j
|
|
206
|
+
}, {
|
|
207
|
+
default: C(() => [...t[27] ||= [u(" Edit Component ", -1)]]),
|
|
208
|
+
_: 1
|
|
209
|
+
}))]),
|
|
210
|
+
_: 1
|
|
211
|
+
})
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
})]),
|
|
215
|
+
_: 1
|
|
216
|
+
}, 8, ["open"]);
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
}), V = { class: "w-full truncate text-sm font-medium" }, H = { class: "w-full truncate text-xs text-muted-foreground" }, U = /* @__PURE__ */ f({
|
|
220
|
+
__name: "ComponentGridItem",
|
|
221
|
+
props: { component: {
|
|
222
|
+
type: Object,
|
|
223
|
+
required: !0
|
|
224
|
+
} },
|
|
225
|
+
emits: ["edit"],
|
|
226
|
+
setup(e, { emit: t }) {
|
|
227
|
+
let n = t;
|
|
228
|
+
return (t, r) => {
|
|
229
|
+
let i = v("Skeleton"), a = v("Card");
|
|
230
|
+
return h(), c("button", {
|
|
231
|
+
onClick: r[0] ||= (e) => n("edit"),
|
|
232
|
+
class: "basis-[100px] max-w-[200px] @7xl:max-w-xs"
|
|
233
|
+
}, [d(a, { class: "flex flex-col items-center px-4 py-4 gap-0 hover:bg-input/30" }, {
|
|
234
|
+
default: C(() => [
|
|
235
|
+
e.component.icon ? (h(), c("div", {
|
|
236
|
+
key: 0,
|
|
237
|
+
class: p(`${e.component.tint ? "bg-" + e.component.tint : "bg-input/50"} rounded-lg p-4 mb-2`)
|
|
238
|
+
}, [(h(), o(y(x(M)[e.component.icon]), { class: "size-16 @5xl:size-22 @7xl:size-28" }))], 2)) : (h(), o(i, {
|
|
239
|
+
key: 1,
|
|
240
|
+
class: "size-24 @5xl:size-30 @7xl:size-36 mb-2"
|
|
241
|
+
})),
|
|
242
|
+
l("p", V, b(e.component.displayName), 1),
|
|
243
|
+
l("p", H, b(e.component.name), 1)
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
})]);
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}), W = { class: "flex flex-col gap-2 mb-12" }, G = { class: "flex items-start gap-4 overflow-hidden" }, K = { class: "flex flex-col text-left" }, q = { class: "text-sm font-semibold" }, J = {
|
|
250
|
+
key: 0,
|
|
251
|
+
class: "text-xs text-muted-foreground/70 dark:text-muted-foreground/50 line-clamp-2 whitespace-normal mt-2"
|
|
252
|
+
}, Y = /* @__PURE__ */ f({
|
|
253
|
+
__name: "VerticalToggle",
|
|
254
|
+
props: {
|
|
255
|
+
modelValue: {
|
|
256
|
+
type: Array,
|
|
257
|
+
required: !0
|
|
258
|
+
},
|
|
259
|
+
options: {
|
|
260
|
+
type: Array,
|
|
261
|
+
required: !0
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
emits: ["update:modelValue"],
|
|
265
|
+
setup(e, { emit: t }) {
|
|
266
|
+
let n = e, r = t, u = a({
|
|
267
|
+
get() {
|
|
268
|
+
return n.modelValue;
|
|
269
|
+
},
|
|
270
|
+
set(e) {
|
|
271
|
+
r("update:modelValue", e);
|
|
272
|
+
}
|
|
273
|
+
}), f = g("full"), m = (e) => {
|
|
274
|
+
u.value.includes(e) ? u.value = u.value.filter((t) => t !== e) : u.value.push(e);
|
|
275
|
+
};
|
|
276
|
+
return (t, n) => {
|
|
277
|
+
let r = v("SegmentedControlButton"), a = v("SegmentedControl"), u = v("Button");
|
|
278
|
+
return h(), c("div", null, [d(a, {
|
|
279
|
+
modelValue: f.value,
|
|
280
|
+
"onUpdate:modelValue": n[0] ||= (e) => f.value = e,
|
|
281
|
+
class: "grid grid-cols-2 mb-4 w-28 scale-75 origin-left opacity-50 transition-all duration-300 hover:opacity-100"
|
|
282
|
+
}, {
|
|
283
|
+
default: C(() => [d(r, { value: "minimal" }, {
|
|
284
|
+
default: C(() => [d(x(w), { class: "size-5 mx-auto" })]),
|
|
285
|
+
_: 1
|
|
286
|
+
}), d(r, { value: "full" }, {
|
|
287
|
+
default: C(() => [d(x(A), { class: "size-5 mx-auto" })]),
|
|
288
|
+
_: 1
|
|
289
|
+
})]),
|
|
290
|
+
_: 1
|
|
291
|
+
}, 8, ["modelValue"]), l("div", W, [(h(!0), c(i, null, _(e.options, (t) => (h(), o(u, {
|
|
292
|
+
variant: "ghost",
|
|
293
|
+
key: t.value,
|
|
294
|
+
class: p(["flex-1 transition-all duration-300 active:scale-95 rounded-md justify-start w-full h-auto cursor-pointer border", e.modelValue.includes(t.value) ? "bg-white hover:bg-white dark:bg-input/30 dark:hover:bg-input/30 shadow-xs" : "hover:bg-transparent"]),
|
|
295
|
+
onClick: (e) => m(t.value)
|
|
296
|
+
}, {
|
|
297
|
+
default: C(() => [l("div", G, [d(x(T), { class: p(["size-5 text-muted-foreground transition-opacity duration-300", e.modelValue.includes(t.value) ? "opacity-100" : "opacity-0"]) }, null, 8, ["class"]), l("div", K, [l("span", q, b(t.text), 1), f.value === "full" && t.description ? (h(), c("p", J, b(t.description), 1)) : s("", !0)])])]),
|
|
298
|
+
_: 2
|
|
299
|
+
}, 1032, ["class", "onClick"]))), 128))])]);
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
}), X = {
|
|
303
|
+
key: 0,
|
|
304
|
+
class: "truncate"
|
|
305
|
+
}, Z = { key: 1 }, Q = { class: "p-6 overflow-y-auto" }, te = { class: "flex flex-col gap-3" }, ne = { class: "flex items-start gap-4 overflow-hidden" }, re = { class: "flex flex-col text-left" }, ie = { class: "text-sm font-semibold mb-2" }, ae = { class: "text-xs text-muted-foreground line-clamp-2 whitespace-normal" }, oe = /* @__PURE__ */ f({
|
|
306
|
+
__name: "DrawerToggle",
|
|
307
|
+
props: {
|
|
308
|
+
modelValue: {
|
|
309
|
+
type: Array,
|
|
310
|
+
required: !0
|
|
311
|
+
},
|
|
312
|
+
options: {
|
|
313
|
+
type: Array,
|
|
314
|
+
required: !0
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
emits: ["update:modelValue"],
|
|
318
|
+
setup(e, { emit: t }) {
|
|
319
|
+
let n = e, r = t, s = a({
|
|
320
|
+
get() {
|
|
321
|
+
return n.modelValue;
|
|
322
|
+
},
|
|
323
|
+
set(e) {
|
|
324
|
+
r("update:modelValue", e);
|
|
325
|
+
}
|
|
326
|
+
}), u = (e) => {
|
|
327
|
+
s.value.includes(e) ? s.value = s.value.filter((t) => t !== e) : s.value.push(e);
|
|
328
|
+
};
|
|
329
|
+
return (t, n) => {
|
|
330
|
+
let r = v("Button"), a = v("DrawerTrigger"), s = v("DrawerContent"), f = v("Drawer");
|
|
331
|
+
return h(), o(f, null, {
|
|
332
|
+
default: C(() => [d(a, { "as-child": "" }, {
|
|
333
|
+
default: C(() => [d(r, {
|
|
334
|
+
variant: "outline",
|
|
335
|
+
class: "mb-2"
|
|
336
|
+
}, {
|
|
337
|
+
default: C(() => [e.modelValue.length < 4 ? (h(), c("p", X, b(e.modelValue.join(", ")), 1)) : (h(), c("p", Z, b(e.modelValue.slice(0, 3).join(", ")) + " + " + b(e.modelValue.length - 3) + " more ", 1)), d(x(E), { class: "size-4 text-muted-foreground translate-y-0.25 ml-4" })]),
|
|
338
|
+
_: 1
|
|
339
|
+
})]),
|
|
340
|
+
_: 1
|
|
341
|
+
}), d(s, null, {
|
|
342
|
+
default: C(() => [l("div", Q, [l("div", te, [(h(!0), c(i, null, _(e.options, (t) => (h(), o(r, {
|
|
343
|
+
key: t.value,
|
|
344
|
+
class: p(["justify-start w-full h-auto cursor-pointer flex-1 transition-all duration-300 active:scale-95 rounded-md border border-transparent", e.modelValue.includes(t.value) ? "bg-input/30 border-border" : ""]),
|
|
345
|
+
variant: "ghost",
|
|
346
|
+
onClick: (e) => u(t.value)
|
|
347
|
+
}, {
|
|
348
|
+
default: C(() => [l("div", ne, [d(x(T), { class: p(["size-5 text-muted-foreground transition-opacity duration-300", e.modelValue.includes(t.value) ? "opacity-100" : "opacity-0"]) }, null, 8, ["class"]), l("div", re, [l("span", ie, b(t.text), 1), l("p", ae, b(t.description), 1)])])]),
|
|
349
|
+
_: 2
|
|
350
|
+
}, 1032, ["class", "onClick"]))), 128))])])]),
|
|
351
|
+
_: 1
|
|
352
|
+
})]),
|
|
353
|
+
_: 1
|
|
354
|
+
});
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
}), se = { class: "w-full" }, ce = { class: "flex items-center justify-between gap-4 w-full my-4" }, le = { class: "flex flex-col space-y-8 @5xl:flex-row @5xl:space-x-12 @5xl:space-y-0" }, ue = { class: "hidden @5xl:block @5xl:w-1/4 @7xl:w-1/5" }, de = { class: "flex-1" }, fe = { class: "@5xl:hidden" }, pe = { class: "flex items-center justify-between w-full" }, $ = { class: "flex items-start gap-8" }, me = {
|
|
358
|
+
key: 0,
|
|
359
|
+
class: "mb-8"
|
|
360
|
+
}, he = { class: "flex flex-wrap gap-4" }, ge = {
|
|
361
|
+
key: 1,
|
|
362
|
+
class: "mb-8"
|
|
363
|
+
}, _e = { class: "flex flex-wrap gap-4" }, ve = {
|
|
364
|
+
key: 2,
|
|
365
|
+
class: "mb-8"
|
|
366
|
+
}, ye = { class: "flex flex-wrap gap-4" }, be = /* @__PURE__ */ f({
|
|
367
|
+
__name: "Components",
|
|
368
|
+
setup(e) {
|
|
369
|
+
let a = [
|
|
370
|
+
{
|
|
371
|
+
value: "hybrid",
|
|
372
|
+
text: "Hybrid Components",
|
|
373
|
+
icon: "",
|
|
374
|
+
description: "These serve as both layout and content components, unlocking complex layouts."
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
value: "layout",
|
|
378
|
+
text: "Layout Component",
|
|
379
|
+
icon: "",
|
|
380
|
+
description: "Helps setting up the overall structure or layout of the page. (Examples: Section, 2 Column Grid, ...)"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
value: "content",
|
|
384
|
+
text: "Content Component",
|
|
385
|
+
icon: "",
|
|
386
|
+
description: "Aimed at hosting and displaying unique content. (Examples: Text, Link, Image, ...)"
|
|
387
|
+
}
|
|
388
|
+
], { getModuleData: f, setModuleData: p } = r(), { navigateTo: y } = n();
|
|
389
|
+
t(() => [{ text: "Components" }]);
|
|
390
|
+
let b = S("componentDialog"), w = g([]), T = g([
|
|
391
|
+
"hybrid",
|
|
392
|
+
"layout",
|
|
393
|
+
"content"
|
|
394
|
+
]), E = async (e) => {
|
|
395
|
+
w.value.push(e), w.value = await f("components") || [], w.value.push(e), p("components", w.value);
|
|
396
|
+
}, O = async (e) => {
|
|
397
|
+
let t = w.value.findIndex((t) => t.id === e.id);
|
|
398
|
+
t !== -1 && (w.value[t] = e), w.value = await f("components") || [], t = w.value.findIndex((t) => t.id === e.id), t !== -1 && (w.value[t] = e, p("components", w.value));
|
|
399
|
+
}, k = async (e) => {
|
|
400
|
+
w.value = w.value.filter((t) => t.id !== e), w.value = await f("components") || [], w.value = w.value.filter((t) => t.id !== e), p("components", w.value);
|
|
401
|
+
};
|
|
402
|
+
return m(() => {
|
|
403
|
+
f("components").then((e) => {
|
|
404
|
+
w.value = e;
|
|
405
|
+
});
|
|
406
|
+
}), (e, t) => {
|
|
407
|
+
let n = v("Button"), r = v("CardTitle"), f = v("CardDescription"), p = v("CardHeader"), m = v("CardContent"), g = v("Card");
|
|
408
|
+
return h(), c(i, null, [l("div", se, [l("div", ce, [d(n, {
|
|
409
|
+
onClick: t[0] ||= (e) => x(y)("/"),
|
|
410
|
+
variant: "link",
|
|
411
|
+
class: "!pl-0"
|
|
412
|
+
}, {
|
|
413
|
+
default: C(() => [d(x(D), { class: "size-4" }), t[4] ||= u(" Collections ", -1)]),
|
|
414
|
+
_: 1
|
|
415
|
+
})]), l("div", le, [l("div", ue, [d(Y, {
|
|
416
|
+
options: a,
|
|
417
|
+
modelValue: T.value,
|
|
418
|
+
"onUpdate:modelValue": t[1] ||= (e) => T.value = e
|
|
419
|
+
}, null, 8, ["modelValue"])]), l("div", de, [l("div", fe, [d(oe, {
|
|
420
|
+
options: a,
|
|
421
|
+
modelValue: T.value,
|
|
422
|
+
"onUpdate:modelValue": t[2] ||= (e) => T.value = e
|
|
423
|
+
}, null, 8, ["modelValue"])]), d(g, null, {
|
|
424
|
+
default: C(() => [d(p, null, {
|
|
425
|
+
default: C(() => [l("div", pe, [l("div", null, [d(r, null, {
|
|
426
|
+
default: C(() => [...t[5] ||= [u("Components", -1)]]),
|
|
427
|
+
_: 1
|
|
428
|
+
}), d(f, null, {
|
|
429
|
+
default: C(() => [...t[6] ||= [u("Manage your components here.", -1)]]),
|
|
430
|
+
_: 1
|
|
431
|
+
})]), d(n, { onClick: t[3] ||= (e) => b.value.openDialog() }, {
|
|
432
|
+
default: C(() => [d(x(j), { class: "size-4" }), t[7] ||= u(" New Component ", -1)]),
|
|
433
|
+
_: 1
|
|
434
|
+
})])]),
|
|
435
|
+
_: 1
|
|
436
|
+
}), d(m, null, {
|
|
437
|
+
default: C(() => [l("div", $, [l("div", null, [
|
|
438
|
+
T.value.includes("hybrid") ? (h(), c("div", me, [t[8] ||= l("h3", { class: "font-medium mb-2" }, "Hybrid Components", -1), l("div", he, [(h(!0), c(i, null, _(w.value, (e) => (h(), o(U, {
|
|
439
|
+
key: e.name,
|
|
440
|
+
onEdit: (t) => b.value.openDialog(e),
|
|
441
|
+
component: e
|
|
442
|
+
}, null, 8, ["onEdit", "component"]))), 128))])])) : s("", !0),
|
|
443
|
+
T.value.includes("layout") ? (h(), c("div", ge, [t[9] ||= l("h3", { class: "font-medium mb-2" }, "Layout Components", -1), l("div", _e, [(h(!0), c(i, null, _(w.value, (e) => (h(), o(U, {
|
|
444
|
+
key: e.name,
|
|
445
|
+
onEdit: (t) => b.value.openDialog(e),
|
|
446
|
+
component: e
|
|
447
|
+
}, null, 8, ["onEdit", "component"]))), 128))])])) : s("", !0),
|
|
448
|
+
T.value.includes("content") ? (h(), c("div", ve, [t[10] ||= l("h3", { class: "font-medium mb-2" }, "Content Components", -1), l("div", ye, [(h(!0), c(i, null, _(w.value, (e) => (h(), o(U, {
|
|
449
|
+
key: e.name,
|
|
450
|
+
onEdit: (t) => b.value.openDialog(e),
|
|
451
|
+
component: e
|
|
452
|
+
}, null, 8, ["onEdit", "component"]))), 128))])])) : s("", !0)
|
|
453
|
+
])])]),
|
|
454
|
+
_: 1
|
|
455
|
+
})]),
|
|
456
|
+
_: 1
|
|
457
|
+
})])])]), d(B, {
|
|
458
|
+
ref_key: "componentDialog",
|
|
459
|
+
ref: b,
|
|
460
|
+
onAdd: E,
|
|
461
|
+
onEdit: O,
|
|
462
|
+
onDelete: k
|
|
463
|
+
}, null, 512)], 64);
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
//#endregion
|
|
468
|
+
export { be as default };
|