decocms 2.281.4-alpha.1 → 2.282.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-7JjFgLc7.js → AlertCircle-BFBGzWbU.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-Dede_Ne2.js → ArrowNarrowLeft-Dxp25apt.js} +1 -1
- package/dist/client/assets/{CheckCircle-CTW72EON.js → CheckCircle-B3ma3JwC.js} +1 -1
- package/dist/client/assets/{ChevronDown-kxc5hHzL.js → ChevronDown-D9BYLhkI.js} +1 -1
- package/dist/client/assets/{ChevronRight-DDbSh6n1.js → ChevronRight-1PBbNJm4.js} +1 -1
- package/dist/client/assets/{ChevronUp-Dp8gBsiQ.js → ChevronUp-Cfr7nwaY.js} +1 -1
- package/dist/client/assets/{Container-DbPEBCPd.js → Container-DGdMzimP.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DGpodMuQ.js → LinkExternal01-D1eXv7CP.js} +1 -1
- package/dist/client/assets/{Lock01-DWeyLAgC.js → Lock01-Cd-pjSnV.js} +1 -1
- package/dist/client/assets/{Palette-9DjyOnf4.js → Palette-CpczgKVU.js} +1 -1
- package/dist/client/assets/{Play-CGVWyYId.js → Play-B7_Vv1Kl.js} +1 -1
- package/dist/client/assets/{Plus-BZ8TfrO6.js → Plus-DCerBxVp.js} +1 -1
- package/dist/client/assets/{SearchMd-DiHiiShh.js → SearchMd-BBYvMMEY.js} +1 -1
- package/dist/client/assets/{Settings02-BrMLRmyq.js → Settings02-CTxpmjIL.js} +1 -1
- package/dist/client/assets/{Star01-DOZUyUGI.js → Star01-DtLRJZfG.js} +1 -1
- package/dist/client/assets/{Sun-D9NMWxb1.js → Sun-CjaKdP_w.js} +1 -1
- package/dist/client/assets/{Tool01-CPwXEQb5.js → Tool01-BZX3PrpA.js} +1 -1
- package/dist/client/assets/{Trash01-JJPVWHIh.js → Trash01-BpPWbnOV.js} +1 -1
- package/dist/client/assets/{Upload01-CAASdeK2.js → Upload01-AtFwS7_4.js} +1 -1
- package/dist/client/assets/{User01-DzewYYcp.js → User01-CbhU6vag.js} +1 -1
- package/dist/client/assets/{Users03-1bfUrVZT.js → Users03-C-T3UrlF.js} +1 -1
- package/dist/client/assets/{X-CyqBZIBt.js → X-BNbilc9H.js} +1 -1
- package/dist/client/assets/{XCircle-C0Pb9VbS.js → XCircle-DYNSiiUr.js} +1 -1
- package/dist/client/assets/{Zap-WS6KKy8N.js → Zap-B7kVcQ1u.js} +1 -1
- package/dist/client/assets/{ZapSquare-DBz9qdVm.js → ZapSquare-CdonE3dW.js} +1 -1
- package/dist/client/assets/{accordion-iHKIJir4.js → accordion-FpUQMiXV.js} +1 -1
- package/dist/client/assets/agent-icon-CxiN-PMV.js +1 -0
- package/dist/client/assets/{agents-list-EtMSypXC.js → agents-list-C7OZID3w.js} +1 -1
- package/dist/client/assets/ai-providers-BTFQDMp3.js +1 -0
- package/dist/client/assets/{alert-dialog-CvUq9c2l.js → alert-dialog-C9VS4Tm4.js} +1 -1
- package/dist/client/assets/{auth-catchall-C2AFIXKV.js → auth-catchall-Bns0gw3s.js} +1 -1
- package/dist/client/assets/{automation-list-row-srgvCKZh.js → automation-list-row-BcStn6T3.js} +1 -1
- package/dist/client/assets/{automations-Dp2hsJvG.js → automations-CgsrNnd6.js} +1 -1
- package/dist/client/assets/{avatar-BAGLgwIy.js → avatar-BtIUeZzk.js} +1 -1
- package/dist/client/assets/{badge-Csg5fgRc.js → badge-CiNJMavT.js} +1 -1
- package/dist/client/assets/{brand-context-D7GISA6v.js → brand-context-B9-s9Xpu.js} +1 -1
- package/dist/client/assets/{card-bx_QeXw_.js → card-BLvmImYq.js} +1 -1
- package/dist/client/assets/{chat-context-OvrSchhz.js → chat-context-Bx9m79lL.js} +1 -1
- package/dist/client/assets/{checkbox-C7KSBfZr.js → checkbox-CRVR_ot1.js} +1 -1
- package/dist/client/assets/{collection-detail-BcTctJfQ.js → collection-detail-D4nuXZXV.js} +1 -1
- package/dist/client/assets/{collection-display-button-B4SGVjCw.js → collection-display-button-BuSwjRsM.js} +1 -1
- package/dist/client/assets/{collection-search-DOj_zhXC.js → collection-search-DoAFbLqs.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-C7ZPBElG.js → collection-table-wrapper-DRpY-ndk.js} +1 -1
- package/dist/client/assets/{collection-tabs-DrO0tDqW.js → collection-tabs-0TZKhC7x.js} +1 -1
- package/dist/client/assets/{collections-DRefuj7X.js → collections-DAiJZOiv.js} +1 -1
- package/dist/client/assets/{command-CGYZopFY.js → command-BD_eOk-8.js} +1 -1
- package/dist/client/assets/{connection-card-x5-U4xYO.js → connection-card-C4AfupKS.js} +1 -1
- package/dist/client/assets/{connection-detail-DNT7n-qD.js → connection-detail-BOwwMlXo.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Cieg3At7.js → connection-form-helpers-QCTlKFgF.js} +1 -1
- package/dist/client/assets/{connections-CcMp0k3e.js → connections-BjoOQtn5.js} +1 -1
- package/dist/client/assets/{constants-DfNucTio.js → constants-CA_0oD0v.js} +4 -4
- package/dist/client/assets/{constants-BTGWOBGG.js → constants-DNupv1Il.js} +1 -1
- package/dist/client/assets/{dialog-CDZoEVTf.js → dialog-Do5tt2AM.js} +1 -1
- package/dist/client/assets/{drawer-BtA5XqsS.js → drawer-CBGNhyg_.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DU8JG2pk.js → dropdown-menu-YCgfVPDE.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DI-gMMKE.js → dynamic-plugin-layout-DyQRK4xn.js} +1 -1
- package/dist/client/assets/{empty-state-B2WkME-3.js → empty-state-CQYaNwoK.js} +1 -1
- package/dist/client/assets/{empty-state-BxCE5vnH.js → empty-state-v8eFhsr-.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DBjTfzuX.js → extract-connection-data-BUe7uD61.js} +1 -1
- package/dist/client/assets/{features-BTMuaR90.js → features-DCMNUsWH.js} +1 -1
- package/dist/client/assets/{form-nehB0yqt.js → form-CxxwnlP0.js} +1 -1
- package/dist/client/assets/{general-aaZSKs7j.js → general-oBb9oBV3.js} +1 -1
- package/dist/client/assets/{index-FCEJcMKv.js → index-2HrmMP-L.js} +31 -31
- package/dist/client/assets/{index-BFKRaI9q.js → index-3qazylEt.js} +1 -1
- package/dist/client/assets/{index-DkLXfxeF.js → index-B66cimzy.js} +2 -2
- package/dist/client/assets/{index-DvGOE4TR.js → index-B_SuozHK.js} +1 -1
- package/dist/client/assets/{index-A1TjNoro.js → index-BzPv7Dhu.js} +1 -1
- package/dist/client/assets/{index-0Nuumosr.js → index-CSgeCYxL.js} +1 -1
- package/dist/client/assets/{index-BD-lTLoS.js → index-CT3_Tk81.js} +1 -1
- package/dist/client/assets/{index-C7LpArfe.js → index-DBUcZB2f.js} +1 -1
- package/dist/client/assets/{index-nsskrYaZ.js → index-DCHDqkUk.js} +1 -1
- package/dist/client/assets/index-DHRo5LVc.css +1 -0
- package/dist/client/assets/{index-CFqkoEQr.js → index-DRqrJul_.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-VUPo5ONC.js → infiniteQueryObserver-BMqyJ-TR.js} +1 -1
- package/dist/client/assets/{input-Dxp3-aWz.js → input-n-tkcD47.js} +1 -1
- package/dist/client/assets/integration-icon-DMDIiedF.js +1 -0
- package/dist/client/assets/{label-BVoDYtUr.js → label-BtcNLrPM.js} +1 -1
- package/dist/client/assets/{layout-C9Y7P28P.js → layout-Db9ocR8l.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-N8EVMVv5.js → lean-canvas-recruit-modal-D_J2ca55.js} +2 -2
- package/dist/client/assets/{login-kx3MQEcu.js → login-44n9MoF6.js} +1 -1
- package/dist/client/assets/{members-BucBnRu5.js → members-DVv4q0sB.js} +1 -1
- package/dist/client/assets/{monaco-editor-WwGGEq4E.js → monaco-editor-BArWst-4.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-D5uhoKE2.js → monitoring-stats-row-DwT9f7ma.js} +1 -1
- package/dist/client/assets/{oauth-callback-BB1bfQ0C.js → oauth-callback-ZWFD-c9z.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-Cx11JY4J.js → oauth-callback-ai-provider-DvgS7JVs.js} +1 -1
- package/dist/client/assets/{onboarding-CRDp-7ts.js → onboarding-Bx7D7eeN.js} +1 -1
- package/dist/client/assets/{org-layout-DWgxefUR.js → org-layout-C1WQZ86m.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-B0IS-vI9.js → org-plugin-layout-aVinWGGP.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-C9Il8L-B.js → plugin-empty-state-7geUhVaf.js} +1 -1
- package/dist/client/assets/{plugin-header-DF-027xA.js → plugin-header-C1Y6Yac2.js} +1 -1
- package/dist/client/assets/{plugin-layout-CQviDmLQ.js → plugin-layout-ClqwcLfX.js} +1 -1
- package/dist/client/assets/{popover-_s_tQK3Z.js → popover-XBsYrCQB.js} +1 -1
- package/dist/client/assets/{profile-BAAvq5PA.js → profile-DLXMWz7I.js} +1 -1
- package/dist/client/assets/{project-app-view-CWfRTdtF.js → project-app-view-BWaWLQ1-.js} +1 -1
- package/dist/client/assets/registry-fqaSl7FI.js +2 -0
- package/dist/client/assets/{registry-layout-DQKjQh-i.js → registry-layout-BOqFx2Hr.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CXhuopzx.js → required-auth-layout-Q3YyHmAw.js} +1 -1
- package/dist/client/assets/{reset-password-DZzWPbSN.js → reset-password-Ben4hB-3.js} +1 -1
- package/dist/client/assets/{scroll-area-hAa33XcH.js → scroll-area-BdtE1vuO.js} +1 -1
- package/dist/client/assets/{search-input-C61ZvpPR.js → search-input-CmCwxjTX.js} +1 -1
- package/dist/client/assets/{select-DRB8tE_p.js → select-MIqG5BTZ.js} +1 -1
- package/dist/client/assets/{select-model-CP81c55I.js → select-model-Bg7ZIMS5.js} +1 -1
- package/dist/client/assets/settings-layout-DO-ULKWI.js +1 -0
- package/dist/client/assets/{shell-layout-DAhaxub0.js → shell-layout-xKLRos3t.js} +1 -1
- package/dist/client/assets/{skeleton-3sAmljB_.js → skeleton-BZTVNwC4.js} +1 -1
- package/dist/client/assets/{sso-BmmBRsro.js → sso-BT50WbJk.js} +1 -1
- package/dist/client/assets/{store-Dq5sv0Ed.js → store-CHDNsIdi.js} +1 -1
- package/dist/client/assets/store-registry-kH6JKRAv.js +2 -0
- package/dist/client/assets/{switch-DL640Ue6.js → switch-BI6s_uRk.js} +1 -1
- package/dist/client/assets/{table-Dbi2W1JY.js → table-WyfrKpOs.js} +1 -1
- package/dist/client/assets/{tabs-BByMWKiD.js → tabs-BK1mEgGf.js} +1 -1
- package/dist/client/assets/{task-status-CmmBYEnr.js → task-status-GcEPbgk8.js} +1 -1
- package/dist/client/assets/{textarea-DHlYLEvo.js → textarea-DVawcto0.js} +1 -1
- package/dist/client/assets/{toggle-group-CZBEspMS.js → toggle-group-wuBBOmnu.js} +1 -1
- package/dist/client/assets/{tools-list-DuX1kehi.js → tools-list-BgoIxxcE.js} +1 -1
- package/dist/client/assets/{types-DvTqSron.js → types-B9bcGYd-.js} +1 -1
- package/dist/client/assets/{use-ai-providers-ClS89y7X.js → use-ai-providers-CvVWYaQ8.js} +1 -1
- package/dist/client/assets/{use-collections-Dv9KwC2D.js → use-collections-daCmI1gf.js} +1 -1
- package/dist/client/assets/{use-connection-BmcG6E0P.js → use-connection-DX24Nzyd.js} +1 -1
- package/dist/client/assets/{use-copy-BkRNxEwn.js → use-copy-DnDrxF7p.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CH8VJize.js → use-create-virtual-mcp-BXWOJHzA.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-BwyevFSM.js → use-decopilot-events-CqJFbk0C.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DfVzQzgY.js → use-delete-connection-BypWLqop.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-C0yn-Y6f.js → use-infinite-scroll-B2G1dNh-.js} +1 -1
- package/dist/client/assets/{use-list-state-D4yuEOh_.js → use-list-state-CUoBuePJ.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-B1TR0GK5.js → use-mcp-tools-B7YQiceT.js} +1 -1
- package/dist/client/assets/{use-members-BSe-l5RV.js → use-members-CT_s4J5I.js} +1 -1
- package/dist/client/assets/{use-mobile-D7gj1mMa.js → use-mobile-CZZS48R8.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BOFYFzjJ.js → use-navigate-to-agent-DDSqcJhW.js} +1 -1
- package/dist/client/assets/{use-org-sso-BIx4Rk_Y.js → use-org-sso-CtXg6XR8.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CcY3Vn-c.js → use-organization-settings-G7C4gwdM.js} +1 -1
- package/dist/client/assets/{use-registry-connections-G41Zams2.js → use-registry-connections-CpcHatqk.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Cq0X5c0g.js → use-status-sounds-Bo8AWgrW.js} +1 -1
- package/dist/client/assets/{use-tasks-DqpLygvk.js → use-tasks-DBgVSqQb.js} +1 -1
- package/dist/client/assets/{use-view-mode-hEZSGIRN.js → use-view-mode-BtECwb27.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-B0nMlTA1.js → use-virtual-mcp-C6vsxMj0.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-wZmQwXID.js +1 -0
- package/dist/client/assets/{user-B-lqJM9i.js → user-5NHpahbI.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DSiIUGAP.js → view-mode-toggle-DqCLjYVJ.js} +1 -1
- package/dist/client/assets/{workflow-C2B3R0BC.js → workflow-BXvm2wWf.js} +1 -1
- package/dist/client/assets/workflow-detail-C3H1TNiF.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +54 -54
- 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/package.json +43 -0
- package/dist/server/node_modules/onetime/readme.md +94 -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/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/agent-icon-OPgA0_xh.js +0 -1
- package/dist/client/assets/ai-providers-BkPyz71b.js +0 -1
- package/dist/client/assets/index-C_Ncklfg.css +0 -1
- package/dist/client/assets/integration-icon-DUduEF01.js +0 -1
- package/dist/client/assets/registry-BO9_rH5u.js +0 -2
- package/dist/client/assets/settings-layout-UJNERdUa.js +0 -1
- package/dist/client/assets/store-registry-BfCS4xd0.js +0 -2
- package/dist/client/assets/useInfiniteQuery-D-Fu49PN.js +0 -1
- package/dist/client/assets/workflow-detail-EmQ0YEuI.js +0 -1
- package/dist/server/node_modules/indent-string/index.d.ts +0 -38
- package/dist/server/node_modules/indent-string/index.js +0 -38
- package/dist/server/node_modules/indent-string/package.json +0 -40
- package/dist/server/node_modules/indent-string/readme.md +0 -73
- package/dist/server/node_modules/widest-line/index.d.ts +0 -12
- package/dist/server/node_modules/widest-line/index.js +0 -11
- package/dist/server/node_modules/widest-line/license +0 -9
- package/dist/server/node_modules/widest-line/package.json +0 -60
- package/dist/server/node_modules/widest-line/readme.md +0 -26
- /package/dist/server/node_modules/{indent-string → onetime}/license +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as v,g as T,a4 as B,j as s,s as E,aH as D,c as L,az as k,t as R,b as W,O as M,l as J,r as K}from"./index-DkLXfxeF.js";import{k as Q,l as U,m as V,u as X,S as $,a as w,b as z,d as C,c as O,f as Y,g as Z,q as I,n as ee,o as se,p as te}from"./index-DvGOE4TR.js";import{i as q}from"./ArrowNarrowLeft-Dede_Ne2.js";import{b as le,d as ne,n as re,e as ie,f as oe,i as F,a as ae,c as ce}from"./ZapSquare-DBz9qdVm.js";import{t as me,a as A}from"./Users03-1bfUrVZT.js";import{i as de}from"./ChevronRight-DDbSh6n1.js";import{i as fe}from"./Lock01-DWeyLAgC.js";import{s as xe}from"./User01-DzewYYcp.js";import{i as G}from"./Zap-WS6KKy8N.js";import{u as be}from"./use-mobile-D7gj1mMa.js";import{u as he}from"./use-status-sounds-Cq0X5c0g.js";import"./X-CyqBZIBt.js";import"./question-004-sINsf4GQ.js";import"./use-decopilot-events-BwyevFSM.js";import"./create-sse-subscription-CxkOgzKf.js";function H(){const e=v.c(24),t=E().project;let n;e[0]!==t.enabledPlugins?(n=t.enabledPlugins??[],e[0]=t.enabledPlugins,e[1]=n):n=e[1];const l=n;let r,i,a;if(e[2]!==l){const o=D.filter(S=>l.includes(S.pluginId)).map(ue);let x;e[6]===Symbol.for("react.memo_cache_sentinel")?(x={key:"general",label:"General",icon:s.jsx(me,{size:14}),to:"/$org/settings/general"},e[6]=x):x=e[6];let b;e[7]===Symbol.for("react.memo_cache_sentinel")?(b={key:"connections",label:"Connections",icon:s.jsx(le,{size:14}),to:"/$org/settings/connections"},e[7]=b):b=e[7];let c;e[8]===Symbol.for("react.memo_cache_sentinel")?(c={key:"agents",label:"Agents",icon:s.jsx(A,{size:14}),to:"/$org/settings/agents"},e[8]=c):c=e[8];let m;e[9]===Symbol.for("react.memo_cache_sentinel")?(m={key:"automations",label:"Automations",icon:s.jsx(G,{size:14}),to:"/$org/settings/automations"},e[9]=m):m=e[9];let h;e[10]===Symbol.for("react.memo_cache_sentinel")?(h={key:"store",label:"Store",icon:s.jsx(ne,{size:14}),to:"/$org/settings/store"},e[10]=h):h=e[10];let p;e[11]===Symbol.for("react.memo_cache_sentinel")?(p={key:"brand-context",label:"Brand Context",icon:s.jsx(re,{size:14}),to:"/$org/settings/brand-context"},e[11]=p):p=e[11];let _;e[12]===Symbol.for("react.memo_cache_sentinel")?(_={key:"ai-providers",label:"AI Providers",icon:s.jsx(ie,{size:14}),to:"/$org/settings/ai-providers"},e[12]=_):_=e[12];let g;e[13]===Symbol.for("react.memo_cache_sentinel")?(g={key:"monitor",label:"Monitor",icon:s.jsx(oe,{size:14}),to:"/$org/settings/monitor"},e[13]=g):g=e[13];let j;e[14]===Symbol.for("react.memo_cache_sentinel")?(j={key:"members",label:"Members",icon:s.jsx(A,{size:14}),to:"/$org/settings/members"},e[14]=j):j=e[14],e[15]===Symbol.for("react.memo_cache_sentinel")?(a={label:"",items:[x,b,c,m,h,p,_,g,j,{key:"sso",label:"SSO",icon:s.jsx(fe,{size:14}),to:"/$org/settings/sso"}]},e[15]=a):a=e[15],r="";let u;e[16]===Symbol.for("react.memo_cache_sentinel")?(u={key:"features",label:"Plugins",icon:s.jsx(G,{size:14}),to:"/$org/settings/features"},e[16]=u):u=e[16],i=[u,...o],e[2]=l,e[3]=r,e[4]=i,e[5]=a}else r=e[3],i=e[4],a=e[5];let f;e[17]!==r||e[18]!==i?(f={label:r,items:i},e[17]=r,e[18]=i,e[19]=f):f=e[19];let d;if(e[20]!==a||e[21]!==f){d=[a,f];let o;e[23]===Symbol.for("react.memo_cache_sentinel")?(o={label:"",items:[{key:"profile",label:"Profile & Preferences",icon:s.jsx(xe,{size:14}),to:"/$org/settings/profile"}]},e[23]=o):o=e[23],d.push(o),e[20]=a,e[21]=f,e[22]=d}else d=e[22];return d}function ue(e){const{key:t,label:n,icon:l,to:r}=e;return{key:t,label:n,icon:l,to:r}}function pe(){const e=v.c(26),t=H();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},e[0]=n):n=e[0];const{org:l}=T(n);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r={select:je},e[1]=r):r=e[1];const i=B(r);let a;e[2]!==l||e[3]!==i?(a=j=>{const u=j.replace("$org",l);return i.startsWith(u)},e[2]=l,e[3]=i,e[4]=a):a=e[4];const f=a;let d;e[5]!==l?(d={org:l},e[5]=l,e[6]=d):d=e[6];let o,x;e[7]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(q,{size:14}),x=s.jsx("span",{children:"Settings"}),e[7]=o,e[8]=x):(o=e[7],x=e[8]);let b;e[9]!==d?(b=s.jsx($,{className:"pt-0 pr-0 pb-3 md:pb-3 pl-0",children:s.jsx(w,{children:s.jsx(z,{className:"gap-1.5",children:s.jsx(C,{children:s.jsx(O,{asChild:!0,children:s.jsxs(k,{to:"/$org",params:d,className:"flex items-center gap-2 text-sm text-muted-foreground",children:[o,x]})})})})})}),e[9]=d,e[10]=b):b=e[10];let c;if(e[11]!==t||e[12]!==f||e[13]!==l){let j;e[15]!==f||e[16]!==l?(j=(u,S)=>s.jsxs($,{className:"pt-0 pr-0 pb-0 pl-0",children:[S>0&&s.jsx("div",{className:"mx-2 my-2 border-t border-border/50"}),u.label&&s.jsx("p",{className:"px-2 py-1.5 text-xs font-semibold text-muted-foreground/60",children:u.label}),s.jsx(w,{children:s.jsx(z,{className:"gap-0.5",children:u.items.map(y=>s.jsx(C,{children:s.jsx(O,{asChild:!0,isActive:f(y.to),children:s.jsxs(k,{to:y.to,params:{org:l},onClick:()=>R("settings_nav_clicked",{section_key:y.key,section_label:y.label,group_label:u.label||"main"}),className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:y.icon}),s.jsx("span",{className:"truncate",children:y.label})]})})},y.key))})})]},`${u.label}-${S}`),e[15]=f,e[16]=l,e[17]=j):j=e[17],c=t.map(j),e[11]=t,e[12]=f,e[13]=l,e[14]=c}else c=e[14];let m;e[18]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"mx-2 my-2 border-t border-border/50"}),e[18]=m):m=e[18];let h;e[19]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsxs($,{className:"pt-0 pr-0 pb-0 pl-0",children:[m,s.jsx(w,{children:s.jsx(z,{className:"gap-0.5",children:s.jsx(C,{children:s.jsxs(O,{onClick:ge,className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(F,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})})})})]}),e[19]=h):h=e[19];let p;e[20]!==b||e[21]!==c?(p=s.jsxs(Y,{className:"flex flex-col flex-1 mt-2 px-2 pb-2 gap-0",children:[b,c,h]}),e[20]=b,e[21]=c,e[22]=p):p=e[22];let _;e[23]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx("div",{className:"mt-auto px-4 pb-1",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","2.281.4-alpha.1"]})}),e[23]=_):_=e[23];let g;return e[24]!==p?(g=s.jsxs(Z,{variant:"sidebar",children:[p,_]}),e[24]=p,e[25]=g):g=e[25],g}function ge(){R("signed_out",{source:"settings_sidebar"}),W.signOut()}function je(e){return e.location.pathname}function _e(e){const t=v.c(29),{onClose:n}=e,l=H();let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org"},t[0]=r):r=t[0];const{org:i}=T(r);let a;t[1]===Symbol.for("react.memo_cache_sentinel")?(a={select:Se},t[1]=a):a=t[1];const f=B(a);let d;t[2]!==i||t[3]!==f?(d=S=>{const y=S.replace("$org",i);return f.startsWith(y)},t[2]=i,t[3]=f,t[4]=d):d=t[4];const o=d;let x;t[5]!==i?(x={org:i},t[5]=i,t[6]=x):x=t[6];let b,c;t[7]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(q,{size:16,className:"shrink-0"}),c=s.jsx("span",{children:"Settings"}),t[7]=b,t[8]=c):(b=t[7],c=t[8]);let m;t[9]!==n||t[10]!==x?(m=s.jsx("div",{className:"flex items-center h-14 px-4 shrink-0 border-b border-border/50",children:s.jsxs(k,{to:"/$org",params:x,onClick:n,className:"flex items-center gap-2 text-sm font-semibold text-foreground",children:[b,c]})}),t[9]=n,t[10]=x,t[11]=m):m=t[11];let h;if(t[12]!==l||t[13]!==o||t[14]!==n||t[15]!==i){let S;t[17]!==o||t[18]!==n||t[19]!==i?(S=(y,P)=>s.jsxs("div",{className:"flex flex-col gap-0.5",children:[P>0&&s.jsx("div",{className:"h-px bg-border/50 my-2"}),y.items.map(N=>s.jsxs(k,{to:N.to,params:{org:i},onClick:n,className:L("flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm",o(N.to)?"bg-sidebar-accent text-sidebar-accent-foreground font-medium":"text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground"),children:[s.jsx("span",{className:"shrink-0",children:N.icon}),s.jsx("span",{className:"truncate",children:N.label})]},N.key))]},`${y.label}-${P}`),t[17]=o,t[18]=n,t[19]=i,t[20]=S):S=t[20],h=l.map(S),t[12]=l,t[13]=o,t[14]=n,t[15]=i,t[16]=h}else h=t[16];let p;t[21]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsx("div",{className:"h-px bg-border/50 my-2"}),t[21]=p):p=t[21];let _;t[22]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[p,s.jsxs("button",{type:"button",onClick:ye,className:"flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(F,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})]}),t[22]=_):_=t[22];let g;t[23]!==h?(g=s.jsxs("div",{className:"flex flex-col flex-1 overflow-y-auto px-2 py-2 gap-0.5",children:[h,_]}),t[23]=h,t[24]=g):g=t[24];let j;t[25]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx("div",{className:"px-4 pb-3 pt-1 border-t border-border/50",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","2.281.4-alpha.1"]})}),t[25]=j):j=t[25];let u;return t[26]!==g||t[27]!==m?(u=s.jsxs("div",{className:"flex flex-col h-full bg-sidebar",children:[m,g,j]}),t[26]=g,t[27]=m,t[28]=u):u=t[28],u}function ye(){return W.signOut()}function Se(e){return e.location.pathname}function ve(){const e=v.c(2);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx("button",{type:"button",onClick:ke,className:"flex size-7 shrink-0 items-center justify-center rounded-md text-sidebar-foreground/60 hover:bg-sidebar-accent hover:text-sidebar-foreground transition-colors",title:"Go back",children:s.jsx(ae,{size:16})}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx("div",{className:"shrink-0 flex items-center justify-between pl-1 pr-2 h-10",children:s.jsxs("div",{className:"flex items-center gap-0.5 min-w-0",children:[t,s.jsx("button",{type:"button",onClick:Ne,className:"flex size-7 shrink-0 items-center justify-center rounded-md text-sidebar-foreground/60 hover:bg-sidebar-accent hover:text-sidebar-foreground transition-colors",title:"Go forward",children:s.jsx(de,{size:16})})]})}),e[1]=n):n=e[1],n}function Ne(){return window.history.forward()}function ke(){return window.history.back()}function $e(e){const t=v.c(3),{onOpenSidebar:n}=e;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(ce,{size:20}),t[0]=l):l=t[0];let r;return t[1]!==n?(r=s.jsx("div",{className:"shrink-0 flex items-center justify-between px-3 h-12 bg-background border-b border-border",children:s.jsx("button",{type:"button",onClick:n,className:"flex size-8 items-center justify-center rounded-md text-foreground/60 hover:bg-accent hover:text-foreground transition-colors","aria-label":"Open menu",children:l})}),t[1]=n,t[2]=r):r=t[2],r}function we(){const e=v.c(17),t=be(),{org:n}=E();he(n.id);const{setOpenMobile:l,openMobile:r}=X();if(t){let o;e[0]!==l?(o=s.jsx($e,{onOpenSidebar:()=>l(!0)}),e[0]=l,e[1]=o):o=e[1];let x;e[2]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx("div",{className:"flex-1 overflow-hidden",children:s.jsx(I,{value:"p-0",children:s.jsx("div",{className:"flex-1 min-w-0 overflow-hidden h-full",children:s.jsx(M,{})})})}),e[2]=x):x=e[2];let b;e[3]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(ee,{className:"sr-only",children:"Navigation"}),e[3]=b):b=e[3];let c;e[4]!==l?(c=s.jsxs(se,{side:"left",hideCloseButton:!0,className:"w-[calc(100vw-3rem)] sm:max-w-md! p-0",children:[b,s.jsx(_e,{onClose:()=>l(!1)})]}),e[4]=l,e[5]=c):c=e[5];let m;e[6]!==r||e[7]!==l||e[8]!==c?(m=s.jsx(te,{open:r,onOpenChange:l,children:c}),e[6]=r,e[7]=l,e[8]=c,e[9]=m):m=e[9];let h;return e[10]!==o||e[11]!==m?(h=s.jsxs("div",{className:"flex flex-col flex-1 bg-background min-h-0",children:[o,x,m]}),e[10]=o,e[11]=m,e[12]=h):h=e[12],h}let i;e[13]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(ve,{}),e[13]=i):i=e[13];let a;e[14]===Symbol.for("react.memo_cache_sentinel")?(a=L("flex flex-col h-full min-h-0 bg-background overflow-hidden","card-shadow","rounded-[0.75rem]"),e[14]=a):a=e[14];let f;e[15]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsx(J,{size:20,className:"animate-spin text-muted-foreground"})}),e[15]=f):f=e[15];let d;return e[16]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsxs(s.Fragment,{children:[i,s.jsx("div",{className:"flex-1 min-h-0 p-1",children:s.jsx("div",{className:a,children:s.jsx(K.Suspense,{fallback:f,children:s.jsx("div",{className:"flex flex-1 items-center overflow-hidden rounded-[inherit]",children:s.jsx(I,{value:"p-0",children:s.jsx("div",{className:"flex-1 min-w-0 overflow-hidden h-full",children:s.jsx(M,{})})})})})})})]}),e[16]=d):d=e[16],d}function Fe(){const e=v.c(3);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={"--sidebar-width-icon":"3.5rem"},e[0]=t):t=e[0];let n;e[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(pe,{}),e[1]=n):n=e[1];let l;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(Q,{defaultOpen:!0,children:s.jsx("div",{className:"flex flex-col h-dvh overflow-hidden",children:s.jsxs(U,{className:"flex-1 bg-sidebar",style:t,children:[n,s.jsx(V,{className:"flex flex-col",style:{background:"transparent",containerType:"inline-size"},children:s.jsx(we,{})})]})})}),e[2]=l):l=e[2],l}export{pe as SettingsSidebar,_e as SettingsSidebarMobile,Fe as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DQKjQh-i.js","assets/index-DkLXfxeF.js","assets/index-C_Ncklfg.css","assets/ArrowNarrowLeft-Dede_Ne2.js","assets/CheckCircle-CTW72EON.js","assets/Container-DbPEBCPd.js","assets/Settings02-BrMLRmyq.js","assets/XCircle-C0Pb9VbS.js","assets/constants-DfNucTio.js","assets/useInfiniteQuery-D-Fu49PN.js","assets/infiniteQueryObserver-VUPo5ONC.js","assets/badge-Csg5fgRc.js","assets/input-Dxp3-aWz.js","assets/dropdown-menu-DU8JG2pk.js","assets/ChevronDown-kxc5hHzL.js","assets/ChevronRight-DDbSh6n1.js","assets/table-Dbi2W1JY.js","assets/toggle-group-CZBEspMS.js","assets/use-view-mode-hEZSGIRN.js","assets/use-mobile-D7gj1mMa.js","assets/SearchMd-DiHiiShh.js","assets/dialog-CDZoEVTf.js","assets/X-CyqBZIBt.js","assets/AlertCircle-7JjFgLc7.js","assets/Upload01-CAASdeK2.js","assets/alert-dialog-CvUq9c2l.js","assets/card-bx_QeXw_.js","assets/Trash01-JJPVWHIh.js","assets/label-BVoDYtUr.js","assets/select-DRB8tE_p.js","assets/ChevronUp-Dp8gBsiQ.js","assets/switch-DL640Ue6.js","assets/textarea-DHlYLEvo.js","assets/checkbox-C7KSBfZr.js","assets/LinkExternal01-DGpodMuQ.js","assets/use-copy-BkRNxEwn.js","assets/Plus-BZ8TfrO6.js","assets/Play-CGVWyYId.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,aF as u}from"./index-DkLXfxeF.js";const g=l.lazy(()=>u(()=>import("./registry-layout-DQKjQh-i.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])));function _(){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(g,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-VUPo5ONC.js";import{bY as i}from"./index-DkLXfxeF.js";function t(e,r){return i(e,u,r)}export{t 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-DkLXfxeF.js";import{a as f}from"./index-A1TjNoro.js";import"./index-0Nuumosr.js";import"./constants-DfNucTio.js";import"./collections-DRefuj7X.js";import"./index-C7LpArfe.js";import"./use-virtual-mcp-B0nMlTA1.js";import"./use-collections-Dv9KwC2D.js";import"./monaco-editor-WwGGEq4E.js";import"./scroll-area-hAa33XcH.js";import"./select-DRB8tE_p.js";import"./use-mobile-D7gj1mMa.js";import"./ChevronDown-kxc5hHzL.js";import"./ChevronUp-Dp8gBsiQ.js";import"./accordion-iHKIJir4.js";import"./agent-icon-OPgA0_xh.js";import"./AlertCircle-7JjFgLc7.js";import"./Tool01-CPwXEQb5.js";import"./SearchMd-DiHiiShh.js";import"./ArrowNarrowLeft-Dede_Ne2.js";import"./XCircle-C0Pb9VbS.js";import"./ZapSquare-DBz9qdVm.js";import"./Users03-1bfUrVZT.js";import"./CheckCircle-CTW72EON.js";import"./ChevronRight-DDbSh6n1.js";import"./Container-DbPEBCPd.js";import"./Star01-DOZUyUGI.js";import"./Palette-9DjyOnf4.js";import"./index-DvGOE4TR.js";import"./X-CyqBZIBt.js";import"./LinkExternal01-DGpodMuQ.js";import"./Lock01-DWeyLAgC.js";import"./Sun-D9NMWxb1.js";import"./Play-CGVWyYId.js";import"./Plus-BZ8TfrO6.js";import"./Settings02-BrMLRmyq.js";import"./Trash01-JJPVWHIh.js";import"./Upload01-CAASdeK2.js";import"./User01-DzewYYcp.js";import"./Zap-WS6KKy8N.js";import"./badge-Csg5fgRc.js";import"./view-mode-toggle-DSiIUGAP.js";import"./layout-C9Y7P28P.js";import"./use-connection-BmcG6E0P.js";import"./use-mcp-tools-B1TR0GK5.js";import"./dialog-CDZoEVTf.js";import"./dropdown-menu-DU8JG2pk.js";import"./integration-icon-DUduEF01.js";import"./index-CFqkoEQr.js";import"./empty-state-BxCE5vnH.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-Dxp3-aWz.js";function ct(){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{ct as default};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export interface Options {
|
|
2
|
-
/**
|
|
3
|
-
The string to use for the indent.
|
|
4
|
-
|
|
5
|
-
@default ' '
|
|
6
|
-
*/
|
|
7
|
-
readonly indent?: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
Also indent empty lines.
|
|
11
|
-
|
|
12
|
-
@default false
|
|
13
|
-
*/
|
|
14
|
-
readonly includeEmptyLines?: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
Indent each line in a string.
|
|
19
|
-
|
|
20
|
-
@param string - The string to indent.
|
|
21
|
-
@param count - How many times you want `options.indent` repeated. Default: `1`.
|
|
22
|
-
|
|
23
|
-
@example
|
|
24
|
-
```
|
|
25
|
-
import indentString from 'indent-string';
|
|
26
|
-
|
|
27
|
-
indentString('Unicorns\nRainbows', 4);
|
|
28
|
-
//=> ' Unicorns\n Rainbows'
|
|
29
|
-
|
|
30
|
-
indentString('Unicorns\nRainbows', 4, {indent: '♥'});
|
|
31
|
-
//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
|
|
32
|
-
```
|
|
33
|
-
*/
|
|
34
|
-
export default function indentString(
|
|
35
|
-
string: string,
|
|
36
|
-
count?: number,
|
|
37
|
-
options?: Options
|
|
38
|
-
): string;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export default function indentString(string, count = 1, options = {}) {
|
|
2
|
-
const {
|
|
3
|
-
indent = ' ',
|
|
4
|
-
includeEmptyLines = false
|
|
5
|
-
} = options;
|
|
6
|
-
|
|
7
|
-
if (typeof string !== 'string') {
|
|
8
|
-
throw new TypeError(
|
|
9
|
-
`Expected \`input\` to be a \`string\`, got \`${typeof string}\``
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (typeof count !== 'number') {
|
|
14
|
-
throw new TypeError(
|
|
15
|
-
`Expected \`count\` to be a \`number\`, got \`${typeof count}\``
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
if (count < 0) {
|
|
20
|
-
throw new RangeError(
|
|
21
|
-
`Expected \`count\` to be at least 0, got \`${count}\``
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
if (typeof indent !== 'string') {
|
|
26
|
-
throw new TypeError(
|
|
27
|
-
`Expected \`options.indent\` to be a \`string\`, got \`${typeof indent}\``
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
if (count === 0) {
|
|
32
|
-
return string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const regex = includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
|
|
36
|
-
|
|
37
|
-
return string.replace(regex, indent.repeat(count));
|
|
38
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "indent-string",
|
|
3
|
-
"version": "5.0.0",
|
|
4
|
-
"description": "Indent each line in a string",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/indent-string",
|
|
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": "./index.js",
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">=12"
|
|
17
|
-
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"test": "xo && ava && tsd"
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"index.js",
|
|
23
|
-
"index.d.ts"
|
|
24
|
-
],
|
|
25
|
-
"keywords": [
|
|
26
|
-
"indent",
|
|
27
|
-
"string",
|
|
28
|
-
"pad",
|
|
29
|
-
"align",
|
|
30
|
-
"line",
|
|
31
|
-
"text",
|
|
32
|
-
"each",
|
|
33
|
-
"every"
|
|
34
|
-
],
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"ava": "^3.15.0",
|
|
37
|
-
"tsd": "^0.14.0",
|
|
38
|
-
"xo": "^0.38.2"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# indent-string
|
|
2
|
-
|
|
3
|
-
> Indent each line in a string
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
$ npm install indent-string
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```js
|
|
14
|
-
import indentString from 'indent-string';
|
|
15
|
-
|
|
16
|
-
indentString('Unicorns\nRainbows', 4);
|
|
17
|
-
//=> ' Unicorns\n Rainbows'
|
|
18
|
-
|
|
19
|
-
indentString('Unicorns\nRainbows', 4, {indent: '♥'});
|
|
20
|
-
//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## API
|
|
24
|
-
|
|
25
|
-
### indentString(string, count?, options?)
|
|
26
|
-
|
|
27
|
-
#### string
|
|
28
|
-
|
|
29
|
-
Type: `string`
|
|
30
|
-
|
|
31
|
-
The string to indent.
|
|
32
|
-
|
|
33
|
-
#### count
|
|
34
|
-
|
|
35
|
-
Type: `number`\
|
|
36
|
-
Default: `1`
|
|
37
|
-
|
|
38
|
-
How many times you want `options.indent` repeated.
|
|
39
|
-
|
|
40
|
-
#### options
|
|
41
|
-
|
|
42
|
-
Type: `object`
|
|
43
|
-
|
|
44
|
-
##### indent
|
|
45
|
-
|
|
46
|
-
Type: `string`\
|
|
47
|
-
Default: `' '`
|
|
48
|
-
|
|
49
|
-
The string to use for the indent.
|
|
50
|
-
|
|
51
|
-
##### includeEmptyLines
|
|
52
|
-
|
|
53
|
-
Type: `boolean`\
|
|
54
|
-
Default: `false`
|
|
55
|
-
|
|
56
|
-
Also indent empty lines.
|
|
57
|
-
|
|
58
|
-
## Related
|
|
59
|
-
|
|
60
|
-
- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module
|
|
61
|
-
- [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
<div align="center">
|
|
66
|
-
<b>
|
|
67
|
-
<a href="https://tidelift.com/subscription/pkg/npm-indent-string?utm_source=npm-indent-string&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
|
68
|
-
</b>
|
|
69
|
-
<br>
|
|
70
|
-
<sub>
|
|
71
|
-
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
|
72
|
-
</sub>
|
|
73
|
-
</div>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Get the visual width of the widest line in a string - the number of columns required to display it.
|
|
3
|
-
|
|
4
|
-
@example
|
|
5
|
-
```
|
|
6
|
-
import widestLine from 'widest-line';
|
|
7
|
-
|
|
8
|
-
widestLine('古\n\u001B[1m@\u001B[22m');
|
|
9
|
-
//=> 2
|
|
10
|
-
```
|
|
11
|
-
*/
|
|
12
|
-
export default function widestLine(string: string): number;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "widest-line",
|
|
3
|
-
"version": "6.0.0",
|
|
4
|
-
"description": "Get the visual width of the widest line in a string - the number of columns required to display it",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "sindresorhus/widest-line",
|
|
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": ">=20"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"test": "xo && ava"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"index.js",
|
|
27
|
-
"index.d.ts"
|
|
28
|
-
],
|
|
29
|
-
"keywords": [
|
|
30
|
-
"string",
|
|
31
|
-
"character",
|
|
32
|
-
"unicode",
|
|
33
|
-
"width",
|
|
34
|
-
"visual",
|
|
35
|
-
"column",
|
|
36
|
-
"columns",
|
|
37
|
-
"fullwidth",
|
|
38
|
-
"full-width",
|
|
39
|
-
"full",
|
|
40
|
-
"ansi",
|
|
41
|
-
"escape",
|
|
42
|
-
"codes",
|
|
43
|
-
"cli",
|
|
44
|
-
"command-line",
|
|
45
|
-
"terminal",
|
|
46
|
-
"console",
|
|
47
|
-
"cjk",
|
|
48
|
-
"chinese",
|
|
49
|
-
"japanese",
|
|
50
|
-
"korean",
|
|
51
|
-
"fixed-width"
|
|
52
|
-
],
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"string-width": "^8.1.0"
|
|
55
|
-
},
|
|
56
|
-
"devDependencies": {
|
|
57
|
-
"ava": "^6.4.1",
|
|
58
|
-
"xo": "^1.2.3"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# widest-line
|
|
2
|
-
|
|
3
|
-
> Get the visual width of the widest line in a string - the number of columns required to display it
|
|
4
|
-
|
|
5
|
-
Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
|
|
6
|
-
|
|
7
|
-
Useful to be able to know the maximum width a string will take up in the terminal.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install widest-line
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```js
|
|
18
|
-
import widestLine from 'widest-line';
|
|
19
|
-
|
|
20
|
-
widestLine('古\n\u001B[1m@\u001B[22m');
|
|
21
|
-
//=> 2
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Related
|
|
25
|
-
|
|
26
|
-
- [string-width](https://github.com/sindresorhus/string-width) - Get the visual width of a string
|
|
File without changes
|