@erxes/ui 3.3.3-next.3 → 3.3.3
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/README.md +56 -1
- package/chunks/chunk-27DB3V2L.js +10 -0
- package/chunks/chunk-2UIHFMOO.js +14 -0
- package/chunks/chunk-2VXTM7NQ.js +93 -0
- package/chunks/chunk-34R3Q65T.js +199 -0
- package/chunks/chunk-3GQN7K6A.js +225 -0
- package/chunks/chunk-3HIMHBLG.js +33 -0
- package/chunks/chunk-3J5VNBOP.js +13 -0
- package/chunks/chunk-3KAFS4LM.js +65 -0
- package/chunks/chunk-3WLTIKD7.js +124 -0
- package/chunks/chunk-43GXDTDI.js +16 -0
- package/chunks/chunk-45CVREXI.js +25 -0
- package/chunks/chunk-4ATZGPMG.js +28 -0
- package/chunks/chunk-4EIP6AVX.js +29 -0
- package/chunks/chunk-4GSYMR2A.js +31 -0
- package/chunks/chunk-4IUFKR3Z.js +43 -0
- package/chunks/chunk-4J36M6XR.js +14 -0
- package/chunks/chunk-4JJAB43E.js +7 -0
- package/chunks/chunk-4WSQJAH2.js +329 -0
- package/chunks/chunk-53UJM7YO.js +10 -0
- package/chunks/chunk-55FS4R5Q.js +12 -0
- package/chunks/chunk-5AYIRXXG.js +153 -0
- package/chunks/chunk-5BDR2SO5.js +15 -0
- package/chunks/chunk-5NH4WZCY.js +49 -0
- package/chunks/chunk-5U37WCDE.js +0 -0
- package/chunks/chunk-67XHII4F.js +160 -0
- package/chunks/chunk-6CKZMMTO.js +0 -0
- package/chunks/chunk-6FIFKPLP.js +37 -0
- package/chunks/chunk-6GO23OUL.js +49 -0
- package/chunks/chunk-6H233CIJ.js +15 -0
- package/chunks/chunk-6J2ZJOES.js +9 -0
- package/chunks/chunk-6JSVJV3E.js +0 -0
- package/chunks/chunk-6VR6SGPC.js +31 -0
- package/chunks/chunk-734JLHAF.js +24 -0
- package/chunks/chunk-73TX6ZQQ.js +18 -0
- package/chunks/chunk-76MIPBCD.js +0 -0
- package/chunks/chunk-7C7JTY65.js +0 -0
- package/chunks/chunk-7FIVWVHV.js +25 -0
- package/chunks/chunk-7GRGQLFS.js +264 -0
- package/chunks/chunk-7IPMUU22.js +64 -0
- package/chunks/chunk-7JHBMQN6.js +121 -0
- package/chunks/chunk-7QLWA64F.js +18 -0
- package/chunks/chunk-7T23XKCT.js +24 -0
- package/chunks/chunk-7TL2WV5V.js +150 -0
- package/chunks/chunk-7ZIALLII.js +77 -0
- package/chunks/chunk-A6CNIFNS.js +11 -0
- package/chunks/chunk-A6ID2P5A.js +47 -0
- package/chunks/chunk-AIRW6SHV.js +29 -0
- package/chunks/chunk-ALHJUUD5.js +12 -0
- package/chunks/chunk-ANRBWR3H.js +193 -0
- package/chunks/chunk-AQEBKBOC.js +32 -0
- package/chunks/chunk-ATAEEVLB.js +41 -0
- package/chunks/chunk-AV4CRRSS.js +109 -0
- package/chunks/chunk-B2CYD52N.js +11 -0
- package/chunks/chunk-B2WUSPB5.js +50 -0
- package/chunks/chunk-B55CLHA7.js +132 -0
- package/chunks/chunk-B6WEOYCY.js +11 -0
- package/chunks/chunk-BATNONIA.js +31 -0
- package/chunks/chunk-BJARUVP3.js +243 -0
- package/chunks/chunk-BNHHTDLC.js +49 -0
- package/chunks/chunk-BR6S5JY5.js +14 -0
- package/chunks/chunk-BR7WQVF4.js +7 -0
- package/chunks/chunk-C4TFL7CS.js +16 -0
- package/chunks/chunk-C6NKYLT3.js +58 -0
- package/chunks/chunk-CAV3X4PT.js +14 -0
- package/chunks/chunk-CPF6PSFR.js +56 -0
- package/chunks/chunk-CUFSLOE4.js +12 -0
- package/chunks/chunk-CV4DUVVL.js +33 -0
- package/chunks/chunk-CXEGOUML.js +324 -0
- package/chunks/chunk-D3VC2SRW.js +46 -0
- package/chunks/chunk-D63SZO4E.js +71 -0
- package/chunks/chunk-DCCZEG7Z.js +55 -0
- package/chunks/chunk-DHS7XAKB.js +23 -0
- package/chunks/chunk-DJMMAGMX.js +363 -0
- package/chunks/chunk-DKEJIAFP.js +11 -0
- package/chunks/chunk-DUSKF3PG.js +97 -0
- package/chunks/chunk-E545F45A.js +0 -0
- package/chunks/chunk-E5FW3ERE.js +207 -0
- package/chunks/chunk-ECYM7FVA.js +25 -0
- package/chunks/chunk-EEW7RLNA.js +87 -0
- package/chunks/chunk-EKACQ5FS.js +45 -0
- package/chunks/chunk-ELBCBP27.js +51 -0
- package/chunks/chunk-F2R6ZFEK.js +65 -0
- package/chunks/chunk-F2VATUUS.js +46 -0
- package/chunks/chunk-F7VYTUUZ.js +0 -0
- package/chunks/chunk-FDI6FB6D.js +13 -0
- package/chunks/chunk-FEXWVX6N.js +7 -0
- package/chunks/chunk-FEYF56QM.js +55 -0
- package/chunks/chunk-FIMKTPWK.js +71 -0
- package/chunks/chunk-FJLBHW7X.js +190 -0
- package/chunks/chunk-FJTUANXN.js +10 -0
- package/chunks/chunk-FL4BZTMQ.js +71 -0
- package/chunks/chunk-FSE4KVKE.js +74 -0
- package/chunks/chunk-FTTQ6J3Y.js +28 -0
- package/chunks/chunk-FWDXQCUE.js +0 -0
- package/chunks/chunk-G2QQZN4L.js +162 -0
- package/chunks/chunk-GAYFYYXL.js +14 -0
- package/chunks/chunk-GHBZJCIA.js +28 -0
- package/chunks/chunk-GIBFUQI4.js +8 -0
- package/chunks/chunk-GNV7UG3U.js +13 -0
- package/chunks/chunk-GTW4DI5C.js +28 -0
- package/chunks/chunk-GXARUX2O.js +19 -0
- package/chunks/chunk-GZNR5Y3B.js +0 -0
- package/chunks/chunk-H32OMVSR.js +8 -0
- package/chunks/chunk-H4LZWBS4.js +94 -0
- package/chunks/chunk-H5OTBPGB.js +14 -0
- package/chunks/chunk-HSEBNAEA.js +12 -0
- package/chunks/chunk-I2LZMWEI.js +118 -0
- package/chunks/chunk-I3G3HVMC.js +16 -0
- package/chunks/chunk-I3I7T4UD.js +21 -0
- package/chunks/chunk-I5PPLXSZ.js +125 -0
- package/chunks/chunk-IIK24XSW.js +601 -0
- package/chunks/chunk-IJVY23RC.js +20 -0
- package/chunks/chunk-IKDLWUZ7.js +19 -0
- package/chunks/chunk-IM5IHH3X.js +23 -0
- package/chunks/chunk-IMKAHINH.js +7 -0
- package/chunks/chunk-IN7H6TNM.js +28 -0
- package/chunks/chunk-IQR2LD6K.js +41 -0
- package/chunks/chunk-ITLNFLKR.js +35 -0
- package/chunks/chunk-IWPK637H.js +105 -0
- package/chunks/chunk-J4T4WIBM.js +51 -0
- package/chunks/chunk-J65EQMDN.js +76 -0
- package/chunks/chunk-J75NVPXJ.js +0 -0
- package/chunks/chunk-JKXVRU5D.js +26 -0
- package/chunks/chunk-JKZ776CQ.js +58 -0
- package/chunks/chunk-JPCD46D4.js +0 -0
- package/chunks/chunk-JSZTGL4T.js +7 -0
- package/chunks/chunk-JVFLCNKB.js +67 -0
- package/chunks/chunk-JWRKTKTI.js +57 -0
- package/chunks/chunk-K4QWFHHP.js +106 -0
- package/chunks/chunk-KK6WMCQJ.js +177 -0
- package/chunks/chunk-KT3H4JCX.js +80 -0
- package/chunks/chunk-KTBDECJI.js +62 -0
- package/chunks/chunk-KTNEDC7K.js +20 -0
- package/chunks/chunk-KW4MCMRZ.js +125 -0
- package/chunks/chunk-KXW36NG2.js +30 -0
- package/chunks/chunk-L5TCGIYY.js +42 -0
- package/chunks/chunk-LE4PIQPL.js +0 -0
- package/chunks/chunk-LPNW25XF.js +45 -0
- package/chunks/chunk-LVNNZDXL.js +59 -0
- package/chunks/chunk-M66JMKRR.js +11 -0
- package/chunks/chunk-MBEYRZZN.js +172 -0
- package/chunks/chunk-MM5MMNXN.js +19 -0
- package/chunks/chunk-MNNGKWCI.js +56 -0
- package/chunks/chunk-MSAEUPAX.js +35 -0
- package/chunks/chunk-MSSVDJPS.js +72 -0
- package/chunks/chunk-MWRDVBYJ.js +121 -0
- package/chunks/chunk-MZ4RKADP.js +27 -0
- package/chunks/chunk-N4UKAPHL.js +36 -0
- package/chunks/chunk-N6SOBDY7.js +11 -0
- package/chunks/chunk-NDGKMVC7.js +10 -0
- package/chunks/chunk-NDIVNBGK.js +212 -0
- package/chunks/chunk-NJFDVNW5.js +13 -0
- package/chunks/chunk-NJJVZ3JY.js +9 -0
- package/chunks/chunk-NLHLWEDB.js +92 -0
- package/chunks/chunk-NLJ6XLH7.js +6 -0
- package/chunks/chunk-NMKI4CJI.js +26 -0
- package/chunks/chunk-NNF3YJY2.js +70 -0
- package/chunks/chunk-NSAKTQ2Q.js +17 -0
- package/chunks/chunk-NUGJ3NYH.js +149 -0
- package/chunks/chunk-O365JEFR.js +30 -0
- package/chunks/chunk-O6IUPS6U.js +7 -0
- package/chunks/chunk-O735ESAQ.js +35 -0
- package/chunks/chunk-O76CR475.js +79 -0
- package/chunks/chunk-OADHO5WP.js +231 -0
- package/chunks/chunk-OKRWCATR.js +12 -0
- package/chunks/chunk-ONOUIZ6L.js +20 -0
- package/chunks/chunk-OOAGMFCJ.js +0 -0
- package/chunks/chunk-OQSM2FFV.js +37 -0
- package/chunks/chunk-OSSJ2FMG.js +9 -0
- package/chunks/chunk-P4R2CPUZ.js +164 -0
- package/chunks/chunk-PDVNR7LI.js +24 -0
- package/chunks/chunk-PHBECHTA.js +148 -0
- package/chunks/chunk-PNTO4UDY.js +0 -0
- package/chunks/chunk-PPQ4DIII.js +0 -0
- package/chunks/chunk-PPRBTD5G.js +38 -0
- package/chunks/chunk-PUDZPB4P.js +24 -0
- package/chunks/chunk-Q3CMFGM7.js +81 -0
- package/chunks/chunk-QPHY7OAH.js +13 -0
- package/chunks/chunk-QPJFUBIS.js +7 -0
- package/chunks/chunk-QS54MMOE.js +48 -0
- package/chunks/chunk-QTFBJ6EE.js +31 -0
- package/chunks/chunk-QTKFDPZO.js +7 -0
- package/chunks/chunk-QWLVJ3B3.js +40 -0
- package/chunks/chunk-QWNOJAU5.js +81 -0
- package/chunks/chunk-QY5RA3NM.js +19 -0
- package/chunks/chunk-R2RAAS4Y.js +39 -0
- package/chunks/chunk-R3MJDVPP.js +0 -0
- package/chunks/chunk-R3V3G4FN.js +59 -0
- package/chunks/chunk-R7LIWID7.js +73 -0
- package/chunks/chunk-R7PWUR7Z.js +84 -0
- package/chunks/chunk-RE6OMNXN.js +360 -0
- package/chunks/chunk-RGR6MIXH.js +64 -0
- package/chunks/chunk-RIDGCKXU.js +218 -0
- package/chunks/chunk-RREVMRKX.js +95 -0
- package/chunks/chunk-RRQDMDYQ.js +0 -0
- package/chunks/chunk-RTKGTC5M.js +21 -0
- package/chunks/chunk-S2HOHADT.js +20 -0
- package/chunks/chunk-S2UZYA2K.js +142 -0
- package/chunks/chunk-SBVVGYRA.js +23 -0
- package/chunks/chunk-SIWINSCP.js +0 -0
- package/chunks/chunk-SL6UK5XI.js +0 -0
- package/chunks/chunk-SN5JDDNY.js +184 -0
- package/chunks/chunk-SRNSMVXB.js +192 -0
- package/chunks/chunk-TDTZBA63.js +8987 -0
- package/chunks/chunk-TJZNYTTT.js +30 -0
- package/chunks/chunk-TRZXPKUK.js +17 -0
- package/chunks/chunk-TUQK5HP5.js +10 -0
- package/chunks/chunk-U363OCVD.js +61 -0
- package/chunks/chunk-U3Q5J7XQ.js +12 -0
- package/chunks/chunk-U64G5PZP.js +129 -0
- package/chunks/chunk-UD2ZXWEI.js +115 -0
- package/chunks/chunk-UKLVO5YZ.js +47 -0
- package/chunks/chunk-ULRPDB6S.js +79 -0
- package/chunks/chunk-UOEXGF6S.js +7 -0
- package/chunks/chunk-UQYVKPRU.js +6 -0
- package/chunks/chunk-UXDXIN6Q.js +65 -0
- package/chunks/chunk-UZREMEFG.js +10 -0
- package/chunks/chunk-VAQZFKAX.js +12 -0
- package/chunks/chunk-VBW6O2FL.js +51 -0
- package/chunks/chunk-VBZAZNZK.js +160 -0
- package/chunks/chunk-VZTFOYF3.js +65 -0
- package/chunks/chunk-W3NXVJX4.js +18 -0
- package/chunks/chunk-W5KVCFS2.js +126 -0
- package/chunks/chunk-WAES3OQO.js +21 -0
- package/chunks/chunk-WFVSF7GY.js +17 -0
- package/chunks/chunk-WJC7I7VI.js +58 -0
- package/chunks/chunk-WKBUEFOB.js +7 -0
- package/chunks/chunk-WLKDIP4Y.js +17 -0
- package/chunks/chunk-WS4SMSBU.js +244 -0
- package/chunks/chunk-WUKJ4QY7.js +14 -0
- package/chunks/chunk-WX3NKKHS.js +12 -0
- package/chunks/chunk-XBMSMK3U.js +0 -0
- package/chunks/chunk-XD4PKWF4.js +94 -0
- package/chunks/chunk-XD4TBZYB.js +44 -0
- package/chunks/chunk-XEQJYWZP.js +67 -0
- package/chunks/chunk-XHYJBJV7.js +0 -0
- package/chunks/chunk-XJKGUTA5.js +0 -0
- package/chunks/chunk-XQGH7WSU.js +18 -0
- package/chunks/chunk-XWJKQS3Q.js +60 -0
- package/chunks/chunk-XX3GPHFO.js +25 -0
- package/chunks/chunk-Y4PHXFJG.js +8 -0
- package/chunks/chunk-Y5IJGIV3.js +53 -0
- package/chunks/chunk-YDWH4BVW.js +9 -0
- package/chunks/chunk-YG5KZSTP.js +16 -0
- package/chunks/chunk-YH5K7V44.js +161 -0
- package/chunks/chunk-YLDPFS3W.js +78 -0
- package/chunks/chunk-YPVJURO4.js +84 -0
- package/chunks/chunk-YZMSGM54.js +9 -0
- package/chunks/chunk-YZNP3ZEJ.js +36 -0
- package/chunks/chunk-YZXFCISZ.js +54 -0
- package/chunks/chunk-Z2GG4YSV.js +49 -0
- package/chunks/chunk-Z3U4QH2C.js +9 -0
- package/chunks/chunk-Z4JRW5OO.js +0 -0
- package/chunks/chunk-ZBV3RCPW.js +19 -0
- package/chunks/chunk-ZF6XCB7I.js +140 -0
- package/chunks/chunk-ZOTE5P5Q.js +92 -0
- package/chunks/chunk-ZQBIGO4Q.js +30 -0
- package/chunks/chunk-ZRETEI5F.js +24 -0
- package/chunks/chunk-ZXLAVUFZ.js +56 -0
- package/components/accordion.js +9 -0
- package/components/alert-dialog.js +11 -0
- package/components/alert.js +9 -0
- package/components/avatar.js +11 -0
- package/components/background-gradient-animation.js +11 -0
- package/components/badge.js +13 -0
- package/components/breadcrumb.js +10 -0
- package/components/button.js +12 -0
- package/components/calendar.js +14 -0
- package/components/card.js +10 -0
- package/components/charts.js +19 -0
- package/components/checkbox.js +10 -0
- package/components/choicebox-group.d.ts +16 -0
- package/components/choicebox-group.js +265 -0
- package/components/collapsible.d.ts +10 -0
- package/components/collapsible.js +269 -0
- package/components/color-picker.d.ts +34 -0
- package/components/color-picker.js +267 -0
- package/components/combobox.d.ts +99 -0
- package/components/combobox.js +32 -0
- package/components/command-bar.js +11 -0
- package/components/command.d.ts +205 -0
- package/components/command.js +12 -0
- package/components/context-menu.js +9 -0
- package/components/copy-text.js +11 -0
- package/components/date-picker.d.ts +30 -0
- package/components/date-picker.js +14 -0
- package/components/dialog.js +11 -0
- package/components/drag-handle.d.ts +3 -0
- package/components/drag-handle.js +11 -0
- package/components/dropdown-menu.js +9 -0
- package/components/empty.js +9 -0
- package/components/erxes-logo-icon.js +8 -0
- package/components/form.js +10 -0
- package/components/hover-card.js +9 -0
- package/components/index.d.ts +59 -0
- package/components/index.js +505 -0
- package/components/info-card.js +12 -0
- package/components/input.js +13 -0
- package/components/kbd.js +10 -0
- package/components/label.js +9 -0
- package/components/multiselect.d.ts +72 -0
- package/components/multiselect.js +265 -0
- package/components/popover.js +11 -0
- package/components/radio-group.js +10 -0
- package/components/resizable.js +10 -0
- package/components/scroll-area.js +9 -0
- package/components/search-order-select.js +11 -0
- package/components/select.js +10 -0
- package/components/separator.js +9 -0
- package/components/sheet.js +15 -0
- package/components/sidebar/constants.js +24 -0
- package/components/sidebar/context.d.ts +26 -0
- package/components/sidebar/context.js +25 -0
- package/components/sidebar/group.js +15 -0
- package/components/sidebar/hooks.js +6 -0
- package/components/sidebar/layout.js +20 -0
- package/components/sidebar/menu-sub.js +15 -0
- package/components/sidebar/menu.d.ts +22 -0
- package/components/sidebar/menu.js +33 -0
- package/components/sidebar/panel.d.ts +6 -0
- package/components/sidebar/panel.js +16 -0
- package/components/sidebar/root.js +29 -0
- package/components/sidebar/trigger.d.ts +2 -0
- package/components/sidebar/trigger.js +24 -0
- package/components/sidebar-tree-indicator.js +11 -0
- package/components/sidebar.d.ts +78 -0
- package/components/sidebar.js +39 -0
- package/components/skeleton.js +11 -0
- package/components/slider.js +10 -0
- package/components/spinner.js +10 -0
- package/components/stepper.js +10 -0
- package/components/string-array.js +14 -0
- package/components/switch.js +9 -0
- package/components/table.js +9 -0
- package/components/tabs.js +10 -0
- package/components/text-overflow.js +12 -0
- package/components/textarea.js +9 -0
- package/components/time-picker.js +16 -0
- package/components/toaster.js +11 -0
- package/components/toasts.js +9 -0
- package/components/toggle-group.js +10 -0
- package/components/toggle.js +11 -0
- package/components/tooltip.js +9 -0
- package/components/upload-new.d.ts +16 -0
- package/components/upload-new.js +22 -0
- package/components/upload.d.ts +23 -0
- package/components/upload.js +265 -0
- package/constants/AttachmentGql.js +6 -0
- package/constants/CountryPhoneCodes.d.ts +2 -0
- package/constants/CountryPhoneCodes.js +6 -0
- package/constants/CurrencyCodes.d.ts +6 -0
- package/constants/CurrencyCodes.js +6 -0
- package/constants/EmailValidationStatusInfos.js +10 -0
- package/constants/GraphqlConstants.js +10 -0
- package/constants/IanaTimeZones.js +6 -0
- package/constants/IntlLanguages.js +6 -0
- package/constants/PhoneValidationStatusInfos.js +10 -0
- package/constants/SexCodes.d.ts +4 -0
- package/constants/SexCodes.js +18 -0
- package/constants/index.d.ts +5 -0
- package/constants/index.js +39 -0
- package/hooks/index.d.ts +9 -0
- package/hooks/index.js +301 -0
- package/hooks/use-confirm.d.ts +29 -0
- package/hooks/use-confirm.js +267 -0
- package/hooks/use-cursor-pagination.js +34 -0
- package/hooks/use-is-matching-location.js +8 -0
- package/hooks/use-media-query.js +8 -0
- package/hooks/use-mobile.js +9 -0
- package/hooks/use-query-state.js +16 -0
- package/hooks/use-toast.d.ts +21 -0
- package/hooks/use-toast.js +10 -0
- package/hooks/use-upload-chunked.js +33 -0
- package/hooks/use-upload-new.js +35 -0
- package/hooks/use-upload.js +265 -0
- package/index.d.ts +8 -0
- package/index.js +1013 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +13 -0
- package/lib/utils.js +12 -0
- package/modules/attachments/attachments.d.ts +38 -0
- package/modules/attachments/attachments.js +265 -0
- package/modules/attachments/context.d.ts +12 -0
- package/modules/attachments/context.js +10 -0
- package/modules/attachments/index.d.ts +5 -0
- package/modules/attachments/index.js +271 -0
- package/modules/attachments/types.js +6 -0
- package/modules/blocks/components/BarcodeAttribute.js +265 -0
- package/modules/blocks/components/BlockEditor.d.ts +42 -0
- package/modules/blocks/components/BlockEditor.js +269 -0
- package/modules/blocks/components/BlockEditorReadOnly.js +265 -0
- package/modules/blocks/components/CustomFileBlock.js +265 -0
- package/modules/blocks/components/CustomImageBlock.js +267 -0
- package/modules/blocks/components/CustomVideoBlock.js +36 -0
- package/modules/blocks/components/DocumentPlaceholderBlock.js +8 -0
- package/modules/blocks/components/Editor.d.ts +2 -0
- package/modules/blocks/components/Editor.js +265 -0
- package/modules/blocks/components/FontFamilyButton.js +10 -0
- package/modules/blocks/components/GalleryBlock.js +265 -0
- package/modules/blocks/components/ImageStyleButton.js +265 -0
- package/modules/blocks/components/SlashMenu.js +265 -0
- package/modules/blocks/components/SuggestionMenu.js +267 -0
- package/modules/blocks/components/TableHandleWithRemove.js +8 -0
- package/modules/blocks/components/Toolbar.js +265 -0
- package/modules/blocks/components/index.d.ts +6 -0
- package/modules/blocks/components/index.js +281 -0
- package/modules/blocks/components/toolbar/ToolbarContents.d.ts +1 -0
- package/modules/blocks/components/toolbar/ToolbarContents.js +265 -0
- package/modules/blocks/components/toolbar/ToolbarRoot.d.ts +2 -0
- package/modules/blocks/components/toolbar/ToolbarRoot.js +10 -0
- package/modules/blocks/components/toolbar/buttons/ToolbarButton.d.ts +1 -0
- package/modules/blocks/components/toolbar/buttons/ToolbarButton.js +265 -0
- package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.d.ts +2 -0
- package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.js +10 -0
- package/modules/blocks/components/toolbar/buttons/ToolbarToggle.js +265 -0
- package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.d.ts +2 -0
- package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.js +10 -0
- package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.d.ts +2 -0
- package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.js +265 -0
- package/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +2 -0
- package/modules/blocks/components/toolbar/menus/ToolbarSelect.js +265 -0
- package/modules/blocks/constant/blockEditorSchema.d.ts +714 -0
- package/modules/blocks/constant/blockEditorSchema.js +267 -0
- package/modules/blocks/constant/index.d.ts +1 -0
- package/modules/blocks/constant/index.js +269 -0
- package/modules/blocks/constant/toolbar/codeIncompatibleControls.d.ts +1 -0
- package/modules/blocks/constant/toolbar/codeIncompatibleControls.js +6 -0
- package/modules/blocks/constant/toolbar/editorUIComponents.js +263 -0
- package/modules/blocks/constant/toolbar/fontFamilies.d.ts +4 -0
- package/modules/blocks/constant/toolbar/fontFamilies.js +6 -0
- package/modules/blocks/constant/toolbar/imageStyleOptions.d.ts +2 -0
- package/modules/blocks/constant/toolbar/imageStyleOptions.js +6 -0
- package/modules/blocks/hooks/toolbar/useCodeActive.d.ts +1 -0
- package/modules/blocks/hooks/toolbar/useCodeActive.js +7 -0
- package/modules/blocks/hooks/toolbar/useFontFamily.d.ts +2 -0
- package/modules/blocks/hooks/toolbar/useFontFamily.js +7 -0
- package/modules/blocks/hooks/toolbar/useToolbarComponents.d.ts +2 -0
- package/modules/blocks/hooks/toolbar/useToolbarComponents.js +264 -0
- package/modules/blocks/hooks/useBlockEditor.d.ts +7 -0
- package/modules/blocks/hooks/useBlockEditor.js +265 -0
- package/modules/blocks/index.d.ts +5 -0
- package/modules/blocks/index.js +298 -0
- package/modules/blocks/types/EditorBlock.d.ts +2 -0
- package/modules/blocks/types/EditorBlock.js +0 -0
- package/modules/blocks/types/TextEditor.d.ts +29 -0
- package/modules/blocks/types/TextEditor.js +1 -0
- package/modules/blocks/types/index.d.ts +1 -0
- package/modules/blocks/types/index.js +4 -0
- package/modules/blocks/types/toolbar/EditorVisibleBounds.d.ts +6 -0
- package/modules/blocks/types/toolbar/EditorVisibleBounds.js +0 -0
- package/modules/blocks/types/toolbar/FontFamily.d.ts +5 -0
- package/modules/blocks/types/toolbar/FontFamily.js +0 -0
- package/modules/blocks/types/toolbar/FormattingShortcut.d.ts +7 -0
- package/modules/blocks/types/toolbar/FormattingShortcut.js +0 -0
- package/modules/blocks/types/toolbar/ImageStyleOption.d.ts +7 -0
- package/modules/blocks/types/toolbar/ImageStyleOption.js +0 -0
- package/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.d.ts +5 -0
- package/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.js +0 -0
- package/modules/blocks/types/toolbar/ToolbarMenuItemProps.d.ts +4 -0
- package/modules/blocks/types/toolbar/ToolbarMenuItemProps.js +0 -0
- package/modules/blocks/types/toolbar/ToolbarPositioningOptions.d.ts +3 -0
- package/modules/blocks/types/toolbar/ToolbarPositioningOptions.js +0 -0
- package/modules/blocks/utils/getBlockAttachments.js +6 -0
- package/modules/blocks/utils/getMentionedUserIds.js +6 -0
- package/modules/blocks/utils/getSlashMenuItems.d.ts +3 -0
- package/modules/blocks/utils/getSlashMenuItems.js +8 -0
- package/modules/blocks/utils/index.d.ts +3 -0
- package/modules/blocks/utils/index.js +17 -0
- package/modules/blocks/utils/isEmptyBlock.d.ts +2 -0
- package/modules/blocks/utils/isEmptyBlock.js +6 -0
- package/modules/blocks/utils/parseBlocks.js +6 -0
- package/modules/blocks/utils/removeCodeFormattingFromHTML.d.ts +1 -0
- package/modules/blocks/utils/removeCodeFormattingFromHTML.js +6 -0
- package/modules/blocks/utils/toolbar/getEditorVisibleBounds.d.ts +2 -0
- package/modules/blocks/utils/toolbar/getEditorVisibleBounds.js +6 -0
- package/modules/blocks/utils/toolbar/getToolbarPositioning.d.ts +2 -0
- package/modules/blocks/utils/toolbar/getToolbarPositioning.js +7 -0
- package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.d.ts +2 -0
- package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.js +6 -0
- package/modules/board/components/Board.d.ts +22 -0
- package/modules/board/components/Board.js +269 -0
- package/modules/board/contexts/BoardContext.d.ts +2 -0
- package/modules/board/contexts/BoardContext.js +6 -0
- package/modules/board/index.d.ts +2 -0
- package/modules/board/index.js +269 -0
- package/modules/board/states/boardStates.js +8 -0
- package/modules/board/types/boardTypes.js +1 -0
- package/modules/chat-viz/components/ChatVizArea.d.ts +9 -0
- package/modules/chat-viz/components/ChatVizArea.js +13 -0
- package/modules/chat-viz/components/ChatVizBar.d.ts +9 -0
- package/modules/chat-viz/components/ChatVizBar.js +13 -0
- package/modules/chat-viz/components/ChatVizCartesianDecorations.js +11 -0
- package/modules/chat-viz/components/ChatVizLine.d.ts +9 -0
- package/modules/chat-viz/components/ChatVizLine.js +13 -0
- package/modules/chat-viz/components/ChatVizMessage.js +21 -0
- package/modules/chat-viz/components/ChatVizPie.d.ts +13 -0
- package/modules/chat-viz/components/ChatVizPie.js +12 -0
- package/modules/chat-viz/components/ChatVizSendButton.d.ts +17 -0
- package/modules/chat-viz/components/ChatVizSendButton.js +12 -0
- package/modules/chat-viz/hooks/useChatVizSend.d.ts +11 -0
- package/modules/chat-viz/hooks/useChatVizSend.js +8 -0
- package/modules/chat-viz/hooks/useIsClient.js +7 -0
- package/modules/chat-viz/index.d.ts +12 -0
- package/modules/chat-viz/index.js +60 -0
- package/modules/chat-viz/types/chatVizTypes.js +0 -0
- package/modules/chat-viz/utils/chartVizPresentation.js +10 -0
- package/modules/chat-viz/utils/chartVizTransforms.d.ts +19 -0
- package/modules/chat-viz/utils/chartVizTransforms.js +11 -0
- package/modules/chat-viz/utils/chatVizSanitize.d.ts +25 -0
- package/modules/chat-viz/utils/chatVizSanitize.js +10 -0
- package/modules/display/components/CurrencyDisplay.d.ts +15 -0
- package/modules/display/components/CurrencyDisplay.js +40 -0
- package/modules/display/components/EllipsisDisplay.js +10 -0
- package/modules/display/components/EmailDisplay.d.ts +2 -0
- package/modules/display/components/EmailDisplay.js +265 -0
- package/modules/display/components/PhoneDisplay.d.ts +2 -0
- package/modules/display/components/PhoneDisplay.js +265 -0
- package/modules/display/components/RelativeDateDisplay.js +265 -0
- package/modules/display/components/SexDisplay.d.ts +4 -0
- package/modules/display/components/SexDisplay.js +26 -0
- package/modules/display/index.d.ts +6 -0
- package/modules/display/index.js +280 -0
- package/modules/display/types/emailDisplay.d.ts +6 -0
- package/modules/display/types/emailDisplay.js +0 -0
- package/modules/display/utils/formatEmails.d.ts +3 -0
- package/modules/display/utils/formatEmails.js +6 -0
- package/modules/display/utils/formatPhones.d.ts +3 -0
- package/modules/display/utils/formatPhones.js +18 -0
- package/modules/email-editor/components/EmailEditor.d.ts +3 -0
- package/modules/email-editor/components/EmailEditor.js +267 -0
- package/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +7 -0
- package/modules/email-editor/components/EmailPreviewDeviceToggle.js +265 -0
- package/modules/email-editor/components/EmailPreviewFrame.d.ts +8 -0
- package/modules/email-editor/components/EmailPreviewFrame.js +10 -0
- package/modules/email-editor/components/EmailTableBackground.js +265 -0
- package/modules/email-editor/components/EmailTableToolbar.js +265 -0
- package/modules/email-editor/components/index.d.ts +3 -0
- package/modules/email-editor/components/index.js +272 -0
- package/modules/email-editor/constant/index.js +9 -0
- package/modules/email-editor/extensions/documentPlaceholder.js +6 -0
- package/modules/email-editor/extensions/documentPlaceholderBlock.js +12 -0
- package/modules/email-editor/extensions/table.js +16 -0
- package/modules/email-editor/extensions/tableBlock.js +8 -0
- package/modules/email-editor/hooks/useEmailHtml.js +9 -0
- package/modules/email-editor/index.d.ts +6 -0
- package/modules/email-editor/index.js +286 -0
- package/modules/email-editor/types/index.js +3 -0
- package/modules/email-editor/utils/expandCustomNodes.js +6 -0
- package/modules/email-editor/utils/renderEmailHtml.js +7 -0
- package/modules/filter/components/Filter.d.ts +909 -0
- package/modules/filter/components/Filter.js +265 -0
- package/modules/filter/context/FilterContext.d.ts +2 -0
- package/modules/filter/context/FilterContext.js +8 -0
- package/modules/filter/date-filter/components/DateFilterCommand.js +265 -0
- package/modules/filter/date-filter/components/DialogDateView.js +267 -0
- package/modules/filter/date-filter/constants/dateTypes.js +12 -0
- package/modules/filter/date-filter/index.d.ts +2 -0
- package/modules/filter/date-filter/index.js +270 -0
- package/modules/filter/date-filter/utils/dateTokens.js +8 -0
- package/modules/filter/date-filter/utils/getActiveTab.js +7 -0
- package/modules/filter/date-filter/utils/getDisplayValue.js +8 -0
- package/modules/filter/date-filter/utils/getYears.js +6 -0
- package/modules/filter/date-filter/utils/parseDateRangeFromString.js +34 -0
- package/modules/filter/hooks/useFilterContext.d.ts +1 -0
- package/modules/filter/hooks/useFilterContext.js +9 -0
- package/modules/filter/hooks/useFilterQueryState.d.ts +4 -0
- package/modules/filter/hooks/useFilterQueryState.js +10 -0
- package/modules/filter/index.d.ts +5 -0
- package/modules/filter/index.js +278 -0
- package/modules/filter/states/filterStates.js +14 -0
- package/modules/filter/types/filter.js +1 -0
- package/modules/focus-sheet/components/focus-sheet.d.ts +51 -0
- package/modules/focus-sheet/components/focus-sheet.js +267 -0
- package/modules/hotkey/components/PopoverScoped.d.ts +10 -0
- package/modules/hotkey/components/PopoverScoped.js +265 -0
- package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +2 -0
- package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +6 -0
- package/modules/hotkey/constants/initialHotkeysScope.d.ts +2 -0
- package/modules/hotkey/constants/initialHotkeysScope.js +7 -0
- package/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +5 -0
- package/modules/hotkey/hooks/usePreviousHotkeyScope.js +19 -0
- package/modules/hotkey/hooks/useScopedHotKeysCallback.js +12 -0
- package/modules/hotkey/hooks/useScopedHotkeys.js +13 -0
- package/modules/hotkey/hooks/useSequenceHotkeys.js +21 -0
- package/modules/hotkey/hooks/useSetHotkeyScope.d.ts +2 -0
- package/modules/hotkey/hooks/useSetHotkeyScope.js +17 -0
- package/modules/hotkey/index.d.ts +13 -0
- package/modules/hotkey/index.js +297 -0
- package/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +4 -0
- package/modules/hotkey/states/internal/currentHotkeyScopeState.js +8 -0
- package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +6 -0
- package/modules/hotkey/states/internal/pendingHotkeyState.js +6 -0
- package/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +2 -0
- package/modules/hotkey/states/internal/previousHotkeyScopeState.js +6 -0
- package/modules/hotkey/states/setHotkeyScopeState.d.ts +5 -0
- package/modules/hotkey/states/setHotkeyScopeState.js +12 -0
- package/modules/hotkey/types/AppHotkeyScope.js +6 -0
- package/modules/hotkey/types/CustomHotkeyScope.js +1 -0
- package/modules/hotkey/types/HotkeyScope.d.ts +5 -0
- package/modules/hotkey/types/HotkeyScope.js +1 -0
- package/modules/hotkey/utils/isNonTextWritingKey.js +6 -0
- package/modules/icons/components/IconComponent.js +10 -0
- package/modules/icons/components/IconPicker.d.ts +6 -0
- package/modules/icons/components/IconPicker.js +265 -0
- package/modules/icons/components/TablerIcons.js +592 -0
- package/modules/icons/hooks/useIcons.js +8 -0
- package/modules/icons/index.d.ts +3 -0
- package/modules/icons/index.js +271 -0
- package/modules/icons/providers/IconsProvider.js +9 -0
- package/modules/icons/states/iconsState.js +6 -0
- package/modules/index.d.ts +22 -0
- package/modules/index.js +590 -0
- package/modules/inputs/components/CurrencyField.d.ts +442 -0
- package/modules/inputs/components/CurrencyField.js +265 -0
- package/modules/inputs/components/EmailField.d.ts +30 -0
- package/modules/inputs/components/EmailField.js +267 -0
- package/modules/inputs/components/FullNameField.js +267 -0
- package/modules/inputs/components/LanguageSelect.d.ts +7 -0
- package/modules/inputs/components/LanguageSelect.js +265 -0
- package/modules/inputs/components/NumberField.js +10 -0
- package/modules/inputs/components/PhoneField.d.ts +56 -0
- package/modules/inputs/components/PhoneField.js +267 -0
- package/modules/inputs/components/SexField.d.ts +5 -0
- package/modules/inputs/components/SexField.js +265 -0
- package/modules/inputs/components/TimezoneSelect.d.ts +7 -0
- package/modules/inputs/components/TimezoneSelect.js +265 -0
- package/modules/inputs/contexts/EmailFieldsContext.d.ts +8 -0
- package/modules/inputs/contexts/EmailFieldsContext.js +8 -0
- package/modules/inputs/contexts/FullNameFieldContext.js +8 -0
- package/modules/inputs/contexts/PhoneFieldsContext.d.ts +6 -0
- package/modules/inputs/contexts/PhoneFieldsContext.js +8 -0
- package/modules/inputs/hooks/useEmailFields.d.ts +6 -0
- package/modules/inputs/hooks/useEmailFields.js +9 -0
- package/modules/inputs/hooks/useFullNameField.js +9 -0
- package/modules/inputs/hooks/usePhoneFields.d.ts +5 -0
- package/modules/inputs/hooks/usePhoneFields.js +9 -0
- package/modules/inputs/index.d.ts +8 -0
- package/modules/inputs/index.js +286 -0
- package/modules/inputs/states/emailFieldStates.d.ts +8 -0
- package/modules/inputs/states/emailFieldStates.js +10 -0
- package/modules/inputs/states/phoneFieldStates.d.ts +8 -0
- package/modules/inputs/states/phoneFieldStates.js +10 -0
- package/modules/inputs/validations/emailValidation.js +6 -0
- package/modules/inputs/validations/phoneValidation.js +6 -0
- package/modules/layout/components/AppLayout.js +42 -0
- package/modules/layout/components/Page.js +12 -0
- package/modules/layout/index.d.ts +2 -0
- package/modules/layout/index.js +49 -0
- package/modules/motion/components/TextEffect.js +10 -0
- package/modules/motion/components/TextLoop.js +10 -0
- package/modules/motion/index.d.ts +2 -0
- package/modules/motion/index.js +15 -0
- package/modules/navigation-menu/components/NavigationMenu.js +271 -0
- package/modules/navigation-menu/components/NavigationMenuItemControls.js +10 -0
- package/modules/navigation-menu/index.d.ts +3 -0
- package/modules/navigation-menu/index.js +279 -0
- package/modules/navigation-menu/states/activePluginState.js +8 -0
- package/modules/preview/components/Preview.js +269 -0
- package/modules/preview/context/PreviewContext.js +10 -0
- package/modules/record-field/components/NumberField.d.ts +18 -0
- package/modules/record-field/components/NumberField.js +265 -0
- package/modules/record-field/components/TextField.d.ts +17 -0
- package/modules/record-field/components/TextField.js +265 -0
- package/modules/record-field/index.d.ts +3 -0
- package/modules/record-field/index.js +269 -0
- package/modules/record-field/meta-inputs/components/EmailVerificationInput.js +363 -0
- package/modules/record-field/meta-inputs/components/PhoneInput.js +265 -0
- package/modules/record-field/meta-inputs/components/PhoneVerificationInput.js +341 -0
- package/modules/record-field/meta-inputs/components/TextFieldInput.js +284 -0
- package/modules/record-table/components/CheckboxColumn.js +11 -0
- package/modules/record-table/components/MoreColumn.d.ts +3 -0
- package/modules/record-table/components/MoreColumn.js +265 -0
- package/modules/record-table/components/RecordTableArrowEffect.js +265 -0
- package/modules/record-table/components/RecordTableCell.js +265 -0
- package/modules/record-table/components/RecordTableCellInline.d.ts +14 -0
- package/modules/record-table/components/RecordTableCellInline.js +267 -0
- package/modules/record-table/components/RecordTableColumnSelector.js +265 -0
- package/modules/record-table/components/RecordTableContainer.js +10 -0
- package/modules/record-table/components/RecordTableCursor.d.ts +20 -0
- package/modules/record-table/components/RecordTableCursor.js +269 -0
- package/modules/record-table/components/RecordTableDnDProvider.js +8 -0
- package/modules/record-table/components/RecordTableHead.js +267 -0
- package/modules/record-table/components/RecordTableHeader.js +265 -0
- package/modules/record-table/components/RecordTableHotkeyCell.js +265 -0
- package/modules/record-table/components/RecordTableInlineHead.js +8 -0
- package/modules/record-table/components/RecordTableProvider.d.ts +13 -0
- package/modules/record-table/components/RecordTableProvider.js +15 -0
- package/modules/record-table/components/RecordTableRoot.js +265 -0
- package/modules/record-table/components/RecordTableRow.js +265 -0
- package/modules/record-table/components/RecordTableRowList.d.ts +5 -0
- package/modules/record-table/components/RecordTableRowList.js +265 -0
- package/modules/record-table/components/RecordTableRowSkeleton.js +265 -0
- package/modules/record-table/components/RecordTableScroll.js +265 -0
- package/modules/record-table/components/RecordTableTree.d.ts +23 -0
- package/modules/record-table/components/RecordTableTree.js +265 -0
- package/modules/record-table/contexts/RecordTableCursorContext.d.ts +2 -0
- package/modules/record-table/contexts/RecordTableCursorContext.js +8 -0
- package/modules/record-table/contexts/RecordTableHotkeyContext.js +267 -0
- package/modules/record-table/contexts/RecordTableTreeContext.d.ts +2 -0
- package/modules/record-table/contexts/RecordTableTreeContext.js +8 -0
- package/modules/record-table/hooks/usePopoverOnEnter.js +291 -0
- package/modules/record-table/hooks/useRecordTableCursor.js +9 -0
- package/modules/record-table/hooks/useRecordTableCursorContext.d.ts +1 -0
- package/modules/record-table/hooks/useRecordTableCursorContext.js +9 -0
- package/modules/record-table/hooks/useRecordTableTree.d.ts +9 -0
- package/modules/record-table/hooks/useRecordTableTree.js +12 -0
- package/modules/record-table/hooks/useTablePreferences.js +7 -0
- package/modules/record-table/index.d.ts +71 -0
- package/modules/record-table/index.js +293 -0
- package/modules/record-table/states/EditModePositionComponentState.js +9 -0
- package/modules/record-table/states/RecordTableCursorState.js +6 -0
- package/modules/record-table/states/RecordTableTreeState.js +6 -0
- package/modules/record-table/types/RecordTableCursorTypes.js +8 -0
- package/modules/record-table/types/RecordTableScope.js +8 -0
- package/modules/record-table/types/RecordTableTreeTypes.js +0 -0
- package/modules/record-table/types/recordTableTypes.js +0 -0
- package/modules/record-table/utils/columnUtils.js +10 -0
- package/modules/record-table/utils/cursorUtils.d.ts +25 -0
- package/modules/record-table/utils/cursorUtils.js +9 -0
- package/modules/report/components/report-page-container.js +267 -0
- package/modules/report/components/report-table.js +9 -0
- package/modules/report/index.d.ts +2 -0
- package/modules/report/index.js +270 -0
- package/modules/report/states/reportSettingsState.js +6 -0
- package/modules/select-operation/components/SelectOperation.js +269 -0
- package/modules/select-operation/index.d.ts +1 -0
- package/modules/select-operation/index.js +269 -0
- package/modules/select-tree/components/SelectTree.d.ts +63 -0
- package/modules/select-tree/components/SelectTree.js +275 -0
- package/modules/select-tree/context/SelectTreeContext.d.ts +3 -0
- package/modules/select-tree/context/SelectTreeContext.js +10 -0
- package/modules/select-tree/hooks/useSelectTreeHide.js +10 -0
- package/modules/select-tree/index.d.ts +1 -0
- package/modules/select-tree/index.js +275 -0
- package/modules/select-tree/states/selectTreeStates.js +8 -0
- package/modules/select-tree/types/selectTreeTypes.js +0 -0
- package/modules/side-menu/components/SideMenu.js +275 -0
- package/modules/side-menu/context/SideMenuContext.js +10 -0
- package/package.json +410 -22
- package/state/index.d.ts +2 -0
- package/state/index.js +11 -0
- package/state/sidebarPanelState.js +6 -0
- package/state/themeState.d.ts +2 -0
- package/state/themeState.js +6 -0
- package/styles.css +2 -0
- package/types/CountryCode.js +1 -0
- package/types/CurrencyCode.js +6 -0
- package/types/Displays.d.ts +5 -0
- package/types/Displays.js +1 -0
- package/types/Gql.js +8 -0
- package/types/Key.js +6 -0
- package/types/Relations.js +1 -0
- package/types/SexCode.js +6 -0
- package/types/Theme.js +1 -0
- package/types/UIConfig.js +1 -0
- package/types/Utils.js +1 -0
- package/types/ValidationStatus.js +6 -0
- package/types/index.d.ts +11 -0
- package/types/index.js +31 -0
- package/utils/IsUndefinedOrNull.js +6 -0
- package/utils/colors.js +8 -0
- package/utils/config/index.js +19 -0
- package/utils/config/readProcessEnvironment.d.ts +1 -0
- package/utils/config/readProcessEnvironment.js +6 -0
- package/utils/cookie-storage.js +6 -0
- package/utils/core.js +33 -0
- package/utils/fixOrder.js +6 -0
- package/utils/format/formatAmount.js +6 -0
- package/utils/format/formatPhoneNumber.js +6 -0
- package/utils/format/index.d.ts +2 -0
- package/utils/format/index.js +11 -0
- package/utils/getPluginAssetsUrl.js +6 -0
- package/utils/highlightMatch.js +8 -0
- package/utils/index.d.ts +18 -0
- package/utils/index.js +119 -0
- package/utils/isAnObject.js +6 -0
- package/utils/isDeeplyEqual.js +6 -0
- package/utils/isDefined.js +6 -0
- package/utils/isEnabled.js +7 -0
- package/utils/localization/detectTimeZone.js +6 -0
- package/utils/localization/formatDateISOStringToRelativeDate.js +8 -0
- package/utils/localization/formatTimeZoneLabel.js +6 -0
- package/utils/localization/index.d.ts +3 -0
- package/utils/localization/index.js +17 -0
- package/utils/logDebug.js +6 -0
- package/utils/regex/index.d.ts +1 -0
- package/utils/regex/index.js +7 -0
- package/utils/regex/passwordRegex.js +6 -0
- package/utils/searchProvider.d.ts +9 -0
- package/utils/searchProvider.js +13 -0
- package/utils/string-array.js +6 -0
- package/utils/stripHtml.js +8 -0
- package/utils/urlParser.js +10 -0
- package/utils/videoEmbed.js +8 -0
- package/LICENSE.md +0 -672
- package/dist/components/choicebox-group.d.ts +0 -16
- package/dist/components/collapsible.d.ts +0 -10
- package/dist/components/color-picker.d.ts +0 -34
- package/dist/components/combobox.d.ts +0 -99
- package/dist/components/command.d.ts +0 -205
- package/dist/components/date-picker.d.ts +0 -30
- package/dist/components/drag-handle.d.ts +0 -3
- package/dist/components/index.d.ts +0 -59
- package/dist/components/multiselect.d.ts +0 -72
- package/dist/components/sidebar/context.d.ts +0 -26
- package/dist/components/sidebar/menu.d.ts +0 -22
- package/dist/components/sidebar/panel.d.ts +0 -6
- package/dist/components/sidebar/trigger.d.ts +0 -2
- package/dist/components/sidebar.d.ts +0 -78
- package/dist/components/upload-new.d.ts +0 -16
- package/dist/components/upload.d.ts +0 -23
- package/dist/constants/CountryPhoneCodes.d.ts +0 -2
- package/dist/constants/CurrencyCodes.d.ts +0 -6
- package/dist/constants/SexCodes.d.ts +0 -4
- package/dist/constants/index.d.ts +0 -5
- package/dist/hooks/index.d.ts +0 -9
- package/dist/hooks/use-confirm.d.ts +0 -29
- package/dist/hooks/use-toast.d.ts +0 -21
- package/dist/index.d.ts +0 -8
- package/dist/lib/index.d.ts +0 -1
- package/dist/modules/attachments/attachments.d.ts +0 -38
- package/dist/modules/attachments/context.d.ts +0 -12
- package/dist/modules/attachments/index.d.ts +0 -5
- package/dist/modules/blocks/components/BlockEditor.d.ts +0 -42
- package/dist/modules/blocks/components/Editor.d.ts +0 -2
- package/dist/modules/blocks/components/index.d.ts +0 -6
- package/dist/modules/blocks/constant/blockEditorSchema.d.ts +0 -712
- package/dist/modules/blocks/constant/index.d.ts +0 -1
- package/dist/modules/blocks/hooks/useBlockEditor.d.ts +0 -7
- package/dist/modules/blocks/index.d.ts +0 -5
- package/dist/modules/blocks/types/TextEditor.d.ts +0 -28
- package/dist/modules/blocks/types/index.d.ts +0 -1
- package/dist/modules/blocks/utils/index.d.ts +0 -3
- package/dist/modules/board/components/Board.d.ts +0 -22
- package/dist/modules/board/contexts/BoardContext.d.ts +0 -2
- package/dist/modules/board/index.d.ts +0 -2
- package/dist/modules/chat-viz/components/ChatVizArea.d.ts +0 -9
- package/dist/modules/chat-viz/components/ChatVizBar.d.ts +0 -9
- package/dist/modules/chat-viz/components/ChatVizLine.d.ts +0 -9
- package/dist/modules/chat-viz/components/ChatVizPie.d.ts +0 -13
- package/dist/modules/chat-viz/components/ChatVizSendButton.d.ts +0 -17
- package/dist/modules/chat-viz/hooks/useChatVizSend.d.ts +0 -11
- package/dist/modules/chat-viz/index.d.ts +0 -12
- package/dist/modules/chat-viz/utils/chartVizTransforms.d.ts +0 -19
- package/dist/modules/chat-viz/utils/chatVizSanitize.d.ts +0 -25
- package/dist/modules/display/components/CurrencyDisplay.d.ts +0 -15
- package/dist/modules/display/components/EmailDisplay.d.ts +0 -2
- package/dist/modules/display/components/PhoneDisplay.d.ts +0 -2
- package/dist/modules/display/components/SexDisplay.d.ts +0 -4
- package/dist/modules/display/index.d.ts +0 -6
- package/dist/modules/display/utils/formatEmails.d.ts +0 -3
- package/dist/modules/display/utils/formatPhones.d.ts +0 -3
- package/dist/modules/email-editor/components/EmailEditor.d.ts +0 -3
- package/dist/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +0 -7
- package/dist/modules/email-editor/components/EmailPreviewFrame.d.ts +0 -8
- package/dist/modules/email-editor/components/index.d.ts +0 -3
- package/dist/modules/email-editor/index.d.ts +0 -6
- package/dist/modules/filter/components/Filter.d.ts +0 -909
- package/dist/modules/filter/context/FilterContext.d.ts +0 -2
- package/dist/modules/filter/date-filter/index.d.ts +0 -2
- package/dist/modules/filter/hooks/useFilterContext.d.ts +0 -1
- package/dist/modules/filter/hooks/useFilterQueryState.d.ts +0 -4
- package/dist/modules/filter/index.d.ts +0 -5
- package/dist/modules/focus-sheet/components/focus-sheet.d.ts +0 -51
- package/dist/modules/hotkey/components/PopoverScoped.d.ts +0 -10
- package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +0 -2
- package/dist/modules/hotkey/constants/initialHotkeysScope.d.ts +0 -2
- package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +0 -5
- package/dist/modules/hotkey/hooks/useSetHotkeyScope.d.ts +0 -2
- package/dist/modules/hotkey/index.d.ts +0 -13
- package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +0 -4
- package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +0 -2
- package/dist/modules/hotkey/states/setHotkeyScopeState.d.ts +0 -5
- package/dist/modules/hotkey/types/HotkeyScope.d.ts +0 -5
- package/dist/modules/icons/components/IconPicker.d.ts +0 -6
- package/dist/modules/icons/index.d.ts +0 -3
- package/dist/modules/index.d.ts +0 -22
- package/dist/modules/inputs/components/CurrencyField.d.ts +0 -442
- package/dist/modules/inputs/components/EmailField.d.ts +0 -30
- package/dist/modules/inputs/components/LanguageSelect.d.ts +0 -7
- package/dist/modules/inputs/components/PhoneField.d.ts +0 -56
- package/dist/modules/inputs/components/SexField.d.ts +0 -5
- package/dist/modules/inputs/components/TimezoneSelect.d.ts +0 -7
- package/dist/modules/inputs/contexts/EmailFieldsContext.d.ts +0 -8
- package/dist/modules/inputs/contexts/PhoneFieldsContext.d.ts +0 -6
- package/dist/modules/inputs/hooks/useEmailFields.d.ts +0 -6
- package/dist/modules/inputs/hooks/usePhoneFields.d.ts +0 -5
- package/dist/modules/inputs/index.d.ts +0 -8
- package/dist/modules/inputs/states/emailFieldStates.d.ts +0 -8
- package/dist/modules/inputs/states/phoneFieldStates.d.ts +0 -8
- package/dist/modules/layout/index.d.ts +0 -2
- package/dist/modules/motion/index.d.ts +0 -2
- package/dist/modules/navigation-menu/index.d.ts +0 -3
- package/dist/modules/record-field/components/NumberField.d.ts +0 -18
- package/dist/modules/record-field/components/TextField.d.ts +0 -17
- package/dist/modules/record-field/index.d.ts +0 -3
- package/dist/modules/record-table/components/MoreColumn.d.ts +0 -3
- package/dist/modules/record-table/components/RecordTableCellInline.d.ts +0 -14
- package/dist/modules/record-table/components/RecordTableCursor.d.ts +0 -20
- package/dist/modules/record-table/components/RecordTableProvider.d.ts +0 -13
- package/dist/modules/record-table/components/RecordTableRowList.d.ts +0 -5
- package/dist/modules/record-table/components/RecordTableTree.d.ts +0 -23
- package/dist/modules/record-table/contexts/RecordTableCursorContext.d.ts +0 -2
- package/dist/modules/record-table/contexts/RecordTableTreeContext.d.ts +0 -2
- package/dist/modules/record-table/hooks/useRecordTableCursorContext.d.ts +0 -1
- package/dist/modules/record-table/hooks/useRecordTableTree.d.ts +0 -9
- package/dist/modules/record-table/index.d.ts +0 -71
- package/dist/modules/record-table/utils/cursorUtils.d.ts +0 -25
- package/dist/modules/report/index.d.ts +0 -2
- package/dist/modules/select-operation/index.d.ts +0 -1
- package/dist/modules/select-tree/components/SelectTree.d.ts +0 -63
- package/dist/modules/select-tree/context/SelectTreeContext.d.ts +0 -3
- package/dist/modules/select-tree/index.d.ts +0 -1
- package/dist/state/index.d.ts +0 -2
- package/dist/state/themeState.d.ts +0 -2
- package/dist/types/Displays.d.ts +0 -5
- package/dist/types/index.d.ts +0 -11
- package/dist/utils/format/index.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -18
- package/dist/utils/localization/index.d.ts +0 -3
- package/dist/utils/regex/index.d.ts +0 -1
- package/dist/utils/searchProvider.d.ts +0 -9
- package/src/components/__stories__/accordion.stories.tsx +0 -69
- package/src/components/__stories__/alert-dialog.stories.tsx +0 -39
- package/src/components/__stories__/avatar.stories.tsx +0 -32
- package/src/components/__stories__/badge.stories.tsx +0 -46
- package/src/components/__stories__/breadcrumb.stories.tsx +0 -50
- package/src/components/__stories__/button.stories.tsx +0 -22
- package/src/components/__stories__/calendar.stories.tsx +0 -47
- package/src/components/__stories__/calendarTwoMonths.stories.tsx +0 -47
- package/src/components/__stories__/card.stories.tsx +0 -60
- package/src/components/__stories__/checkbox.stories.tsx +0 -74
- package/src/components/__stories__/collapsible.stories.tsx +0 -78
- package/src/components/__stories__/combobox.stories.tsx +0 -158
- package/src/components/__stories__/command.stories.tsx +0 -78
- package/src/components/__stories__/commandbar.stories.tsx +0 -42
- package/src/components/__stories__/date-picker.stories.tsx +0 -83
- package/src/components/__stories__/dialog.stories.tsx +0 -53
- package/src/components/__stories__/dropdown-menu.stories.tsx +0 -140
- package/src/components/__stories__/form.stories.tsx +0 -166
- package/src/components/__stories__/hover-card.stories.tsx +0 -50
- package/src/components/__stories__/input.stories.tsx +0 -75
- package/src/components/__stories__/inputnumber.stories.tsx +0 -35
- package/src/components/__stories__/kbd.stories.tsx +0 -91
- package/src/components/__stories__/label.stories.tsx +0 -82
- package/src/components/__stories__/multiselect.stories.tsx +0 -178
- package/src/components/__stories__/popover.stories.tsx +0 -106
- package/src/components/__stories__/radio-group.stories.tsx +0 -97
- package/src/components/__stories__/resizeble.stories.tsx +0 -76
- package/src/components/__stories__/scroll-area.stories.tsx +0 -36
- package/src/components/__stories__/select.stories.tsx +0 -107
- package/src/components/__stories__/separator.stories.tsx +0 -53
- package/src/components/__stories__/sheet.stories.tsx +0 -62
- package/src/components/__stories__/sidebar.stories.tsx +0 -104
- package/src/components/__stories__/skeleton.stories.tsx +0 -27
- package/src/components/__stories__/slider.stories.tsx +0 -71
- package/src/components/__stories__/spinner.stories.tsx +0 -39
- package/src/components/__stories__/switch.stories.tsx +0 -63
- package/src/components/__stories__/table.stories.tsx +0 -140
- package/src/components/__stories__/tabs.stories.tsx +0 -76
- package/src/components/__stories__/text-overflow.stories.tsx +0 -32
- package/src/components/__stories__/textarea.stories.tsx +0 -75
- package/src/components/__stories__/toaster.stories.tsx +0 -53
- package/src/components/__stories__/toggle-group.stories.tsx +0 -50
- package/src/components/__stories__/toggle.stories.tsx +0 -38
- package/src/components/__stories__/tooltip.stories.tsx +0 -90
- package/src/components/accordion.tsx +0 -64
- package/src/components/alert-dialog.tsx +0 -139
- package/src/components/alert.tsx +0 -71
- package/src/components/avatar.tsx +0 -75
- package/src/components/background-gradient-animation.tsx +0 -192
- package/src/components/badge.tsx +0 -61
- package/src/components/breadcrumb.tsx +0 -118
- package/src/components/button.tsx +0 -58
- package/src/components/calendar.tsx +0 -178
- package/src/components/card.tsx +0 -85
- package/src/components/charts.tsx +0 -363
- package/src/components/checkbox.tsx +0 -50
- package/src/components/choicebox-group.tsx +0 -103
- package/src/components/collapsible.tsx +0 -46
- package/src/components/color-picker.tsx +0 -195
- package/src/components/combobox.tsx +0 -279
- package/src/components/command-bar.tsx +0 -108
- package/src/components/command.tsx +0 -261
- package/src/components/context-menu.tsx +0 -183
- package/src/components/copy-text.tsx +0 -52
- package/src/components/date-picker.tsx +0 -462
- package/src/components/dialog.tsx +0 -169
- package/src/components/drag-handle.tsx +0 -30
- package/src/components/dropdown-menu.tsx +0 -186
- package/src/components/empty.tsx +0 -102
- package/src/components/erxes-logo-icon.tsx +0 -16
- package/src/components/form.tsx +0 -174
- package/src/components/hover-card.tsx +0 -27
- package/src/components/index.ts +0 -59
- package/src/components/info-card.tsx +0 -70
- package/src/components/input.tsx +0 -95
- package/src/components/kbd.tsx +0 -30
- package/src/components/label.tsx +0 -35
- package/src/components/multiselect.tsx +0 -647
- package/src/components/popover.tsx +0 -57
- package/src/components/radio-group.tsx +0 -54
- package/src/components/resizable.tsx +0 -47
- package/src/components/scroll-area.tsx +0 -81
- package/src/components/search-order-select.tsx +0 -30
- package/src/components/select.tsx +0 -156
- package/src/components/separator.tsx +0 -50
- package/src/components/sheet.tsx +0 -184
- package/src/components/sidebar/constants.ts +0 -19
- package/src/components/sidebar/context.tsx +0 -206
- package/src/components/sidebar/group.tsx +0 -79
- package/src/components/sidebar/hooks.ts +0 -21
- package/src/components/sidebar/layout.tsx +0 -91
- package/src/components/sidebar/menu-sub.tsx +0 -66
- package/src/components/sidebar/menu.tsx +0 -216
- package/src/components/sidebar/panel.tsx +0 -175
- package/src/components/sidebar/root.tsx +0 -169
- package/src/components/sidebar/trigger.tsx +0 -39
- package/src/components/sidebar-tree-indicator.tsx +0 -125
- package/src/components/sidebar.tsx +0 -66
- package/src/components/skeleton.tsx +0 -29
- package/src/components/slider.tsx +0 -30
- package/src/components/spinner.tsx +0 -170
- package/src/components/stepper.tsx +0 -304
- package/src/components/string-array.tsx +0 -72
- package/src/components/switch.tsx +0 -50
- package/src/components/table.tsx +0 -116
- package/src/components/tabs.tsx +0 -93
- package/src/components/text-overflow.tsx +0 -128
- package/src/components/textarea.tsx +0 -21
- package/src/components/time-picker.tsx +0 -89
- package/src/components/toaster.tsx +0 -42
- package/src/components/toasts.tsx +0 -140
- package/src/components/toggle-group.tsx +0 -68
- package/src/components/toggle.tsx +0 -39
- package/src/components/tooltip.tsx +0 -36
- package/src/components/upload-new.tsx +0 -301
- package/src/components/upload.tsx +0 -335
- package/src/constants/AttachmentGql.ts +0 -9
- package/src/constants/CountryPhoneCodes.ts +0 -360
- package/src/constants/CurrencyCodes.ts +0 -214
- package/src/constants/EmailValidationStatusInfos.tsx +0 -46
- package/src/constants/GraphqlConstants.ts +0 -23
- package/src/constants/IanaTimeZones.ts +0 -600
- package/src/constants/IntlLanguages.ts +0 -74
- package/src/constants/PhoneValidationStatusInfos.tsx +0 -57
- package/src/constants/SexCodes.ts +0 -16
- package/src/constants/index.ts +0 -5
- package/src/hooks/index.ts +0 -9
- package/src/hooks/use-confirm.tsx +0 -212
- package/src/hooks/use-cursor-pagination.tsx +0 -42
- package/src/hooks/use-is-matching-location.tsx +0 -17
- package/src/hooks/use-media-query.tsx +0 -26
- package/src/hooks/use-mobile.tsx +0 -7
- package/src/hooks/use-query-state.tsx +0 -193
- package/src/hooks/use-toast.tsx +0 -188
- package/src/hooks/use-upload-chunked.ts +0 -173
- package/src/hooks/use-upload-new.ts +0 -242
- package/src/hooks/use-upload.tsx +0 -223
- package/src/index.ts +0 -8
- package/src/lib/index.ts +0 -1
- package/src/lib/utils.ts +0 -74
- package/src/modules/__stories__/IconPicker.stories.tsx +0 -19
- package/src/modules/__stories__/RelativeDateDisplay.stories.tsx +0 -97
- package/src/modules/__stories__/blocks.stories.tsx +0 -132
- package/src/modules/__stories__/currencyDisplay.stories.tsx +0 -78
- package/src/modules/__stories__/icons.stories.tsx +0 -29
- package/src/modules/__stories__/preview.stories.tsx +0 -55
- package/src/modules/attachments/attachments.tsx +0 -743
- package/src/modules/attachments/context.tsx +0 -116
- package/src/modules/attachments/index.ts +0 -11
- package/src/modules/attachments/types.ts +0 -72
- package/src/modules/blocks/components/BarcodeAttribute.tsx +0 -142
- package/src/modules/blocks/components/BlockEditor.tsx +0 -248
- package/src/modules/blocks/components/BlockEditorReadOnly.tsx +0 -67
- package/src/modules/blocks/components/CustomFileBlock.tsx +0 -85
- package/src/modules/blocks/components/CustomImageBlock.tsx +0 -366
- package/src/modules/blocks/components/CustomVideoBlock.tsx +0 -118
- package/src/modules/blocks/components/DocumentPlaceholderBlock.tsx +0 -114
- package/src/modules/blocks/components/Editor.tsx +0 -156
- package/src/modules/blocks/components/FontFamilyButton.tsx +0 -121
- package/src/modules/blocks/components/GalleryBlock.tsx +0 -380
- package/src/modules/blocks/components/ImageStyleButton.tsx +0 -100
- package/src/modules/blocks/components/SlashMenu.tsx +0 -76
- package/src/modules/blocks/components/SuggestionMenu.tsx +0 -57
- package/src/modules/blocks/components/TableHandleWithRemove.tsx +0 -238
- package/src/modules/blocks/components/Toolbar.tsx +0 -67
- package/src/modules/blocks/components/index.ts +0 -6
- package/src/modules/blocks/constant/blockEditorSchema.ts +0 -56
- package/src/modules/blocks/constant/index.ts +0 -1
- package/src/modules/blocks/hooks/useBlockEditor.tsx +0 -65
- package/src/modules/blocks/index.ts +0 -5
- package/src/modules/blocks/types/TextEditor.ts +0 -37
- package/src/modules/blocks/types/index.ts +0 -1
- package/src/modules/blocks/utils/getBlockAttachments.ts +0 -68
- package/src/modules/blocks/utils/getMentionedUserIds.ts +0 -22
- package/src/modules/blocks/utils/index.ts +0 -3
- package/src/modules/blocks/utils/parseBlocks.ts +0 -33
- package/src/modules/board/components/Board.tsx +0 -301
- package/src/modules/board/contexts/BoardContext.ts +0 -8
- package/src/modules/board/index.ts +0 -2
- package/src/modules/board/states/boardStates.ts +0 -8
- package/src/modules/board/types/boardTypes.ts +0 -61
- package/src/modules/chat-viz/components/ChatVizArea.tsx +0 -69
- package/src/modules/chat-viz/components/ChatVizBar.tsx +0 -62
- package/src/modules/chat-viz/components/ChatVizCartesianDecorations.tsx +0 -42
- package/src/modules/chat-viz/components/ChatVizLine.tsx +0 -68
- package/src/modules/chat-viz/components/ChatVizMessage.tsx +0 -210
- package/src/modules/chat-viz/components/ChatVizPie.tsx +0 -104
- package/src/modules/chat-viz/components/ChatVizSendButton.tsx +0 -49
- package/src/modules/chat-viz/hooks/useChatVizSend.ts +0 -22
- package/src/modules/chat-viz/hooks/useIsClient.ts +0 -16
- package/src/modules/chat-viz/index.ts +0 -31
- package/src/modules/chat-viz/types/chatVizTypes.ts +0 -59
- package/src/modules/chat-viz/utils/chartVizPresentation.ts +0 -34
- package/src/modules/chat-viz/utils/chartVizTransforms.ts +0 -177
- package/src/modules/chat-viz/utils/chatVizInteractive.test.ts +0 -152
- package/src/modules/chat-viz/utils/chatVizSanitize.ts +0 -276
- package/src/modules/display/components/CurrencyDisplay.tsx +0 -78
- package/src/modules/display/components/EllipsisDisplay.tsx +0 -18
- package/src/modules/display/components/EmailDisplay.tsx +0 -36
- package/src/modules/display/components/PhoneDisplay.tsx +0 -37
- package/src/modules/display/components/RelativeDateDisplay.tsx +0 -53
- package/src/modules/display/components/SexDisplay.tsx +0 -10
- package/src/modules/display/index.ts +0 -6
- package/src/modules/display/utils/formatEmails.ts +0 -29
- package/src/modules/display/utils/formatPhones.ts +0 -29
- package/src/modules/email-editor/components/EmailEditor.tsx +0 -165
- package/src/modules/email-editor/components/EmailPreviewDeviceToggle.tsx +0 -33
- package/src/modules/email-editor/components/EmailPreviewFrame.tsx +0 -35
- package/src/modules/email-editor/components/EmailTableBackground.tsx +0 -134
- package/src/modules/email-editor/components/EmailTableToolbar.tsx +0 -82
- package/src/modules/email-editor/components/index.ts +0 -3
- package/src/modules/email-editor/constant/index.ts +0 -63
- package/src/modules/email-editor/extensions/documentPlaceholder.ts +0 -114
- package/src/modules/email-editor/extensions/documentPlaceholderBlock.tsx +0 -36
- package/src/modules/email-editor/extensions/table.ts +0 -352
- package/src/modules/email-editor/extensions/tableBlock.tsx +0 -13
- package/src/modules/email-editor/hooks/useEmailHtml.ts +0 -36
- package/src/modules/email-editor/index.ts +0 -6
- package/src/modules/email-editor/maily-subpaths.d.ts +0 -90
- package/src/modules/email-editor/types/index.ts +0 -37
- package/src/modules/email-editor/utils/expandCustomNodes.ts +0 -190
- package/src/modules/email-editor/utils/renderEmailHtml.ts +0 -52
- package/src/modules/filter/components/Filter.tsx +0 -568
- package/src/modules/filter/context/FilterContext.tsx +0 -6
- package/src/modules/filter/date-filter/components/DateFilterCommand.tsx +0 -59
- package/src/modules/filter/date-filter/components/DialogDateView.tsx +0 -270
- package/src/modules/filter/date-filter/constants/dateTypes.tsx +0 -25
- package/src/modules/filter/date-filter/index.ts +0 -2
- package/src/modules/filter/date-filter/utils/dateTokens.ts +0 -28
- package/src/modules/filter/date-filter/utils/getActiveTab.ts +0 -17
- package/src/modules/filter/date-filter/utils/getDisplayValue.ts +0 -49
- package/src/modules/filter/date-filter/utils/getYears.ts +0 -13
- package/src/modules/filter/date-filter/utils/parseDateRangeFromString.ts +0 -101
- package/src/modules/filter/hooks/useFilterContext.tsx +0 -6
- package/src/modules/filter/hooks/useFilterQueryState.tsx +0 -24
- package/src/modules/filter/index.ts +0 -5
- package/src/modules/filter/states/filterStates.ts +0 -14
- package/src/modules/filter/types/filter.ts +0 -29
- package/src/modules/focus-sheet/components/focus-sheet.tsx +0 -338
- package/src/modules/hotkey/components/PopoverScoped.tsx +0 -77
- package/src/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.ts +0 -6
- package/src/modules/hotkey/constants/initialHotkeysScope.ts +0 -12
- package/src/modules/hotkey/hooks/usePreviousHotkeyScope.tsx +0 -59
- package/src/modules/hotkey/hooks/useScopedHotKeysCallback.tsx +0 -83
- package/src/modules/hotkey/hooks/useScopedHotkeys.tsx +0 -61
- package/src/modules/hotkey/hooks/useSequenceHotkeys.tsx +0 -79
- package/src/modules/hotkey/hooks/useSetHotkeyScope.tsx +0 -27
- package/src/modules/hotkey/index.ts +0 -18
- package/src/modules/hotkey/states/internal/currentHotkeyScopeState.ts +0 -6
- package/src/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.ts +0 -3
- package/src/modules/hotkey/states/internal/pendingHotkeyState.ts +0 -4
- package/src/modules/hotkey/states/internal/previousHotkeyScopeState.ts +0 -4
- package/src/modules/hotkey/states/setHotkeyScopeState.ts +0 -92
- package/src/modules/hotkey/types/AppHotkeyScope.ts +0 -7
- package/src/modules/hotkey/types/CustomHotkeyScope.ts +0 -6
- package/src/modules/hotkey/types/HotkeyScope.ts +0 -6
- package/src/modules/hotkey/utils/isNonTextWritingKey.ts +0 -57
- package/src/modules/icons/components/IconComponent.tsx +0 -13
- package/src/modules/icons/components/IconPicker.tsx +0 -55
- package/src/modules/icons/components/TablerIcons.ts +0 -589
- package/src/modules/icons/hooks/useIcons.ts +0 -23
- package/src/modules/icons/index.ts +0 -3
- package/src/modules/icons/providers/IconsProvider.tsx +0 -20
- package/src/modules/icons/states/iconsState.ts +0 -4
- package/src/modules/index.ts +0 -22
- package/src/modules/inputs/components/CurrencyField.tsx +0 -217
- package/src/modules/inputs/components/EmailField.tsx +0 -425
- package/src/modules/inputs/components/FullNameField.tsx +0 -121
- package/src/modules/inputs/components/LanguageSelect.tsx +0 -46
- package/src/modules/inputs/components/NumberField.tsx +0 -29
- package/src/modules/inputs/components/PhoneField.tsx +0 -491
- package/src/modules/inputs/components/SexField.tsx +0 -31
- package/src/modules/inputs/components/TimezoneSelect.tsx +0 -48
- package/src/modules/inputs/contexts/EmailFieldsContext.tsx +0 -15
- package/src/modules/inputs/contexts/FullNameFieldContext.tsx +0 -9
- package/src/modules/inputs/contexts/PhoneFieldsContext.tsx +0 -12
- package/src/modules/inputs/hooks/useEmailFields.tsx +0 -4
- package/src/modules/inputs/hooks/useFullNameField.tsx +0 -12
- package/src/modules/inputs/hooks/usePhoneFields.tsx +0 -4
- package/src/modules/inputs/index.ts +0 -8
- package/src/modules/inputs/states/emailFieldStates.ts +0 -15
- package/src/modules/inputs/states/phoneFieldStates.ts +0 -15
- package/src/modules/inputs/validations/emailValidation.ts +0 -7
- package/src/modules/inputs/validations/phoneValidation.ts +0 -12
- package/src/modules/layout/components/AppLayout.tsx +0 -430
- package/src/modules/layout/components/Page.tsx +0 -37
- package/src/modules/layout/index.ts +0 -2
- package/src/modules/motion/components/TextEffect.tsx +0 -288
- package/src/modules/motion/components/TextLoop.tsx +0 -71
- package/src/modules/motion/index.ts +0 -2
- package/src/modules/navigation-menu/components/NavigationMenu.tsx +0 -187
- package/src/modules/navigation-menu/components/NavigationMenuItemControls.tsx +0 -18
- package/src/modules/navigation-menu/index.ts +0 -3
- package/src/modules/navigation-menu/states/activePluginState.tsx +0 -10
- package/src/modules/preview/components/Preview.tsx +0 -108
- package/src/modules/preview/context/PreviewContext.tsx +0 -16
- package/src/modules/record-field/components/NumberField.tsx +0 -124
- package/src/modules/record-field/components/TextField.tsx +0 -103
- package/src/modules/record-field/index.ts +0 -3
- package/src/modules/record-field/meta-inputs/components/EmailVerificationInput.tsx +0 -95
- package/src/modules/record-field/meta-inputs/components/PhoneInput.tsx +0 -217
- package/src/modules/record-field/meta-inputs/components/PhoneVerificationInput.tsx +0 -80
- package/src/modules/record-field/meta-inputs/components/TextFieldInput.tsx +0 -17
- package/src/modules/record-table/components/CheckboxColumn.tsx +0 -107
- package/src/modules/record-table/components/MoreColumn.tsx +0 -26
- package/src/modules/record-table/components/RecordTableArrowEffect.tsx +0 -67
- package/src/modules/record-table/components/RecordTableCell.tsx +0 -43
- package/src/modules/record-table/components/RecordTableCellInline.tsx +0 -104
- package/src/modules/record-table/components/RecordTableColumnSelector.tsx +0 -204
- package/src/modules/record-table/components/RecordTableContainer.tsx +0 -70
- package/src/modules/record-table/components/RecordTableCursor.tsx +0 -143
- package/src/modules/record-table/components/RecordTableDnDProvider.tsx +0 -63
- package/src/modules/record-table/components/RecordTableHead.tsx +0 -143
- package/src/modules/record-table/components/RecordTableHeader.tsx +0 -91
- package/src/modules/record-table/components/RecordTableHotkeyCell.tsx +0 -97
- package/src/modules/record-table/components/RecordTableInlineHead.tsx +0 -13
- package/src/modules/record-table/components/RecordTableProvider.tsx +0 -201
- package/src/modules/record-table/components/RecordTableRoot.tsx +0 -17
- package/src/modules/record-table/components/RecordTableRow.tsx +0 -42
- package/src/modules/record-table/components/RecordTableRowList.tsx +0 -47
- package/src/modules/record-table/components/RecordTableRowSkeleton.tsx +0 -66
- package/src/modules/record-table/components/RecordTableScroll.tsx +0 -23
- package/src/modules/record-table/components/RecordTableTree.tsx +0 -135
- package/src/modules/record-table/contexts/RecordTableCursorContext.tsx +0 -5
- package/src/modules/record-table/contexts/RecordTableHotkeyContext.tsx +0 -56
- package/src/modules/record-table/contexts/RecordTableTreeContext.tsx +0 -6
- package/src/modules/record-table/hooks/usePopoverOnEnter.tsx +0 -38
- package/src/modules/record-table/hooks/useRecordTableCursor.tsx +0 -22
- package/src/modules/record-table/hooks/useRecordTableCursorContext.tsx +0 -12
- package/src/modules/record-table/hooks/useRecordTableTree.tsx +0 -44
- package/src/modules/record-table/hooks/useTablePreferences.ts +0 -45
- package/src/modules/record-table/index.ts +0 -52
- package/src/modules/record-table/states/EditModePositionComponentState.ts +0 -7
- package/src/modules/record-table/states/RecordTableCursorState.ts +0 -6
- package/src/modules/record-table/states/RecordTableTreeState.ts +0 -6
- package/src/modules/record-table/types/RecordTableCursorTypes.ts +0 -26
- package/src/modules/record-table/types/RecordTableScope.ts +0 -3
- package/src/modules/record-table/types/RecordTableTreeTypes.ts +0 -6
- package/src/modules/record-table/types/recordTableTypes.ts +0 -8
- package/src/modules/record-table/utils/columnUtils.ts +0 -10
- package/src/modules/record-table/utils/cursorUtils.ts +0 -66
- package/src/modules/report/components/report-page-container.tsx +0 -179
- package/src/modules/report/components/report-table.tsx +0 -123
- package/src/modules/report/index.ts +0 -2
- package/src/modules/report/states/reportSettingsState.ts +0 -9
- package/src/modules/select-operation/components/SelectOperation.tsx +0 -167
- package/src/modules/select-operation/index.ts +0 -1
- package/src/modules/select-tree/components/SelectTree.tsx +0 -182
- package/src/modules/select-tree/context/SelectTreeContext.tsx +0 -15
- package/src/modules/select-tree/hooks/useSelectTreeHide.tsx +0 -29
- package/src/modules/select-tree/index.ts +0 -1
- package/src/modules/select-tree/states/selectTreeStates.tsx +0 -5
- package/src/modules/select-tree/types/selectTreeTypes.ts +0 -14
- package/src/modules/side-menu/components/SideMenu.tsx +0 -143
- package/src/modules/side-menu/context/SideMenuContext.tsx +0 -20
- package/src/state/index.ts +0 -2
- package/src/state/sidebarPanelState.ts +0 -8
- package/src/state/themeState.ts +0 -4
- package/src/types/CountryCode.ts +0 -6
- package/src/types/CurrencyCode.ts +0 -161
- package/src/types/Displays.ts +0 -6
- package/src/types/Gql.ts +0 -34
- package/src/types/Key.ts +0 -1312
- package/src/types/Relations.ts +0 -14
- package/src/types/SexCode.ts +0 -6
- package/src/types/Theme.ts +0 -2
- package/src/types/UIConfig.ts +0 -210
- package/src/types/Utils.ts +0 -12
- package/src/types/ValidationStatus.ts +0 -4
- package/src/types/index.ts +0 -11
- package/src/utils/IsUndefinedOrNull.ts +0 -4
- package/src/utils/colors.ts +0 -68
- package/src/utils/config/index.ts +0 -83
- package/src/utils/cookie-storage.ts +0 -29
- package/src/utils/core.ts +0 -82
- package/src/utils/fixOrder.ts +0 -16
- package/src/utils/format/formatAmount.ts +0 -17
- package/src/utils/format/formatPhoneNumber.ts +0 -11
- package/src/utils/format/index.ts +0 -2
- package/src/utils/getPluginAssetsUrl.ts +0 -16
- package/src/utils/highlightMatch.tsx +0 -35
- package/src/utils/index.ts +0 -18
- package/src/utils/isAnObject.ts +0 -3
- package/src/utils/isDeeplyEqual.ts +0 -4
- package/src/utils/isDefined.ts +0 -4
- package/src/utils/isEnabled.ts +0 -7
- package/src/utils/localization/detectTimeZone.ts +0 -6
- package/src/utils/localization/formatDateISOStringToRelativeDate.ts +0 -39
- package/src/utils/localization/formatTimeZoneLabel.ts +0 -29
- package/src/utils/localization/index.ts +0 -3
- package/src/utils/logDebug.ts +0 -4
- package/src/utils/regex/index.ts +0 -1
- package/src/utils/regex/passwordRegex.ts +0 -1
- package/src/utils/searchProvider.ts +0 -77
- package/src/utils/string-array.ts +0 -24
- package/src/utils/stripHtml.ts +0 -15
- package/src/utils/urlParser.ts +0 -66
- package/src/utils/videoEmbed.ts +0 -56
- /package/{src/components/__stories__/time-picker.stories.tsx → chunks/chunk-2OQPZ7Y3.js} +0 -0
- /package/{dist/components → components}/accordion.d.ts +0 -0
- /package/{dist/components → components}/alert-dialog.d.ts +0 -0
- /package/{dist/components → components}/alert.d.ts +0 -0
- /package/{dist/components → components}/avatar.d.ts +0 -0
- /package/{dist/components → components}/background-gradient-animation.d.ts +0 -0
- /package/{dist/components → components}/badge.d.ts +0 -0
- /package/{dist/components → components}/breadcrumb.d.ts +0 -0
- /package/{dist/components → components}/button.d.ts +0 -0
- /package/{dist/components → components}/calendar.d.ts +0 -0
- /package/{dist/components → components}/card.d.ts +0 -0
- /package/{dist/components → components}/charts.d.ts +0 -0
- /package/{dist/components → components}/checkbox.d.ts +0 -0
- /package/{dist/components → components}/command-bar.d.ts +0 -0
- /package/{dist/components → components}/context-menu.d.ts +0 -0
- /package/{dist/components → components}/copy-text.d.ts +0 -0
- /package/{dist/components → components}/dialog.d.ts +0 -0
- /package/{dist/components → components}/dropdown-menu.d.ts +0 -0
- /package/{dist/components → components}/empty.d.ts +0 -0
- /package/{dist/components → components}/erxes-logo-icon.d.ts +0 -0
- /package/{dist/components → components}/form.d.ts +0 -0
- /package/{dist/components → components}/hover-card.d.ts +0 -0
- /package/{dist/components → components}/info-card.d.ts +0 -0
- /package/{dist/components → components}/input.d.ts +0 -0
- /package/{dist/components → components}/kbd.d.ts +0 -0
- /package/{dist/components → components}/label.d.ts +0 -0
- /package/{dist/components → components}/popover.d.ts +0 -0
- /package/{dist/components → components}/radio-group.d.ts +0 -0
- /package/{dist/components → components}/resizable.d.ts +0 -0
- /package/{dist/components → components}/scroll-area.d.ts +0 -0
- /package/{dist/components → components}/search-order-select.d.ts +0 -0
- /package/{dist/components → components}/select.d.ts +0 -0
- /package/{dist/components → components}/separator.d.ts +0 -0
- /package/{dist/components → components}/sheet.d.ts +0 -0
- /package/{dist/components → components}/sidebar/constants.d.ts +0 -0
- /package/{dist/components → components}/sidebar/group.d.ts +0 -0
- /package/{dist/components → components}/sidebar/hooks.d.ts +0 -0
- /package/{dist/components → components}/sidebar/layout.d.ts +0 -0
- /package/{dist/components → components}/sidebar/menu-sub.d.ts +0 -0
- /package/{dist/components → components}/sidebar/root.d.ts +0 -0
- /package/{dist/components → components}/sidebar-tree-indicator.d.ts +0 -0
- /package/{dist/components → components}/skeleton.d.ts +0 -0
- /package/{dist/components → components}/slider.d.ts +0 -0
- /package/{dist/components → components}/spinner.d.ts +0 -0
- /package/{dist/components → components}/stepper.d.ts +0 -0
- /package/{dist/components → components}/string-array.d.ts +0 -0
- /package/{dist/components → components}/switch.d.ts +0 -0
- /package/{dist/components → components}/table.d.ts +0 -0
- /package/{dist/components → components}/tabs.d.ts +0 -0
- /package/{dist/components → components}/text-overflow.d.ts +0 -0
- /package/{dist/components → components}/textarea.d.ts +0 -0
- /package/{dist/components → components}/time-picker.d.ts +0 -0
- /package/{dist/components → components}/toaster.d.ts +0 -0
- /package/{dist/components → components}/toasts.d.ts +0 -0
- /package/{dist/components → components}/toggle-group.d.ts +0 -0
- /package/{dist/components → components}/toggle.d.ts +0 -0
- /package/{dist/components → components}/tooltip.d.ts +0 -0
- /package/{dist/constants → constants}/AttachmentGql.d.ts +0 -0
- /package/{dist/constants → constants}/EmailValidationStatusInfos.d.ts +0 -0
- /package/{dist/constants → constants}/GraphqlConstants.d.ts +0 -0
- /package/{dist/constants → constants}/IanaTimeZones.d.ts +0 -0
- /package/{dist/constants → constants}/IntlLanguages.d.ts +0 -0
- /package/{dist/constants → constants}/PhoneValidationStatusInfos.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-cursor-pagination.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-is-matching-location.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-media-query.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-mobile.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-query-state.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-upload-chunked.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-upload-new.d.ts +0 -0
- /package/{dist/hooks → hooks}/use-upload.d.ts +0 -0
- /package/{dist/lib → lib}/utils.d.ts +0 -0
- /package/{dist/modules → modules}/attachments/types.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/BarcodeAttribute.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/BlockEditorReadOnly.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/CustomFileBlock.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/CustomImageBlock.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/CustomVideoBlock.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/DocumentPlaceholderBlock.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/FontFamilyButton.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/GalleryBlock.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/ImageStyleButton.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/SlashMenu.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/SuggestionMenu.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/TableHandleWithRemove.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/components/Toolbar.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/utils/getBlockAttachments.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/utils/getMentionedUserIds.d.ts +0 -0
- /package/{dist/modules → modules}/blocks/utils/parseBlocks.d.ts +0 -0
- /package/{dist/modules → modules}/board/states/boardStates.d.ts +0 -0
- /package/{dist/modules → modules}/board/types/boardTypes.d.ts +0 -0
- /package/{dist/modules → modules}/chat-viz/components/ChatVizCartesianDecorations.d.ts +0 -0
- /package/{dist/modules → modules}/chat-viz/components/ChatVizMessage.d.ts +0 -0
- /package/{dist/modules → modules}/chat-viz/hooks/useIsClient.d.ts +0 -0
- /package/{dist/modules → modules}/chat-viz/types/chatVizTypes.d.ts +0 -0
- /package/{dist/modules → modules}/chat-viz/utils/chartVizPresentation.d.ts +0 -0
- /package/{dist/modules → modules}/display/components/EllipsisDisplay.d.ts +0 -0
- /package/{dist/modules → modules}/display/components/RelativeDateDisplay.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/components/EmailTableBackground.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/components/EmailTableToolbar.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/constant/index.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/extensions/documentPlaceholder.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/extensions/documentPlaceholderBlock.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/extensions/table.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/extensions/tableBlock.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/hooks/useEmailHtml.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/types/index.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/utils/expandCustomNodes.d.ts +0 -0
- /package/{dist/modules → modules}/email-editor/utils/renderEmailHtml.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/components/DateFilterCommand.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/components/DialogDateView.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/constants/dateTypes.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/utils/dateTokens.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/utils/getActiveTab.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/utils/getDisplayValue.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/utils/getYears.d.ts +0 -0
- /package/{dist/modules → modules}/filter/date-filter/utils/parseDateRangeFromString.d.ts +0 -0
- /package/{dist/modules → modules}/filter/states/filterStates.d.ts +0 -0
- /package/{dist/modules → modules}/filter/types/filter.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/hooks/useScopedHotKeysCallback.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/hooks/useScopedHotkeys.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/hooks/useSequenceHotkeys.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/states/internal/pendingHotkeyState.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/types/AppHotkeyScope.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/types/CustomHotkeyScope.d.ts +0 -0
- /package/{dist/modules → modules}/hotkey/utils/isNonTextWritingKey.d.ts +0 -0
- /package/{dist/modules → modules}/icons/components/IconComponent.d.ts +0 -0
- /package/{dist/modules → modules}/icons/components/TablerIcons.d.ts +0 -0
- /package/{dist/modules → modules}/icons/hooks/useIcons.d.ts +0 -0
- /package/{dist/modules → modules}/icons/providers/IconsProvider.d.ts +0 -0
- /package/{dist/modules → modules}/icons/states/iconsState.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/components/FullNameField.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/components/NumberField.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/contexts/FullNameFieldContext.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/hooks/useFullNameField.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/validations/emailValidation.d.ts +0 -0
- /package/{dist/modules → modules}/inputs/validations/phoneValidation.d.ts +0 -0
- /package/{dist/modules → modules}/layout/components/AppLayout.d.ts +0 -0
- /package/{dist/modules → modules}/layout/components/Page.d.ts +0 -0
- /package/{dist/modules → modules}/motion/components/TextEffect.d.ts +0 -0
- /package/{dist/modules → modules}/motion/components/TextLoop.d.ts +0 -0
- /package/{dist/modules → modules}/navigation-menu/components/NavigationMenu.d.ts +0 -0
- /package/{dist/modules → modules}/navigation-menu/components/NavigationMenuItemControls.d.ts +0 -0
- /package/{dist/modules → modules}/navigation-menu/states/activePluginState.d.ts +0 -0
- /package/{dist/modules → modules}/preview/components/Preview.d.ts +0 -0
- /package/{dist/modules → modules}/preview/context/PreviewContext.d.ts +0 -0
- /package/{dist/modules → modules}/record-field/meta-inputs/components/EmailVerificationInput.d.ts +0 -0
- /package/{dist/modules → modules}/record-field/meta-inputs/components/PhoneInput.d.ts +0 -0
- /package/{dist/modules → modules}/record-field/meta-inputs/components/PhoneVerificationInput.d.ts +0 -0
- /package/{dist/modules → modules}/record-field/meta-inputs/components/TextFieldInput.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/CheckboxColumn.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableArrowEffect.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableCell.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableColumnSelector.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableContainer.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableDnDProvider.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableHead.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableHeader.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableHotkeyCell.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableInlineHead.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableRoot.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableRow.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableRowSkeleton.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/components/RecordTableScroll.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/contexts/RecordTableHotkeyContext.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/hooks/usePopoverOnEnter.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/hooks/useRecordTableCursor.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/hooks/useTablePreferences.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/states/EditModePositionComponentState.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/states/RecordTableCursorState.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/states/RecordTableTreeState.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/types/RecordTableCursorTypes.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/types/RecordTableScope.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/types/RecordTableTreeTypes.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/types/recordTableTypes.d.ts +0 -0
- /package/{dist/modules → modules}/record-table/utils/columnUtils.d.ts +0 -0
- /package/{dist/modules → modules}/report/components/report-page-container.d.ts +0 -0
- /package/{dist/modules → modules}/report/components/report-table.d.ts +0 -0
- /package/{dist/modules → modules}/report/states/reportSettingsState.d.ts +0 -0
- /package/{dist/modules → modules}/select-operation/components/SelectOperation.d.ts +0 -0
- /package/{dist/modules → modules}/select-tree/hooks/useSelectTreeHide.d.ts +0 -0
- /package/{dist/modules → modules}/select-tree/states/selectTreeStates.d.ts +0 -0
- /package/{dist/modules → modules}/select-tree/types/selectTreeTypes.d.ts +0 -0
- /package/{dist/modules → modules}/side-menu/components/SideMenu.d.ts +0 -0
- /package/{dist/modules → modules}/side-menu/context/SideMenuContext.d.ts +0 -0
- /package/{dist/state → state}/sidebarPanelState.d.ts +0 -0
- /package/{src/theme.css → theme.css} +0 -0
- /package/{dist/types → types}/CountryCode.d.ts +0 -0
- /package/{dist/types → types}/CurrencyCode.d.ts +0 -0
- /package/{dist/types → types}/Gql.d.ts +0 -0
- /package/{dist/types → types}/Key.d.ts +0 -0
- /package/{dist/types → types}/Relations.d.ts +0 -0
- /package/{dist/types → types}/SexCode.d.ts +0 -0
- /package/{dist/types → types}/Theme.d.ts +0 -0
- /package/{dist/types → types}/UIConfig.d.ts +0 -0
- /package/{dist/types → types}/Utils.d.ts +0 -0
- /package/{dist/types → types}/ValidationStatus.d.ts +0 -0
- /package/{dist/utils → utils}/IsUndefinedOrNull.d.ts +0 -0
- /package/{dist/utils → utils}/colors.d.ts +0 -0
- /package/{dist/utils → utils}/config/index.d.ts +0 -0
- /package/{dist/utils → utils}/cookie-storage.d.ts +0 -0
- /package/{dist/utils → utils}/core.d.ts +0 -0
- /package/{dist/utils → utils}/fixOrder.d.ts +0 -0
- /package/{dist/utils → utils}/format/formatAmount.d.ts +0 -0
- /package/{dist/utils → utils}/format/formatPhoneNumber.d.ts +0 -0
- /package/{dist/utils → utils}/getPluginAssetsUrl.d.ts +0 -0
- /package/{dist/utils → utils}/highlightMatch.d.ts +0 -0
- /package/{dist/utils → utils}/isAnObject.d.ts +0 -0
- /package/{dist/utils → utils}/isDeeplyEqual.d.ts +0 -0
- /package/{dist/utils → utils}/isDefined.d.ts +0 -0
- /package/{dist/utils → utils}/isEnabled.d.ts +0 -0
- /package/{dist/utils → utils}/localization/detectTimeZone.d.ts +0 -0
- /package/{dist/utils → utils}/localization/formatDateISOStringToRelativeDate.d.ts +0 -0
- /package/{dist/utils → utils}/localization/formatTimeZoneLabel.d.ts +0 -0
- /package/{dist/utils → utils}/logDebug.d.ts +0 -0
- /package/{dist/utils → utils}/regex/passwordRegex.d.ts +0 -0
- /package/{dist/utils → utils}/string-array.d.ts +0 -0
- /package/{dist/utils → utils}/stripHtml.d.ts +0 -0
- /package/{dist/utils → utils}/urlParser.d.ts +0 -0
- /package/{dist/utils → utils}/videoEmbed.d.ts +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-KTBDECJI.js";
|
|
4
|
+
|
|
5
|
+
// src/modules/motion/components/TextEffect.tsx
|
|
6
|
+
import { AnimatePresence, motion } from "motion/react";
|
|
7
|
+
import React from "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
var defaultStaggerTimes = {
|
|
10
|
+
char: 0.03,
|
|
11
|
+
word: 0.05,
|
|
12
|
+
line: 0.1
|
|
13
|
+
};
|
|
14
|
+
var defaultContainerVariants = {
|
|
15
|
+
hidden: { opacity: 0 },
|
|
16
|
+
visible: {
|
|
17
|
+
opacity: 1,
|
|
18
|
+
transition: {
|
|
19
|
+
staggerChildren: 0.05
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
exit: {
|
|
23
|
+
transition: { staggerChildren: 0.05, staggerDirection: -1 }
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
var defaultItemVariants = {
|
|
27
|
+
hidden: { opacity: 0 },
|
|
28
|
+
visible: {
|
|
29
|
+
opacity: 1
|
|
30
|
+
},
|
|
31
|
+
exit: { opacity: 0 }
|
|
32
|
+
};
|
|
33
|
+
var presetVariants = {
|
|
34
|
+
blur: {
|
|
35
|
+
container: defaultContainerVariants,
|
|
36
|
+
item: {
|
|
37
|
+
hidden: { opacity: 0, filter: "blur(12px)" },
|
|
38
|
+
visible: { opacity: 1, filter: "blur(0px)" },
|
|
39
|
+
exit: { opacity: 0, filter: "blur(12px)" }
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"fade-in-blur": {
|
|
43
|
+
container: defaultContainerVariants,
|
|
44
|
+
item: {
|
|
45
|
+
hidden: { opacity: 0, y: 20, filter: "blur(12px)" },
|
|
46
|
+
visible: { opacity: 1, y: 0, filter: "blur(0px)" },
|
|
47
|
+
exit: { opacity: 0, y: 20, filter: "blur(12px)" }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
scale: {
|
|
51
|
+
container: defaultContainerVariants,
|
|
52
|
+
item: {
|
|
53
|
+
hidden: { opacity: 0, scale: 0 },
|
|
54
|
+
visible: { opacity: 1, scale: 1 },
|
|
55
|
+
exit: { opacity: 0, scale: 0 }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
fade: {
|
|
59
|
+
container: defaultContainerVariants,
|
|
60
|
+
item: {
|
|
61
|
+
hidden: { opacity: 0 },
|
|
62
|
+
visible: { opacity: 1 },
|
|
63
|
+
exit: { opacity: 0 }
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
slide: {
|
|
67
|
+
container: defaultContainerVariants,
|
|
68
|
+
item: {
|
|
69
|
+
hidden: { opacity: 0, y: 20 },
|
|
70
|
+
visible: { opacity: 1, y: 0 },
|
|
71
|
+
exit: { opacity: 0, y: 20 }
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
var AnimationComponent = React.memo(({ segment, variants, per, segmentWrapperClassName }) => {
|
|
76
|
+
const content = per === "line" ? /* @__PURE__ */ jsx(motion.span, { variants, className: "block", children: segment }) : per === "word" ? /* @__PURE__ */ jsx(
|
|
77
|
+
motion.span,
|
|
78
|
+
{
|
|
79
|
+
"aria-hidden": "true",
|
|
80
|
+
variants,
|
|
81
|
+
className: "inline-block whitespace-pre",
|
|
82
|
+
children: segment
|
|
83
|
+
}
|
|
84
|
+
) : /* @__PURE__ */ jsx(motion.span, { className: "inline-block whitespace-pre", children: segment.split("").map((char, charIndex) => /* @__PURE__ */ jsx(
|
|
85
|
+
motion.span,
|
|
86
|
+
{
|
|
87
|
+
"aria-hidden": "true",
|
|
88
|
+
variants,
|
|
89
|
+
className: "inline-block whitespace-pre",
|
|
90
|
+
children: char
|
|
91
|
+
},
|
|
92
|
+
`char-${charIndex}`
|
|
93
|
+
)) });
|
|
94
|
+
if (!segmentWrapperClassName) {
|
|
95
|
+
return content;
|
|
96
|
+
}
|
|
97
|
+
const defaultWrapperClassName = per === "line" ? "block" : "inline-block";
|
|
98
|
+
return /* @__PURE__ */ jsx("span", { className: cn(defaultWrapperClassName, segmentWrapperClassName), children: content });
|
|
99
|
+
});
|
|
100
|
+
AnimationComponent.displayName = "AnimationComponent";
|
|
101
|
+
var splitText = (text, per) => {
|
|
102
|
+
if (per === "line")
|
|
103
|
+
return text.split("\n");
|
|
104
|
+
return text.split(/(\s+)/);
|
|
105
|
+
};
|
|
106
|
+
var hasTransition = (variant) => {
|
|
107
|
+
if (!variant)
|
|
108
|
+
return false;
|
|
109
|
+
return typeof variant === "object" && "transition" in variant;
|
|
110
|
+
};
|
|
111
|
+
var createVariantsWithTransition = (baseVariants, transition) => {
|
|
112
|
+
if (!transition)
|
|
113
|
+
return baseVariants;
|
|
114
|
+
const { exit: _, ...mainTransition } = transition;
|
|
115
|
+
return {
|
|
116
|
+
...baseVariants,
|
|
117
|
+
visible: {
|
|
118
|
+
...baseVariants.visible,
|
|
119
|
+
transition: {
|
|
120
|
+
...hasTransition(baseVariants.visible) ? baseVariants.visible.transition : {},
|
|
121
|
+
...mainTransition
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
exit: {
|
|
125
|
+
...baseVariants.exit,
|
|
126
|
+
transition: {
|
|
127
|
+
...hasTransition(baseVariants.exit) ? baseVariants.exit.transition : {},
|
|
128
|
+
...mainTransition,
|
|
129
|
+
staggerDirection: -1
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
function TextEffect({
|
|
135
|
+
children,
|
|
136
|
+
per = "word",
|
|
137
|
+
as = "p",
|
|
138
|
+
variants,
|
|
139
|
+
className,
|
|
140
|
+
preset = "fade",
|
|
141
|
+
delay = 0,
|
|
142
|
+
speedReveal = 1,
|
|
143
|
+
speedSegment = 1,
|
|
144
|
+
trigger = true,
|
|
145
|
+
onAnimationComplete,
|
|
146
|
+
onAnimationStart,
|
|
147
|
+
segmentWrapperClassName,
|
|
148
|
+
containerTransition,
|
|
149
|
+
segmentTransition,
|
|
150
|
+
style
|
|
151
|
+
}) {
|
|
152
|
+
const segments = splitText(children, per);
|
|
153
|
+
const MotionTag = motion[as];
|
|
154
|
+
const baseVariants = preset ? presetVariants[preset] : { container: defaultContainerVariants, item: defaultItemVariants };
|
|
155
|
+
const stagger = defaultStaggerTimes[per] / speedReveal;
|
|
156
|
+
const baseDuration = 0.3 / speedSegment;
|
|
157
|
+
const customStagger = hasTransition(variants?.container?.visible ?? {}) ? (variants?.container?.visible).transition?.staggerChildren : void 0;
|
|
158
|
+
const customDelay = hasTransition(variants?.container?.visible ?? {}) ? (variants?.container?.visible).transition?.delayChildren : void 0;
|
|
159
|
+
const computedVariants = {
|
|
160
|
+
container: createVariantsWithTransition(
|
|
161
|
+
variants?.container || baseVariants.container,
|
|
162
|
+
{
|
|
163
|
+
staggerChildren: customStagger ?? stagger,
|
|
164
|
+
delayChildren: customDelay ?? delay,
|
|
165
|
+
...containerTransition,
|
|
166
|
+
exit: {
|
|
167
|
+
staggerChildren: customStagger ?? stagger,
|
|
168
|
+
staggerDirection: -1
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
),
|
|
172
|
+
item: createVariantsWithTransition(variants?.item || baseVariants.item, {
|
|
173
|
+
duration: baseDuration,
|
|
174
|
+
...segmentTransition
|
|
175
|
+
})
|
|
176
|
+
};
|
|
177
|
+
return /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", children: trigger && /* @__PURE__ */ jsxs(
|
|
178
|
+
MotionTag,
|
|
179
|
+
{
|
|
180
|
+
initial: "hidden",
|
|
181
|
+
animate: "visible",
|
|
182
|
+
exit: "exit",
|
|
183
|
+
variants: computedVariants.container,
|
|
184
|
+
className,
|
|
185
|
+
onAnimationComplete,
|
|
186
|
+
onAnimationStart,
|
|
187
|
+
style,
|
|
188
|
+
children: [
|
|
189
|
+
per !== "line" ? /* @__PURE__ */ jsx("span", { className: "sr-only", children }) : null,
|
|
190
|
+
segments.map((segment, index) => /* @__PURE__ */ jsx(
|
|
191
|
+
AnimationComponent,
|
|
192
|
+
{
|
|
193
|
+
segment,
|
|
194
|
+
variants: computedVariants.item,
|
|
195
|
+
per,
|
|
196
|
+
segmentWrapperClassName
|
|
197
|
+
},
|
|
198
|
+
`${per}-${index}-${segment}`
|
|
199
|
+
))
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
) });
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export {
|
|
206
|
+
TextEffect
|
|
207
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-KTBDECJI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/textarea.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var Textarea = React.forwardRef(({ className, ...props }, ref) => {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
"textarea",
|
|
11
|
+
{
|
|
12
|
+
className: cn(
|
|
13
|
+
"flex min-h-[60px] w-full rounded bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] placeholder:text-accent-foreground focus-visible:outline-hidden focus-visible:shadow-focus disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
14
|
+
className
|
|
15
|
+
),
|
|
16
|
+
ref,
|
|
17
|
+
...props
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
});
|
|
21
|
+
Textarea.displayName = "Textarea";
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
Textarea
|
|
25
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getCloudflareStreamBase,
|
|
3
|
+
parseVideoEmbedUrl
|
|
4
|
+
} from "./chunk-PPRBTD5G.js";
|
|
5
|
+
|
|
6
|
+
// src/modules/blocks/components/CustomVideoBlock.tsx
|
|
7
|
+
import {
|
|
8
|
+
videoBlockConfig,
|
|
9
|
+
videoParse
|
|
10
|
+
} from "@blocknote/core";
|
|
11
|
+
import {
|
|
12
|
+
createReactBlockSpec,
|
|
13
|
+
FigureWithCaption,
|
|
14
|
+
ResizableFileBlockWrapper,
|
|
15
|
+
VideoBlock,
|
|
16
|
+
VideoToExternalHTML
|
|
17
|
+
} from "@blocknote/react";
|
|
18
|
+
import { IconVideo } from "@tabler/icons-react";
|
|
19
|
+
import { jsx } from "react/jsx-runtime";
|
|
20
|
+
var getVideoEmbedSource = (url) => {
|
|
21
|
+
const embed = parseVideoEmbedUrl(url);
|
|
22
|
+
const streamBase = getCloudflareStreamBase(url);
|
|
23
|
+
return embed?.embedUrl || (streamBase ? `${streamBase}/iframe` : void 0);
|
|
24
|
+
};
|
|
25
|
+
var EmbeddedVideo = ({ src, title }) => /* @__PURE__ */ jsx(
|
|
26
|
+
"iframe",
|
|
27
|
+
{
|
|
28
|
+
className: "bn-visual-media aspect-video h-auto max-w-full border-0",
|
|
29
|
+
width: "640",
|
|
30
|
+
height: "360",
|
|
31
|
+
src,
|
|
32
|
+
title: title || "Video",
|
|
33
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
34
|
+
allowFullScreen: true,
|
|
35
|
+
referrerPolicy: "strict-origin-when-cross-origin",
|
|
36
|
+
contentEditable: false
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
var CustomVideoBlockContent = (props) => {
|
|
40
|
+
const src = getVideoEmbedSource(props.block.props.url);
|
|
41
|
+
if (!src) {
|
|
42
|
+
return /* @__PURE__ */ jsx(VideoBlock, { ...props });
|
|
43
|
+
}
|
|
44
|
+
const fileProps = props;
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
ResizableFileBlockWrapper,
|
|
47
|
+
{
|
|
48
|
+
...fileProps,
|
|
49
|
+
buttonText: props.editor.dictionary.file_blocks.video.add_button_text,
|
|
50
|
+
buttonIcon: /* @__PURE__ */ jsx(IconVideo, { size: 24 }),
|
|
51
|
+
children: /* @__PURE__ */ jsx(EmbeddedVideo, { src, title: props.block.props.name })
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
var ExternalVideoHtml = (props) => {
|
|
56
|
+
const src = getVideoEmbedSource(props.block.props.url);
|
|
57
|
+
if (!src || !props.block.props.showPreview) {
|
|
58
|
+
return /* @__PURE__ */ jsx(VideoToExternalHTML, { ...props });
|
|
59
|
+
}
|
|
60
|
+
const video = /* @__PURE__ */ jsx(EmbeddedVideo, { src, title: props.block.props.name });
|
|
61
|
+
return props.block.props.caption ? /* @__PURE__ */ jsx(FigureWithCaption, { caption: props.block.props.caption, children: video }) : video;
|
|
62
|
+
};
|
|
63
|
+
var customVideoBlock = createReactBlockSpec(videoBlockConfig, {
|
|
64
|
+
render: CustomVideoBlockContent,
|
|
65
|
+
toExternalHTML: ExternalVideoHtml,
|
|
66
|
+
parse: (element) => {
|
|
67
|
+
const video = videoParse(element);
|
|
68
|
+
if (video)
|
|
69
|
+
return video;
|
|
70
|
+
if (element.tagName === "IFRAME" && element.closest("figure")) {
|
|
71
|
+
return void 0;
|
|
72
|
+
}
|
|
73
|
+
const iframe = element.tagName === "IFRAME" ? element : element.tagName === "FIGURE" ? element.querySelector("iframe") : null;
|
|
74
|
+
const url = getVideoEmbedSource(iframe?.getAttribute("src") || "");
|
|
75
|
+
if (!url)
|
|
76
|
+
return void 0;
|
|
77
|
+
return {
|
|
78
|
+
url,
|
|
79
|
+
caption: element.querySelector("figcaption")?.textContent || ""
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export {
|
|
85
|
+
CustomVideoBlockContent,
|
|
86
|
+
customVideoBlock
|
|
87
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// src/modules/blocks/hooks/toolbar/useFontFamily.ts
|
|
2
|
+
import {
|
|
3
|
+
useBlockNoteEditor,
|
|
4
|
+
useEditorContentOrSelectionChange
|
|
5
|
+
} from "@blocknote/react";
|
|
6
|
+
import { useState } from "react";
|
|
7
|
+
var useFontFamily = () => {
|
|
8
|
+
const editor = useBlockNoteEditor();
|
|
9
|
+
const [currentFont, setCurrentFont] = useState(() => {
|
|
10
|
+
const styles = editor.getActiveStyles();
|
|
11
|
+
return styles.fontFamily || "";
|
|
12
|
+
});
|
|
13
|
+
const [isFileBlock, setIsFileBlock] = useState(false);
|
|
14
|
+
useEditorContentOrSelectionChange(() => {
|
|
15
|
+
if (!editor)
|
|
16
|
+
return;
|
|
17
|
+
try {
|
|
18
|
+
const styles = editor.getActiveStyles();
|
|
19
|
+
setCurrentFont(styles?.fontFamily || "");
|
|
20
|
+
const block = editor.getTextCursorPosition()?.block;
|
|
21
|
+
const blockSpec = block ? editor.schema.blockSpecs[block.type] : null;
|
|
22
|
+
setIsFileBlock(!!blockSpec?.config?.isFileBlock);
|
|
23
|
+
} catch {
|
|
24
|
+
}
|
|
25
|
+
}, editor);
|
|
26
|
+
const handleFontChange = (fontValue) => {
|
|
27
|
+
if (!editor)
|
|
28
|
+
return;
|
|
29
|
+
try {
|
|
30
|
+
if (fontValue === "") {
|
|
31
|
+
editor.removeStyles({ fontFamily: "" });
|
|
32
|
+
} else {
|
|
33
|
+
editor.addStyles({ fontFamily: fontValue });
|
|
34
|
+
}
|
|
35
|
+
editor.focus();
|
|
36
|
+
} catch (error) {
|
|
37
|
+
console.error("Error changing font:", error);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
return { currentFont, isFileBlock, handleFontChange };
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
useFontFamily
|
|
45
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-KTBDECJI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/switch.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { Switch as SwitchPrimitives } from "radix-ui";
|
|
8
|
+
import { cva } from "class-variance-authority";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var switchVariants = cva(
|
|
11
|
+
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-transparent transition-colors focus-visible:outline-hidden focus-visible:shadow-focus disabled:cursor-not-allowed disabled:opacity-50 aria-checked:bg-primary aria-[checked=false]:bg-accent shadow-inner",
|
|
12
|
+
{
|
|
13
|
+
variants: {
|
|
14
|
+
size: {
|
|
15
|
+
default: "h-6 w-10 p-1",
|
|
16
|
+
sm: "h-4 w-7 p-0.5"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
size: "default"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
var switchThumbVariants = cva(
|
|
25
|
+
"pointer-events-none block rounded-full bg-background dark:bg-foreground shadow-sm ring-0 transition-transform data-[state=unchecked]:translate-x-0",
|
|
26
|
+
{
|
|
27
|
+
variants: {
|
|
28
|
+
size: {
|
|
29
|
+
default: "size-4 data-[state=checked]:translate-x-4",
|
|
30
|
+
sm: "size-3 data-[state=checked]:translate-x-3"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
defaultVariants: {
|
|
34
|
+
size: "default"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
var Switch = React.forwardRef(({ className, size, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
39
|
+
SwitchPrimitives.Root,
|
|
40
|
+
{
|
|
41
|
+
className: cn(switchVariants({ size }), className),
|
|
42
|
+
...props,
|
|
43
|
+
ref,
|
|
44
|
+
children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: switchThumbVariants({ size }) })
|
|
45
|
+
}
|
|
46
|
+
));
|
|
47
|
+
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
Switch
|
|
51
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SidebarTreeIndicator
|
|
3
|
+
} from "./chunk-DUSKF3PG.js";
|
|
4
|
+
import {
|
|
5
|
+
useComposedRef
|
|
6
|
+
} from "./chunk-RTKGTC5M.js";
|
|
7
|
+
import {
|
|
8
|
+
cn
|
|
9
|
+
} from "./chunk-KTBDECJI.js";
|
|
10
|
+
|
|
11
|
+
// src/components/sidebar/menu-sub.tsx
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
import { Slot } from "radix-ui";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
var SidebarMenuSub = React.forwardRef(({ className, children, ...props }, ref) => {
|
|
16
|
+
const [subRef, setRefs] = useComposedRef(ref);
|
|
17
|
+
return /* @__PURE__ */ jsxs(
|
|
18
|
+
"ul",
|
|
19
|
+
{
|
|
20
|
+
ref: setRefs,
|
|
21
|
+
"data-sidebar": "menu-sub",
|
|
22
|
+
className: cn(
|
|
23
|
+
"relative ml-3.5 flex min-w-0 translate-x-px flex-col gap-1 pl-2.5 py-0.5",
|
|
24
|
+
"group-data-[collapsible=icon]:hidden",
|
|
25
|
+
className
|
|
26
|
+
),
|
|
27
|
+
...props,
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ jsx(SidebarTreeIndicator, { as: "li", containerRef: subRef }),
|
|
30
|
+
children
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
});
|
|
35
|
+
SidebarMenuSub.displayName = "SidebarMenuSub";
|
|
36
|
+
var SidebarMenuSubItem = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, ...props }));
|
|
37
|
+
SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
|
|
38
|
+
var SidebarMenuSubButton = React.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
|
|
39
|
+
const Comp = asChild ? Slot.Root : "a";
|
|
40
|
+
return /* @__PURE__ */ jsx(
|
|
41
|
+
Comp,
|
|
42
|
+
{
|
|
43
|
+
ref,
|
|
44
|
+
"data-sidebar": "menu-sub-button",
|
|
45
|
+
"data-size": size,
|
|
46
|
+
"data-active": isActive,
|
|
47
|
+
className: cn(
|
|
48
|
+
"flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded px-2 outline-hidden font-normal hover:bg-accent focus-visible:ring-2 active:bg-accent disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
49
|
+
"data-[active=true]:bg-primary/10 data-[active=true]:text-primary data-[active=true]:font-semibold data-[active=true]:[&>svg]:text-primary data-[active=true]:[&>svg]:animate-icon-pop motion-reduce:[&>svg]:animate-none [&>svg]:transition-transform active:[&>svg]:scale-90",
|
|
50
|
+
size === "sm" && "text-xs",
|
|
51
|
+
size === "md" && "text-sm",
|
|
52
|
+
"group-data-[collapsible=icon]:hidden",
|
|
53
|
+
className
|
|
54
|
+
),
|
|
55
|
+
...props
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
});
|
|
59
|
+
SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
SidebarMenuSub,
|
|
63
|
+
SidebarMenuSubItem,
|
|
64
|
+
SidebarMenuSubButton
|
|
65
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-KTBDECJI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/popover.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var popoverClassName = "z-50 w-72 rounded-md bg-background p-4 shadow-lg outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0";
|
|
10
|
+
var PopoverPortal = ({
|
|
11
|
+
...props
|
|
12
|
+
}) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { ...props });
|
|
13
|
+
var PopoverContent = React.forwardRef(
|
|
14
|
+
({
|
|
15
|
+
className,
|
|
16
|
+
align = "center",
|
|
17
|
+
disableTransition,
|
|
18
|
+
sideOffset = 4,
|
|
19
|
+
...props
|
|
20
|
+
}, ref) => /* @__PURE__ */ jsx(PopoverPortal, { children: /* @__PURE__ */ jsx(
|
|
21
|
+
PopoverPrimitive.Content,
|
|
22
|
+
{
|
|
23
|
+
ref,
|
|
24
|
+
align,
|
|
25
|
+
sideOffset,
|
|
26
|
+
className: cn(
|
|
27
|
+
popoverClassName,
|
|
28
|
+
!disableTransition && "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
...props
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
);
|
|
35
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
36
|
+
var Popover = Object.assign(PopoverPrimitive.Root, {
|
|
37
|
+
Trigger: PopoverPrimitive.Trigger,
|
|
38
|
+
Content: PopoverContent,
|
|
39
|
+
Anchor: PopoverPrimitive.Anchor,
|
|
40
|
+
Close: PopoverPrimitive.Close
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export {
|
|
44
|
+
popoverClassName,
|
|
45
|
+
Popover
|
|
46
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/modules/chat-viz/hooks/useIsClient.ts
|
|
2
|
+
import { useEffect, useState } from "react";
|
|
3
|
+
function useIsClient() {
|
|
4
|
+
const [isClient, setIsClient] = useState(false);
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
setIsClient(true);
|
|
7
|
+
}, []);
|
|
8
|
+
return isClient;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
useIsClient
|
|
13
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// src/modules/attachments/types.ts
|
|
2
|
+
var EXT_TO_MIME = {
|
|
3
|
+
jpg: "image/jpeg",
|
|
4
|
+
jpeg: "image/jpeg",
|
|
5
|
+
png: "image/png",
|
|
6
|
+
gif: "image/gif",
|
|
7
|
+
webp: "image/webp",
|
|
8
|
+
svg: "image/svg+xml",
|
|
9
|
+
bmp: "image/bmp",
|
|
10
|
+
ico: "image/x-icon",
|
|
11
|
+
avif: "image/avif",
|
|
12
|
+
tiff: "image/tiff",
|
|
13
|
+
tif: "image/tiff",
|
|
14
|
+
pdf: "application/pdf",
|
|
15
|
+
txt: "text/plain",
|
|
16
|
+
doc: "application/msword",
|
|
17
|
+
docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
18
|
+
xls: "application/vnd.ms-excel",
|
|
19
|
+
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
20
|
+
ppt: "application/vnd.ms-powerpoint",
|
|
21
|
+
pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
22
|
+
};
|
|
23
|
+
var parseFilesAsAttachments = (value) => {
|
|
24
|
+
let urls = [];
|
|
25
|
+
if (!value)
|
|
26
|
+
return [];
|
|
27
|
+
if (typeof value === "string" && value.trim()) {
|
|
28
|
+
try {
|
|
29
|
+
const parsed = JSON.parse(value);
|
|
30
|
+
if (Array.isArray(parsed))
|
|
31
|
+
urls = parsed;
|
|
32
|
+
else if (parsed?.url)
|
|
33
|
+
urls = [parsed.url];
|
|
34
|
+
} catch {
|
|
35
|
+
urls = [value];
|
|
36
|
+
}
|
|
37
|
+
} else if (Array.isArray(value)) {
|
|
38
|
+
urls = value;
|
|
39
|
+
} else if (typeof value === "object" && value !== null && "url" in value) {
|
|
40
|
+
urls = [value.url];
|
|
41
|
+
}
|
|
42
|
+
return urls.map((url) => {
|
|
43
|
+
const ext = url.split("?")[0].split(".").pop()?.toLowerCase() ?? "";
|
|
44
|
+
return {
|
|
45
|
+
url,
|
|
46
|
+
name: url.split("/").pop() ?? url,
|
|
47
|
+
size: 0,
|
|
48
|
+
type: EXT_TO_MIME[ext] ?? "application/octet-stream"
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export {
|
|
54
|
+
parseFilesAsAttachments
|
|
55
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "./chunk-KTBDECJI.js";
|
|
4
|
+
|
|
5
|
+
// src/components/card.tsx
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
var CardRoot = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
ref,
|
|
12
|
+
className: cn(
|
|
13
|
+
"rounded-xl bg-card text-card-foreground shadow-sm",
|
|
14
|
+
className
|
|
15
|
+
),
|
|
16
|
+
...props
|
|
17
|
+
}
|
|
18
|
+
));
|
|
19
|
+
CardRoot.displayName = "CardRoot";
|
|
20
|
+
var CardHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
ref,
|
|
24
|
+
className: cn("flex flex-col text-xl space-y-1.5 p-6", className),
|
|
25
|
+
...props
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
CardHeader.displayName = "CardHeader";
|
|
29
|
+
var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
ref,
|
|
33
|
+
className: cn(
|
|
34
|
+
"font-semibold leading-none tracking-tight text-xl",
|
|
35
|
+
className
|
|
36
|
+
),
|
|
37
|
+
...props
|
|
38
|
+
}
|
|
39
|
+
));
|
|
40
|
+
CardTitle.displayName = "CardTitle";
|
|
41
|
+
var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
ref,
|
|
45
|
+
className: cn("text-sm text-muted-foreground font-medium", className),
|
|
46
|
+
...props
|
|
47
|
+
}
|
|
48
|
+
));
|
|
49
|
+
CardDescription.displayName = "CardDescription";
|
|
50
|
+
var CardContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
51
|
+
CardContent.displayName = "CardContent";
|
|
52
|
+
var CardFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
ref,
|
|
56
|
+
className: cn("flex items-center p-6 pt-0", className),
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
));
|
|
60
|
+
CardFooter.displayName = "CardFooter";
|
|
61
|
+
var Card = Object.assign(CardRoot, {
|
|
62
|
+
Header: CardHeader,
|
|
63
|
+
Footer: CardFooter,
|
|
64
|
+
Title: CardTitle,
|
|
65
|
+
Description: CardDescription,
|
|
66
|
+
Content: CardContent
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export {
|
|
70
|
+
Card
|
|
71
|
+
};
|