decocms 4.161.1 → 4.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-CUcDxjGY.js → AlertCircle-LCxBCJ8n.js} +1 -1
- package/dist/client/assets/{AreaChart-Dq_bkrUx.js → AreaChart-CVlhdmdg.js} +1 -1
- package/dist/client/assets/{ArrowUp-BhLEQ_R-.js → ArrowUp-LFRKHLuQ.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-Bfi_-T1T.js → ArrowUpRight-CXMFqfGp.js} +1 -1
- package/dist/client/assets/{Check-Dhn7Zxph.js → Check-BCFAcmIa.js} +1 -1
- package/dist/client/assets/{CheckCircle-CPimdDox.js → CheckCircle-DpOD9rH0.js} +1 -1
- package/dist/client/assets/{ChevronDown-Djtj8s2C.js → ChevronDown-BOvaCVzg.js} +1 -1
- package/dist/client/assets/{ChevronRight-DKQjxej0.js → ChevronRight-liTksB2U.js} +1 -1
- package/dist/client/assets/{ChevronUp-CArow7Ld.js → ChevronUp-BIqoKMUJ.js} +1 -1
- package/dist/client/assets/{Copy01-5xEyaq0L.js → Copy01-ZIMiAxdP.js} +1 -1
- package/dist/client/assets/{CpuChip01-CihN30nB.js → CpuChip01-ZsmfFXVO.js} +1 -1
- package/dist/client/assets/{DotsVertical-LcorlX8z.js → DotsVertical-CtO9eku7.js} +1 -1
- package/dist/client/assets/{Eye-DxBGn7O3.js → Eye-BQWYf35S.js} +1 -1
- package/dist/client/assets/{FilterLines-pb40JzMe.js → FilterLines-CaGojimS.js} +1 -1
- package/dist/client/assets/{HardDrive-Cxy_frkb.js → HardDrive-BRyCfhBH.js} +1 -1
- package/dist/client/assets/{Key01-Dy8ufMzX.js → Key01-i8xg5eM3.js} +1 -1
- package/dist/client/assets/{LayoutLeft-G5ulvKoQ.js → LayoutLeft-Co2_iLon.js} +1 -1
- package/dist/client/assets/{LinkExternal01-FhqefsKA.js → LinkExternal01-S8dAjzzi.js} +1 -1
- package/dist/client/assets/{LogOut01-j-WBuxDZ.js → LogOut01-D75UBZCc.js} +1 -1
- package/dist/client/assets/{Monitor01-CM3NjWzV.js → Monitor01-BAx1QWFz.js} +1 -1
- package/dist/client/assets/{Palette-COYfzM_U.js → Palette-Bg3YC03V.js} +1 -1
- package/dist/client/assets/{Play-DNLWL5K3.js → Play-VIp82r5R.js} +1 -1
- package/dist/client/assets/{Plus-CF1N8Q67.js → Plus-C9hAZmdY.js} +1 -1
- package/dist/client/assets/{SearchLg-D_5j9M1m.js → SearchLg-CqGEHAUM.js} +1 -1
- package/dist/client/assets/{SearchMd-xDCdTWxD.js → SearchMd-oPsBet0y.js} +1 -1
- package/dist/client/assets/{Settings02-DiZDXj5Z.js → Settings02-DNMfHyCE.js} +1 -1
- package/dist/client/assets/{Shield01-tCRFOlSz.js → Shield01-DD8XMdYI.js} +1 -1
- package/dist/client/assets/{Star01-BS-Gu-2l.js → Star01-y2n-9wTn.js} +1 -1
- package/dist/client/assets/{Stars01-Dev5O1vQ.js → Stars01-CJ0QEEdc.js} +1 -1
- package/dist/client/assets/{Stars02-rKtNKKT8.js → Stars02-B3TWh8au.js} +1 -1
- package/dist/client/assets/{Sun-DsZ2bQx0.js → Sun-BQEYQLhf.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DL3LsK3I.js → SwitchHorizontal01-Dsxsamxe.js} +1 -1
- package/dist/client/assets/{Tool01-BsGxyCC7.js → Tool01-Oew-Vovb.js} +1 -1
- package/dist/client/assets/{Tool02-BzUrG-qS.js → Tool02-CJeM1QZT.js} +1 -1
- package/dist/client/assets/{Trash01-Bg4oINGR.js → Trash01-CLRqp8e5.js} +1 -1
- package/dist/client/assets/{TrendUp01-Bcc67T6i.js → TrendUp01-Bm1SbHN0.js} +1 -1
- package/dist/client/assets/{Upload01-DhCO5Br6.js → Upload01-ZVOuhs4w.js} +1 -1
- package/dist/client/assets/{User01-BHSs9KjH.js → User01-BYLEai7_.js} +1 -1
- package/dist/client/assets/{Users01-pfQw-LFZ.js → Users01-CS4W313X.js} +1 -1
- package/dist/client/assets/{Users03-CHoVaQzA.js → Users03-CbHaoSh0.js} +1 -1
- package/dist/client/assets/{X-CKE3sYuH.js → X-x99fWfG-.js} +1 -1
- package/dist/client/assets/{XCircle-u3iQOPlL.js → XCircle-CeqmuHIK.js} +1 -1
- package/dist/client/assets/{XClose-CZqGW_Re.js → XClose-CCug5seG.js} +1 -1
- package/dist/client/assets/{Zap-BgHvWCiG.js → Zap-DHqCvvjt.js} +1 -1
- package/dist/client/assets/{ZapSquare-C0MzWe19.js → ZapSquare-BKWVL4uR.js} +1 -1
- package/dist/client/assets/{access-gate-_CHj67Lr.js → access-gate-C9PFWoZS.js} +1 -1
- package/dist/client/assets/{add-section-modal-CgK9a_DZ.js → add-section-modal-DEjIe-XG.js} +1 -1
- package/dist/client/assets/{agent-icon-DViIGKZU.js → agent-icon-DR5LB4zY.js} +1 -1
- package/dist/client/assets/{agents-list-C8Lf6yfQ.js → agents-list-BvXD__fr.js} +1 -1
- package/dist/client/assets/{ai-providers-GpZi36Ym.js → ai-providers-DuMestUx.js} +1 -1
- package/dist/client/assets/{alert-C8EyftLv.js → alert-DWAFMZWl.js} +1 -1
- package/dist/client/assets/{alert-dialog-D0gAEvN4.js → alert-dialog-DR9_FciR.js} +1 -1
- package/dist/client/assets/{app-editor-JFaMzdC8.js → app-editor-BC28cPFO.js} +1 -1
- package/dist/client/assets/{auth-Bo_5cDaq.js → auth-BiMrtm96.js} +1 -1
- package/dist/client/assets/{auth-catchall-B1nf6rIk.js → auth-catchall-BNPPREMt.js} +1 -1
- package/dist/client/assets/{auth-entry-CQaL8fIv.js → auth-entry-CVJjeL2L.js} +1 -1
- package/dist/client/assets/{auth-split-layout-DeBI7u9p.js → auth-split-layout-CbPO57v5.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-Dk8hrcP_.js → authenticate-and-persist-oauth-B8SUVbil.js} +1 -1
- package/dist/client/assets/{automation-list-row-_65SUyy9.js → automation-list-row-C5X09Iy0.js} +1 -1
- package/dist/client/assets/{automation-runs-CDgA8nyV.js → automation-runs-i1Rm2H_V.js} +1 -1
- package/dist/client/assets/{automations-rmE6d_TD.js → automations-C48IGjrC.js} +1 -1
- package/dist/client/assets/{avatar-EY0D0gM0.js → avatar-CssB4IS0.js} +1 -1
- package/dist/client/assets/{badge-BcLkQsY8.js → badge-B-S2iO6e.js} +1 -1
- package/dist/client/assets/{block-document-7t27xq-o.js → block-document-Dotg4_gG.js} +1 -1
- package/dist/client/assets/{brand-context-CTEsQnpf.js → brand-context-C331P1EH.js} +1 -1
- package/dist/client/assets/{buckets-jLO2vHof.js → buckets-zt_s5mti.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-jKlYCHA4.js → bulk-category-panel-DMe3EujP.js} +1 -1
- package/dist/client/assets/{calendar-7NtjSUFn.js → calendar-BO4sgiAT.js} +1 -1
- package/dist/client/assets/{capability-load-error-Duuaa61t.js → capability-load-error-B2CpoAHd.js} +1 -1
- package/dist/client/assets/{card-BYakdmOR.js → card-Dtd81GX2.js} +1 -1
- package/dist/client/assets/{category-editor-GeXrpLxy.js → category-editor-BxdNiDrW.js} +1 -1
- package/dist/client/assets/{chat-context-DCvUBk8c.js → chat-context-_ugV5jB0.js} +1 -1
- package/dist/client/assets/{checkbox-CcZj1YlH.js → checkbox-DyL6jqNP.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DqRROXdk.js → cli-auth-success-CBllfpZy.js} +1 -1
- package/dist/client/assets/{collection-detail-wix_26Wd.js → collection-detail-CJ-IT8lZ.js} +1 -1
- package/dist/client/assets/{collection-display-button-DWWsCnCf.js → collection-display-button-rIB9x9ex.js} +1 -1
- package/dist/client/assets/{collection-search-maUn1v1y.js → collection-search-DDaBoxpd.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-Dwv1fUc2.js → collection-table-wrapper-DvDVvjdJ.js} +1 -1
- package/dist/client/assets/{collection-tabs-D_eTPSZw.js → collection-tabs-6ZZEGxA4.js} +1 -1
- package/dist/client/assets/{command-BI3Xv4Sc.js → command-B0sPw5D_.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-C4bA6ah8.js → commerce-onboarding-CA2gNg1f.js} +1 -1
- package/dist/client/assets/{companions-core-CUE9i4aH.js → companions-core-bB24Ott2.js} +1 -1
- package/dist/client/assets/{connect-BlLLWwAi.js → connect-dTZGddot.js} +1 -1
- package/dist/client/assets/{connection-59NSzgNt.js → connection-B2NXk64E.js} +1 -1
- package/dist/client/assets/{connection-card-DwmEL33x.js → connection-card-D4yqc7qp.js} +1 -1
- package/dist/client/assets/{connection-detail-CYsSdraL.js → connection-detail-BNv09xz3.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-C4AUcIuq.js → connection-form-helpers-Dp2JRmtQ.js} +1 -1
- package/dist/client/assets/{connections-CrIn8aFh.js → connections-Dkp0iGo0.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-CUoSjnGN.js → decopilot-sse-pool-tfgrlddF.js} +1 -1
- package/dist/client/assets/{dialog-deq5Z62n.js → dialog-DDV9hxrK.js} +1 -1
- package/dist/client/assets/{domain-settings-dACEe94Z.js → domain-settings-Cj5IWEJw.js} +1 -1
- package/dist/client/assets/{drawer-CAc0v8Kk.js → drawer-CLLhxT0A.js} +1 -1
- package/dist/client/assets/{dropdown-menu-B84c6vyY.js → dropdown-menu-DFyP7pd-.js} +1 -1
- package/dist/client/assets/{empty-state-DmcLo16w.js → empty-state-C8MJdBfO.js} +1 -1
- package/dist/client/assets/{extract-connection-data-zUXnD6vP.js → extract-connection-data-GzPEHPIn.js} +1 -1
- package/dist/client/assets/{file-explorer-6556vrB-.js → file-explorer-DcVPQshc.js} +1 -1
- package/dist/client/assets/{form-DIU3QevO.js → form-dL4WOA5T.js} +1 -1
- package/dist/client/assets/{general-CA9kMGu5.js → general-6LKGbmPX.js} +1 -1
- package/dist/client/assets/{github-repo-picker-CFkEPF0T.js → github-repo-picker-BYme-j8T.js} +1 -1
- package/dist/client/assets/{hooks-DPmWEFUp.js → hooks-B9cPFqGD.js} +1 -1
- package/dist/client/assets/{index-CpxKAg9O.js → index-60s5nmmz.js} +1 -1
- package/dist/client/assets/{index-BSvZt1aY.js → index-BBd4FRXS.js} +1 -1
- package/dist/client/assets/{index-DOL6-zMr.js → index-By7P3hhU.js} +1 -1
- package/dist/client/assets/{index-D_r7k-Zk.js → index-D2YLDCkn.js} +1 -1
- package/dist/client/assets/{index-CN9XWylU.js → index-DeVgWfhn.js} +1 -1
- package/dist/client/assets/{index-C0LPV5CG.js → index-Y9ucfh4p.js} +1 -1
- package/dist/client/assets/{index-4AV5Z-HJ.js → index-ZADPN4om.js} +16 -16
- package/dist/client/assets/{index-D6pENVEO.js → index-jG87093U.js} +1 -1
- package/dist/client/assets/{index-CtiwGgW-.js → index-kfiIPtrP.js} +3 -3
- package/dist/client/assets/{index-CNXKLuex.js → index-pBoO89BO.js} +1 -1
- package/dist/client/assets/{index-redirect-CIR5XR7Q.js → index-redirect-CfBCt2ky.js} +1 -1
- package/dist/client/assets/{index-2rnCFHCe.js → index-u1ajTG-j.js} +5 -5
- package/dist/client/assets/{input-D_DItGEm.js → input-BjlpMnRZ.js} +1 -1
- package/dist/client/assets/{integration-icon-Df4ZBIp7.js → integration-icon-CI602PfH.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CWBDoRs1.js → invite-member-dialog-phqD0XUF.js} +1 -1
- package/dist/client/assets/{label-DUDALg7X.js → label-CSNgMmTA.js} +1 -1
- package/dist/client/assets/{layout-WusSx2Yj.js → layout-BBpcfaXL.js} +1 -1
- package/dist/client/assets/{login-C_oihz_8.js → login-DE_463fT.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BbRW3A3Q.js → mcp-oauth-CxvR2V5h.js} +1 -1
- package/dist/client/assets/{members-umFS_xad.js → members-CeatJR1m.js} +1 -1
- package/dist/client/assets/{monaco-editor-IqdwRezb.js → monaco-editor-zuz4s4Wv.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-kA_bHwrR.js → monitoring-stats-row-krDWXB2t.js} +1 -1
- package/dist/client/assets/{multi-select-BweYe2PI.js → multi-select-CMyA49eR.js} +1 -1
- package/dist/client/assets/{oauth-callback-D-qNBtM0.js → oauth-callback-C9jDdjjs.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-aCFEVDVd.js → oauth-callback-ai-provider-CY3QZi7E.js} +1 -1
- package/dist/client/assets/{onboarding-xh7g6VBa.js → onboarding-C3hOUjMo.js} +1 -1
- package/dist/client/assets/{org-layout-Ck-EwcID.js → org-layout-XwuOFG3d.js} +1 -1
- package/dist/client/assets/{organization-choice-18yusXQi.js → organization-choice-BM-XKanD.js} +1 -1
- package/dist/client/assets/{orgs-CK55t9R4.js → orgs-DmL2XQRI.js} +1 -1
- package/dist/client/assets/{page-seo-form-BNNQJ_5w.js → page-seo-form-0xV6qNbu.js} +1 -1
- package/dist/client/assets/{popover-Cw8rGbAP.js → popover-EE72qx8A.js} +1 -1
- package/dist/client/assets/{post-editor-CEZSocRU.js → post-editor-BuHJ7HnN.js} +1 -1
- package/dist/client/assets/{primitives-DRaraXk1.js → primitives-ChQICk_y.js} +1 -1
- package/dist/client/assets/{profile-BmxcRLxK.js → profile-B0SoUvj9.js} +1 -1
- package/dist/client/assets/project-app-view-YTx3iCq1.js +1 -0
- package/dist/client/assets/record-editor-M7bvrOuK.js +1 -0
- package/dist/client/assets/{redirect-editor-ChEbeEcj.js → redirect-editor-_6dVoePs.js} +1 -1
- package/dist/client/assets/registry-fNrz9Fbw.js +2 -0
- package/dist/client/assets/{registry-layout-X0LiRsNb.js → registry-layout-OS_nbWHC.js} +1 -1
- package/dist/client/assets/{reports-C7-Wr7Bq.js → reports-B3VBQs5Y.js} +1 -1
- package/dist/client/assets/{require-capability-vhHzXv1S.js → require-capability-CieeBdjs.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BFyGoMIQ.js → required-auth-layout-BDIyJAhL.js} +1 -1
- package/dist/client/assets/{reset-password-C3W51CT7.js → reset-password-CpG0cI8F.js} +1 -1
- package/dist/client/assets/{roles-T8ZrM738.js → roles-DlOhY5JD.js} +1 -1
- package/dist/client/assets/{search-input-DsrHaqfF.js → search-input-cF6ciAVZ.js} +1 -1
- package/dist/client/assets/{secrets-C10FVzpG.js → secrets-Dh26lP0l.js} +1 -1
- package/dist/client/assets/{sections-editor-BRrdZvns.js → sections-editor-HbcASmu4.js} +1 -1
- package/dist/client/assets/{select-MSKwIXsQ.js → select-ceaThfRJ.js} +1 -1
- package/dist/client/assets/{select-model-cISsQOKf.js → select-model-CDLnPEtQ.js} +1 -1
- package/dist/client/assets/{self-tool-result-BFBpynWU.js → self-tool-result-CaPtQwDV.js} +1 -1
- package/dist/client/assets/{seo-editor-aoHApnKO.js → seo-editor-CoW5u7nN.js} +1 -1
- package/dist/client/assets/{settings-layout-06ORo3Ly.js → settings-layout-CM35yCas.js} +1 -1
- package/dist/client/assets/{settings-section-BwbAi_9Z.js → settings-section-BJKYi71q.js} +1 -1
- package/dist/client/assets/{shell-controls-Dxr-K-AK.js → shell-controls-BLKKFd-i.js} +1 -1
- package/dist/client/assets/{shell-layout-BGQF6PX5.js → shell-layout-Cem8gTbL.js} +1 -1
- package/dist/client/assets/{sidebar-BSiDMvB4.js → sidebar-4JG4Ky1v.js} +1 -1
- package/dist/client/assets/{skeleton-DvDczkMq.js → skeleton-QaXxQA1G.js} +1 -1
- package/dist/client/assets/{spinner-C42r1Vsd.js → spinner-CyUVcOie.js} +1 -1
- package/dist/client/assets/{sso-DtmZ130q.js → sso-CCHd62CO.js} +1 -1
- package/dist/client/assets/{store-Kv89b-QB.js → store-lf3dlAB1.js} +1 -1
- package/dist/client/assets/store-registry-BTA3Me55.js +2 -0
- package/dist/client/assets/{studio-tools-DXFd5pC-.js → studio-tools-CUWFqlTh.js} +1 -1
- package/dist/client/assets/{switch-CBqoWJjk.js → switch-1Vfz3uSg.js} +1 -1
- package/dist/client/assets/{tab-id-CrmXezIF.js → tab-id-CI2T4n3l.js} +1 -1
- package/dist/client/assets/{table-Dw9yxjDM.js → table-BQAbKOYa.js} +1 -1
- package/dist/client/assets/{tabs-B-9owVy4.js → tabs-qagPrFeg.js} +1 -1
- package/dist/client/assets/{textarea-Bo1OW0X4.js → textarea-C3WLqu3y.js} +1 -1
- package/dist/client/assets/{toggle-group-CEzDektV.js → toggle-group-NXghphbz.js} +1 -1
- package/dist/client/assets/{toolbar-Bgx2r-KG.js → toolbar-ZE2CENTf.js} +1 -1
- package/dist/client/assets/{tooltip-CECIOVns.js → tooltip-CiyZj9MW.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DZ5TF6sl.js → use-ai-providers-B6AoVltc.js} +1 -1
- package/dist/client/assets/{use-automations--XWm3Qgp.js → use-automations-CiQS3Pmq.js} +1 -1
- package/dist/client/assets/{use-autosave-v9rzcrBw.js → use-autosave-DE9X8qzD.js} +1 -1
- package/dist/client/assets/{use-capability-DWckCy6j.js → use-capability-DX60Hp0S.js} +1 -1
- package/dist/client/assets/{use-clock-tick-Of9PNT64.js → use-clock-tick-Q8CgV2VU.js} +1 -1
- package/dist/client/assets/{use-connection-Jg1AV4wa.js → use-connection-c87Xz8U-.js} +1 -1
- package/dist/client/assets/{use-copy-kEXRBcZU.js → use-copy-BPhBM3Oi.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-D-aukOA_.js → use-create-virtual-mcp-BnZL3DPb.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-chciiiKk.js → use-debounced-autosave-BmT6bwNL.js} +1 -1
- package/dist/client/assets/{use-debounced-value-n7h260AG.js → use-debounced-value-DViZw7k7.js} +1 -1
- package/dist/client/assets/{use-deco-credits-BCdHvgoP.js → use-deco-credits-DJJXk8t9.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CKAzBC2b.js → use-decopilot-events-DuMl-BWe.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BE5XgAtk.js → use-delete-connection--jtVGLkv.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-0h1liESy.js → use-deployment-admin-Cr_7c4Yl.js} +1 -1
- package/dist/client/assets/{use-file-configs-BroSL4vn.js → use-file-configs-CwjnQywn.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CfzUQI40.js → use-infinite-scroll-8IyahDR0.js} +1 -1
- package/dist/client/assets/{use-join-requests-B71PJ303.js → use-join-requests-tHCwhSs3.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-CUzkPpQw.js → use-mcp-auth-status-sjpR15R6.js} +1 -1
- package/dist/client/assets/{use-mcp-client-B26KWNRM.js → use-mcp-client-BmnPrlCp.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-JyEq_Zaw.js → use-mcp-tools-B9U_ZOEs.js} +1 -1
- package/dist/client/assets/{use-members-CQRLyULO.js → use-members-BglXgqfG.js} +1 -1
- package/dist/client/assets/{use-mobile-D4G1a4gT.js → use-mobile-ZF_jSfPp.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-z1EYBR-6.js → use-navigate-to-agent-DIeI8ULY.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DmjWJ_fK.js → use-org-auth-client-C-GSCd--.js} +1 -1
- package/dist/client/assets/{use-org-sso-BfwV8dHX.js → use-org-sso-BawqtY1O.js} +1 -1
- package/dist/client/assets/{use-organization-roles-cDOo1pJd.js → use-organization-roles-BfAcHhLm.js} +1 -1
- package/dist/client/assets/{use-organization-settings-xqqxFUeh.js → use-organization-settings-DcixnwK-.js} +1 -1
- package/dist/client/assets/{use-registry-connections-DaQ4k45R.js → use-registry-connections-VIMCCdEN.js} +1 -1
- package/dist/client/assets/{use-secrets-Dfv4dw4N.js → use-secrets-DN6xkhJI.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CV-XLMfI.js → use-status-sounds-CVssdpKX.js} +1 -1
- package/dist/client/assets/{use-tags-BLy-mVqy.js → use-tags-OVuXWbIz.js} +1 -1
- package/dist/client/assets/{use-view-mode-ejlyzP3U.js → use-view-mode-BdkdIEp5.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-C2MFB71J.js → use-virtual-mcp-BIQdKSoy.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-QTu-xaep.js +1 -0
- package/dist/client/assets/{useQueries-DmAJqkrY.js → useQueries-D2CKhSr2.js} +1 -1
- package/dist/client/assets/{useRouterState-CxXfhSWj.js → useRouterState-B0tRZSRp.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-_f32It26.js +1 -0
- package/dist/client/assets/{users-Bijv7BvW.js → users-Xgmv3XAu.js} +1 -1
- package/dist/client/assets/{variant-calendar-B99JMHuT.js → variant-calendar-CHbHmJQD.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BqdtKEpy.js → view-mode-toggle-DTYJdfuz.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +766 -766
- package/dist/server/server.js +576 -576
- package/package.json +2 -4
- package/dist/client/assets/project-app-view-CZ1Pnh-0.js +0 -1
- package/dist/client/assets/record-editor-CZMWB68M.js +0 -1
- package/dist/client/assets/registry-BdE6l5pk.js +0 -2
- package/dist/client/assets/store-registry-DAqnuoVv.js +0 -2
- package/dist/client/assets/useInfiniteQuery-qexZNNCs.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CJtuoO_U.js +0 -1
- package/dist/server/node_modules/@resvg/resvg-js/LICENSE +0 -373
- package/dist/server/node_modules/@resvg/resvg-js/README.md +0 -314
- package/dist/server/node_modules/@resvg/resvg-js/index.js +0 -23
- package/dist/server/node_modules/@resvg/resvg-js/js-binding.js +0 -1
- package/dist/server/node_modules/@resvg/resvg-js/package.json +0 -152
- package/dist/server/node_modules/@shuding/opentype.js/LICENSE +0 -20
- package/dist/server/node_modules/@shuding/opentype.js/README.md +0 -9
- package/dist/server/node_modules/@shuding/opentype.js/RELEASES.md +0 -272
- package/dist/server/node_modules/@shuding/opentype.js/bin/ot +0 -84
- package/dist/server/node_modules/@shuding/opentype.js/bin/server.js +0 -64
- package/dist/server/node_modules/@shuding/opentype.js/bin/test-render +0 -96
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.js +0 -11655
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.min.js +0 -2
- package/dist/server/node_modules/@shuding/opentype.js/dist/opentype.module.js +0 -11639
- package/dist/server/node_modules/@shuding/opentype.js/package.json +0 -73
- package/dist/server/node_modules/@shuding/opentype.js/src/bbox.js +0 -158
- package/dist/server/node_modules/@shuding/opentype.js/src/bidi.js +0 -243
- package/dist/server/node_modules/@shuding/opentype.js/src/char.js +0 -43
- package/dist/server/node_modules/@shuding/opentype.js/src/check.js +0 -16
- package/dist/server/node_modules/@shuding/opentype.js/src/encoding.js +0 -1032
- package/dist/server/node_modules/@shuding/opentype.js/src/features/applySubstitution.js +0 -74
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicPresentationForms.js +0 -83
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/arabicRequiredLigatures.js +0 -41
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicSentence.js +0 -43
- package/dist/server/node_modules/@shuding/opentype.js/src/features/arab/contextCheck/arabicWord.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/features/featureQuery.js +0 -483
- package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/contextCheck/latinWord.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/features/latn/latinLigatures.js +0 -40
- package/dist/server/node_modules/@shuding/opentype.js/src/font.js +0 -433
- package/dist/server/node_modules/@shuding/opentype.js/src/glyph.js +0 -274
- package/dist/server/node_modules/@shuding/opentype.js/src/glyphset.js +0 -150
- package/dist/server/node_modules/@shuding/opentype.js/src/hintingtt.js +0 -3062
- package/dist/server/node_modules/@shuding/opentype.js/src/index.js +0 -5
- package/dist/server/node_modules/@shuding/opentype.js/src/layout.js +0 -357
- package/dist/server/node_modules/@shuding/opentype.js/src/opentype.js +0 -375
- package/dist/server/node_modules/@shuding/opentype.js/src/parse.js +0 -628
- package/dist/server/node_modules/@shuding/opentype.js/src/path.js +0 -212
- package/dist/server/node_modules/@shuding/opentype.js/src/position.js +0 -77
- package/dist/server/node_modules/@shuding/opentype.js/src/substitution.js +0 -447
- package/dist/server/node_modules/@shuding/opentype.js/src/table.js +0 -215
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/cff.js +0 -1156
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/cmap.js +0 -145
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/fvar.js +0 -71
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gdef.js +0 -62
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/glyf.js +0 -349
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gpos.js +0 -146
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/gsub.js +0 -251
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/head.js +0 -35
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/hhea.js +0 -27
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/hmtx.js +0 -51
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/kern.js +0 -69
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/loca.js +0 -31
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/ltag.js +0 -33
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/maxp.js +0 -32
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/meta.js +0 -30
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/name.js +0 -680
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/os2.js +0 -65
- package/dist/server/node_modules/@shuding/opentype.js/src/tables/post.js +0 -41
- package/dist/server/node_modules/@shuding/opentype.js/src/tokenizer.js +0 -522
- package/dist/server/node_modules/@shuding/opentype.js/src/types.js +0 -976
- package/dist/server/node_modules/@shuding/opentype.js/src/util.js +0 -17
- package/dist/server/node_modules/base64-js/.travis.yml +0 -5
- package/dist/server/node_modules/base64-js/LICENSE.MIT +0 -21
- package/dist/server/node_modules/base64-js/README.md +0 -31
- package/dist/server/node_modules/base64-js/bench/bench.js +0 -19
- package/dist/server/node_modules/base64-js/lib/b64.js +0 -124
- package/dist/server/node_modules/base64-js/package.json +0 -34
- package/dist/server/node_modules/base64-js/test/convert.js +0 -51
- package/dist/server/node_modules/base64-js/test/url-safe.js +0 -18
- package/dist/server/node_modules/camelize/.eslintrc +0 -24
- package/dist/server/node_modules/camelize/.github/FUNDING.yml +0 -12
- package/dist/server/node_modules/camelize/CHANGELOG.md +0 -64
- package/dist/server/node_modules/camelize/LICENSE +0 -18
- package/dist/server/node_modules/camelize/README.md +0 -81
- package/dist/server/node_modules/camelize/example/camel.js +0 -12
- package/dist/server/node_modules/camelize/index.js +0 -61
- package/dist/server/node_modules/camelize/package.json +0 -84
- package/dist/server/node_modules/camelize/test/camel.js +0 -48
- package/dist/server/node_modules/color-name/LICENSE +0 -8
- package/dist/server/node_modules/color-name/README.md +0 -11
- package/dist/server/node_modules/color-name/index.js +0 -152
- package/dist/server/node_modules/color-name/package.json +0 -28
- package/dist/server/node_modules/css-background-parser/LICENSE +0 -22
- package/dist/server/node_modules/css-background-parser/README.md +0 -149
- package/dist/server/node_modules/css-background-parser/index.js +0 -162
- package/dist/server/node_modules/css-background-parser/package.json +0 -19
- package/dist/server/node_modules/css-box-shadow/README.md +0 -27
- package/dist/server/node_modules/css-box-shadow/index.js +0 -64
- package/dist/server/node_modules/css-box-shadow/package.json +0 -14
- package/dist/server/node_modules/css-box-shadow/test.js +0 -204
- package/dist/server/node_modules/css-color-keywords/LICENSE +0 -15
- package/dist/server/node_modules/css-color-keywords/README.md +0 -47
- package/dist/server/node_modules/css-color-keywords/colors.json +0 -148
- package/dist/server/node_modules/css-color-keywords/index.js +0 -3
- package/dist/server/node_modules/css-color-keywords/package.json +0 -27
- package/dist/server/node_modules/css-gradient-parser/LICENSE +0 -21
- package/dist/server/node_modules/css-gradient-parser/README.md +0 -75
- package/dist/server/node_modules/css-gradient-parser/dist/index.cjs +0 -2
- package/dist/server/node_modules/css-gradient-parser/dist/index.js +0 -2
- package/dist/server/node_modules/css-gradient-parser/package.json +0 -54
- package/dist/server/node_modules/css-to-react-native/LICENSE.md +0 -21
- package/dist/server/node_modules/css-to-react-native/README.md +0 -115
- package/dist/server/node_modules/css-to-react-native/index.js +0 -886
- package/dist/server/node_modules/css-to-react-native/package.json +0 -65
- package/dist/server/node_modules/css-to-react-native/src/TokenStream.js +0 -74
- package/dist/server/node_modules/css-to-react-native/src/__tests__/aspectRatio.js +0 -23
- package/dist/server/node_modules/css-to-react-native/src/__tests__/border.js +0 -85
- package/dist/server/node_modules/css-to-react-native/src/__tests__/borderColor.js +0 -37
- package/dist/server/node_modules/css-to-react-native/src/__tests__/boxModel.js +0 -136
- package/dist/server/node_modules/css-to-react-native/src/__tests__/boxShadow.js +0 -83
- package/dist/server/node_modules/css-to-react-native/src/__tests__/colors.js +0 -31
- package/dist/server/node_modules/css-to-react-native/src/__tests__/flex.js +0 -122
- package/dist/server/node_modules/css-to-react-native/src/__tests__/flexFlow.js +0 -22
- package/dist/server/node_modules/css-to-react-native/src/__tests__/font.js +0 -117
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontFamily.js +0 -43
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontVariant.js +0 -15
- package/dist/server/node_modules/css-to-react-native/src/__tests__/fontWeight.js +0 -8
- package/dist/server/node_modules/css-to-react-native/src/__tests__/index.js +0 -204
- package/dist/server/node_modules/css-to-react-native/src/__tests__/placeContent.js +0 -19
- package/dist/server/node_modules/css-to-react-native/src/__tests__/shadowOffsets.js +0 -13
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecoration.js +0 -103
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textDecorationLine.js +0 -23
- package/dist/server/node_modules/css-to-react-native/src/__tests__/textShadow.js +0 -30
- package/dist/server/node_modules/css-to-react-native/src/__tests__/transform.js +0 -55
- package/dist/server/node_modules/css-to-react-native/src/__tests__/units.js +0 -132
- package/dist/server/node_modules/css-to-react-native/src/devPropertiesWithoutUnitsRegExp.js +0 -19
- package/dist/server/node_modules/css-to-react-native/src/index.js +0 -90
- package/dist/server/node_modules/css-to-react-native/src/tokenTypes.js +0 -75
- package/dist/server/node_modules/css-to-react-native/src/transforms/aspectRatio.js +0 -12
- package/dist/server/node_modules/css-to-react-native/src/transforms/border.js +0 -53
- package/dist/server/node_modules/css-to-react-native/src/transforms/boxShadow.js +0 -11
- package/dist/server/node_modules/css-to-react-native/src/transforms/flex.js +0 -65
- package/dist/server/node_modules/css-to-react-native/src/transforms/flexFlow.js +0 -37
- package/dist/server/node_modules/css-to-react-native/src/transforms/font.js +0 -63
- package/dist/server/node_modules/css-to-react-native/src/transforms/fontFamily.js +0 -20
- package/dist/server/node_modules/css-to-react-native/src/transforms/fontVariant.js +0 -14
- package/dist/server/node_modules/css-to-react-native/src/transforms/index.js +0 -77
- package/dist/server/node_modules/css-to-react-native/src/transforms/placeContent.js +0 -24
- package/dist/server/node_modules/css-to-react-native/src/transforms/textDecoration.js +0 -53
- package/dist/server/node_modules/css-to-react-native/src/transforms/textDecorationLine.js +0 -18
- package/dist/server/node_modules/css-to-react-native/src/transforms/textShadow.js +0 -10
- package/dist/server/node_modules/css-to-react-native/src/transforms/transform.js +0 -74
- package/dist/server/node_modules/css-to-react-native/src/transforms/util.js +0 -99
- package/dist/server/node_modules/hex-rgb/index.js +0 -47
- package/dist/server/node_modules/hex-rgb/license +0 -9
- package/dist/server/node_modules/hex-rgb/package.json +0 -39
- package/dist/server/node_modules/hex-rgb/readme.md +0 -86
- package/dist/server/node_modules/linebreak/LICENSE +0 -21
- package/dist/server/node_modules/linebreak/dist/main.cjs +0 -1369
- package/dist/server/node_modules/linebreak/dist/module.mjs +0 -1368
- package/dist/server/node_modules/linebreak/package.json +0 -57
- package/dist/server/node_modules/linebreak/readme.md +0 -62
- package/dist/server/node_modules/parse-css-color/CHANGELOG.md +0 -54
- package/dist/server/node_modules/parse-css-color/LICENSE +0 -21
- package/dist/server/node_modules/parse-css-color/README.md +0 -110
- package/dist/server/node_modules/parse-css-color/dist/index.cjs.js +0 -171
- package/dist/server/node_modules/parse-css-color/dist/index.esm.js +0 -167
- package/dist/server/node_modules/parse-css-color/dist/index.umd.js +0 -7
- package/dist/server/node_modules/parse-css-color/package.json +0 -55
- package/dist/server/node_modules/postcss-value-parser/LICENSE +0 -22
- package/dist/server/node_modules/postcss-value-parser/README.md +0 -263
- package/dist/server/node_modules/postcss-value-parser/lib/index.js +0 -28
- package/dist/server/node_modules/postcss-value-parser/lib/parse.js +0 -321
- package/dist/server/node_modules/postcss-value-parser/lib/stringify.js +0 -48
- package/dist/server/node_modules/postcss-value-parser/lib/unit.js +0 -120
- package/dist/server/node_modules/postcss-value-parser/lib/walk.js +0 -22
- package/dist/server/node_modules/postcss-value-parser/package.json +0 -58
- package/dist/server/node_modules/satori/LICENSE +0 -373
- package/dist/server/node_modules/satori/README.md +0 -516
- package/dist/server/node_modules/satori/dist/index.cjs +0 -8
- package/dist/server/node_modules/satori/dist/index.cjs.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/index.js +0 -8
- package/dist/server/node_modules/satori/dist/index.js.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/jsx/index.cjs +0 -2
- package/dist/server/node_modules/satori/dist/jsx/index.cjs.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/index.js +0 -2
- package/dist/server/node_modules/satori/dist/jsx/index.js.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs +0 -2
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.cjs.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js +0 -2
- package/dist/server/node_modules/satori/dist/jsx/jsx-runtime.js.LEGAL.txt +0 -0
- package/dist/server/node_modules/satori/dist/standalone.cjs +0 -8
- package/dist/server/node_modules/satori/dist/standalone.cjs.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/dist/standalone.js +0 -8
- package/dist/server/node_modules/satori/dist/standalone.js.LEGAL.txt +0 -4
- package/dist/server/node_modules/satori/package.json +0 -149
- package/dist/server/node_modules/satori/yoga.wasm +0 -0
- package/dist/server/node_modules/tiny-inflate/LICENSE +0 -21
- package/dist/server/node_modules/tiny-inflate/index.js +0 -375
- package/dist/server/node_modules/tiny-inflate/package.json +0 -28
- package/dist/server/node_modules/tiny-inflate/readme.md +0 -31
- package/dist/server/node_modules/tiny-inflate/test/index.js +0 -75
- package/dist/server/node_modules/tiny-inflate/test/lorem.txt +0 -199
- package/dist/server/node_modules/unicode-trie/LICENSE +0 -8
- package/dist/server/node_modules/unicode-trie/README.md +0 -77
- package/dist/server/node_modules/unicode-trie/builder.js +0 -966
- package/dist/server/node_modules/unicode-trie/index.js +0 -136
- package/dist/server/node_modules/unicode-trie/package.json +0 -27
- package/dist/server/node_modules/unicode-trie/swap.js +0 -25
- package/dist/server/node_modules/unicode-trie/test/mocha.opts +0 -1
- package/dist/server/node_modules/unicode-trie/test/test.js +0 -243
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@shuding/opentype.js",
|
|
3
|
-
"description": "OpenType font parser",
|
|
4
|
-
"version": "1.4.0-beta.0",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Frederik De Bleser",
|
|
7
|
-
"email": "frederik@debleser.be"
|
|
8
|
-
},
|
|
9
|
-
"keywords": [
|
|
10
|
-
"graphics",
|
|
11
|
-
"fonts",
|
|
12
|
-
"font",
|
|
13
|
-
"opentype",
|
|
14
|
-
"otf",
|
|
15
|
-
"ttf",
|
|
16
|
-
"woff",
|
|
17
|
-
"type"
|
|
18
|
-
],
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git://github.com/opentypejs/opentype.js.git"
|
|
23
|
-
},
|
|
24
|
-
"main": "dist/opentype.js",
|
|
25
|
-
"module": "dist/opentype.module.js",
|
|
26
|
-
"bin": {
|
|
27
|
-
"ot": "./bin/ot"
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"start": "node ./bin/server.js",
|
|
31
|
-
"watch": "rollup -c -w",
|
|
32
|
-
"test": "mocha --require reify --recursive && jscs .",
|
|
33
|
-
"build": "rollup -c",
|
|
34
|
-
"minify": "uglifyjs --source-map \"url='opentype.min.js.map'\" --compress drop_console,hoist_funs --mangle --mangle-props --output ./dist/opentype.min.js -- ./dist/opentype.js",
|
|
35
|
-
"dist": "npm run test && npm run build && npm run minify"
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"LICENSE",
|
|
39
|
-
"RELEASES.md",
|
|
40
|
-
"README.md",
|
|
41
|
-
"bin",
|
|
42
|
-
"dist",
|
|
43
|
-
"src"
|
|
44
|
-
],
|
|
45
|
-
"engines": {
|
|
46
|
-
"node": ">= 8.0.0"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@babel/preset-env": "^7.9.5",
|
|
50
|
-
"buble": "^0.20.0",
|
|
51
|
-
"cross-env": "^7.0.2",
|
|
52
|
-
"jscs": "^3.0.7",
|
|
53
|
-
"jshint": "^2.11.0",
|
|
54
|
-
"mocha": "^7.1.1",
|
|
55
|
-
"reify": "^0.20.12",
|
|
56
|
-
"rollup": "^1.32.1",
|
|
57
|
-
"rollup-plugin-buble": "^0.19.8",
|
|
58
|
-
"rollup-plugin-commonjs": "^10.1.0",
|
|
59
|
-
"rollup-plugin-license": "^0.9.0",
|
|
60
|
-
"rollup-plugin-node-resolve": "^5.2.0",
|
|
61
|
-
"uglify-js": "^3.8.1"
|
|
62
|
-
},
|
|
63
|
-
"browser": {
|
|
64
|
-
"fs": false
|
|
65
|
-
},
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"fflate": "^0.7.3",
|
|
68
|
-
"string.prototype.codepointat": "^0.2.1"
|
|
69
|
-
},
|
|
70
|
-
"prettier": {
|
|
71
|
-
"singleQuote": true
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
// The Bounding Box object
|
|
2
|
-
|
|
3
|
-
function derive(v0, v1, v2, v3, t) {
|
|
4
|
-
return Math.pow(1 - t, 3) * v0 +
|
|
5
|
-
3 * Math.pow(1 - t, 2) * t * v1 +
|
|
6
|
-
3 * (1 - t) * Math.pow(t, 2) * v2 +
|
|
7
|
-
Math.pow(t, 3) * v3;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A bounding box is an enclosing box that describes the smallest measure within which all the points lie.
|
|
11
|
-
* It is used to calculate the bounding box of a glyph or text path.
|
|
12
|
-
*
|
|
13
|
-
* On initialization, x1/y1/x2/y2 will be NaN. Check if the bounding box is empty using `isEmpty()`.
|
|
14
|
-
*
|
|
15
|
-
* @exports opentype.BoundingBox
|
|
16
|
-
* @class
|
|
17
|
-
* @constructor
|
|
18
|
-
*/
|
|
19
|
-
function BoundingBox() {
|
|
20
|
-
this.x1 = Number.NaN;
|
|
21
|
-
this.y1 = Number.NaN;
|
|
22
|
-
this.x2 = Number.NaN;
|
|
23
|
-
this.y2 = Number.NaN;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Returns true if the bounding box is empty, that is, no points have been added to the box yet.
|
|
28
|
-
*/
|
|
29
|
-
BoundingBox.prototype.isEmpty = function() {
|
|
30
|
-
return isNaN(this.x1) || isNaN(this.y1) || isNaN(this.x2) || isNaN(this.y2);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Add the point to the bounding box.
|
|
35
|
-
* The x1/y1/x2/y2 coordinates of the bounding box will now encompass the given point.
|
|
36
|
-
* @param {number} x - The X coordinate of the point.
|
|
37
|
-
* @param {number} y - The Y coordinate of the point.
|
|
38
|
-
*/
|
|
39
|
-
BoundingBox.prototype.addPoint = function(x, y) {
|
|
40
|
-
if (typeof x === 'number') {
|
|
41
|
-
if (isNaN(this.x1) || isNaN(this.x2)) {
|
|
42
|
-
this.x1 = x;
|
|
43
|
-
this.x2 = x;
|
|
44
|
-
}
|
|
45
|
-
if (x < this.x1) {
|
|
46
|
-
this.x1 = x;
|
|
47
|
-
}
|
|
48
|
-
if (x > this.x2) {
|
|
49
|
-
this.x2 = x;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
if (typeof y === 'number') {
|
|
53
|
-
if (isNaN(this.y1) || isNaN(this.y2)) {
|
|
54
|
-
this.y1 = y;
|
|
55
|
-
this.y2 = y;
|
|
56
|
-
}
|
|
57
|
-
if (y < this.y1) {
|
|
58
|
-
this.y1 = y;
|
|
59
|
-
}
|
|
60
|
-
if (y > this.y2) {
|
|
61
|
-
this.y2 = y;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Add a X coordinate to the bounding box.
|
|
68
|
-
* This extends the bounding box to include the X coordinate.
|
|
69
|
-
* This function is used internally inside of addBezier.
|
|
70
|
-
* @param {number} x - The X coordinate of the point.
|
|
71
|
-
*/
|
|
72
|
-
BoundingBox.prototype.addX = function(x) {
|
|
73
|
-
this.addPoint(x, null);
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Add a Y coordinate to the bounding box.
|
|
78
|
-
* This extends the bounding box to include the Y coordinate.
|
|
79
|
-
* This function is used internally inside of addBezier.
|
|
80
|
-
* @param {number} y - The Y coordinate of the point.
|
|
81
|
-
*/
|
|
82
|
-
BoundingBox.prototype.addY = function(y) {
|
|
83
|
-
this.addPoint(null, y);
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Add a Bézier curve to the bounding box.
|
|
88
|
-
* This extends the bounding box to include the entire Bézier.
|
|
89
|
-
* @param {number} x0 - The starting X coordinate.
|
|
90
|
-
* @param {number} y0 - The starting Y coordinate.
|
|
91
|
-
* @param {number} x1 - The X coordinate of the first control point.
|
|
92
|
-
* @param {number} y1 - The Y coordinate of the first control point.
|
|
93
|
-
* @param {number} x2 - The X coordinate of the second control point.
|
|
94
|
-
* @param {number} y2 - The Y coordinate of the second control point.
|
|
95
|
-
* @param {number} x - The ending X coordinate.
|
|
96
|
-
* @param {number} y - The ending Y coordinate.
|
|
97
|
-
*/
|
|
98
|
-
BoundingBox.prototype.addBezier = function(x0, y0, x1, y1, x2, y2, x, y) {
|
|
99
|
-
// This code is based on http://nishiohirokazu.blogspot.com/2009/06/how-to-calculate-bezier-curves-bounding.html
|
|
100
|
-
// and https://github.com/icons8/svg-path-bounding-box
|
|
101
|
-
|
|
102
|
-
const p0 = [x0, y0];
|
|
103
|
-
const p1 = [x1, y1];
|
|
104
|
-
const p2 = [x2, y2];
|
|
105
|
-
const p3 = [x, y];
|
|
106
|
-
|
|
107
|
-
this.addPoint(x0, y0);
|
|
108
|
-
this.addPoint(x, y);
|
|
109
|
-
|
|
110
|
-
for (let i = 0; i <= 1; i++) {
|
|
111
|
-
const b = 6 * p0[i] - 12 * p1[i] + 6 * p2[i];
|
|
112
|
-
const a = -3 * p0[i] + 9 * p1[i] - 9 * p2[i] + 3 * p3[i];
|
|
113
|
-
const c = 3 * p1[i] - 3 * p0[i];
|
|
114
|
-
|
|
115
|
-
if (a === 0) {
|
|
116
|
-
if (b === 0) continue;
|
|
117
|
-
const t = -c / b;
|
|
118
|
-
if (0 < t && t < 1) {
|
|
119
|
-
if (i === 0) this.addX(derive(p0[i], p1[i], p2[i], p3[i], t));
|
|
120
|
-
if (i === 1) this.addY(derive(p0[i], p1[i], p2[i], p3[i], t));
|
|
121
|
-
}
|
|
122
|
-
continue;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
const b2ac = Math.pow(b, 2) - 4 * c * a;
|
|
126
|
-
if (b2ac < 0) continue;
|
|
127
|
-
const t1 = (-b + Math.sqrt(b2ac)) / (2 * a);
|
|
128
|
-
if (0 < t1 && t1 < 1) {
|
|
129
|
-
if (i === 0) this.addX(derive(p0[i], p1[i], p2[i], p3[i], t1));
|
|
130
|
-
if (i === 1) this.addY(derive(p0[i], p1[i], p2[i], p3[i], t1));
|
|
131
|
-
}
|
|
132
|
-
const t2 = (-b - Math.sqrt(b2ac)) / (2 * a);
|
|
133
|
-
if (0 < t2 && t2 < 1) {
|
|
134
|
-
if (i === 0) this.addX(derive(p0[i], p1[i], p2[i], p3[i], t2));
|
|
135
|
-
if (i === 1) this.addY(derive(p0[i], p1[i], p2[i], p3[i], t2));
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Add a quadratic curve to the bounding box.
|
|
142
|
-
* This extends the bounding box to include the entire quadratic curve.
|
|
143
|
-
* @param {number} x0 - The starting X coordinate.
|
|
144
|
-
* @param {number} y0 - The starting Y coordinate.
|
|
145
|
-
* @param {number} x1 - The X coordinate of the control point.
|
|
146
|
-
* @param {number} y1 - The Y coordinate of the control point.
|
|
147
|
-
* @param {number} x - The ending X coordinate.
|
|
148
|
-
* @param {number} y - The ending Y coordinate.
|
|
149
|
-
*/
|
|
150
|
-
BoundingBox.prototype.addQuad = function(x0, y0, x1, y1, x, y) {
|
|
151
|
-
const cp1x = x0 + 2 / 3 * (x1 - x0);
|
|
152
|
-
const cp1y = y0 + 2 / 3 * (y1 - y0);
|
|
153
|
-
const cp2x = cp1x + 1 / 3 * (x - x0);
|
|
154
|
-
const cp2y = cp1y + 1 / 3 * (y - y0);
|
|
155
|
-
this.addBezier(x0, y0, cp1x, cp1y, cp2x, cp2y, x, y);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export default BoundingBox;
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Infer bidirectional properties for a given text and apply
|
|
3
|
-
* the corresponding layout rules.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import Tokenizer from './tokenizer';
|
|
7
|
-
import FeatureQuery from './features/featureQuery';
|
|
8
|
-
import arabicWordCheck from './features/arab/contextCheck/arabicWord';
|
|
9
|
-
import arabicSentenceCheck from './features/arab/contextCheck/arabicSentence';
|
|
10
|
-
import arabicPresentationForms from './features/arab/arabicPresentationForms';
|
|
11
|
-
import arabicRequiredLigatures from './features/arab/arabicRequiredLigatures';
|
|
12
|
-
import latinWordCheck from './features/latn/contextCheck/latinWord';
|
|
13
|
-
import latinLigature from './features/latn/latinLigatures';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Create Bidi. features
|
|
17
|
-
* @param {string} baseDir text base direction. value either 'ltr' or 'rtl'
|
|
18
|
-
*/
|
|
19
|
-
function Bidi(baseDir) {
|
|
20
|
-
this.baseDir = baseDir || 'ltr';
|
|
21
|
-
this.tokenizer = new Tokenizer();
|
|
22
|
-
this.featuresTags = {};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Sets Bidi text
|
|
27
|
-
* @param {string} text a text input
|
|
28
|
-
*/
|
|
29
|
-
Bidi.prototype.setText = function (text) {
|
|
30
|
-
this.text = text;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Store essential context checks:
|
|
35
|
-
* arabic word check for applying gsub features
|
|
36
|
-
* arabic sentence check for adjusting arabic layout
|
|
37
|
-
*/
|
|
38
|
-
Bidi.prototype.contextChecks = ({
|
|
39
|
-
latinWordCheck,
|
|
40
|
-
arabicWordCheck,
|
|
41
|
-
arabicSentenceCheck
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Register arabic word check
|
|
46
|
-
*/
|
|
47
|
-
function registerContextChecker(checkId) {
|
|
48
|
-
const check = this.contextChecks[`${checkId}Check`];
|
|
49
|
-
return this.tokenizer.registerContextChecker(
|
|
50
|
-
checkId, check.startCheck, check.endCheck
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Perform pre tokenization procedure then
|
|
56
|
-
* tokenize text input
|
|
57
|
-
*/
|
|
58
|
-
function tokenizeText() {
|
|
59
|
-
registerContextChecker.call(this, 'latinWord');
|
|
60
|
-
registerContextChecker.call(this, 'arabicWord');
|
|
61
|
-
registerContextChecker.call(this, 'arabicSentence');
|
|
62
|
-
return this.tokenizer.tokenize(this.text);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Reverse arabic sentence layout
|
|
67
|
-
* TODO: check base dir before applying adjustments - priority low
|
|
68
|
-
*/
|
|
69
|
-
function reverseArabicSentences() {
|
|
70
|
-
const ranges = this.tokenizer.getContextRanges('arabicSentence');
|
|
71
|
-
ranges.forEach(range => {
|
|
72
|
-
let rangeTokens = this.tokenizer.getRangeTokens(range);
|
|
73
|
-
this.tokenizer.replaceRange(
|
|
74
|
-
range.startIndex,
|
|
75
|
-
range.endOffset,
|
|
76
|
-
rangeTokens.reverse()
|
|
77
|
-
);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Register supported features tags
|
|
83
|
-
* @param {script} script script tag
|
|
84
|
-
* @param {Array} tags features tags list
|
|
85
|
-
*/
|
|
86
|
-
Bidi.prototype.registerFeatures = function (script, tags) {
|
|
87
|
-
const supportedTags = tags.filter(
|
|
88
|
-
tag => this.query.supports({script, tag})
|
|
89
|
-
);
|
|
90
|
-
if (!this.featuresTags.hasOwnProperty(script)) {
|
|
91
|
-
this.featuresTags[script] = supportedTags;
|
|
92
|
-
} else {
|
|
93
|
-
this.featuresTags[script] =
|
|
94
|
-
this.featuresTags[script].concat(supportedTags);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Apply GSUB features
|
|
100
|
-
* @param {Array} tagsList a list of features tags
|
|
101
|
-
* @param {string} script a script tag
|
|
102
|
-
* @param {Font} font opentype font instance
|
|
103
|
-
*/
|
|
104
|
-
Bidi.prototype.applyFeatures = function (font, features) {
|
|
105
|
-
if (!font) throw new Error(
|
|
106
|
-
'No valid font was provided to apply features'
|
|
107
|
-
);
|
|
108
|
-
if (!this.query) this.query = new FeatureQuery(font);
|
|
109
|
-
for (let f = 0; f < features.length; f++) {
|
|
110
|
-
const feature = features[f];
|
|
111
|
-
if (!this.query.supports({script: feature.script})) continue;
|
|
112
|
-
this.registerFeatures(feature.script, feature.tags);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Register a state modifier
|
|
118
|
-
* @param {string} modifierId state modifier id
|
|
119
|
-
* @param {function} condition a predicate function that returns true or false
|
|
120
|
-
* @param {function} modifier a modifier function to set token state
|
|
121
|
-
*/
|
|
122
|
-
Bidi.prototype.registerModifier = function (modifierId, condition, modifier) {
|
|
123
|
-
this.tokenizer.registerModifier(modifierId, condition, modifier);
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Check if 'glyphIndex' is registered
|
|
128
|
-
*/
|
|
129
|
-
function checkGlyphIndexStatus() {
|
|
130
|
-
if (this.tokenizer.registeredModifiers.indexOf('glyphIndex') === -1) {
|
|
131
|
-
throw new Error(
|
|
132
|
-
'glyphIndex modifier is required to apply ' +
|
|
133
|
-
'arabic presentation features.'
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Apply arabic presentation forms features
|
|
140
|
-
*/
|
|
141
|
-
function applyArabicPresentationForms() {
|
|
142
|
-
const script = 'arab';
|
|
143
|
-
if (!this.featuresTags.hasOwnProperty(script)) return;
|
|
144
|
-
checkGlyphIndexStatus.call(this);
|
|
145
|
-
const ranges = this.tokenizer.getContextRanges('arabicWord');
|
|
146
|
-
ranges.forEach(range => {
|
|
147
|
-
arabicPresentationForms.call(this, range);
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Apply required arabic ligatures
|
|
153
|
-
*/
|
|
154
|
-
function applyArabicRequireLigatures() {
|
|
155
|
-
const script = 'arab';
|
|
156
|
-
if (!this.featuresTags.hasOwnProperty(script)) return;
|
|
157
|
-
const tags = this.featuresTags[script];
|
|
158
|
-
if (tags.indexOf('rlig') === -1) return;
|
|
159
|
-
checkGlyphIndexStatus.call(this);
|
|
160
|
-
const ranges = this.tokenizer.getContextRanges('arabicWord');
|
|
161
|
-
ranges.forEach(range => {
|
|
162
|
-
arabicRequiredLigatures.call(this, range);
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Apply required arabic ligatures
|
|
168
|
-
*/
|
|
169
|
-
function applyLatinLigatures() {
|
|
170
|
-
const script = 'latn';
|
|
171
|
-
if (!this.featuresTags.hasOwnProperty(script)) return;
|
|
172
|
-
const tags = this.featuresTags[script];
|
|
173
|
-
if (tags.indexOf('liga') === -1) return;
|
|
174
|
-
checkGlyphIndexStatus.call(this);
|
|
175
|
-
const ranges = this.tokenizer.getContextRanges('latinWord');
|
|
176
|
-
ranges.forEach(range => {
|
|
177
|
-
latinLigature.call(this, range);
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Check if a context is registered
|
|
183
|
-
* @param {string} contextId context id
|
|
184
|
-
*/
|
|
185
|
-
Bidi.prototype.checkContextReady = function (contextId) {
|
|
186
|
-
return !!this.tokenizer.getContext(contextId);
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Apply features to registered contexts
|
|
191
|
-
*/
|
|
192
|
-
Bidi.prototype.applyFeaturesToContexts = function () {
|
|
193
|
-
if (this.checkContextReady('arabicWord')) {
|
|
194
|
-
applyArabicPresentationForms.call(this);
|
|
195
|
-
applyArabicRequireLigatures.call(this);
|
|
196
|
-
}
|
|
197
|
-
if (this.checkContextReady('latinWord')) {
|
|
198
|
-
applyLatinLigatures.call(this);
|
|
199
|
-
}
|
|
200
|
-
if (this.checkContextReady('arabicSentence')) {
|
|
201
|
-
reverseArabicSentences.call(this);
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* process text input
|
|
207
|
-
* @param {string} text an input text
|
|
208
|
-
*/
|
|
209
|
-
Bidi.prototype.processText = function(text) {
|
|
210
|
-
if (!this.text || this.text !== text) {
|
|
211
|
-
this.setText(text);
|
|
212
|
-
tokenizeText.call(this);
|
|
213
|
-
this.applyFeaturesToContexts();
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Process a string of text to identify and adjust
|
|
219
|
-
* bidirectional text entities.
|
|
220
|
-
* @param {string} text input text
|
|
221
|
-
*/
|
|
222
|
-
Bidi.prototype.getBidiText = function (text) {
|
|
223
|
-
this.processText(text);
|
|
224
|
-
return this.tokenizer.getText();
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Get the current state index of each token
|
|
229
|
-
* @param {text} text an input text
|
|
230
|
-
*/
|
|
231
|
-
Bidi.prototype.getTextGlyphs = function (text) {
|
|
232
|
-
this.processText(text);
|
|
233
|
-
let indexes = [];
|
|
234
|
-
for (let i = 0; i < this.tokenizer.tokens.length; i++) {
|
|
235
|
-
const token = this.tokenizer.tokens[i];
|
|
236
|
-
if (token.state.deleted) continue;
|
|
237
|
-
const index = token.activeState.value;
|
|
238
|
-
indexes.push(Array.isArray(index) ? index[0] : index);
|
|
239
|
-
}
|
|
240
|
-
return indexes;
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
export default Bidi;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// ╭─┄┄┄────────────────────────┄─────────────────────────────────────────────╮
|
|
2
|
-
// ┊ Character Class Assertions ┊ Checks if a char belongs to a certain class ┊
|
|
3
|
-
// ╰─╾──────────────────────────┄─────────────────────────────────────────────╯
|
|
4
|
-
// jscs:disable maximumLineLength
|
|
5
|
-
/**
|
|
6
|
-
* Check if a char is Arabic
|
|
7
|
-
* @param {string} c a single char
|
|
8
|
-
*/
|
|
9
|
-
export function isArabicChar(c) {
|
|
10
|
-
return /[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(c);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Check if a char is an isolated arabic char
|
|
15
|
-
* @param {string} c a single char
|
|
16
|
-
*/
|
|
17
|
-
export function isIsolatedArabicChar(char) {
|
|
18
|
-
return /[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(char);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Check if a char is an Arabic Tashkeel char
|
|
23
|
-
* @param {string} c a single char
|
|
24
|
-
*/
|
|
25
|
-
export function isTashkeelArabicChar(char) {
|
|
26
|
-
return /[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(char);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Check if a char is Latin
|
|
31
|
-
* @param {string} c a single char
|
|
32
|
-
*/
|
|
33
|
-
export function isLatinChar(c) {
|
|
34
|
-
return /[A-z]/.test(c);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Check if a char is whitespace char
|
|
39
|
-
* @param {string} c a single char
|
|
40
|
-
*/
|
|
41
|
-
export function isWhiteSpace(c) {
|
|
42
|
-
return /\s/.test(c);
|
|
43
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Run-time checking of preconditions.
|
|
2
|
-
|
|
3
|
-
function fail(message) {
|
|
4
|
-
throw new Error(message);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
// Precondition function that checks if the given predicate is true.
|
|
8
|
-
// If not, it will throw an error.
|
|
9
|
-
function argument(predicate, message) {
|
|
10
|
-
if (!predicate) {
|
|
11
|
-
fail(message);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export { fail, argument, argument as assert };
|
|
16
|
-
export default { fail, argument, assert: argument };
|