decocms 2.303.0 → 2.304.1
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-vEsirhNa.js → AlertCircle-Bmjr0ClA.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-DZv_aYqP.js → ArrowNarrowLeft-CThwX0q-.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-gnKwWbdS.js → ArrowUpRight-B7vTMj1u.js} +1 -1
- package/dist/client/assets/{CheckCircle-CG65sxv8.js → CheckCircle-CNaz4scY.js} +1 -1
- package/dist/client/assets/{ChevronDown-ClwyYcv4.js → ChevronDown-BMpzZvgp.js} +1 -1
- package/dist/client/assets/{ChevronRight-C0UgsndQ.js → ChevronRight-B0WDiR9g.js} +1 -1
- package/dist/client/assets/{ChevronUp-0O0O_hLq.js → ChevronUp-C1KppMC5.js} +1 -1
- package/dist/client/assets/{Container-D1_FRS1u.js → Container-DxKKEmNe.js} +1 -1
- package/dist/client/assets/{DotsVertical-BdLY0G_d.js → DotsVertical-CRTfJ6MH.js} +1 -1
- package/dist/client/assets/{LinkExternal01-C0RHT0gp.js → LinkExternal01-DcUPNTey.js} +1 -1
- package/dist/client/assets/{Lock01-CJP_L01s.js → Lock01-CwYOwvXR.js} +1 -1
- package/dist/client/assets/{Palette-DTaJJ6eW.js → Palette-c4ovbTBC.js} +1 -1
- package/dist/client/assets/{Play-wg-GRHFk.js → Play-BzawbqMW.js} +1 -1
- package/dist/client/assets/{Plus-Ukcu1-Za.js → Plus-CZq1C4jM.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-i1Q8uoB-.js → RefreshCcw01-Dwpnc1qZ.js} +1 -1
- package/dist/client/assets/{SearchMd-CaU1opgI.js → SearchMd-BYUE-oTe.js} +1 -1
- package/dist/client/assets/{Settings02-sn7Sw6YT.js → Settings02-FFAtt7kb.js} +1 -1
- package/dist/client/assets/{Shield01-BV1qTPTH.js → Shield01-CZOC16WM.js} +1 -1
- package/dist/client/assets/{Star01-BRRUiVRZ.js → Star01-GaFk6Xa_.js} +1 -1
- package/dist/client/assets/{Sun-xRqcyI3R.js → Sun-_nS1eHVw.js} +1 -1
- package/dist/client/assets/{Tool01-Baq41T_m.js → Tool01-CpBRL57v.js} +1 -1
- package/dist/client/assets/{Trash01-vBGY9tLb.js → Trash01-CKEJHaXR.js} +1 -1
- package/dist/client/assets/{User01-Dt3HpnQa.js → User01-BO3afenP.js} +1 -1
- package/dist/client/assets/{Users03-DXg5Ltjv.js → Users03-B2dn7j_S.js} +1 -1
- package/dist/client/assets/{X-cgiyE3ZM.js → X-BY4Cj76l.js} +1 -1
- package/dist/client/assets/{XCircle-pfcw5bLn.js → XCircle-H-paIGFm.js} +1 -1
- package/dist/client/assets/{XClose-BddCxuhK.js → XClose-ihnqmUfp.js} +1 -1
- package/dist/client/assets/{Zap-Csq8iSdS.js → Zap-BafO525R.js} +1 -1
- package/dist/client/assets/{ZapSquare-BcZ9bNOI.js → ZapSquare-BFMe5Mv9.js} +1 -1
- package/dist/client/assets/{accordion-6lnK-4_B.js → accordion-DJ9g6lbv.js} +1 -1
- package/dist/client/assets/{agent-icon-BdKQ6n0b.js → agent-icon-3dvecirS.js} +1 -1
- package/dist/client/assets/{agents-list-CQCT4ln6.js → agents-list-C3oLVAtv.js} +1 -1
- package/dist/client/assets/ai-providers-BnFAoUUB.js +1 -0
- package/dist/client/assets/{alert-dialog-eUvHx9LP.js → alert-dialog-BaDMThMD.js} +1 -1
- package/dist/client/assets/{auth-catchall-DTPgUDmr.js → auth-catchall-DyAp9W_K.js} +1 -1
- package/dist/client/assets/{automation-list-row-Dr5sNKYc.js → automation-list-row-BZ5pc5Hf.js} +1 -1
- package/dist/client/assets/{automations-C3gcgD_I.js → automations-NFa1s-Bh.js} +1 -1
- package/dist/client/assets/{avatar-DYHAtJIn.js → avatar-D8_rUBWz.js} +1 -1
- package/dist/client/assets/{badge-CbBFj3dT.js → badge-DdmMZRNT.js} +1 -1
- package/dist/client/assets/{brand-context-CH3a97ud.js → brand-context-Bze-d_ZO.js} +1 -1
- package/dist/client/assets/{card-KdWbX1xC.js → card-BsUopeoI.js} +1 -1
- package/dist/client/assets/{chat-context-CyOREmRE.js → chat-context-DfbXSilM.js} +1 -1
- package/dist/client/assets/{checkbox-L6ow9OAH.js → checkbox-D9P4N8hw.js} +1 -1
- package/dist/client/assets/{collection-detail-BNa0DV-E.js → collection-detail-D-8PAzvK.js} +1 -1
- package/dist/client/assets/{collection-display-button-Cd1AAuzE.js → collection-display-button-B0aY08zq.js} +1 -1
- package/dist/client/assets/{collection-search-DKaMJpI1.js → collection-search-C4AgxGiz.js} +1 -1
- package/dist/client/assets/{collection-search-C_3BuKbi.js → collection-search-Dlp7iCDd.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BZMY30r-.js → collection-table-wrapper-CQMKVKSx.js} +1 -1
- package/dist/client/assets/{collection-tabs-CKmdw5ye.js → collection-tabs-C9tMEUhv.js} +1 -1
- package/dist/client/assets/{collections-JCMKBQvX.js → collections-BDAFtlmY.js} +1 -1
- package/dist/client/assets/{command-CiVqeZK9.js → command-CQ2qBZMm.js} +1 -1
- package/dist/client/assets/{connection-card-BGoNyj1I.js → connection-card-DwOSEuv8.js} +1 -1
- package/dist/client/assets/{connection-detail-DgOZE4hQ.js → connection-detail-CawEIpU7.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DiXDE6He.js → connection-form-helpers-D2ynuhjT.js} +1 -1
- package/dist/client/assets/{connections-BHvbqlLg.js → connections-CpSP7u11.js} +1 -1
- package/dist/client/assets/{constants-CxLUc4t1.js → constants-8SUUmfde.js} +1 -1
- package/dist/client/assets/{constants-BOiLyn9k.js → constants-dX65r6Zc.js} +1 -1
- package/dist/client/assets/{dialog-B24YZzA9.js → dialog-C09MDdtC.js} +1 -1
- package/dist/client/assets/{domain-settings-WXCddaP7.js → domain-settings-C8zQRIa5.js} +1 -1
- package/dist/client/assets/{drawer-CGPAKRwg.js → drawer-CgP97_zn.js} +1 -1
- package/dist/client/assets/{dropdown-menu-D3k5KxvY.js → dropdown-menu-BUQ2j94Z.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-B06IMDFS.js → dynamic-plugin-layout-D01hx5Sr.js} +1 -1
- package/dist/client/assets/{empty-state-CI0GC98R.js → empty-state-CDSs8u5J.js} +1 -1
- package/dist/client/assets/{empty-state-Wp7TaLly.js → empty-state-CnWmYGyJ.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C8BcpMzg.js → extract-connection-data-BksUB8IU.js} +1 -1
- package/dist/client/assets/{features-Dm0-VLa6.js → features-DbY_j0po.js} +1 -1
- package/dist/client/assets/{form-FasOp70m.js → form-D7lwTpan.js} +1 -1
- package/dist/client/assets/{general-B7DIS0Ue.js → general-ClAAY_hM.js} +1 -1
- package/dist/client/assets/index-1cERBOeE.js +1 -0
- package/dist/client/assets/{index-CLgan7xr.js → index-8uCGLU1q.js} +1 -1
- package/dist/client/assets/{index-C6uOB0Y4.js → index-B7KZ-vdQ.js} +1 -1
- package/dist/client/assets/{index-Uci3t_4k.js → index-BHEM4T0P.js} +1 -1
- package/dist/client/assets/{index-CnMcjZ2J.js → index-BT2v6iP4.js} +1 -1
- package/dist/client/assets/{index-DSDywrQr.js → index-BfFMVpP_.js} +1 -1
- package/dist/client/assets/{index-22XZTMRU.js → index-BfFwypL5.js} +1 -1
- package/dist/client/assets/{index-UUkaa4t8.js → index-CKVeIfog.js} +1 -1
- package/dist/client/assets/{index-CFi3i8-6.js → index-C_Adeshs.js} +1 -1
- package/dist/client/assets/{index-DgPBaKAA.js → index-Cqw0FyHL.js} +2 -2
- package/dist/client/assets/{index-CmoaTI3v.js → index-DH_JeBfm.js} +1 -1
- package/dist/client/assets/{index-B2vavj0S.js → index-DHwV9q9X.js} +1 -1
- package/dist/client/assets/{index-CGc8iCsx.js → index-DRij5nf9.js} +1 -1
- package/dist/client/assets/{index-CLPpVsE7.js → index-Eg0bSiJp.js} +1 -1
- package/dist/client/assets/{index-CJ0MPowS.js → index-stoVKXMu.js} +1 -1
- package/dist/client/assets/{index-CHehLkTl.js → index-zf-rleQN.js} +3 -3
- package/dist/client/assets/{infiniteQueryObserver-BNzmdrsE.js → infiniteQueryObserver-DdGFkAXb.js} +1 -1
- package/dist/client/assets/{input-s7yMiYrQ.js → input-Co0HW9uN.js} +1 -1
- package/dist/client/assets/{integration-icon-BTFNSNVv.js → integration-icon-DmwSpOA7.js} +1 -1
- package/dist/client/assets/{label-DdmR-9sj.js → label-CeKVWPbr.js} +1 -1
- package/dist/client/assets/{layout-b284SHuQ.js → layout-Tnq2i3zg.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-DajQAG70.js → lean-canvas-recruit-modal-BU3z415J.js} +1 -1
- package/dist/client/assets/{login-B1PDG9tU.js → login-CWTb0-fH.js} +1 -1
- package/dist/client/assets/{members-BzR5JdQ2.js → members-Bj1Fn746.js} +1 -1
- package/dist/client/assets/{monaco-editor-CI3jdnZr.js → monaco-editor-qXNTtuH2.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DhMQIkbL.js → monitoring-stats-row-yM4e_YZD.js} +1 -1
- package/dist/client/assets/{oauth-callback-BnQ8HZqD.js → oauth-callback-CdB6DJDA.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-CRSRr_xb.js → oauth-callback-ai-provider-BgDs3na5.js} +1 -1
- package/dist/client/assets/{onboarding-D_M2p9DV.js → onboarding-DKG_eIr1.js} +1 -1
- package/dist/client/assets/{org-layout-D2xtXfus.js → org-layout-Dl85hYyi.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-DZaqttiB.js → org-plugin-layout-BjSThyiS.js} +1 -1
- package/dist/client/assets/{pair-DipmF7bC.js → pair-1dEJPLek.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-Buoq-fSV.js → plugin-empty-state-Don4CmqW.js} +1 -1
- package/dist/client/assets/{plugin-header-BYnPGK02.js → plugin-header-B8c9MPqH.js} +1 -1
- package/dist/client/assets/{plugin-layout-CN3nu4uU.js → plugin-layout-Cl6_YUJ2.js} +1 -1
- package/dist/client/assets/{popover-BO9bGsCV.js → popover-vkIPXKru.js} +1 -1
- package/dist/client/assets/{profile-KMr1dQ-Q.js → profile-Biqh2ggJ.js} +1 -1
- package/dist/client/assets/{project-app-view-BUlVlC-x.js → project-app-view-DSY0SCnx.js} +1 -1
- package/dist/client/assets/registry-B4DkMjbe.js +2 -0
- package/dist/client/assets/{registry-layout-BUJ3AeXk.js → registry-layout-BHVIlZsW.js} +1 -1
- package/dist/client/assets/{required-auth-layout-23LI14IJ.js → required-auth-layout-1Kf8B8P9.js} +1 -1
- package/dist/client/assets/{reset-password-D1P-Z7nY.js → reset-password-CZU-BGGi.js} +1 -1
- package/dist/client/assets/{roles-C76lzhHm.js → roles-V0vn58qZ.js} +1 -1
- package/dist/client/assets/{scroll-area-BYgy2rRU.js → scroll-area-BF4q7Ra2.js} +1 -1
- package/dist/client/assets/{search-input-DouvVIAY.js → search-input-VyjPISbx.js} +1 -1
- package/dist/client/assets/{select-model-BwlI7XmT.js → select-model-CGzdU4-Q.js} +1 -1
- package/dist/client/assets/{select-tWER34RX.js → select-rxK-8b1N.js} +1 -1
- package/dist/client/assets/{settings-layout-DM8Inkwn.js → settings-layout-Bc0g8WOL.js} +1 -1
- package/dist/client/assets/{settings-section-Dr0LUAWl.js → settings-section-BsEmPevi.js} +1 -1
- package/dist/client/assets/{shell-layout-RjvCJ64C.js → shell-layout-BhC55LLx.js} +1 -1
- package/dist/client/assets/{skeleton-CUpGn6FE.js → skeleton-y3O4xgdS.js} +1 -1
- package/dist/client/assets/{sso-BIwBaU8W.js → sso-Di8r0acw.js} +1 -1
- package/dist/client/assets/{store-DxMzTKYE.js → store-B9Zqk-bV.js} +1 -1
- package/dist/client/assets/store-registry-RqxELDy6.js +2 -0
- package/dist/client/assets/{switch-DEvD95wE.js → switch-QErK7wwO.js} +1 -1
- package/dist/client/assets/{table-C3UVFCYb.js → table-CdyHz2p3.js} +1 -1
- package/dist/client/assets/{tabs-BVEP2lWJ.js → tabs-CMFQWy73.js} +1 -1
- package/dist/client/assets/{task-status-CGfLBMZl.js → task-status-D0-O3Mr3.js} +1 -1
- package/dist/client/assets/{textarea-D7sU3_M1.js → textarea-CxEqGfix.js} +1 -1
- package/dist/client/assets/{toggle-group-V7Yt1Ex8.js → toggle-group-AZijjpe8.js} +1 -1
- package/dist/client/assets/{tools-list-CABaXV8v.js → tools-list-DjWGeJBp.js} +1 -1
- package/dist/client/assets/{tooltip-apD1iSo_.js → tooltip-D_3qm7UK.js} +1 -1
- package/dist/client/assets/{types-CD5tpm5b.js → types-D1Wl9DNB.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CGTNouwr.js → use-ai-providers-Cah1GZeX.js} +1 -1
- package/dist/client/assets/{use-collections-DFWGNuJR.js → use-collections-DrmuHy93.js} +1 -1
- package/dist/client/assets/{use-connection-C-BvdB1r.js → use-connection-CyjN1GtI.js} +1 -1
- package/dist/client/assets/{use-copy-DefGD5Vz.js → use-copy-SV4GW98D.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CBpUnMCs.js → use-create-virtual-mcp-Y9XZZ8XI.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-ltSQJ_A7.js → use-decopilot-events-Drlt36bF.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DpaPpzHo.js → use-delete-connection-B955BI0e.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BQ-INmUl.js → use-infinite-scroll-BRF66BxZ.js} +1 -1
- package/dist/client/assets/{use-list-state-D1F4t091.js → use-list-state-C6Di0aCP.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BrbjMOtH.js → use-mcp-tools-DyKI35iZ.js} +1 -1
- package/dist/client/assets/{use-members-b-HHyQxx.js → use-members-mnYCaL5_.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-vkB0KE5O.js → use-navigate-to-agent-DrWD9J71.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DpMUudQp.js → use-org-auth-client-HeIerkrz.js} +1 -1
- package/dist/client/assets/{use-org-sso-B1ThBRct.js → use-org-sso-BuTv1ygf.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CBMuGkFt.js → use-organization-roles-ChLRcseg.js} +1 -1
- package/dist/client/assets/{use-organization-settings-8KaGxc8P.js → use-organization-settings-EfxM66aZ.js} +1 -1
- package/dist/client/assets/{use-registry-connections-q8kr-T41.js → use-registry-connections-fltIDY82.js} +1 -1
- package/dist/client/assets/{use-status-sounds-C19SUHpW.js → use-status-sounds-BRxCV6Ea.js} +1 -1
- package/dist/client/assets/{use-tasks-CKR5m1e3.js → use-tasks-DEh_VRON.js} +1 -1
- package/dist/client/assets/{use-view-mode-C6IKAuZR.js → use-view-mode-B3nY15Yz.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DqIUOY7O.js → use-virtual-mcp-Bb04Uah7.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CY4tnydB.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BFpIngH9.js +1 -0
- package/dist/client/assets/{user-CaH0b_KG.js → user-ClafvvGL.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-D-dHPCyZ.js → view-mode-toggle-Im7J4smk.js} +1 -1
- package/dist/client/assets/workflow-detail-Cr5QMF9R.js +1 -0
- package/dist/client/assets/{workflow-BivIt-Ky.js → workflow-u6doascD.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +457 -445
- package/dist/server/node_modules/ansi-styles/index.d.ts +236 -0
- package/dist/server/node_modules/ansi-styles/index.js +223 -0
- package/dist/server/node_modules/ansi-styles/package.json +54 -0
- package/dist/server/node_modules/ansi-styles/readme.md +173 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
- package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/dist/server/node_modules/onetime/index.d.ts +64 -0
- package/dist/server/node_modules/onetime/index.js +44 -0
- package/dist/server/node_modules/onetime/license +9 -0
- package/dist/server/node_modules/onetime/package.json +43 -0
- package/dist/server/node_modules/onetime/readme.md +94 -0
- package/dist/server/node_modules/pg-int8/LICENSE +13 -0
- package/dist/server/node_modules/pg-int8/README.md +16 -0
- package/dist/server/node_modules/pg-int8/index.js +100 -0
- package/dist/server/node_modules/pg-int8/package.json +24 -0
- package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
- package/dist/server/node_modules/postgres-array/index.js +97 -0
- package/dist/server/node_modules/postgres-array/license +21 -0
- package/dist/server/node_modules/postgres-array/package.json +35 -0
- package/dist/server/node_modules/postgres-array/readme.md +43 -0
- package/dist/server/node_modules/postgres-bytea/index.js +33 -0
- package/dist/server/node_modules/postgres-bytea/license +21 -0
- package/dist/server/node_modules/postgres-bytea/package.json +34 -0
- package/dist/server/node_modules/postgres-bytea/readme.md +34 -0
- package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
- package/dist/server/node_modules/postgres-interval/index.js +125 -0
- package/dist/server/node_modules/postgres-interval/license +21 -0
- package/dist/server/node_modules/postgres-interval/package.json +36 -0
- package/dist/server/node_modules/postgres-interval/readme.md +48 -0
- package/dist/server/node_modules/split2/LICENSE +13 -0
- package/dist/server/node_modules/split2/README.md +85 -0
- package/dist/server/node_modules/split2/bench.js +27 -0
- package/dist/server/node_modules/split2/index.js +141 -0
- package/dist/server/node_modules/split2/package.json +39 -0
- package/dist/server/node_modules/split2/test.js +409 -0
- package/dist/server/node_modules/string-width/index.d.ts +39 -0
- package/dist/server/node_modules/string-width/index.js +82 -0
- package/dist/server/node_modules/string-width/license +9 -0
- package/dist/server/node_modules/string-width/package.json +64 -0
- package/dist/server/node_modules/string-width/readme.md +66 -0
- package/package.json +2 -1
- package/dist/client/assets/ai-providers-GeW9mIp3.js +0 -1
- package/dist/client/assets/index-CHk8-d41.js +0 -1
- package/dist/client/assets/registry-BQuAXDX3.js +0 -2
- package/dist/client/assets/store-registry-4KpCoRMs.js +0 -2
- package/dist/client/assets/useInfiniteQuery-eU5lg-Wu.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-ddH3lLnG.js +0 -1
- package/dist/client/assets/workflow-detail-Df9rIeG5.js +0 -1
- package/dist/server/node_modules/get-east-asian-width/index.d.ts +0 -60
- package/dist/server/node_modules/get-east-asian-width/index.js +0 -30
- package/dist/server/node_modules/get-east-asian-width/lookup-data.js +0 -18
- package/dist/server/node_modules/get-east-asian-width/lookup.js +0 -135
- package/dist/server/node_modules/get-east-asian-width/package.json +0 -71
- package/dist/server/node_modules/get-east-asian-width/readme.md +0 -65
- package/dist/server/node_modules/get-east-asian-width/utilities.js +0 -24
- /package/dist/server/node_modules/{get-east-asian-width → ansi-styles}/license +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "decocms",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.304.1",
|
|
4
4
|
"description": "Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools",
|
|
5
5
|
"author": "Deco team",
|
|
6
6
|
"repository": {
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"@aws-sdk/client-s3": "^3.1013.0",
|
|
51
51
|
"@aws-sdk/s3-request-presigner": "^3.1013.0",
|
|
52
52
|
"@clickhouse/client": "^1.8.1",
|
|
53
|
+
"@deco-cx/warp-node": "^0.3.20",
|
|
53
54
|
"@dnd-kit/core": "^6.3.1",
|
|
54
55
|
"@dnd-kit/sortable": "^10.0.0",
|
|
55
56
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-DgPBaKAA.js";import{O as m}from"./select-model-BwlI7XmT.js";import"./checkbox-L6ow9OAH.js";import"./ChevronDown-ClwyYcv4.js";import"./input-s7yMiYrQ.js";import"./dialog-B24YZzA9.js";import"./X-cgiyE3ZM.js";import"./drawer-CGPAKRwg.js";import"./tooltip-apD1iSo_.js";import"./select-tWER34RX.js";import"./ChevronUp-0O0O_hLq.js";import"./skeleton-CUpGn6FE.js";import"./Tool01-Baq41T_m.js";import"./RefreshCcw01-i1Q8uoB-.js";import"./SearchMd-CaU1opgI.js";import"./Settings02-sn7Sw6YT.js";import"./use-ai-providers-CGTNouwr.js";import"./constants-CxLUc4t1.js";import"./chat-context-CyOREmRE.js";import"./use-virtual-mcp-DqIUOY7O.js";import"./use-collections-DFWGNuJR.js";import"./use-decopilot-events-ltSQJ_A7.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-CKR5m1e3.js";import"./use-organization-settings-8KaGxc8P.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-Csq8iSdS.js";import"./AlertCircle-vEsirhNa.js";import"./CheckCircle-CG65sxv8.js";import"./Trash01-vBGY9tLb.js";import"./index-CLgan7xr.js";import"./settings-section-Dr0LUAWl.js";import"./card-KdWbX1xC.js";import"./ArrowUpRight-gnKwWbdS.js";import"./switch-DEvD95wE.js";import"./toggle-group-V7Yt1Ex8.js";import"./avatar-DYHAtJIn.js";import"./User01-Dt3HpnQa.js";import"./alert-dialog-eUvHx9LP.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function T(){const o=t.c(1);let r;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(m,{}),o[0]=r):r=o[0],r}export{T as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as n,j as r,r as d,g as h,O as f,l as u}from"./index-DgPBaKAA.js";import{S as j,a as b,b as S}from"./index-CLgan7xr.js";import{u as _}from"./tooltip-apD1iSo_.js";import{u as k,T as y,a as T,b as i,S as g}from"./index-CJ0MPowS.js";import{C as v}from"./chat-context-CyOREmRE.js";import"./X-cgiyE3ZM.js";import"./agent-icon-BdKQ6n0b.js";import"./AlertCircle-vEsirhNa.js";import"./Tool01-Baq41T_m.js";import"./XClose-BddCxuhK.js";import"./RefreshCcw01-i1Q8uoB-.js";import"./ArrowNarrowLeft-DZv_aYqP.js";import"./XCircle-pfcw5bLn.js";import"./ArrowUpRight-gnKwWbdS.js";import"./ZapSquare-BcZ9bNOI.js";import"./Users03-DXg5Ltjv.js";import"./CheckCircle-CG65sxv8.js";import"./ChevronDown-ClwyYcv4.js";import"./ChevronRight-C0UgsndQ.js";import"./ChevronUp-0O0O_hLq.js";import"./DotsVertical-BdLY0G_d.js";import"./Container-D1_FRS1u.js";import"./Star01-BRRUiVRZ.js";import"./Palette-DTaJJ6eW.js";import"./SearchMd-CaU1opgI.js";import"./LinkExternal01-C0RHT0gp.js";import"./Lock01-CJP_L01s.js";import"./Sun-xRqcyI3R.js";import"./Play-wg-GRHFk.js";import"./Plus-Ukcu1-Za.js";import"./Settings02-sn7Sw6YT.js";import"./Shield01-BV1qTPTH.js";import"./Trash01-vBGY9tLb.js";import"./User01-Dt3HpnQa.js";import"./Zap-Csq8iSdS.js";import"./shell-layout-RjvCJ64C.js";import"./dialog-B24YZzA9.js";import"./required-auth-layout-23LI14IJ.js";import"./use-tasks-CKR5m1e3.js";import"./use-collections-DFWGNuJR.js";import"./constants-CxLUc4t1.js";import"./use-organization-settings-8KaGxc8P.js";import"./use-org-sso-B1ThBRct.js";import"./pair-DipmF7bC.js";import"./index-B2vavj0S.js";import"./use-copy-DefGD5Vz.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./content-blocks-o63cs2vh.js";import"./types-CD5tpm5b.js";import"./integration-icon-BTFNSNVv.js";import"./use-virtual-mcp-DqIUOY7O.js";import"./skeleton-CUpGn6FE.js";import"./popover-BO9bGsCV.js";import"./drawer-CGPAKRwg.js";import"./avatar-DYHAtJIn.js";import"./alert-dialog-eUvHx9LP.js";import"./form-FasOp70m.js";import"./label-DdmR-9sj.js";import"./input-s7yMiYrQ.js";import"./index-UUkaa4t8.js";import"./use-mcp-tools-BrbjMOtH.js";import"./use-ai-providers-CGTNouwr.js";import"./index-CnMcjZ2J.js";import"./switch-DEvD95wE.js";import"./use-connection-C-BvdB1r.js";import"./lean-canvas-recruit-modal-DajQAG70.js";import"./use-navigate-to-agent-vkB0KE5O.js";import"./collection-search-DKaMJpI1.js";import"./checkbox-L6ow9OAH.js";import"./extract-connection-data-C8BcpMzg.js";import"./constants-BOiLyn9k.js";import"./collections-JCMKBQvX.js";import"./tabs-BVEP2lWJ.js";import"./dropdown-menu-D3k5KxvY.js";import"./select-tWER34RX.js";import"./toggle-group-V7Yt1Ex8.js";import"./select-model-BwlI7XmT.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Dr0LUAWl.js";import"./card-KdWbX1xC.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./unwrap-tool-result-BYXdCQMg.js";import"./index-CLPpVsE7.js";import"./question-004-sINsf4GQ.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BGoNyj1I.js";import"./use-registry-connections-q8kr-T41.js";import"./useInfiniteQuery-eU5lg-Wu.js";import"./infiniteQueryObserver-BNzmdrsE.js";import"./collection-tabs-CKmdw5ye.js";import"./badge-CbBFj3dT.js";import"./textarea-D7sU3_M1.js";import"./connection-form-helpers-DiXDE6He.js";import"./use-infinite-scroll-BQ-INmUl.js";import"./useSuspenseInfiniteQuery-ddH3lLnG.js";import"./collection-search-C_3BuKbi.js";import"./use-create-virtual-mcp-CBpUnMCs.js";import"./empty-state-CI0GC98R.js";import"./use-decopilot-events-ltSQJ_A7.js";import"./create-sse-subscription-CxkOgzKf.js";import"./task-status-CGfLBMZl.js";const N=280;function P(){const t=n.c(2),{tasksOpen:e}=k();if(!e)return null;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={width:`${N}px`},t[0]=o):o=t[0];let m;return t[1]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx("aside",{className:"shrink-0 h-full bg-sidebar pb-1",style:o,children:r.jsx("div",{className:"h-full p-0.5 pt-0.25",children:r.jsx("div",{className:"h-full bg-background rounded-[0.75rem] overflow-hidden card-shadow",children:r.jsx(y,{})})})}),t[1]=m):m=t[1],m}function C(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx(d.Suspense,{fallback:null,children:r.jsx(P,{})}),t[0]=e):e=t[0],e}function x(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx("div",{className:"flex-1 flex items-center justify-center",children:r.jsx(u,{size:20,className:"animate-spin text-muted-foreground"})}),t[0]=e):e=t[0],e}function yr(){const t=n.c(7),e=_();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={strict:!1},t[0]=o):o=t[0];const c=!!h(o).taskId;let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s={"--sidebar-width-icon":"3.5rem"},t[1]=s):s=t[1];let l;t[2]===Symbol.for("react.memo_cache_sentinel")?(l=r.jsx(g,{}),t[2]=l):l=t[2];let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p={background:"transparent",containerType:"inline-size"},t[3]=p):p=t[3];let a;return t[4]!==c||t[5]!==e?(a=r.jsx(j,{defaultOpen:!1,children:r.jsx("div",{className:"flex flex-col h-dvh overflow-hidden",children:r.jsxs(b,{className:"flex-1 bg-sidebar",style:s,children:[l,r.jsx(S,{className:"flex flex-col",style:p,children:r.jsx(v,{children:r.jsx(T,{children:e?r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})}):r.jsxs(i,{children:[r.jsxs(i.Header,{children:[r.jsxs(i.LeftColumn,{children:[r.jsx(i.Nav,{}),r.jsx(i.TogglesSlot,{})]}),r.jsx(i.CenterSlot,{}),r.jsxs(i.RightColumn,{children:[r.jsx(i.TabsSlot,{}),r.jsx(i.RightSlot,{})]})]}),r.jsxs("div",{className:"flex-1 min-h-0 flex flex-row",children:[c&&r.jsx(C,{}),r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})})]})]})})})})]})})}),t[4]=c,t[5]=e,t[6]=a):a=t[6],a}export{yr as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BUJ3AeXk.js","assets/index-DgPBaKAA.js","assets/index-DXHNyf1g.css","assets/ArrowNarrowLeft-DZv_aYqP.js","assets/CheckCircle-CG65sxv8.js","assets/Container-D1_FRS1u.js","assets/Settings02-sn7Sw6YT.js","assets/XCircle-pfcw5bLn.js","assets/constants-CxLUc4t1.js","assets/useInfiniteQuery-eU5lg-Wu.js","assets/infiniteQueryObserver-BNzmdrsE.js","assets/badge-CbBFj3dT.js","assets/input-s7yMiYrQ.js","assets/dropdown-menu-D3k5KxvY.js","assets/ChevronDown-ClwyYcv4.js","assets/ChevronRight-C0UgsndQ.js","assets/DotsVertical-BdLY0G_d.js","assets/table-C3UVFCYb.js","assets/toggle-group-V7Yt1Ex8.js","assets/use-view-mode-C6IKAuZR.js","assets/tooltip-apD1iSo_.js","assets/SearchMd-CaU1opgI.js","assets/dialog-B24YZzA9.js","assets/X-cgiyE3ZM.js","assets/AlertCircle-vEsirhNa.js","assets/alert-dialog-eUvHx9LP.js","assets/card-KdWbX1xC.js","assets/Trash01-vBGY9tLb.js","assets/label-DdmR-9sj.js","assets/select-tWER34RX.js","assets/ChevronUp-0O0O_hLq.js","assets/switch-DEvD95wE.js","assets/textarea-D7sU3_M1.js","assets/RefreshCcw01-i1Q8uoB-.js","assets/checkbox-L6ow9OAH.js","assets/LinkExternal01-C0RHT0gp.js","assets/use-copy-DefGD5Vz.js","assets/Plus-Ukcu1-Za.js","assets/Play-wg-GRHFk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-DgPBaKAA.js";const n=r.lazy(()=>o(()=>import("./registry-layout-BUJ3AeXk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])));function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(r.Suspense,{fallback:t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(i,{size:20,className:"animate-spin text-muted-foreground"})}),children:t.jsx(n,{})}),s[0]=e):e=s[0],e}export{c as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BUJ3AeXk.js","assets/index-DgPBaKAA.js","assets/index-DXHNyf1g.css","assets/ArrowNarrowLeft-DZv_aYqP.js","assets/CheckCircle-CG65sxv8.js","assets/Container-D1_FRS1u.js","assets/Settings02-sn7Sw6YT.js","assets/XCircle-pfcw5bLn.js","assets/constants-CxLUc4t1.js","assets/useInfiniteQuery-eU5lg-Wu.js","assets/infiniteQueryObserver-BNzmdrsE.js","assets/badge-CbBFj3dT.js","assets/input-s7yMiYrQ.js","assets/dropdown-menu-D3k5KxvY.js","assets/ChevronDown-ClwyYcv4.js","assets/ChevronRight-C0UgsndQ.js","assets/DotsVertical-BdLY0G_d.js","assets/table-C3UVFCYb.js","assets/toggle-group-V7Yt1Ex8.js","assets/use-view-mode-C6IKAuZR.js","assets/tooltip-apD1iSo_.js","assets/SearchMd-CaU1opgI.js","assets/dialog-B24YZzA9.js","assets/X-cgiyE3ZM.js","assets/AlertCircle-vEsirhNa.js","assets/alert-dialog-eUvHx9LP.js","assets/card-KdWbX1xC.js","assets/Trash01-vBGY9tLb.js","assets/label-DdmR-9sj.js","assets/select-tWER34RX.js","assets/ChevronUp-0O0O_hLq.js","assets/switch-DEvD95wE.js","assets/textarea-D7sU3_M1.js","assets/RefreshCcw01-i1Q8uoB-.js","assets/checkbox-L6ow9OAH.js","assets/LinkExternal01-C0RHT0gp.js","assets/use-copy-DefGD5Vz.js","assets/Plus-Ukcu1-Za.js","assets/Play-wg-GRHFk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as n,f as c,g as m,j as r,l as f,r as l,_ as u}from"./index-DgPBaKAA.js";const _=l.lazy(()=>u(()=>import("./registry-layout-BUJ3AeXk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])));function x(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(_,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-BNzmdrsE.js";import{c2 as i}from"./index-DgPBaKAA.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-BNzmdrsE.js";import{c2 as u,c3 as n}from"./index-DgPBaKAA.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-DgPBaKAA.js";import{a as f}from"./index-CGc8iCsx.js";import"./index-CFi3i8-6.js";import"./constants-CxLUc4t1.js";import"./collections-JCMKBQvX.js";import"./index-C6uOB0Y4.js";import"./use-virtual-mcp-DqIUOY7O.js";import"./use-collections-DFWGNuJR.js";import"./monaco-editor-CI3jdnZr.js";import"./index-B2vavj0S.js";import"./accordion-6lnK-4_B.js";import"./agent-icon-BdKQ6n0b.js";import"./AlertCircle-vEsirhNa.js";import"./Tool01-Baq41T_m.js";import"./XClose-BddCxuhK.js";import"./RefreshCcw01-i1Q8uoB-.js";import"./ArrowNarrowLeft-DZv_aYqP.js";import"./XCircle-pfcw5bLn.js";import"./ArrowUpRight-gnKwWbdS.js";import"./ZapSquare-BcZ9bNOI.js";import"./Users03-DXg5Ltjv.js";import"./CheckCircle-CG65sxv8.js";import"./ChevronDown-ClwyYcv4.js";import"./ChevronRight-C0UgsndQ.js";import"./ChevronUp-0O0O_hLq.js";import"./DotsVertical-BdLY0G_d.js";import"./Container-D1_FRS1u.js";import"./Star01-BRRUiVRZ.js";import"./Palette-DTaJJ6eW.js";import"./SearchMd-CaU1opgI.js";import"./index-CLgan7xr.js";import"./tooltip-apD1iSo_.js";import"./X-cgiyE3ZM.js";import"./LinkExternal01-C0RHT0gp.js";import"./Lock01-CJP_L01s.js";import"./Sun-xRqcyI3R.js";import"./Play-wg-GRHFk.js";import"./Plus-Ukcu1-Za.js";import"./Settings02-sn7Sw6YT.js";import"./Shield01-BV1qTPTH.js";import"./Trash01-vBGY9tLb.js";import"./User01-Dt3HpnQa.js";import"./Zap-Csq8iSdS.js";import"./badge-CbBFj3dT.js";import"./select-tWER34RX.js";import"./view-mode-toggle-D-dHPCyZ.js";import"./layout-b284SHuQ.js";import"./use-connection-C-BvdB1r.js";import"./use-mcp-tools-BrbjMOtH.js";import"./dialog-B24YZzA9.js";import"./index-CLPpVsE7.js";import"./dropdown-menu-D3k5KxvY.js";import"./integration-icon-BTFNSNVv.js";import"./scroll-area-BYgy2rRU.js";import"./index-UUkaa4t8.js";import"./empty-state-Wp7TaLly.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-s7yMiYrQ.js";function ht(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{ht as default};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export type WidthType = 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous';
|
|
2
|
-
|
|
3
|
-
export type Options = {
|
|
4
|
-
/**
|
|
5
|
-
Whether to treat an `'ambiguous'` character as wide.
|
|
6
|
-
|
|
7
|
-
@default true
|
|
8
|
-
|
|
9
|
-
@example
|
|
10
|
-
```
|
|
11
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
12
|
-
|
|
13
|
-
const codePoint = '⛣'.codePointAt(0);
|
|
14
|
-
|
|
15
|
-
console.log(eastAsianWidth(codePoint));
|
|
16
|
-
//=> 1
|
|
17
|
-
|
|
18
|
-
console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
|
|
19
|
-
//=> 2
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). __If the context cannot be established reliably, they should be treated as narrow characters by default.__
|
|
23
|
-
> - http://www.unicode.org/reports/tr11/
|
|
24
|
-
*/
|
|
25
|
-
readonly ambiguousAsWide?: boolean;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
Returns the width as a number for the given code point.
|
|
30
|
-
|
|
31
|
-
@param codePoint - A Unicode code point.
|
|
32
|
-
|
|
33
|
-
@example
|
|
34
|
-
```
|
|
35
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
36
|
-
|
|
37
|
-
const codePoint = '字'.codePointAt(0);
|
|
38
|
-
|
|
39
|
-
console.log(eastAsianWidth(codePoint));
|
|
40
|
-
//=> 2
|
|
41
|
-
```
|
|
42
|
-
*/
|
|
43
|
-
export function eastAsianWidth(codePoint: number, options?: Options): 1 | 2;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
Returns the type of “East Asian Width” for the given code point.
|
|
47
|
-
|
|
48
|
-
@param codePoint - A Unicode code point.
|
|
49
|
-
|
|
50
|
-
@example
|
|
51
|
-
```
|
|
52
|
-
import {eastAsianWidthType} from 'get-east-asian-width';
|
|
53
|
-
|
|
54
|
-
const codePoint = '字'.codePointAt(0);
|
|
55
|
-
|
|
56
|
-
console.log(eastAsianWidthType(codePoint));
|
|
57
|
-
//=> 'wide'
|
|
58
|
-
```
|
|
59
|
-
*/
|
|
60
|
-
export function eastAsianWidthType(codePoint: number): WidthType;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {getCategory, isAmbiguous, isFullWidth, isWide} from './lookup.js';
|
|
2
|
-
|
|
3
|
-
function validate(codePoint) {
|
|
4
|
-
if (!Number.isSafeInteger(codePoint)) {
|
|
5
|
-
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function eastAsianWidthType(codePoint) {
|
|
10
|
-
validate(codePoint);
|
|
11
|
-
|
|
12
|
-
return getCategory(codePoint);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function eastAsianWidth(codePoint, {ambiguousAsWide = false} = {}) {
|
|
16
|
-
validate(codePoint);
|
|
17
|
-
|
|
18
|
-
if (
|
|
19
|
-
isFullWidth(codePoint)
|
|
20
|
-
|| isWide(codePoint)
|
|
21
|
-
|| (ambiguousAsWide && isAmbiguous(codePoint))
|
|
22
|
-
) {
|
|
23
|
-
return 2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return 1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Private exports for https://github.com/sindresorhus/is-fullwidth-code-point
|
|
30
|
-
export {isFullWidth as _isFullWidth, isWide as _isWide} from './lookup.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/build.js
|
|
2
|
-
|
|
3
|
-
// prettier-ignore
|
|
4
|
-
const ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
5
|
-
|
|
6
|
-
// prettier-ignore
|
|
7
|
-
const fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
8
|
-
|
|
9
|
-
// prettier-ignore
|
|
10
|
-
const halfwidthRanges = [8361, 8361, 65377, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65512, 65518];
|
|
11
|
-
|
|
12
|
-
// prettier-ignore
|
|
13
|
-
const narrowRanges = [32, 126, 162, 163, 165, 166, 172, 172, 175, 175, 10214, 10221, 10629, 10630];
|
|
14
|
-
|
|
15
|
-
// prettier-ignore
|
|
16
|
-
const wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101589, 101631, 101662, 101760, 101874, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110882, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110951, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128728, 128732, 128735, 128747, 128748, 128756, 128764, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129674, 129678, 129734, 129736, 129736, 129741, 129756, 129759, 129770, 129775, 129784, 131072, 196605, 196608, 262141];
|
|
17
|
-
|
|
18
|
-
export {ambiguousRanges, fullwidthRanges, halfwidthRanges, narrowRanges, wideRanges};
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ambiguousRanges,
|
|
3
|
-
fullwidthRanges,
|
|
4
|
-
halfwidthRanges,
|
|
5
|
-
narrowRanges,
|
|
6
|
-
wideRanges,
|
|
7
|
-
} from './lookup-data.js';
|
|
8
|
-
import {isInRange} from './utilities.js';
|
|
9
|
-
|
|
10
|
-
const minimumAmbiguousCodePoint = ambiguousRanges[0];
|
|
11
|
-
const maximumAmbiguousCodePoint = ambiguousRanges.at(-1);
|
|
12
|
-
const minimumFullWidthCodePoint = fullwidthRanges[0];
|
|
13
|
-
const maximumFullWidthCodePoint = fullwidthRanges.at(-1);
|
|
14
|
-
const minimumHalfWidthCodePoint = halfwidthRanges[0];
|
|
15
|
-
const maximumHalfWidthCodePoint = halfwidthRanges.at(-1);
|
|
16
|
-
const minimumNarrowCodePoint = narrowRanges[0];
|
|
17
|
-
const maximumNarrowCodePoint = narrowRanges.at(-1);
|
|
18
|
-
const minimumWideCodePoint = wideRanges[0];
|
|
19
|
-
const maximumWideCodePoint = wideRanges.at(-1);
|
|
20
|
-
|
|
21
|
-
const commonCjkCodePoint = 0x4E_00;
|
|
22
|
-
const [wideFastPathStart, wideFastPathEnd] = findWideFastPathRange(wideRanges);
|
|
23
|
-
|
|
24
|
-
// Use a hot-path range so common `isWide` calls can skip binary search.
|
|
25
|
-
// The range containing U+4E00 covers common CJK ideographs;
|
|
26
|
-
// fallback to the largest range for resilience to Unicode table changes.
|
|
27
|
-
function findWideFastPathRange(ranges) {
|
|
28
|
-
let fastPathStart = ranges[0];
|
|
29
|
-
let fastPathEnd = ranges[1];
|
|
30
|
-
|
|
31
|
-
for (let index = 0; index < ranges.length; index += 2) {
|
|
32
|
-
const start = ranges[index];
|
|
33
|
-
const end = ranges[index + 1];
|
|
34
|
-
|
|
35
|
-
if (
|
|
36
|
-
commonCjkCodePoint >= start
|
|
37
|
-
&& commonCjkCodePoint <= end
|
|
38
|
-
) {
|
|
39
|
-
return [start, end];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if ((end - start) > (fastPathEnd - fastPathStart)) {
|
|
43
|
-
fastPathStart = start;
|
|
44
|
-
fastPathEnd = end;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return [fastPathStart, fastPathEnd];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const isAmbiguous = codePoint => {
|
|
52
|
-
if (
|
|
53
|
-
codePoint < minimumAmbiguousCodePoint
|
|
54
|
-
|| codePoint > maximumAmbiguousCodePoint
|
|
55
|
-
) {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return isInRange(ambiguousRanges, codePoint);
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export const isFullWidth = codePoint => {
|
|
63
|
-
if (
|
|
64
|
-
codePoint < minimumFullWidthCodePoint
|
|
65
|
-
|| codePoint > maximumFullWidthCodePoint
|
|
66
|
-
) {
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return isInRange(fullwidthRanges, codePoint);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const isHalfWidth = codePoint => {
|
|
74
|
-
if (
|
|
75
|
-
codePoint < minimumHalfWidthCodePoint
|
|
76
|
-
|| codePoint > maximumHalfWidthCodePoint
|
|
77
|
-
) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
return isInRange(halfwidthRanges, codePoint);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
const isNarrow = codePoint => {
|
|
85
|
-
if (
|
|
86
|
-
codePoint < minimumNarrowCodePoint
|
|
87
|
-
|| codePoint > maximumNarrowCodePoint
|
|
88
|
-
) {
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return isInRange(narrowRanges, codePoint);
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export const isWide = codePoint => {
|
|
96
|
-
if (
|
|
97
|
-
codePoint >= wideFastPathStart
|
|
98
|
-
&& codePoint <= wideFastPathEnd
|
|
99
|
-
) {
|
|
100
|
-
return true;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
if (
|
|
104
|
-
codePoint < minimumWideCodePoint
|
|
105
|
-
|| codePoint > maximumWideCodePoint
|
|
106
|
-
) {
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return isInRange(wideRanges, codePoint);
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export function getCategory(codePoint) {
|
|
114
|
-
if (isAmbiguous(codePoint)) {
|
|
115
|
-
return 'ambiguous';
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
if (isFullWidth(codePoint)) {
|
|
119
|
-
return 'fullwidth';
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (isHalfWidth(codePoint)) {
|
|
123
|
-
return 'halfwidth';
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (isNarrow(codePoint)) {
|
|
127
|
-
return 'narrow';
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (isWide(codePoint)) {
|
|
131
|
-
return 'wide';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return 'neutral';
|
|
135
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "get-east-asian-width",
|
|
3
|
-
"version": "1.5.0",
|
|
4
|
-
"description": "Determine the East Asian Width of a Unicode character",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/get-east-asian-width",
|
|
7
|
-
"funding": "https://github.com/sponsors/sindresorhus",
|
|
8
|
-
"author": {
|
|
9
|
-
"name": "Sindre Sorhus",
|
|
10
|
-
"email": "sindresorhus@gmail.com",
|
|
11
|
-
"url": "https://sindresorhus.com"
|
|
12
|
-
},
|
|
13
|
-
"type": "module",
|
|
14
|
-
"exports": {
|
|
15
|
-
"types": "./index.d.ts",
|
|
16
|
-
"default": "./index.js"
|
|
17
|
-
},
|
|
18
|
-
"sideEffects": false,
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": ">=18"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"test": "xo && ava && tsc index.d.ts",
|
|
24
|
-
"build": "node scripts/build.js",
|
|
25
|
-
"prepublish": "npm run build"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"index.js",
|
|
29
|
-
"index.d.ts",
|
|
30
|
-
"lookup.js",
|
|
31
|
-
"lookup-data.js",
|
|
32
|
-
"utilities.js"
|
|
33
|
-
],
|
|
34
|
-
"keywords": [
|
|
35
|
-
"unicode",
|
|
36
|
-
"east-asian-width",
|
|
37
|
-
"eastasianwidth",
|
|
38
|
-
"character",
|
|
39
|
-
"string",
|
|
40
|
-
"width",
|
|
41
|
-
"text",
|
|
42
|
-
"layout",
|
|
43
|
-
"alignment",
|
|
44
|
-
"fullwidth",
|
|
45
|
-
"halfwidth",
|
|
46
|
-
"ambiguous",
|
|
47
|
-
"narrow",
|
|
48
|
-
"wide",
|
|
49
|
-
"neutral",
|
|
50
|
-
"typography",
|
|
51
|
-
"japanese",
|
|
52
|
-
"chinese",
|
|
53
|
-
"korean",
|
|
54
|
-
"codepoint",
|
|
55
|
-
"text-processing",
|
|
56
|
-
"i18n",
|
|
57
|
-
"l10n"
|
|
58
|
-
],
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"ava": "^5.3.1",
|
|
61
|
-
"outdent": "^0.8.0",
|
|
62
|
-
"simplify-ranges": "^0.1.0",
|
|
63
|
-
"typescript": "^5.2.2",
|
|
64
|
-
"xo": "^0.56.0"
|
|
65
|
-
},
|
|
66
|
-
"xo": {
|
|
67
|
-
"ignores": [
|
|
68
|
-
"lookup-data.js"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# get-east-asian-width
|
|
2
|
-
|
|
3
|
-
> Determine the [East Asian Width](https://unicode.org/reports/tr11/) of a Unicode character
|
|
4
|
-
|
|
5
|
-
> East Asian Width categorizes Unicode characters based on their occupied space in East Asian typography, which helps in text layout and alignment, particularly in languages like Japanese, Chinese, and Korean.
|
|
6
|
-
|
|
7
|
-
Unlike other similar packages, this package uses the latest Unicode data (which changes each year).
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install get-east-asian-width
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import {eastAsianWidth, eastAsianWidthType} from 'get-east-asian-width';
|
|
19
|
-
|
|
20
|
-
const codePoint = '字'.codePointAt(0);
|
|
21
|
-
|
|
22
|
-
console.log(eastAsianWidth(codePoint));
|
|
23
|
-
//=> 2
|
|
24
|
-
|
|
25
|
-
console.log(eastAsianWidthType(codePoint));
|
|
26
|
-
//=> 'wide'
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## `eastAsianWidth(codePoint: number, options?: object): 1 | 2`
|
|
30
|
-
|
|
31
|
-
Returns the width as a number for the given code point.
|
|
32
|
-
|
|
33
|
-
### options
|
|
34
|
-
|
|
35
|
-
Type: `object`
|
|
36
|
-
|
|
37
|
-
#### ambiguousAsWide
|
|
38
|
-
|
|
39
|
-
Type: `boolean`\
|
|
40
|
-
Default: `false`
|
|
41
|
-
|
|
42
|
-
Whether to treat an `'ambiguous'` character as wide.
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
import {eastAsianWidth} from 'get-east-asian-width';
|
|
46
|
-
|
|
47
|
-
const codePoint = '⛣'.codePointAt(0);
|
|
48
|
-
|
|
49
|
-
console.log(eastAsianWidth(codePoint));
|
|
50
|
-
//=> 1
|
|
51
|
-
|
|
52
|
-
console.log(eastAsianWidth(codePoint, {ambiguousAsWide: true}));
|
|
53
|
-
//=> 2
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
> Ambiguous characters behave like wide or narrow characters depending on the context (language tag, script identification, associated font, source of data, or explicit markup; all can provide the context). **If the context cannot be established reliably, they should be treated as narrow characters by default.**
|
|
57
|
-
> - http://www.unicode.org/reports/tr11/
|
|
58
|
-
|
|
59
|
-
## `eastAsianWidthType(codePoint: number): 'fullwidth' | 'halfwidth' | 'wide' | 'narrow' | 'neutral' | 'ambiguous'`
|
|
60
|
-
|
|
61
|
-
Returns the type of “East Asian Width” for the given code point.
|
|
62
|
-
|
|
63
|
-
## Related
|
|
64
|
-
|
|
65
|
-
- [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Binary search on a sorted flat array of [start, end] pairs.
|
|
3
|
-
|
|
4
|
-
@param {number[]} ranges - Flat array of inclusive [start, end] range pairs, e.g. [0, 5, 10, 20].
|
|
5
|
-
@param {number} codePoint - The value to search for.
|
|
6
|
-
@returns {boolean} Whether the value falls within any of the ranges.
|
|
7
|
-
*/
|
|
8
|
-
export const isInRange = (ranges, codePoint) => {
|
|
9
|
-
let low = 0;
|
|
10
|
-
let high = Math.floor(ranges.length / 2) - 1;
|
|
11
|
-
while (low <= high) {
|
|
12
|
-
const mid = Math.floor((low + high) / 2);
|
|
13
|
-
const i = mid * 2;
|
|
14
|
-
if (codePoint < ranges[i]) {
|
|
15
|
-
high = mid - 1;
|
|
16
|
-
} else if (codePoint > ranges[i + 1]) {
|
|
17
|
-
low = mid + 1;
|
|
18
|
-
} else {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return false;
|
|
24
|
-
};
|
|
File without changes
|