cortex-react-components 3.2.2 → 4.0.2
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/{chunk-5GFRQ4NR.mjs → chunk-2BKXIIFJ.mjs} +183 -36
- package/dist/{chunk-LQPN7L4Z.mjs → chunk-3DWDGYDG.mjs} +1 -1
- package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
- package/dist/{chunk-56NFUKPK.mjs → chunk-3K6EVFOW.mjs} +1 -1
- package/dist/{chunk-PFA2P52R.mjs → chunk-3RYHYKVQ.mjs} +1 -1
- package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
- package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
- package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
- package/dist/{chunk-G46GZ57S.mjs → chunk-6LF4K7ER.mjs} +5 -5
- package/dist/{chunk-2363JAWB.mjs → chunk-6S7EQDLL.mjs} +1 -1
- package/dist/{chunk-ZBCZGWDU.mjs → chunk-7HHLKQE4.mjs} +1 -1
- package/dist/{chunk-YUBPY7L4.mjs → chunk-7LM2P6N3.mjs} +1 -1
- package/dist/{chunk-VMDVXNP5.mjs → chunk-AKMJBGUU.mjs} +16 -16
- package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
- package/dist/{chunk-2L6AWG6R.mjs → chunk-AZ5MV7NO.mjs} +2 -2
- package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
- package/dist/chunk-BXEALHGJ.mjs +142 -0
- package/dist/{chunk-V6YEUAIH.mjs → chunk-CV7GOXGO.mjs} +2 -2
- package/dist/{chunk-YKX5AGFQ.mjs → chunk-D3AHBPI5.mjs} +1 -1
- package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
- package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
- package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
- package/dist/{chunk-RQGM66Q4.mjs → chunk-DRLNETNN.mjs} +1 -1
- package/dist/{chunk-673GELPP.mjs → chunk-DVWMM7AI.mjs} +3 -3
- package/dist/{chunk-O633TXQG.mjs → chunk-EEVXIKNB.mjs} +1 -1
- package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
- package/dist/{chunk-HK2DQNBU.mjs → chunk-ETV6EEYB.mjs} +4 -4
- package/dist/{chunk-ORWAJNJO.mjs → chunk-F6SQTC6R.mjs} +3 -3
- package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
- package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
- package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
- package/dist/{chunk-ZWV2O6CK.mjs → chunk-GR45UN4U.mjs} +3 -3
- package/dist/chunk-GXN5ZNBZ.mjs +135 -0
- package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
- package/dist/{chunk-USEHRJFR.mjs → chunk-HNVHGBNE.mjs} +1 -1
- package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
- package/dist/chunk-IC4N2KYF.mjs +401 -0
- package/dist/{chunk-QOYK2HBL.mjs → chunk-IM5B557Z.mjs} +19 -19
- package/dist/{chunk-J5ZETWHG.mjs → chunk-IQ67MHAY.mjs} +2 -2
- package/dist/{chunk-UFBLZW2N.mjs → chunk-IWQEM5KO.mjs} +2 -2
- package/dist/{chunk-UJI3Y73K.mjs → chunk-J5GM5CJK.mjs} +3 -3
- package/dist/chunk-JCSRFM37.mjs +595 -0
- package/dist/{chunk-QMFGV3M5.mjs → chunk-JOGVCBYP.mjs} +1 -1
- package/dist/{chunk-K6N5K2A7.mjs → chunk-JWMQOARK.mjs} +4 -4
- package/dist/{chunk-DSVXGGGV.mjs → chunk-K5ZNBHQO.mjs} +1 -1
- package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
- package/dist/{chunk-CVH5TDS6.mjs → chunk-KJVAS4I7.mjs} +27 -12
- package/dist/{chunk-4PC77ZEN.mjs → chunk-KMGTUNRZ.mjs} +1 -1
- package/dist/{chunk-LVLEZS7Q.mjs → chunk-KYY7BMXI.mjs} +1 -1
- package/dist/{chunk-GDMWNNYC.mjs → chunk-LRMDRQRJ.mjs} +2 -2
- package/dist/{chunk-CIXAM7LW.mjs → chunk-LRTEGIZ7.mjs} +12 -12
- package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
- package/dist/{chunk-S27KJUKF.mjs → chunk-N5HTSJLI.mjs} +1 -1
- package/dist/{chunk-MPFWWJYT.mjs → chunk-N5Q2DYUR.mjs} +2 -2
- package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
- package/dist/{chunk-5Z7JRCOM.mjs → chunk-NSYYRG6A.mjs} +1 -1
- package/dist/{chunk-JD7SR5V3.mjs → chunk-NUAJQK4H.mjs} +64 -8
- package/dist/{chunk-SSF2CAW7.mjs → chunk-OR3XMMEK.mjs} +9 -9
- package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
- package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
- package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
- package/dist/{chunk-22E2TZBE.mjs → chunk-QDO6BAAN.mjs} +13 -5
- package/dist/{chunk-P4P6J2SW.mjs → chunk-QJGBUBSB.mjs} +2 -2
- package/dist/{chunk-TIGSOXUA.mjs → chunk-QJQ66DYZ.mjs} +1 -1
- package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
- package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
- package/dist/{chunk-PIGOOCU6.mjs → chunk-RNHGLZYP.mjs} +1 -1
- package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
- package/dist/{chunk-KCPLIAIF.mjs → chunk-SJI6X5DK.mjs} +2 -2
- package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
- package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
- package/dist/{chunk-6R3QP53O.mjs → chunk-TZH6L2OH.mjs} +2 -2
- package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
- package/dist/{chunk-OPJMXB4K.mjs → chunk-UCK4TW63.mjs} +4 -4
- package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
- package/dist/{chunk-PRMR24PY.mjs → chunk-WAR2OXXK.mjs} +4 -4
- package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
- package/dist/{chunk-TLCSKAWQ.mjs → chunk-WZBXR7J3.mjs} +5 -5
- package/dist/{chunk-FECAR2TE.mjs → chunk-X4GP2O3Y.mjs} +2 -2
- package/dist/{chunk-UNEYYMLL.mjs → chunk-XCZCWSOY.mjs} +2 -2
- package/dist/{chunk-QE3XE3LW.mjs → chunk-Y4KJTMKO.mjs} +1 -1
- package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
- package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
- package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
- package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.js +480 -301
- package/dist/components/AdvancedComponents/AppSidebar.mjs +3 -3
- package/dist/components/AdvancedComponents/index.js +480 -301
- package/dist/components/AdvancedComponents/index.mjs +3 -3
- package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +3 -3
- package/dist/components/Blocks/CallToAction.mjs +3 -3
- package/dist/components/Blocks/CollapsibleArea.mjs +4 -4
- package/dist/components/Blocks/Content.mjs +4 -4
- package/dist/components/Blocks/FeaturesBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.mjs +4 -4
- package/dist/components/Blocks/RenderBlocks.mjs +6 -6
- package/dist/components/Blocks/ReusableContentBlock.mjs +6 -6
- package/dist/components/Blocks/index.mjs +7 -7
- package/dist/components/Cards/ContentCard.mjs +3 -3
- package/dist/components/Cards/FeatureCard.mjs +3 -3
- package/dist/components/Cards/index.mjs +3 -3
- package/dist/components/Chat/CopilotInterface.d.ts +1 -1
- package/dist/components/Chat/CopilotInterface.js +527 -330
- package/dist/components/Chat/CopilotInterface.mjs +5 -5
- package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
- package/dist/components/Chat/demo-long-messages.js +527 -330
- package/dist/components/Chat/demo-long-messages.mjs +5 -5
- package/dist/components/Chat/demo-tests.js +527 -330
- package/dist/components/Chat/demo-tests.mjs +5 -5
- package/dist/components/Chat/demo.js +527 -330
- package/dist/components/Chat/demo.mjs +5 -5
- package/dist/components/Chat/example-usage.js +527 -330
- package/dist/components/Chat/example-usage.mjs +6 -6
- package/dist/components/Chat/example-with-vercel-ai.js +527 -330
- package/dist/components/Chat/example-with-vercel-ai.mjs +5 -5
- package/dist/components/Chat/index.js +527 -330
- package/dist/components/Chat/index.mjs +8 -8
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
- package/dist/components/DeliveryLead/index.mjs +4 -4
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +22 -27
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +4 -6
- package/dist/components/DigitalColleagues/index.d.ts +0 -18
- package/dist/components/DigitalColleagues/index.js +0 -16754
- package/dist/components/DigitalColleagues/test-data.d.ts +1 -112
- package/dist/components/DigitalColleagues/test-data.js +482 -308
- package/dist/components/DigitalColleagues/test-data.mjs +1 -5
- package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
- package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.mjs +3 -3
- package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
- package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
- package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
- package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
- package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Login.js +2 -2
- package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
- package/dist/components/{DigitalColleagues → Foundry}/MainPage.mjs +9 -9
- package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.d.ts +2 -2
- package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +12 -4
- package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +1860 -2162
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +42 -41
- package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
- package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
- package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
- package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
- package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
- package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
- package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
- package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
- package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
- package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +526 -211
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +12 -10
- package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
- package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
- package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
- package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +21 -21
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +9 -8
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Views/index.js +2929 -2050
- package/dist/components/{Foundary → Foundry}/Views/index.mjs +64 -61
- package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
- package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/add-colleague-to-team-form.js} +156 -91
- package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/add-colleague-to-team-form.mjs} +3 -4
- package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
- package/dist/components/Foundry/app-card.js +2669 -0
- package/dist/components/{DigitalColleagues/digital-colleague-options.mjs → Foundry/app-card.mjs} +5 -3
- package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
- package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
- package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
- package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.mjs +1 -1
- package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
- package/dist/components/{DigitalColleagues/digital-colleague-clone.js → Foundry/digital-colleague-selection.js} +59 -100
- package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Foundry/digital-colleague-selection.mjs} +3 -3
- package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
- package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
- package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
- package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
- package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
- package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
- package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
- package/dist/components/{Foundary → Foundry}/file-edit.mjs +16 -16
- package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
- package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
- package/dist/components/{Foundary → Foundry}/foundary-layout.js +485 -306
- package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +6 -6
- package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
- package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
- package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
- package/dist/components/{Foundary → Foundry}/index.js +3465 -3267
- package/dist/components/{Foundary → Foundry}/index.mjs +102 -95
- package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
- package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
- package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
- package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
- package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/types.d.ts +26 -0
- package/dist/components/{Foundary → Foundry}/types.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +4 -4
- package/dist/components/HeaderFooter/index.mjs +11 -11
- package/dist/components/Heros/DashboardHero/DashboardHero.js +5 -4
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -2
- package/dist/components/Heros/DashboardHero/index.js +5 -4
- package/dist/components/Heros/DashboardHero/index.mjs +2 -2
- package/dist/components/Heros/HighImpact/index.mjs +4 -4
- package/dist/components/Heros/LowImpact/index.mjs +4 -4
- package/dist/components/Heros/MediumImpact/index.mjs +4 -4
- package/dist/components/Heros/PostHero/index.mjs +3 -3
- package/dist/components/Heros/RenderHero.mjs +7 -7
- package/dist/components/Heros/index.js +5 -4
- package/dist/components/Heros/index.mjs +14 -14
- package/dist/components/Layouts/OutputHeaderFooter.mjs +4 -4
- package/dist/components/Layouts/Print.mjs +8 -8
- package/dist/components/Layouts/SlideShow.mjs +9 -9
- package/dist/components/Layouts/index.mjs +13 -13
- package/dist/components/Menus/SidebarLeft.mjs +3 -3
- package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
- package/dist/components/Menus/SidebarRight.mjs +3 -3
- package/dist/components/Menus/index.mjs +5 -5
- package/dist/components/Payload/RichText/index.mjs +3 -3
- package/dist/components/Payload/RichText/serialize.mjs +3 -3
- package/dist/components/Payload/index.mjs +3 -3
- package/dist/components/Projects/AddEpicModal.d.ts +1 -1
- package/dist/components/Projects/AddSprintModal.d.ts +1 -1
- package/dist/components/Projects/AddTaskModal.d.ts +1 -1
- package/dist/components/Projects/EpicFilter.d.ts +6 -2
- package/dist/components/Projects/EpicFilter.js +6 -6
- package/dist/components/Projects/EpicFilter.mjs +6 -6
- package/dist/components/Projects/EpicsView.d.ts +12 -2
- package/dist/components/Projects/EpicsView.js +3980 -736
- package/dist/components/Projects/EpicsView.mjs +46 -4
- package/dist/components/Projects/FileView.d.ts +1 -1
- package/dist/components/Projects/FileView.js +24 -23
- package/dist/components/Projects/FileView.mjs +20 -20
- package/dist/components/Projects/GanttView.d.ts +13 -0
- package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
- package/dist/components/Projects/GanttView.mjs +20 -0
- package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
- package/dist/components/Projects/KanbanBoardView.js +25 -24
- package/dist/components/Projects/KanbanBoardView.mjs +26 -26
- package/dist/components/Projects/KanbanColumn.d.ts +1 -1
- package/dist/components/Projects/PlanningView.d.ts +1 -1
- package/dist/components/Projects/PlanningView.js +5 -4
- package/dist/components/Projects/PlanningView.mjs +3 -3
- package/dist/components/Projects/ProjectPage.d.ts +3 -3
- package/dist/components/Projects/ProjectPage.js +1744 -983
- package/dist/components/Projects/ProjectPage.mjs +39 -38
- package/dist/components/Projects/ProjectView.d.ts +2 -2
- package/dist/components/Projects/ProjectView.js +1227 -662
- package/dist/components/Projects/ProjectView.mjs +34 -33
- package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +5 -4
- package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
- package/dist/components/Projects/SprintBoardView.d.ts +4 -1
- package/dist/components/Projects/SprintBoardView.js +271 -129
- package/dist/components/Projects/SprintBoardView.mjs +26 -26
- package/dist/components/Projects/TaskCard.d.ts +1 -1
- package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
- package/dist/components/Projects/TaskDetailsModal.js +20 -20
- package/dist/components/Projects/TaskDetailsModal.mjs +20 -20
- package/dist/components/Projects/TaskSidebar.d.ts +1 -1
- package/dist/components/Projects/TaskSidebar.js +2 -2
- package/dist/components/Projects/TaskSidebar.mjs +2 -2
- package/dist/components/Projects/TasksView.d.ts +1 -1
- package/dist/components/Projects/TasksView.js +5 -4
- package/dist/components/Projects/TasksView.mjs +3 -3
- package/dist/components/Projects/business-unit-switcher.d.ts +1 -1
- package/dist/components/Projects/business-units.d.ts +1 -1
- package/dist/components/Projects/file-list.d.ts +1 -1
- package/dist/components/Projects/file-list.js +19 -19
- package/dist/components/Projects/file-list.mjs +17 -17
- package/dist/components/Projects/index.js +557 -250
- package/dist/components/Projects/index.mjs +35 -35
- package/dist/components/Projects/project-card.d.ts +1 -1
- package/dist/components/Projects/project-form.d.ts +1 -1
- package/dist/components/Projects/team-card.d.ts +1 -1
- package/dist/components/Projects/team-switcher-bar.d.ts +1 -1
- package/dist/components/Projects/test-data.d.ts +448 -29
- package/dist/components/dc-temp/dashboard-integration-example.js +497 -325
- package/dist/components/dc-temp/dashboard-integration-example.mjs +6 -6
- package/dist/components/dc-temp/index.d.ts +3 -3
- package/dist/components/dc-temp/index.js +3773 -3007
- package/dist/components/dc-temp/index.mjs +35 -33
- package/dist/components/dc-temp/mock-data.d.ts +2 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +3337 -3100
- package/dist/components/index.mjs +163 -157
- package/dist/components/ui/index.mjs +9 -9
- package/dist/components/ui/sidebar.mjs +2 -2
- package/dist/decorators/Intranet.css +54 -14
- package/dist/decorators/Intranet.mjs +99 -99
- package/dist/globals.css +54 -14
- package/dist/hooks/use-local-storage.d.ts +2 -1
- package/dist/hooks/use-local-storage.js +5 -4
- package/dist/hooks/use-local-storage.mjs +1 -1
- package/dist/index.js +3345 -3108
- package/dist/index.mjs +174 -168
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +12 -12
- package/dist/pages/Documentation.mjs +9 -9
- package/dist/pages/IndexPage.mjs +17 -17
- package/dist/pages/Intranet.mjs +3 -3
- package/dist/pages/LandingPage.mjs +111 -111
- package/dist/pages/Page.mjs +16 -16
- package/dist/pages/Publish.mjs +100 -100
- package/dist/pages/Website.mjs +19 -19
- package/dist/sections/AboutSection.mjs +5 -5
- package/dist/sections/BlogDetail.mjs +4 -4
- package/dist/sections/BlogList.mjs +5 -5
- package/dist/sections/BlogListSection.mjs +5 -5
- package/dist/sections/ContactSection.mjs +5 -5
- package/dist/sections/PageSections.mjs +109 -109
- package/dist/sections/PricingSection.mjs +5 -5
- package/dist/sections/ServiceDetail.mjs +4 -4
- package/dist/sections/ServiceDetailSection.mjs +4 -4
- package/dist/sections/ServiceSection.mjs +100 -100
- package/dist/sections/form/index.mjs +2 -2
- package/dist/sections/index.mjs +109 -109
- package/package.json +5 -2
- package/dist/chunk-5MMSWFVA.mjs +0 -364
- package/dist/chunk-7TDXZ32Q.mjs +0 -197
- package/dist/chunk-APXXTGT4.mjs +0 -424
- package/dist/chunk-BZENEU5C.mjs +0 -160
- package/dist/chunk-CNQTT5P3.mjs +0 -276
- package/dist/chunk-CQKCEXF2.mjs +0 -82
- package/dist/chunk-EKQB7NJA.mjs +0 -194
- package/dist/chunk-G4WW3ZTX.mjs +0 -1063
- package/dist/chunk-G7SFQSC7.mjs +0 -306
- package/dist/chunk-IWG2URAU.mjs +0 -74
- package/dist/chunk-IWSATDRG.mjs +0 -118
- package/dist/chunk-JRNDRMIC.mjs +0 -73
- package/dist/chunk-K2C4VMGF.mjs +0 -121
- package/dist/chunk-M6ELOAGS.mjs +0 -136
- package/dist/chunk-NAUBZM7P.mjs +0 -183
- package/dist/chunk-NHDPHK6D.mjs +0 -72
- package/dist/chunk-R5MJWISX.mjs +0 -194
- package/dist/chunk-RKYMAFRJ.mjs +0 -92
- package/dist/chunk-SZBUXY6L.mjs +0 -121
- package/dist/chunk-UHOCECJY.mjs +0 -365
- package/dist/chunk-VY6L37RQ.mjs +0 -103
- package/dist/chunk-X6UI73UN.mjs +0 -262
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
- package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +0 -28
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +0 -4417
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +0 -31
- package/dist/components/DigitalColleagues/MainPage.js +0 -4080
- package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
- package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +0 -18
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +0 -8514
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +0 -78
- package/dist/components/DigitalColleagues/README-document-edit.js +0 -2
- package/dist/components/DigitalColleagues/README-document-edit.mjs +0 -7
- package/dist/components/DigitalColleagues/README-document-preview.js +0 -2
- package/dist/components/DigitalColleagues/README-document-preview.mjs +0 -7
- package/dist/components/DigitalColleagues/SearchableSelect.js +0 -2745
- package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +0 -14
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +0 -3795
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +0 -28
- package/dist/components/DigitalColleagues/Views/KnowledgeView.d.ts +0 -11
- package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.js +0 -2
- package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +0 -7
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +0 -3935
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +0 -26
- package/dist/components/DigitalColleagues/Views/index.js +0 -12284
- package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
- package/dist/components/DigitalColleagues/colleague-form.d.ts +0 -14
- package/dist/components/DigitalColleagues/colleague-form.js +0 -3086
- package/dist/components/DigitalColleagues/colleague-form.mjs +0 -22
- package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +0 -9
- package/dist/components/DigitalColleagues/digital-colleague-options.d.ts +0 -7
- package/dist/components/DigitalColleagues/digital-colleague-options.js +0 -2697
- package/dist/components/DigitalColleagues/document-edit.d.ts +0 -10
- package/dist/components/DigitalColleagues/document-edit.js +0 -3112
- package/dist/components/DigitalColleagues/document-edit.mjs +0 -20
- package/dist/components/DigitalColleagues/document-preview-examples.js +0 -3433
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
- package/dist/components/DigitalColleagues/document-preview.d.ts +0 -18
- package/dist/components/DigitalColleagues/document-preview.js +0 -3296
- package/dist/components/DigitalColleagues/document-preview.mjs +0 -21
- package/dist/components/DigitalColleagues/index.mjs +0 -200
- package/dist/components/DigitalColleagues/knowledge-browser.d.ts +0 -13
- package/dist/components/DigitalColleagues/knowledge-browser.js +0 -3581
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +0 -23
- package/dist/components/DigitalColleagues/knowledge-search.d.ts +0 -12
- package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
- package/dist/components/DigitalColleagues/team-form.d.ts +0 -24
- package/dist/components/DigitalColleagues/team-form.js +0 -2836
- package/dist/components/DigitalColleagues/team-form.mjs +0 -20
- package/dist/components/DigitalColleagues/types.d.ts +0 -289
- package/dist/components/DigitalColleagues/types.js +0 -18
- package/dist/components/Foundary/AppSidebarLeft.css +0 -917
- package/dist/components/Foundary/AppSidebarLeft.d.ts +0 -47
- package/dist/components/Foundary/AppSidebarLeft.mjs +0 -23
- package/dist/components/Foundary/DashboardHeader.css +0 -917
- package/dist/components/Foundary/DashboardHeader.d.ts +0 -8
- package/dist/components/Foundary/MainPage.css +0 -917
- package/dist/components/Foundary/MainPage.d.ts +0 -3
- package/dist/components/Foundary/MainPage.mjs +0 -46
- package/dist/components/Foundary/ManagementSidebar.d.ts +0 -8
- package/dist/components/Foundary/ManagementSidebar.mjs +0 -9
- package/dist/components/Foundary/Pages/dashboardpage.css +0 -917
- package/dist/components/Foundary/SearchableSelect.css +0 -917
- package/dist/components/Foundary/SearchableSelect.d.ts +0 -16
- package/dist/components/Foundary/SearchableSelect.mjs +0 -16
- package/dist/components/Foundary/Views/ColleaguesView.css +0 -917
- package/dist/components/Foundary/Views/KnowledgeView.css +0 -917
- package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
- package/dist/components/Foundary/Views/index.css +0 -917
- package/dist/components/Foundary/Views/index.d.ts +0 -7
- package/dist/components/Foundary/colleague-card.d.ts +0 -12
- package/dist/components/Foundary/colleague-form.css +0 -917
- package/dist/components/Foundary/colleague-type-selection.css +0 -917
- package/dist/components/Foundary/colleague-type-selection.d.ts +0 -7
- package/dist/components/Foundary/colleague-type-selection.mjs +0 -16
- package/dist/components/Foundary/document-edit.css +0 -917
- package/dist/components/Foundary/document-preview-examples.css +0 -917
- package/dist/components/Foundary/document-preview-examples.d.ts +0 -12
- package/dist/components/Foundary/document-preview.css +0 -917
- package/dist/components/Foundary/index.css +0 -917
- package/dist/components/Foundary/knowledge-browser.css +0 -917
- package/dist/components/Foundary/knowledge-search.css +0 -917
- package/dist/components/Foundary/knowledge-search.mjs +0 -20
- package/dist/components/Foundary/team-form.css +0 -917
- package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
- package/dist/{chunk-SNG6OKEL.mjs → chunk-FTVOJKVA.mjs} +3 -3
- package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
- /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
- /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/MainPage.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/MainPage.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Pages/dashboardpage.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/Views → Foundry/RichText/components/RawUploadComponent}/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry/RichText}/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/ColleaguesView.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/KnowledgeView.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
- /package/dist/components/{Foundary/RichText/components/RawUploadComponent → Foundry/Views}/index.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/index.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/DigitalColleageusLayout.css → Foundry/add-colleague-to-team-form.css} +0 -0
- /package/dist/components/{DigitalColleagues/colleague-card.css → Foundry/app-card.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-card.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-card.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-form.css +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/digital-colleague-clone.css → Foundry/digital-colleague-selection.css} +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-edit.css +0 -0
- /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview.css +0 -0
- /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/file-edit.css +0 -0
- /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-clone.css +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-layout.css +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-options.css +0 -0
- /package/dist/components/{Foundary/RichText → Foundry}/index.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/knowledge-browser.css +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.css +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/team-form.css +0 -0
- /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/digital-colleague-options.css → Projects/GanttView.css} +0 -0
|
@@ -2,52 +2,53 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
Home
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-K6N5K2A7.mjs";
|
|
8
|
-
import "../../../chunk-CIFGBEFV.mjs";
|
|
9
|
-
import "../../../chunk-25EF7VEC.mjs";
|
|
10
|
-
import "../../../chunk-PR24SSJK.mjs";
|
|
11
|
-
import "../../../chunk-P4P6J2SW.mjs";
|
|
12
|
-
import "../../../chunk-3W5H36HK.mjs";
|
|
13
|
-
import "../../../chunk-ZWV2O6CK.mjs";
|
|
14
|
-
import "../../../chunk-2L6AWG6R.mjs";
|
|
15
|
-
import "../../../chunk-EJJNYV7C.mjs";
|
|
16
|
-
import "../../../chunk-PRMR24PY.mjs";
|
|
17
|
-
import "../../../chunk-ZF2DELZ5.mjs";
|
|
18
|
-
import "../../../chunk-HI6QOZHR.mjs";
|
|
19
|
-
import "../../../chunk-ZED4UNH7.mjs";
|
|
20
|
-
import "../../../chunk-AOSO2JVA.mjs";
|
|
21
|
-
import "../../../chunk-4YSV633W.mjs";
|
|
22
|
-
import "../../../chunk-XGHUG2WQ.mjs";
|
|
23
|
-
import "../../../chunk-EMDTCDYI.mjs";
|
|
5
|
+
} from "../../../chunk-IM5B557Z.mjs";
|
|
6
|
+
import "../../../chunk-NUAJQK4H.mjs";
|
|
24
7
|
import "../../../chunk-WHCZTD2K.mjs";
|
|
8
|
+
import "../../../chunk-JWMQOARK.mjs";
|
|
9
|
+
import "../../../chunk-HNBHBFLY.mjs";
|
|
10
|
+
import "../../../chunk-F7JPOQIC.mjs";
|
|
11
|
+
import "../../../chunk-Y4KJTMKO.mjs";
|
|
12
|
+
import "../../../chunk-EMDTCDYI.mjs";
|
|
13
|
+
import "../../../chunk-PR24SSJK.mjs";
|
|
14
|
+
import "../../../chunk-TZH6L2OH.mjs";
|
|
15
|
+
import "../../../chunk-U6ZFUE5O.mjs";
|
|
16
|
+
import "../../../chunk-QXOHY4AT.mjs";
|
|
17
|
+
import "../../../chunk-QJGBUBSB.mjs";
|
|
18
|
+
import "../../../chunk-GR45UN4U.mjs";
|
|
19
|
+
import "../../../chunk-GXN5ZNBZ.mjs";
|
|
20
|
+
import "../../../chunk-MDG2I4PB.mjs";
|
|
25
21
|
import "../../../chunk-UQI2O3WS.mjs";
|
|
26
|
-
import "../../../chunk-
|
|
27
|
-
import "../../../chunk-
|
|
28
|
-
import "../../../chunk-
|
|
29
|
-
import "../../../chunk-
|
|
30
|
-
import "../../../chunk-
|
|
31
|
-
import "../../../chunk-
|
|
32
|
-
import "../../../chunk-
|
|
33
|
-
import "../../../chunk-
|
|
34
|
-
import "../../../chunk-
|
|
35
|
-
import "../../../chunk-
|
|
36
|
-
import "../../../chunk-
|
|
37
|
-
import "../../../chunk-
|
|
38
|
-
import "../../../chunk-
|
|
39
|
-
import "../../../chunk-
|
|
40
|
-
import "../../../chunk-
|
|
41
|
-
import "../../../chunk-
|
|
22
|
+
import "../../../chunk-V6VAVPKH.mjs";
|
|
23
|
+
import "../../../chunk-DPTILX6A.mjs";
|
|
24
|
+
import "../../../chunk-YUZYLKBD.mjs";
|
|
25
|
+
import "../../../chunk-GAWBCR4S.mjs";
|
|
26
|
+
import "../../../chunk-BXEALHGJ.mjs";
|
|
27
|
+
import "../../../chunk-AZ5MV7NO.mjs";
|
|
28
|
+
import "../../../chunk-ETV6EEYB.mjs";
|
|
29
|
+
import "../../../chunk-AKMJBGUU.mjs";
|
|
30
|
+
import "../../../chunk-PLFX66EX.mjs";
|
|
31
|
+
import "../../../chunk-EGCBZZGV.mjs";
|
|
32
|
+
import "../../../chunk-RV4VRLGN.mjs";
|
|
33
|
+
import "../../../chunk-DHB2L7O2.mjs";
|
|
34
|
+
import "../../../chunk-BMZG77IE.mjs";
|
|
35
|
+
import "../../../chunk-4JSM5VYZ.mjs";
|
|
36
|
+
import "../../../chunk-ZJB7AFL5.mjs";
|
|
37
|
+
import "../../../chunk-KHFPDDTO.mjs";
|
|
38
|
+
import "../../../chunk-AVNBD2X5.mjs";
|
|
39
|
+
import "../../../chunk-SNUES6JA.mjs";
|
|
40
|
+
import "../../../chunk-I2MVZVXE.mjs";
|
|
41
|
+
import "../../../chunk-WAR2OXXK.mjs";
|
|
42
|
+
import "../../../chunk-Q45EN2QB.mjs";
|
|
42
43
|
import "../../../chunk-ZFUPXIGR.mjs";
|
|
43
44
|
import "../../../chunk-2O772NVT.mjs";
|
|
44
45
|
import "../../../chunk-2WSYMVQW.mjs";
|
|
45
46
|
import "../../../chunk-CR4DEGH3.mjs";
|
|
46
47
|
import "../../../chunk-3DZ4U2OB.mjs";
|
|
47
|
-
import "../../../chunk-
|
|
48
|
-
import "../../../chunk-
|
|
49
|
-
import "../../../chunk-JCFLPLDK.mjs";
|
|
48
|
+
import "../../../chunk-CV7GOXGO.mjs";
|
|
49
|
+
import "../../../chunk-NNH7EC5Z.mjs";
|
|
50
50
|
import "../../../chunk-IBQBZNEA.mjs";
|
|
51
|
+
import "../../../chunk-JCFLPLDK.mjs";
|
|
51
52
|
import "../../../chunk-3VKPPG4Z.mjs";
|
|
52
53
|
import "../../../chunk-T2CLUB2R.mjs";
|
|
53
54
|
import "../../../chunk-6V75REDA.mjs";
|
|
@@ -68,10 +69,10 @@ import "../../../chunk-EQHAE4MP.mjs";
|
|
|
68
69
|
import "../../../chunk-SG5TVUD2.mjs";
|
|
69
70
|
import "../../../chunk-23N4BX45.mjs";
|
|
70
71
|
import "../../../chunk-6MKCSIL2.mjs";
|
|
71
|
-
import "../../../chunk-
|
|
72
|
+
import "../../../chunk-D5KV6INF.mjs";
|
|
73
|
+
import "../../../chunk-EPR27OQG.mjs";
|
|
72
74
|
import "../../../chunk-7GPVQAMX.mjs";
|
|
73
75
|
import "../../../chunk-HJCCUR2K.mjs";
|
|
74
|
-
import "../../../chunk-EPR27OQG.mjs";
|
|
75
76
|
import "../../../chunk-R7D7RJIE.mjs";
|
|
76
77
|
import "../../../chunk-YMZ2OUK6.mjs";
|
|
77
78
|
import "../../../chunk-EN2UUKLU.mjs";
|
|
@@ -81,7 +82,7 @@ import "../../../chunk-JHOP4BOK.mjs";
|
|
|
81
82
|
import "../../../chunk-ZSBTDL4H.mjs";
|
|
82
83
|
import "../../../chunk-KZPGX6CG.mjs";
|
|
83
84
|
import "../../../chunk-OZ77QF4K.mjs";
|
|
84
|
-
import "../../../chunk-
|
|
85
|
+
import "../../../chunk-6A7T3O6T.mjs";
|
|
85
86
|
import "../../../chunk-G3DHYJLD.mjs";
|
|
86
87
|
import "../../../chunk-HGJGZHAE.mjs";
|
|
87
88
|
import "../../../chunk-6DZX6EAA.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// src/components/
|
|
1
|
+
// src/components/Foundry/README-document-edit.md
|
|
2
2
|
var README_document_edit_default = "# Document Edit Component\n\nThe `DocumentEdit` component provides a comprehensive editing interface for knowledge documents with enhanced metadata management and intelligent suggestions.\n\n## Key Features\n\n### \u{1F3F7}\uFE0F Smart Metadata Management\n- **Editable Key-Value Pairs**: Add, edit, and remove metadata fields dynamically\n- **Context-based Suggestions**: Field names suggested from knowledge contexts and existing documents\n- **Value Autocomplete**: Common values suggested for known metadata fields\n- **Visual Guidance**: Shows which fields are commonly used for organization\n\n### \u{1F517} Knowledge Context Integration\n- **Context-aware Fields**: Suggests metadata keys based on knowledge context grouping rules\n- **Organizational Alignment**: Helps maintain consistency with existing document organization\n- **Cross-document Learning**: Learns from existing documents to suggest appropriate values\n\n### \u{1F4DD} Enhanced Editing Experience\n- **Streamlined Interface**: Clean, intuitive design focused on content creation\n- **Rich Metadata**: Support for flexible metadata schemas\n- **Format Support**: Works with markdown, MDX, rich text, and plain text formats\n- **Real-time Validation**: Immediate feedback on changes\n\n## Usage\n\n### Basic Usage\n\n```tsx\nimport { DocumentEdit } from './document-edit'\n\nconst document = {\n id: '1',\n title: 'My Document',\n description: 'Document description',\n format: 'markdown',\n metadata: { category: 'Development' },\n content: '# Hello World',\n createdAt: new Date()\n}\n\n<DocumentEdit\n document={document}\n onSave={(updatedDocument) => console.log('Saved:', updatedDocument)}\n onCancel={() => console.log('Cancelled')}\n/>\n```\n\n### With Knowledge Context Support\n\n```tsx\nimport { DocumentEdit } from './document-edit'\n\nconst knowledgeContexts = [\n {\n id: 'development',\n label: 'Development Docs',\n menuConfig: {\n groupBy: ['category', 'team', 'difficulty'],\n sortBy: 'updatedAt'\n }\n }\n]\n\nconst availableDocuments = [\n // ... existing documents for learning metadata patterns\n]\n\n<DocumentEdit\n document={document}\n onSave={handleSave}\n onCancel={handleCancel}\n availableDocuments={availableDocuments}\n knowledgeContexts={knowledgeContexts}\n/>\n```\n\n## Props\n\n### DocumentEditProps\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `document` | `KnowledgeDocument` | - | The document to edit |\n| `onSave` | `(document: KnowledgeDocument) => void` | - | Callback when document is saved |\n| `onCancel` | `() => void` | - | Callback when editing is cancelled |\n| `availableDocuments` | `KnowledgeDocument[]` | `[]` | Existing documents for metadata suggestions |\n| `knowledgeContexts` | `KnowledgeContext[]` | `[]` | Knowledge contexts for field suggestions |\n\n## Metadata Features\n\n### Suggested Fields\n\nThe component automatically suggests metadata field names based on:\n\n1. **Knowledge Context Grouping**: Fields used in `menuConfig.groupBy` arrays\n2. **Existing Documents**: Fields found in `metadata` of available documents\n3. **Common Patterns**: Frequently used organizational fields\n\nCommon suggested fields include:\n- `category` - Document category (Development, Design, Management, etc.)\n- `type` - Document type (Guide, Reference, Tutorial, etc.)\n- `team` - Responsible team (Frontend, Backend, DevOps, etc.)\n- `difficulty` - Complexity level (Beginner, Intermediate, Advanced)\n- `project` - Associated project name\n- `priority` - Priority level (High, Medium, Low)\n\n### Value Suggestions\n\nWhen editing metadata values:\n- **Dropdown Selection**: Shows common values for known fields\n- **Custom Input**: Option to enter custom values\n- **Learning System**: Builds suggestions from existing document metadata\n\n### Visual Feedback\n\n- **Context Hints**: Shows which fields come from knowledge contexts\n- **Value Previews**: Displays common values for each field\n- **Empty State**: Helpful guidance when no metadata exists yet\n\n## Integration Examples\n\n### With Document Browser\n\n```tsx\nfunction KnowledgeManager() {\n const [selectedDocument, setSelectedDocument] = useState(null)\n const [isEditing, setIsEditing] = useState(false)\n\n return (\n <div className=\"flex h-screen\">\n <KnowledgeBrowser\n documents={documents}\n contexts={knowledgeContexts}\n onDocumentClick={setSelectedDocument}\n />\n \n {isEditing ? (\n <DocumentEdit\n document={selectedDocument}\n availableDocuments={documents}\n knowledgeContexts={knowledgeContexts}\n onSave={(doc) => {\n updateDocument(doc)\n setIsEditing(false)\n }}\n onCancel={() => setIsEditing(false)}\n />\n ) : (\n <DocumentPreview\n document={selectedDocument}\n onEdit={() => setIsEditing(true)}\n />\n )}\n </div>\n )\n}\n```\n\n### Custom Metadata Schema\n\n```tsx\n// Define your organization's metadata schema\nconst metadataSchema = {\n category: ['Development', 'Design', 'Management', 'Operations'],\n priority: ['Critical', 'High', 'Medium', 'Low'],\n team: ['Frontend', 'Backend', 'DevOps', 'Design', 'Product'],\n status: ['Draft', 'Review', 'Approved', 'Published', 'Archived']\n}\n\n// Use with pre-populated documents that follow your schema\nconst documentsWithSchema = documents.map(doc => ({\n ...doc,\n metadata: {\n ...doc.metadata,\n category: doc.metadata?.category || 'Development',\n priority: doc.metadata?.priority || 'Medium'\n }\n}))\n```\n\n## Best Practices\n\n### Metadata Consistency\n1. **Define Schema Early**: Establish common metadata fields for your organization\n2. **Use Knowledge Contexts**: Align metadata with how documents are organized\n3. **Provide Examples**: Include sample documents with good metadata\n4. **Regular Review**: Periodically review and standardize metadata usage\n\n### User Experience\n1. **Progressive Enhancement**: Start with basic fields, add more as needed\n2. **Clear Labels**: Use descriptive field names that users understand\n3. **Helpful Defaults**: Pre-populate common fields when possible\n4. **Validation**: Provide feedback for required or invalid fields\n\n### Performance\n1. **Lazy Loading**: Load available documents only when needed\n2. **Debounced Suggestions**: Avoid excessive API calls for suggestions\n3. **Efficient Filtering**: Optimize metadata value lookups\n4. **Caching**: Cache frequently used metadata patterns\n\n## Migration from Tags\n\nIf migrating from a tag-based system:\n\n```tsx\n// Convert tags to metadata\nfunction convertTagsToMetadata(document) {\n const metadata = { ...document.metadata }\n \n if (document.tags) {\n // Convert common tag patterns to structured metadata\n document.tags.forEach(tag => {\n if (['beginner', 'intermediate', 'advanced'].includes(tag)) {\n metadata.difficulty = tag\n } else if (['frontend', 'backend', 'devops'].includes(tag)) {\n metadata.team = tag\n } else if (['guide', 'reference', 'tutorial'].includes(tag)) {\n metadata.type = tag\n }\n // Add remaining tags as topics or keywords array\n else {\n metadata.topics = metadata.topics || []\n metadata.topics.push(tag)\n }\n })\n }\n \n return { ...document, metadata }\n}\n```\n\n## Related Components\n\n- **DocumentPreview**: For viewing documents with metadata display\n- **KnowledgeBrowser**: For browsing documents organized by metadata\n- **KnowledgeSearch**: For searching documents by metadata fields\n- **KnowledgeView**: For complete knowledge management interfaces\n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../chunk-6DZX6EAA.mjs";
|
|
2
2
|
|
|
3
|
-
// src/components/
|
|
3
|
+
// src/components/Foundry/README-document-edit.md
|
|
4
4
|
var README_document_edit_default = "# Document Edit Component\n\nThe `DocumentEdit` component provides a comprehensive editing interface for knowledge documents with enhanced metadata management and intelligent suggestions.\n\n## Key Features\n\n### \u{1F3F7}\uFE0F Smart Metadata Management\n- **Editable Key-Value Pairs**: Add, edit, and remove metadata fields dynamically\n- **Context-based Suggestions**: Field names suggested from knowledge contexts and existing documents\n- **Value Autocomplete**: Common values suggested for known metadata fields\n- **Visual Guidance**: Shows which fields are commonly used for organization\n\n### \u{1F517} Knowledge Context Integration\n- **Context-aware Fields**: Suggests metadata keys based on knowledge context grouping rules\n- **Organizational Alignment**: Helps maintain consistency with existing document organization\n- **Cross-document Learning**: Learns from existing documents to suggest appropriate values\n\n### \u{1F4DD} Enhanced Editing Experience\n- **Streamlined Interface**: Clean, intuitive design focused on content creation\n- **Rich Metadata**: Support for flexible metadata schemas\n- **Format Support**: Works with markdown, MDX, rich text, and plain text formats\n- **Real-time Validation**: Immediate feedback on changes\n\n## Usage\n\n### Basic Usage\n\n```tsx\nimport { DocumentEdit } from './document-edit'\n\nconst document = {\n id: '1',\n title: 'My Document',\n description: 'Document description',\n format: 'markdown',\n metadata: { category: 'Development' },\n content: '# Hello World',\n createdAt: new Date()\n}\n\n<DocumentEdit\n document={document}\n onSave={(updatedDocument) => console.log('Saved:', updatedDocument)}\n onCancel={() => console.log('Cancelled')}\n/>\n```\n\n### With Knowledge Context Support\n\n```tsx\nimport { DocumentEdit } from './document-edit'\n\nconst knowledgeContexts = [\n {\n id: 'development',\n label: 'Development Docs',\n menuConfig: {\n groupBy: ['category', 'team', 'difficulty'],\n sortBy: 'updatedAt'\n }\n }\n]\n\nconst availableDocuments = [\n // ... existing documents for learning metadata patterns\n]\n\n<DocumentEdit\n document={document}\n onSave={handleSave}\n onCancel={handleCancel}\n availableDocuments={availableDocuments}\n knowledgeContexts={knowledgeContexts}\n/>\n```\n\n## Props\n\n### DocumentEditProps\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `document` | `KnowledgeDocument` | - | The document to edit |\n| `onSave` | `(document: KnowledgeDocument) => void` | - | Callback when document is saved |\n| `onCancel` | `() => void` | - | Callback when editing is cancelled |\n| `availableDocuments` | `KnowledgeDocument[]` | `[]` | Existing documents for metadata suggestions |\n| `knowledgeContexts` | `KnowledgeContext[]` | `[]` | Knowledge contexts for field suggestions |\n\n## Metadata Features\n\n### Suggested Fields\n\nThe component automatically suggests metadata field names based on:\n\n1. **Knowledge Context Grouping**: Fields used in `menuConfig.groupBy` arrays\n2. **Existing Documents**: Fields found in `metadata` of available documents\n3. **Common Patterns**: Frequently used organizational fields\n\nCommon suggested fields include:\n- `category` - Document category (Development, Design, Management, etc.)\n- `type` - Document type (Guide, Reference, Tutorial, etc.)\n- `team` - Responsible team (Frontend, Backend, DevOps, etc.)\n- `difficulty` - Complexity level (Beginner, Intermediate, Advanced)\n- `project` - Associated project name\n- `priority` - Priority level (High, Medium, Low)\n\n### Value Suggestions\n\nWhen editing metadata values:\n- **Dropdown Selection**: Shows common values for known fields\n- **Custom Input**: Option to enter custom values\n- **Learning System**: Builds suggestions from existing document metadata\n\n### Visual Feedback\n\n- **Context Hints**: Shows which fields come from knowledge contexts\n- **Value Previews**: Displays common values for each field\n- **Empty State**: Helpful guidance when no metadata exists yet\n\n## Integration Examples\n\n### With Document Browser\n\n```tsx\nfunction KnowledgeManager() {\n const [selectedDocument, setSelectedDocument] = useState(null)\n const [isEditing, setIsEditing] = useState(false)\n\n return (\n <div className=\"flex h-screen\">\n <KnowledgeBrowser\n documents={documents}\n contexts={knowledgeContexts}\n onDocumentClick={setSelectedDocument}\n />\n \n {isEditing ? (\n <DocumentEdit\n document={selectedDocument}\n availableDocuments={documents}\n knowledgeContexts={knowledgeContexts}\n onSave={(doc) => {\n updateDocument(doc)\n setIsEditing(false)\n }}\n onCancel={() => setIsEditing(false)}\n />\n ) : (\n <DocumentPreview\n document={selectedDocument}\n onEdit={() => setIsEditing(true)}\n />\n )}\n </div>\n )\n}\n```\n\n### Custom Metadata Schema\n\n```tsx\n// Define your organization's metadata schema\nconst metadataSchema = {\n category: ['Development', 'Design', 'Management', 'Operations'],\n priority: ['Critical', 'High', 'Medium', 'Low'],\n team: ['Frontend', 'Backend', 'DevOps', 'Design', 'Product'],\n status: ['Draft', 'Review', 'Approved', 'Published', 'Archived']\n}\n\n// Use with pre-populated documents that follow your schema\nconst documentsWithSchema = documents.map(doc => ({\n ...doc,\n metadata: {\n ...doc.metadata,\n category: doc.metadata?.category || 'Development',\n priority: doc.metadata?.priority || 'Medium'\n }\n}))\n```\n\n## Best Practices\n\n### Metadata Consistency\n1. **Define Schema Early**: Establish common metadata fields for your organization\n2. **Use Knowledge Contexts**: Align metadata with how documents are organized\n3. **Provide Examples**: Include sample documents with good metadata\n4. **Regular Review**: Periodically review and standardize metadata usage\n\n### User Experience\n1. **Progressive Enhancement**: Start with basic fields, add more as needed\n2. **Clear Labels**: Use descriptive field names that users understand\n3. **Helpful Defaults**: Pre-populate common fields when possible\n4. **Validation**: Provide feedback for required or invalid fields\n\n### Performance\n1. **Lazy Loading**: Load available documents only when needed\n2. **Debounced Suggestions**: Avoid excessive API calls for suggestions\n3. **Efficient Filtering**: Optimize metadata value lookups\n4. **Caching**: Cache frequently used metadata patterns\n\n## Migration from Tags\n\nIf migrating from a tag-based system:\n\n```tsx\n// Convert tags to metadata\nfunction convertTagsToMetadata(document) {\n const metadata = { ...document.metadata }\n \n if (document.tags) {\n // Convert common tag patterns to structured metadata\n document.tags.forEach(tag => {\n if (['beginner', 'intermediate', 'advanced'].includes(tag)) {\n metadata.difficulty = tag\n } else if (['frontend', 'backend', 'devops'].includes(tag)) {\n metadata.team = tag\n } else if (['guide', 'reference', 'tutorial'].includes(tag)) {\n metadata.type = tag\n }\n // Add remaining tags as topics or keywords array\n else {\n metadata.topics = metadata.topics || []\n metadata.topics.push(tag)\n }\n })\n }\n \n return { ...document, metadata }\n}\n```\n\n## Related Components\n\n- **DocumentPreview**: For viewing documents with metadata display\n- **KnowledgeBrowser**: For browsing documents organized by metadata\n- **KnowledgeSearch**: For searching documents by metadata fields\n- **KnowledgeView**: For complete knowledge management interfaces\n";
|
|
5
5
|
export {
|
|
6
6
|
README_document_edit_default as default
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// src/components/
|
|
1
|
+
// src/components/Foundry/README-document-preview.md
|
|
2
2
|
var README_document_preview_default = "# Document Preview Component\n\nThe `DocumentPreview` component displays knowledge documents with support for multiple file formats and custom renderers.\n\n## Supported Formats\n\n- **Markdown** (`.md`) - Standard markdown with basic formatting\n- **MDX** (`.mdx`) - Markdown with embedded React components \n- **RichText** - PayloadCMS rich text content\n- **Text** (`.txt`) - Plain text with preserved formatting\n\n## Usage\n\n### Basic Usage\n\n```tsx\nimport { DocumentPreview } from './document-preview'\n\nconst document = {\n id: '1',\n title: 'My Document',\n format: 'markdown',\n content: '# Hello World\\n\\nThis is **bold** text.',\n createdAt: new Date()\n}\n\n<DocumentPreview document={document} />\n```\n\n### With Custom Renderers\n\n```tsx\nimport { DocumentPreview } from './document-preview'\nimport ReactMarkdown from 'react-markdown'\nimport { RichText } from '@payloadcms/richtext-lexical/react'\n\nconst customRenderers = {\n markdown: (content: string) => (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <ReactMarkdown>{content}</ReactMarkdown>\n </div>\n ),\n \n richtext: (content: string) => {\n const richTextData = JSON.parse(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <RichText data={richTextData} />\n </div>\n )\n },\n \n text: (content: string) => (\n <pre className=\"whitespace-pre-wrap font-mono text-sm\">\n {content}\n </pre>\n )\n}\n\n<DocumentPreview\n document={document}\n renderers={customRenderers}\n editable={true}\n onDocumentUpdate={(updatedDoc) => console.log('Updated:', updatedDoc)}\n/>\n```\n\n## Available Dependencies\n\nThe project already includes these useful dependencies for rendering:\n\n- `@mdx-js/react` - For MDX rendering\n- `@payloadcms/richtext-lexical` - For PayloadCMS RichText\n- `@tailwindcss/typography` - For typography styling\n\n## Custom Renderer Examples\n\n### React Markdown\n\n```bash\nnpm install react-markdown remark-gfm rehype-highlight\n```\n\n```tsx\nimport ReactMarkdown from 'react-markdown'\nimport remarkGfm from 'remark-gfm'\nimport rehypeHighlight from 'rehype-highlight'\n\nconst markdownRenderer = (content: string) => (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <ReactMarkdown\n remarkPlugins={[remarkGfm]}\n rehypePlugins={[rehypeHighlight]}\n >\n {content}\n </ReactMarkdown>\n </div>\n)\n```\n\n### MDX with next-mdx-remote\n\n```bash\nnpm install next-mdx-remote\n```\n\n```tsx\nimport { MDXRemote } from 'next-mdx-remote'\nimport { serialize } from 'next-mdx-remote/serialize'\n\nconst mdxRenderer = async (content: string) => {\n const mdxSource = await serialize(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <MDXRemote {...mdxSource} />\n </div>\n )\n}\n```\n\n### PayloadCMS RichText\n\n```tsx\nimport { RichText } from '@payloadcms/richtext-lexical/react'\n\nconst richTextRenderer = (content: string) => {\n try {\n const richTextData = JSON.parse(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <RichText data={richTextData} />\n </div>\n )\n } catch (error) {\n return (\n <div className=\"text-red-500 text-sm\">\n Error parsing RichText content: {error.message}\n </div>\n )\n }\n}\n```\n\n## Props\n\n### DocumentPreview Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `document` | `KnowledgeDocument` | - | The document to display |\n| `editable` | `boolean` | `true` | Whether the document can be edited |\n| `renderers` | `DocumentRenderers` | - | Custom renderers for different formats |\n| `onDocumentUpdate` | `(doc: KnowledgeDocument) => void` | - | Callback when document is updated |\n\n### DocumentRenderers Type\n\n```tsx\ninterface DocumentRenderers {\n markdown?: (content: string) => ReactNode\n mdx?: (content: string) => ReactNode\n richtext?: (content: string) => ReactNode\n text?: (content: string) => ReactNode\n}\n```\n\n### KnowledgeDocument Type\n\n```tsx\ninterface KnowledgeDocument {\n id: string\n title: string\n description?: string\n metadata?: Record<string, any>\n content?: string\n format: 'markdown' | 'mdx' | 'richtext' | 'text'\n tags?: string[]\n createdAt: Date\n updatedAt?: Date\n}\n```\n\n## Default Renderers\n\nIf no custom renderers are provided, the component uses built-in default renderers:\n\n- **Markdown**: Basic HTML conversion with support for headings, bold, italic, and code\n- **Text**: Monospace font with preserved whitespace\n- **RichText**: Placeholder with raw content display\n- **MDX**: Placeholder with basic markdown rendering\n\n## Styling\n\nThe component uses Tailwind CSS classes and supports dark mode through CSS variables. Key styling features:\n\n- Responsive design\n- Typography classes from `@tailwindcms/typography`\n- Dark mode support\n- Smooth animations with Framer Motion\n- Consistent spacing and borders\n\n## Examples\n\nCheck out the Storybook stories for interactive examples:\n\n- `MarkdownWithCustomRenderer` - Markdown with enhanced rendering\n- `TextFormat` - Plain text documents\n- `RichTextFormat` - PayloadCMS rich content\n- `MDXFormat` - MDX with React components\n- `AllFormatsComparison` - Side-by-side format comparison\n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../chunk-6DZX6EAA.mjs";
|
|
2
2
|
|
|
3
|
-
// src/components/
|
|
3
|
+
// src/components/Foundry/README-document-preview.md
|
|
4
4
|
var README_document_preview_default = "# Document Preview Component\n\nThe `DocumentPreview` component displays knowledge documents with support for multiple file formats and custom renderers.\n\n## Supported Formats\n\n- **Markdown** (`.md`) - Standard markdown with basic formatting\n- **MDX** (`.mdx`) - Markdown with embedded React components \n- **RichText** - PayloadCMS rich text content\n- **Text** (`.txt`) - Plain text with preserved formatting\n\n## Usage\n\n### Basic Usage\n\n```tsx\nimport { DocumentPreview } from './document-preview'\n\nconst document = {\n id: '1',\n title: 'My Document',\n format: 'markdown',\n content: '# Hello World\\n\\nThis is **bold** text.',\n createdAt: new Date()\n}\n\n<DocumentPreview document={document} />\n```\n\n### With Custom Renderers\n\n```tsx\nimport { DocumentPreview } from './document-preview'\nimport ReactMarkdown from 'react-markdown'\nimport { RichText } from '@payloadcms/richtext-lexical/react'\n\nconst customRenderers = {\n markdown: (content: string) => (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <ReactMarkdown>{content}</ReactMarkdown>\n </div>\n ),\n \n richtext: (content: string) => {\n const richTextData = JSON.parse(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <RichText data={richTextData} />\n </div>\n )\n },\n \n text: (content: string) => (\n <pre className=\"whitespace-pre-wrap font-mono text-sm\">\n {content}\n </pre>\n )\n}\n\n<DocumentPreview\n document={document}\n renderers={customRenderers}\n editable={true}\n onDocumentUpdate={(updatedDoc) => console.log('Updated:', updatedDoc)}\n/>\n```\n\n## Available Dependencies\n\nThe project already includes these useful dependencies for rendering:\n\n- `@mdx-js/react` - For MDX rendering\n- `@payloadcms/richtext-lexical` - For PayloadCMS RichText\n- `@tailwindcss/typography` - For typography styling\n\n## Custom Renderer Examples\n\n### React Markdown\n\n```bash\nnpm install react-markdown remark-gfm rehype-highlight\n```\n\n```tsx\nimport ReactMarkdown from 'react-markdown'\nimport remarkGfm from 'remark-gfm'\nimport rehypeHighlight from 'rehype-highlight'\n\nconst markdownRenderer = (content: string) => (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <ReactMarkdown\n remarkPlugins={[remarkGfm]}\n rehypePlugins={[rehypeHighlight]}\n >\n {content}\n </ReactMarkdown>\n </div>\n)\n```\n\n### MDX with next-mdx-remote\n\n```bash\nnpm install next-mdx-remote\n```\n\n```tsx\nimport { MDXRemote } from 'next-mdx-remote'\nimport { serialize } from 'next-mdx-remote/serialize'\n\nconst mdxRenderer = async (content: string) => {\n const mdxSource = await serialize(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <MDXRemote {...mdxSource} />\n </div>\n )\n}\n```\n\n### PayloadCMS RichText\n\n```tsx\nimport { RichText } from '@payloadcms/richtext-lexical/react'\n\nconst richTextRenderer = (content: string) => {\n try {\n const richTextData = JSON.parse(content)\n return (\n <div className=\"prose prose-slate dark:prose-invert max-w-none\">\n <RichText data={richTextData} />\n </div>\n )\n } catch (error) {\n return (\n <div className=\"text-red-500 text-sm\">\n Error parsing RichText content: {error.message}\n </div>\n )\n }\n}\n```\n\n## Props\n\n### DocumentPreview Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `document` | `KnowledgeDocument` | - | The document to display |\n| `editable` | `boolean` | `true` | Whether the document can be edited |\n| `renderers` | `DocumentRenderers` | - | Custom renderers for different formats |\n| `onDocumentUpdate` | `(doc: KnowledgeDocument) => void` | - | Callback when document is updated |\n\n### DocumentRenderers Type\n\n```tsx\ninterface DocumentRenderers {\n markdown?: (content: string) => ReactNode\n mdx?: (content: string) => ReactNode\n richtext?: (content: string) => ReactNode\n text?: (content: string) => ReactNode\n}\n```\n\n### KnowledgeDocument Type\n\n```tsx\ninterface KnowledgeDocument {\n id: string\n title: string\n description?: string\n metadata?: Record<string, any>\n content?: string\n format: 'markdown' | 'mdx' | 'richtext' | 'text'\n tags?: string[]\n createdAt: Date\n updatedAt?: Date\n}\n```\n\n## Default Renderers\n\nIf no custom renderers are provided, the component uses built-in default renderers:\n\n- **Markdown**: Basic HTML conversion with support for headings, bold, italic, and code\n- **Text**: Monospace font with preserved whitespace\n- **RichText**: Placeholder with raw content display\n- **MDX**: Placeholder with basic markdown rendering\n\n## Styling\n\nThe component uses Tailwind CSS classes and supports dark mode through CSS variables. Key styling features:\n\n- Responsive design\n- Typography classes from `@tailwindcms/typography`\n- Dark mode support\n- Smooth animations with Framer Motion\n- Consistent spacing and borders\n\n## Examples\n\nCheck out the Storybook stories for interactive examples:\n\n- `MarkdownWithCustomRenderer` - Markdown with enhanced rendering\n- `TextFormat` - Plain text documents\n- `RichTextFormat` - PayloadCMS rich content\n- `MDXFormat` - MDX with React components\n- `AllFormatsComparison` - Side-by-side format comparison\n";
|
|
5
5
|
export {
|
|
6
6
|
README_document_preview_default as default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Bold.tsx
|
|
21
21
|
var Bold_exports = {};
|
|
22
22
|
__export(Bold_exports, {
|
|
23
23
|
default: () => Bold_default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Headings.tsx
|
|
21
21
|
var Headings_exports = {};
|
|
22
22
|
__export(Headings_exports, {
|
|
23
23
|
H1: () => H1,
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Italic.tsx
|
|
21
21
|
var Italic_exports = {};
|
|
22
22
|
__export(Italic_exports, {
|
|
23
23
|
default: () => Italic_default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/StrikeThrough.tsx
|
|
21
21
|
var StrikeThrough_exports = {};
|
|
22
22
|
__export(StrikeThrough_exports, {
|
|
23
23
|
default: () => StrikeThrough_default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Subscript.tsx
|
|
21
21
|
var Subscript_exports = {};
|
|
22
22
|
__export(Subscript_exports, {
|
|
23
23
|
default: () => Subscript_default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Superscript.tsx
|
|
21
21
|
var Superscript_exports = {};
|
|
22
22
|
__export(Superscript_exports, {
|
|
23
23
|
default: () => Superscript_default
|
|
@@ -17,7 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
|
-
// src/components/
|
|
20
|
+
// src/components/Foundry/RichText/Icons/Underline.tsx
|
|
21
21
|
var Underline_exports = {};
|
|
22
22
|
__export(Underline_exports, {
|
|
23
23
|
default: () => Underline_default
|
package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js
RENAMED
|
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
));
|
|
32
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
33
|
|
|
34
|
-
// src/components/
|
|
34
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
35
35
|
var RawUploadComponent_exports = {};
|
|
36
36
|
__export(RawUploadComponent_exports, {
|
|
37
37
|
default: () => RawUploadComponent_default
|
|
@@ -2534,7 +2534,7 @@ var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
2534
2534
|
) }));
|
|
2535
2535
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
2536
2536
|
|
|
2537
|
-
// src/components/
|
|
2537
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
2538
2538
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
2539
2539
|
var Component = (props) => {
|
|
2540
2540
|
const {
|
package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
RawUploadComponent_default
|
|
5
|
-
} from "../../../../../chunk-
|
|
5
|
+
} from "../../../../../chunk-KHFPDDTO.mjs";
|
|
6
6
|
import "../../../../../chunk-EN2UUKLU.mjs";
|
|
7
7
|
import "../../../../../chunk-BXLYIIII.mjs";
|
|
8
8
|
import "../../../../../chunk-JHOP4BOK.mjs";
|
|
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
));
|
|
32
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
33
|
|
|
34
|
-
// src/components/
|
|
34
|
+
// src/components/Foundry/RichText/index.tsx
|
|
35
35
|
var RichText_exports = {};
|
|
36
36
|
__export(RichText_exports, {
|
|
37
37
|
default: () => RichText_default
|
|
@@ -49,7 +49,7 @@ var import_rich_text2 = require("@payloadcms/richtext-lexical/lexical/rich-text"
|
|
|
49
49
|
var import_LexicalOnChangePlugin = require("@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin");
|
|
50
50
|
var import_react4 = require("react");
|
|
51
51
|
|
|
52
|
-
// src/components/
|
|
52
|
+
// src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
|
|
53
53
|
var import_LexicalComposerContext3 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
54
54
|
var import_utils7 = require("@payloadcms/richtext-lexical/lexical/utils");
|
|
55
55
|
var import_lexical3 = require("@payloadcms/richtext-lexical/lexical");
|
|
@@ -59,7 +59,7 @@ var import_lucide_react3 = require("lucide-react");
|
|
|
59
59
|
var import_react3 = require("react");
|
|
60
60
|
var import_rich_text = require("@payloadcms/richtext-lexical/lexical/rich-text");
|
|
61
61
|
|
|
62
|
-
// src/components/
|
|
62
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
63
63
|
var import_LexicalComposerContext2 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
64
64
|
var import_utils5 = require("@payloadcms/richtext-lexical/lexical/utils");
|
|
65
65
|
var import_lexical2 = require("@payloadcms/richtext-lexical/lexical");
|
|
@@ -2665,15 +2665,15 @@ var DialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2665
2665
|
));
|
|
2666
2666
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
2667
2667
|
|
|
2668
|
-
// src/components/
|
|
2668
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
2669
2669
|
var import_react_dialog = require("@radix-ui/react-dialog");
|
|
2670
2670
|
var import_client2 = require("@payloadcms/richtext-lexical/client");
|
|
2671
2671
|
|
|
2672
|
-
// src/components/
|
|
2672
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
2673
2673
|
var import_client = require("@payloadcms/richtext-lexical/client");
|
|
2674
2674
|
var import_bson_objectid = __toESM(require("bson-objectid"));
|
|
2675
2675
|
|
|
2676
|
-
// src/components/
|
|
2676
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
2677
2677
|
var import_ui = require("@payloadcms/ui");
|
|
2678
2678
|
var import_react = require("react");
|
|
2679
2679
|
var import_LexicalComposerContext = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
@@ -2701,7 +2701,7 @@ var TooltipContent = React4.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
2701
2701
|
) }));
|
|
2702
2702
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
2703
2703
|
|
|
2704
|
-
// src/components/
|
|
2704
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
2705
2705
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
2706
2706
|
var Component = (props) => {
|
|
2707
2707
|
const {
|
|
@@ -2797,7 +2797,7 @@ var Component = (props) => {
|
|
|
2797
2797
|
};
|
|
2798
2798
|
var RawUploadComponent_default = Component;
|
|
2799
2799
|
|
|
2800
|
-
// src/components/
|
|
2800
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
2801
2801
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
2802
2802
|
function $convertUploadElement(domNode) {
|
|
2803
2803
|
if (domNode.hasAttribute("data-lexical-upload-relation-to") && domNode.hasAttribute("data-lexical-upload-id")) {
|
|
@@ -2845,7 +2845,7 @@ function $createMyUploadNode(data) {
|
|
|
2845
2845
|
return new UploadNode({ data });
|
|
2846
2846
|
}
|
|
2847
2847
|
|
|
2848
|
-
// src/components/
|
|
2848
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
2849
2849
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
2850
2850
|
var CAN_USE_DOM = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
2851
2851
|
var getDOMSelection = (targetWindow) => CAN_USE_DOM ? (targetWindow || window).getSelection() : null;
|
|
@@ -3078,7 +3078,7 @@ function getDragSelection(event) {
|
|
|
3078
3078
|
return range;
|
|
3079
3079
|
}
|
|
3080
3080
|
|
|
3081
|
-
// src/components/
|
|
3081
|
+
// src/components/Foundry/RichText/Icons/Bold.tsx
|
|
3082
3082
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
3083
3083
|
var Bold = () => {
|
|
3084
3084
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
@@ -3104,7 +3104,7 @@ var Bold = () => {
|
|
|
3104
3104
|
};
|
|
3105
3105
|
var Bold_default = Bold;
|
|
3106
3106
|
|
|
3107
|
-
// src/components/
|
|
3107
|
+
// src/components/Foundry/RichText/Icons/Italic.tsx
|
|
3108
3108
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
3109
3109
|
var Italic = () => {
|
|
3110
3110
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
@@ -3130,7 +3130,7 @@ var Italic = () => {
|
|
|
3130
3130
|
};
|
|
3131
3131
|
var Italic_default = Italic;
|
|
3132
3132
|
|
|
3133
|
-
// src/components/
|
|
3133
|
+
// src/components/Foundry/RichText/Icons/Underline.tsx
|
|
3134
3134
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
3135
3135
|
var Underline = () => {
|
|
3136
3136
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
@@ -3159,7 +3159,7 @@ var Underline = () => {
|
|
|
3159
3159
|
};
|
|
3160
3160
|
var Underline_default = Underline;
|
|
3161
3161
|
|
|
3162
|
-
// src/components/
|
|
3162
|
+
// src/components/Foundry/RichText/Icons/StrikeThrough.tsx
|
|
3163
3163
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
3164
3164
|
var Strikethrough = () => {
|
|
3165
3165
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
@@ -3188,7 +3188,7 @@ var Strikethrough = () => {
|
|
|
3188
3188
|
};
|
|
3189
3189
|
var StrikeThrough_default = Strikethrough;
|
|
3190
3190
|
|
|
3191
|
-
// src/components/
|
|
3191
|
+
// src/components/Foundry/RichText/Icons/Subscript.tsx
|
|
3192
3192
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
3193
3193
|
var Subscript = () => {
|
|
3194
3194
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
@@ -3214,7 +3214,7 @@ var Subscript = () => {
|
|
|
3214
3214
|
};
|
|
3215
3215
|
var Subscript_default = Subscript;
|
|
3216
3216
|
|
|
3217
|
-
// src/components/
|
|
3217
|
+
// src/components/Foundry/RichText/Icons/Superscript.tsx
|
|
3218
3218
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
3219
3219
|
var Superscript = () => {
|
|
3220
3220
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
@@ -3240,7 +3240,7 @@ var Superscript = () => {
|
|
|
3240
3240
|
};
|
|
3241
3241
|
var Superscript_default = Superscript;
|
|
3242
3242
|
|
|
3243
|
-
// src/components/
|
|
3243
|
+
// src/components/Foundry/RichText/Icons/Headings.tsx
|
|
3244
3244
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
3245
3245
|
var TextIcon = () => {
|
|
3246
3246
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
@@ -3472,7 +3472,7 @@ var DropdownMenuShortcut = ({ className, ...props }) => {
|
|
|
3472
3472
|
};
|
|
3473
3473
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
3474
3474
|
|
|
3475
|
-
// src/components/
|
|
3475
|
+
// src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
|
|
3476
3476
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
3477
3477
|
var LowPriority = 1;
|
|
3478
3478
|
function Divider() {
|
|
@@ -3862,7 +3862,7 @@ function ToolbarPlugin() {
|
|
|
3862
3862
|
] }) });
|
|
3863
3863
|
}
|
|
3864
3864
|
|
|
3865
|
-
// src/components/
|
|
3865
|
+
// src/components/Foundry/RichText/index.tsx
|
|
3866
3866
|
var import_LexicalComposerContext4 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
3867
3867
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
3868
3868
|
var RichTextContent = ({ setValue, value, name, editable = true }) => {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
RichText_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
10
|
-
import "../../../chunk-
|
|
11
|
-
import "../../../chunk-
|
|
12
|
-
import "../../../chunk-
|
|
13
|
-
import "../../../chunk-
|
|
14
|
-
import "../../../chunk-
|
|
15
|
-
import "../../../chunk-
|
|
16
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-ETV6EEYB.mjs";
|
|
6
|
+
import "../../../chunk-AKMJBGUU.mjs";
|
|
7
|
+
import "../../../chunk-PLFX66EX.mjs";
|
|
8
|
+
import "../../../chunk-EGCBZZGV.mjs";
|
|
9
|
+
import "../../../chunk-RV4VRLGN.mjs";
|
|
10
|
+
import "../../../chunk-DHB2L7O2.mjs";
|
|
11
|
+
import "../../../chunk-BMZG77IE.mjs";
|
|
12
|
+
import "../../../chunk-4JSM5VYZ.mjs";
|
|
13
|
+
import "../../../chunk-ZJB7AFL5.mjs";
|
|
14
|
+
import "../../../chunk-KHFPDDTO.mjs";
|
|
15
|
+
import "../../../chunk-AVNBD2X5.mjs";
|
|
16
|
+
import "../../../chunk-SNUES6JA.mjs";
|
|
17
17
|
import "../../../chunk-C3RENDHG.mjs";
|
|
18
18
|
import "../../../chunk-3BYULUMU.mjs";
|
|
19
19
|
import "../../../chunk-YMZ2OUK6.mjs";
|
|
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
));
|
|
32
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
33
33
|
|
|
34
|
-
// src/components/
|
|
34
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
35
35
|
var image_node_exports = {};
|
|
36
36
|
__export(image_node_exports, {
|
|
37
37
|
$createMyUploadNode: () => $createMyUploadNode,
|
|
@@ -42,7 +42,7 @@ module.exports = __toCommonJS(image_node_exports);
|
|
|
42
42
|
var import_client = require("@payloadcms/richtext-lexical/client");
|
|
43
43
|
var import_bson_objectid = __toESM(require("bson-objectid"));
|
|
44
44
|
|
|
45
|
-
// src/components/
|
|
45
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
46
46
|
var import_ui = require("@payloadcms/ui");
|
|
47
47
|
var import_react = require("react");
|
|
48
48
|
var import_LexicalComposerContext = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
@@ -2540,7 +2540,7 @@ var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props },
|
|
|
2540
2540
|
) }));
|
|
2541
2541
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
2542
2542
|
|
|
2543
|
-
// src/components/
|
|
2543
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
2544
2544
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
2545
2545
|
var Component = (props) => {
|
|
2546
2546
|
const {
|
|
@@ -2636,7 +2636,7 @@ var Component = (props) => {
|
|
|
2636
2636
|
};
|
|
2637
2637
|
var RawUploadComponent_default = Component;
|
|
2638
2638
|
|
|
2639
|
-
// src/components/
|
|
2639
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
2640
2640
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
2641
2641
|
function $convertUploadElement(domNode) {
|
|
2642
2642
|
if (domNode.hasAttribute("data-lexical-upload-relation-to") && domNode.hasAttribute("data-lexical-upload-id")) {
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
$createMyUploadNode,
|
|
5
5
|
$isUploadNode,
|
|
6
6
|
UploadNode
|
|
7
|
-
} from "../../../../chunk-
|
|
8
|
-
import "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-ZJB7AFL5.mjs";
|
|
8
|
+
import "../../../../chunk-KHFPDDTO.mjs";
|
|
9
9
|
import "../../../../chunk-EN2UUKLU.mjs";
|
|
10
10
|
import "../../../../chunk-BXLYIIII.mjs";
|
|
11
11
|
import "../../../../chunk-JHOP4BOK.mjs";
|