@activecollab/components 2.0.596 → 2.0.598

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.
Files changed (76) hide show
  1. package/dist/cjs/components/Accordion/AccordionItemBody.js +31 -3
  2. package/dist/cjs/components/Accordion/AccordionItemBody.js.map +1 -1
  3. package/dist/cjs/components/Icons/collection/Plug.js +61 -0
  4. package/dist/cjs/components/Icons/collection/Plug.js.map +1 -0
  5. package/dist/cjs/components/Icons/collection/PlugDisconnect.js +100 -0
  6. package/dist/cjs/components/Icons/collection/PlugDisconnect.js.map +1 -0
  7. package/dist/cjs/components/Icons/collection/index.js +14 -0
  8. package/dist/cjs/components/Icons/collection/index.js.map +1 -1
  9. package/dist/cjs/presentation/appsAndIntegrations/McpIntegration.js +308 -68
  10. package/dist/cjs/presentation/appsAndIntegrations/McpIntegration.js.map +1 -1
  11. package/dist/cjs/presentation/appsAndIntegrations/layout.js +89 -0
  12. package/dist/cjs/presentation/appsAndIntegrations/layout.js.map +1 -0
  13. package/dist/cjs/presentation/appsAndIntegrations/mcpData.js +36 -2
  14. package/dist/cjs/presentation/appsAndIntegrations/mcpData.js.map +1 -1
  15. package/dist/cjs/presentation/shared/index.js +7 -0
  16. package/dist/cjs/presentation/shared/index.js.map +1 -1
  17. package/dist/cjs/presentation/shared/selfHostedUpgrade.js +2 -2
  18. package/dist/cjs/presentation/shared/selfHostedUpgrade.js.map +1 -1
  19. package/dist/cjs/presentation/whiteboard/keyboardShortcuts.js +212 -0
  20. package/dist/cjs/presentation/whiteboard/keyboardShortcuts.js.map +1 -0
  21. package/dist/cjs/presentation/whiteboard/outline.js +10 -4
  22. package/dist/cjs/presentation/whiteboard/outline.js.map +1 -1
  23. package/dist/cjs/presentation/whiteboardModern/toolDock.js +37 -16
  24. package/dist/cjs/presentation/whiteboardModern/toolDock.js.map +1 -1
  25. package/dist/esm/components/Accordion/AccordionItemBody.d.ts.map +1 -1
  26. package/dist/esm/components/Accordion/AccordionItemBody.js +21 -4
  27. package/dist/esm/components/Accordion/AccordionItemBody.js.map +1 -1
  28. package/dist/esm/components/Icons/collection/Plug.d.ts +21 -0
  29. package/dist/esm/components/Icons/collection/Plug.d.ts.map +1 -0
  30. package/dist/esm/components/Icons/collection/Plug.js +54 -0
  31. package/dist/esm/components/Icons/collection/Plug.js.map +1 -0
  32. package/dist/esm/components/Icons/collection/PlugDisconnect.d.ts +22 -0
  33. package/dist/esm/components/Icons/collection/PlugDisconnect.d.ts.map +1 -0
  34. package/dist/esm/components/Icons/collection/PlugDisconnect.js +83 -0
  35. package/dist/esm/components/Icons/collection/PlugDisconnect.js.map +1 -0
  36. package/dist/esm/components/Icons/collection/index.d.ts +2 -0
  37. package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
  38. package/dist/esm/components/Icons/collection/index.js +2 -0
  39. package/dist/esm/components/Icons/collection/index.js.map +1 -1
  40. package/dist/esm/presentation/appsAndIntegrations/McpIntegration.d.ts +5 -4
  41. package/dist/esm/presentation/appsAndIntegrations/McpIntegration.d.ts.map +1 -1
  42. package/dist/esm/presentation/appsAndIntegrations/McpIntegration.js +290 -67
  43. package/dist/esm/presentation/appsAndIntegrations/McpIntegration.js.map +1 -1
  44. package/dist/esm/presentation/appsAndIntegrations/layout.d.ts +32 -0
  45. package/dist/esm/presentation/appsAndIntegrations/layout.d.ts.map +1 -0
  46. package/dist/esm/presentation/appsAndIntegrations/layout.js +83 -0
  47. package/dist/esm/presentation/appsAndIntegrations/layout.js.map +1 -0
  48. package/dist/esm/presentation/appsAndIntegrations/mcpData.d.ts +15 -0
  49. package/dist/esm/presentation/appsAndIntegrations/mcpData.d.ts.map +1 -1
  50. package/dist/esm/presentation/appsAndIntegrations/mcpData.js +35 -1
  51. package/dist/esm/presentation/appsAndIntegrations/mcpData.js.map +1 -1
  52. package/dist/esm/presentation/shared/index.d.ts +1 -1
  53. package/dist/esm/presentation/shared/index.d.ts.map +1 -1
  54. package/dist/esm/presentation/shared/index.js +1 -1
  55. package/dist/esm/presentation/shared/index.js.map +1 -1
  56. package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts +2 -0
  57. package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts.map +1 -1
  58. package/dist/esm/presentation/shared/selfHostedUpgrade.js +1 -1
  59. package/dist/esm/presentation/shared/selfHostedUpgrade.js.map +1 -1
  60. package/dist/esm/presentation/whiteboard/keyboardShortcuts.d.ts +16 -0
  61. package/dist/esm/presentation/whiteboard/keyboardShortcuts.d.ts.map +1 -0
  62. package/dist/esm/presentation/whiteboard/keyboardShortcuts.js +198 -0
  63. package/dist/esm/presentation/whiteboard/keyboardShortcuts.js.map +1 -0
  64. package/dist/esm/presentation/whiteboard/outline.d.ts +5 -2
  65. package/dist/esm/presentation/whiteboard/outline.d.ts.map +1 -1
  66. package/dist/esm/presentation/whiteboard/outline.js +10 -4
  67. package/dist/esm/presentation/whiteboard/outline.js.map +1 -1
  68. package/dist/esm/presentation/whiteboardModern/toolDock.d.ts +4 -0
  69. package/dist/esm/presentation/whiteboardModern/toolDock.d.ts.map +1 -1
  70. package/dist/esm/presentation/whiteboardModern/toolDock.js +34 -15
  71. package/dist/esm/presentation/whiteboardModern/toolDock.js.map +1 -1
  72. package/dist/index.js +578 -422
  73. package/dist/index.js.map +1 -1
  74. package/dist/index.min.js +1 -1
  75. package/dist/index.min.js.map +1 -1
  76. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.MCP_TOKEN_DETAILS = exports.MCP_TOKENS = exports.MCP_PRO_TIPS = exports.MCP_EXAMPLES = void 0;
6
+ exports.MCP_TOKEN_DETAILS = exports.MCP_TOKENS = exports.MCP_PRO_TIPS = exports.MCP_EXAMPLES = exports.MCP_CONNECTION_SELF_HOSTED_OAUTH = exports.MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER = exports.MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER = exports.MCP_CONNECTION_CLOUD = void 0;
7
7
  /**
8
8
  * Example data for the MCP integration page. Every client, hostname and
9
9
  * label is made up; no row comes from a real account.
@@ -145,5 +145,39 @@ var MCP_EXAMPLES = exports.MCP_EXAMPLES = [{
145
145
  prompt_example: 'Create a task in the Morrison & Co project called "Internal: Discuss pricing strategy for phase 2" and hide it from clients.'
146
146
  }]
147
147
  }];
148
- var MCP_PRO_TIPS = exports.MCP_PRO_TIPS = ['Be specific with dates — Say "February 15th, 2025" rather than "next week" for precision', 'Reference by ID when possible — "task #4521" is faster than describing the task', 'Chain requests — Claude can do multiple things: "Create the task, assign it to Maria, and add a reminder for Friday"', "Use natural language — You don't need special syntax. Talk to Claude like a colleague", 'Ask for summaries — "Give me a summary of..." works great for quick overviews'];
148
+ var MCP_PRO_TIPS = exports.MCP_PRO_TIPS = ['Be specific with dates. Say "February 15, 2027" instead of "next week".', 'Use task links or IDs. "Task #4521" is faster for the agent than a description of the task.', 'Ask for more than one thing at once. "Create the task, assign it to Maria, and add a reminder for Friday."', "Use natural language. You do not need special syntax. Talk to your agent like you talk to a colleague.", 'Ask for summaries. "Give me a summary of…" works well for quick overviews.'];
149
+
150
+ /**
151
+ * Proposed: connection options for the MCP page. Not in the backend yet.
152
+ * mirrors: no payload yet
153
+ */
154
+
155
+ var MCP_CONNECTION_CLOUD = exports.MCP_CONNECTION_CLOUD = {
156
+ api_url: "https://app.example.com/123456/api/v1/mcp",
157
+ is_on_demand: true,
158
+ is_oauth_enabled: true,
159
+ can_manage_oauth: true,
160
+ plugin_download_url: "https://app.example.com/123456/api/v1/mcp/plugin/activecollab.zip"
161
+ };
162
+ var MCP_CONNECTION_SELF_HOSTED_OAUTH = exports.MCP_CONNECTION_SELF_HOSTED_OAUTH = {
163
+ api_url: "https://pm.example.com/api/v1/mcp",
164
+ is_on_demand: false,
165
+ is_oauth_enabled: true,
166
+ can_manage_oauth: true,
167
+ plugin_download_url: "https://pm.example.com/api/v1/mcp/plugin/activecollab.zip"
168
+ };
169
+ var MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER = exports.MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER = {
170
+ api_url: "https://pm.example.com/api/v1/mcp",
171
+ is_on_demand: false,
172
+ is_oauth_enabled: false,
173
+ can_manage_oauth: true,
174
+ plugin_download_url: null
175
+ };
176
+ var MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER = exports.MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER = {
177
+ api_url: "https://pm.example.com/api/v1/mcp",
178
+ is_on_demand: false,
179
+ is_oauth_enabled: false,
180
+ can_manage_oauth: false,
181
+ plugin_download_url: null
182
+ };
149
183
  //# sourceMappingURL=mcpData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcpData.js","names":["MCP_TOKEN_DETAILS","exports","api_url","token","MCP_TOKENS","id","is_oauth","client_display_name","client_id_hostname","client_id","client_id_hash","oauth_grant_id","client_label","granted_on","last_used_on","is_read_write","is_expired","client_name","client_vendor","expires_on","MCP_EXAMPLES","name","examples","prompt_example","MCP_PRO_TIPS"],"sources":["../../../../src/presentation/appsAndIntegrations/mcpData.ts"],"sourcesContent":["/**\n * Example data for the MCP integration page. Every client, hostname and\n * label is made up; no row comes from a real account.\n */\n\n/**\n * One row of the MCP integration list (`useIntegration(\"mcp\")`).\n * mirrors: activecollab-next McpTokenItem.propTypes, plus the OAuth grant\n * fields from AuthorizationFieldsResolver (client_id, client_id_hash,\n * client_label, granted_on, is_expired). Timestamps are unix seconds.\n */\nexport interface McpTokenRow {\n id: number;\n is_oauth: boolean;\n /** Manual tokens: \"Claude\", \"Langdock\" or the name typed under Other. */\n client_name?: string;\n client_vendor?: string;\n client_display_name?: string;\n client_id_hostname?: string;\n client_id?: string;\n client_id_hash?: string;\n oauth_grant_id?: number;\n client_label?: string | null;\n granted_on?: number;\n is_expired?: boolean;\n /** Manual tokens only: the first characters of the token. */\n token?: string;\n last_used_on: number | null;\n expires_on?: number | null;\n is_read_write: boolean;\n}\n\n/**\n * One group of prompt examples (`GET /mcp-examples`).\n * mirrors: modules/system/resources/messaging/mcp_examples.php\n * (McpExampleGroup / McpExample).\n */\nexport interface McpExampleGroup {\n name: string;\n examples: { name: string; prompt_example: string }[];\n}\n\n/** Single connection answer of `useMcpToken(id)` for the Use Token dialog.\n mirrors: activecollab-next McpTokenDialog.jsx (data.api_url, data.token) */\nexport interface McpTokenDetails {\n api_url: string;\n token: string;\n}\n\nexport const MCP_TOKEN_DETAILS: McpTokenDetails = {\n api_url: \"https://app.example.com/acme/api/v1/mcp\",\n token: \"x7Kq2-EXAMPLE-TOKEN-NOT-REAL\",\n};\n\nexport const MCP_TOKENS: McpTokenRow[] = [\n {\n id: 41,\n is_oauth: true,\n client_display_name: \"Claude Code by claude.ai\",\n client_id_hostname: \"claude.ai\",\n client_id: \"https://claude.ai/oauth/mcp-client\",\n client_id_hash: \"c1a0de\",\n oauth_grant_id: 301,\n client_label: \"Claude Code 2.4.0\",\n granted_on: 1789819200,\n last_used_on: 1794560400,\n is_read_write: true,\n },\n {\n id: 42,\n is_oauth: true,\n client_display_name: \"Claude Code by claude.ai\",\n client_id_hostname: \"claude.ai\",\n client_id: \"https://claude.ai/oauth/mcp-client\",\n client_id_hash: \"c1a0de\",\n oauth_grant_id: 302,\n client_label: \"Claude Desktop 1.9.2\",\n granted_on: 1792411200,\n last_used_on: 1794474000,\n is_read_write: false,\n },\n {\n id: 43,\n is_oauth: true,\n client_display_name: \"Northwind Assistant\",\n client_id_hostname: \"assistant.northwind.example\",\n client_id: \"https://assistant.northwind.example/oauth/client\",\n client_id_hash: \"n0rthw\",\n oauth_grant_id: 303,\n client_label: \"northwind-mcp 1.0.0\",\n granted_on: 1793620800,\n last_used_on: 1794560400,\n is_read_write: true,\n },\n {\n id: 44,\n is_oauth: true,\n client_display_name: \"Orbit Agent\",\n client_id_hostname: \"orbit.example\",\n client_id: \"https://orbit.example/oauth/client\",\n client_id_hash: \"0rb1t0\",\n oauth_grant_id: 304,\n client_label: null,\n granted_on: 1781870400,\n last_used_on: 1784548800,\n is_expired: true,\n is_read_write: false,\n },\n {\n id: 45,\n is_oauth: false,\n client_name: \"Claude\",\n client_vendor: \"Anthropic\",\n client_display_name: \"Claude by Anthropic\",\n token: \"7f3a1\",\n last_used_on: 1794560400,\n expires_on: null,\n is_read_write: true,\n },\n {\n id: 46,\n is_oauth: false,\n client_name: \"Langdock\",\n client_vendor: \"Langdock GmbH\",\n client_display_name: \"Langdock by Langdock GmbH\",\n token: \"b92ce\",\n last_used_on: 1793361600,\n expires_on: 1806580800,\n is_read_write: false,\n },\n];\n\nexport const MCP_EXAMPLES: McpExampleGroup[] = [\n {\n name: \"Instant Project Kickoff from Template\",\n examples: [\n {\n name: \"Basic\",\n prompt_example:\n 'Create a new project called \"Riverside Dental Website Redesign\" using our Website Development template, starting on March 3rd.',\n },\n {\n name: \"With leader assignment\",\n prompt_example:\n \"Set up a project for BrightPath Marketing's mobile app. Use the Mobile App Development template, assign Jessica as project leader, and start tasks from next Monday.\",\n },\n {\n name: \"Quick setup\",\n prompt_example:\n 'New project: \"Summit Financial Q2 Campaign\" — use the Marketing Campaign template.',\n },\n ],\n },\n {\n name: \"Team Utilization Dashboard Data\",\n examples: [\n {\n name: \"Workload overview\",\n prompt_example:\n \"Show me how many open tasks each team member has right now.\",\n },\n {\n name: \"Sprint planning\",\n prompt_example:\n \"List all users and their task counts for projects #45 and #46. Who has capacity for more work?\",\n },\n ],\n },\n {\n name: \"Project Health Check\",\n examples: [\n {\n name: \"Status report\",\n prompt_example:\n \"Give me a complete health check on the Stellar Rebrand project. How many tasks are open vs completed? What's the current workload?\",\n },\n {\n name: \"Executive summary\",\n prompt_example:\n \"Summarize the Greenfield Mobile App project — open tasks, who's assigned to what, and anything overdue.\",\n },\n ],\n },\n {\n name: \"Quick Task Reassignment\",\n examples: [\n {\n name: \"Coverage\",\n prompt_example:\n \"Find all open tasks assigned to Elena that are due this week. Reassign them to David.\",\n },\n {\n name: \"Urgent handoff\",\n prompt_example:\n \"Reassign task #3921 to Sophie — she's taking over client communications.\",\n },\n ],\n },\n {\n name: \"Create internal task\",\n examples: [\n {\n name: \"Basic\",\n prompt_example:\n 'Create a task in the Morrison & Co project called \"Internal: Discuss pricing strategy for phase 2\" and hide it from clients.',\n },\n ],\n },\n];\n\nexport const MCP_PRO_TIPS = [\n 'Be specific with dates — Say \"February 15th, 2025\" rather than \"next week\" for precision',\n 'Reference by ID when possible — \"task #4521\" is faster than describing the task',\n 'Chain requests — Claude can do multiple things: \"Create the task, assign it to Maria, and add a reminder for Friday\"',\n \"Use natural language — You don't need special syntax. Talk to Claude like a colleague\",\n 'Ask for summaries — \"Give me a summary of...\" works great for quick overviews',\n];\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAsBA;AACA;AACA;AACA;AACA;;AAMA;AACA;;AAMO,IAAMA,iBAAkC,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAChDE,OAAO,EAAE,yCAAyC;EAClDC,KAAK,EAAE;AACT,CAAC;AAEM,IAAMC,UAAyB,GAAAH,OAAA,CAAAG,UAAA,GAAG,CACvC;EACEC,EAAE,EAAE,EAAE;EACNC,QAAQ,EAAE,IAAI;EACdC,mBAAmB,EAAE,0BAA0B;EAC/CC,kBAAkB,EAAE,WAAW;EAC/BC,SAAS,EAAE,oCAAoC;EAC/CC,cAAc,EAAE,QAAQ;EACxBC,cAAc,EAAE,GAAG;EACnBC,YAAY,EAAE,mBAAmB;EACjCC,UAAU,EAAE,UAAU;EACtBC,YAAY,EAAE,UAAU;EACxBC,aAAa,EAAE;AACjB,CAAC,EACD;EACEV,EAAE,EAAE,EAAE;EACNC,QAAQ,EAAE,IAAI;EACdC,mBAAmB,EAAE,0BAA0B;EAC/CC,kBAAkB,EAAE,WAAW;EAC/BC,SAAS,EAAE,oCAAoC;EAC/CC,cAAc,EAAE,QAAQ;EACxBC,cAAc,EAAE,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F;AAEM,IAAMK,YAA+B,GAAAnB,OAAA,CAAAmB,YAAA,GAAG,CAC7C;EACEC,IAAI,EAAE,uCAAuC;EAC7CC,QAAQ,EAAE,CACR;IACED,IAAI,EAAE,OAAO;IACbE,cAAc,EACZ;EACJ,CAAC,EACD;IACEF,IAAI,EAAE,wBAAwB;IAC9BE,cAAc,EACZ;EACJ,CAAC,EACD;IACEF,IAAI,EAAE,aAAa;IACnBE,cAAc,EACZ;EACJ,CAAC;AAEL,CAAC,EACD;EACEF,IAAI,EAAE,iCAAiC;EACvCC,QAAQ,EAAE,CACR;IACED,IAAI,EAAE,mBAAmB;IACzBE,cAAc,EACZ;EACJ,CAAC,EACD;IACEF,IAAI,EAAE,iBAAiB;IACvBE,cAAc,EACZ;EACJ,CAAC;AAEL,CAAC,EACD;EACEF,IAAI,EAAE,sBAAsB;EAC5BC,QAAQ,EAAE,CACR;IACED,IAAI,EAAE,eAAe;IACrBE,cAAc,EACZ;EACJ,CAAC,EACD;IACEF,IAAI,EAAE,mBAAmB;IACzBE,cAAc,EACZ;EACJ,CAAC;AAEL,CAAC,EACD;EACEF,IAAI,EAAE,yBAAyB;EAC/BC,QAAQ,EAAE,CACR;IACED,IAAI,EAAE,UAAU;IAChBE,cAAc,EACZ;EACJ,CAAC,EACD;IACEF,IAAI,EAAE,gBAAgB;IACtBE,cAAc,EACZ;EACJ,CAAC;AAEL,CAAC,EACD;EACEF,IAAI,EAAE,sBAAsB;EAC5BC,QAAQ,EAAE,CACR;IACED,IAAI,EAAE,OAAO;IACbE,cAAc,EACZ;EACJ,CAAC;AAEL,CAAC,CACF;AAEM,IAAMC,YAAY,GAAAvB,OAAA,CAAAuB,YAAA,GAAG,CAC1B,0FAA0F,EAC1F,iFAAiF,EACjF,sHAAsH,EACtH,uFAAuF,EACvF,+EAA+E,CAChF","ignoreList":[]}
1
+ {"version":3,"file":"mcpData.js","names":["MCP_TOKEN_DETAILS","exports","api_url","token","MCP_TOKENS","id","is_oauth","client_display_name","client_id_hostname","client_id","client_id_hash","oauth_grant_id","client_label","granted_on","last_used_on","is_read_write","is_expired","client_name","client_vendor","expires_on","MCP_EXAMPLES","name","examples","prompt_example","MCP_PRO_TIPS","MCP_CONNECTION_CLOUD","is_on_demand","is_oauth_enabled","can_manage_oauth","plugin_download_url","MCP_CONNECTION_SELF_HOSTED_OAUTH","MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER","MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER"],"sources":["../../../../src/presentation/appsAndIntegrations/mcpData.ts"],"sourcesContent":["/**\n * Example data for the MCP integration page. Every client, hostname and\n * label is made up; no row comes from a real account.\n */\n\n/**\n * One row of the MCP integration list (`useIntegration(\"mcp\")`).\n * mirrors: activecollab-next McpTokenItem.propTypes, plus the OAuth grant\n * fields from AuthorizationFieldsResolver (client_id, client_id_hash,\n * client_label, granted_on, is_expired). Timestamps are unix seconds.\n */\nexport interface McpTokenRow {\n id: number;\n is_oauth: boolean;\n /** Manual tokens: \"Claude\", \"Langdock\" or the name typed under Other. */\n client_name?: string;\n client_vendor?: string;\n client_display_name?: string;\n client_id_hostname?: string;\n client_id?: string;\n client_id_hash?: string;\n oauth_grant_id?: number;\n client_label?: string | null;\n granted_on?: number;\n is_expired?: boolean;\n /** Manual tokens only: the first characters of the token. */\n token?: string;\n last_used_on: number | null;\n expires_on?: number | null;\n is_read_write: boolean;\n}\n\n/**\n * One group of prompt examples (`GET /mcp-examples`).\n * mirrors: modules/system/resources/messaging/mcp_examples.php\n * (McpExampleGroup / McpExample).\n */\nexport interface McpExampleGroup {\n name: string;\n examples: { name: string; prompt_example: string }[];\n}\n\n/** Single connection answer of `useMcpToken(id)` for the Use Token dialog.\n mirrors: activecollab-next McpTokenDialog.jsx (data.api_url, data.token) */\nexport interface McpTokenDetails {\n api_url: string;\n token: string;\n}\n\nexport const MCP_TOKEN_DETAILS: McpTokenDetails = {\n api_url: \"https://app.example.com/acme/api/v1/mcp\",\n token: \"x7Kq2-EXAMPLE-TOKEN-NOT-REAL\",\n};\n\nexport const MCP_TOKENS: McpTokenRow[] = [\n {\n id: 41,\n is_oauth: true,\n client_display_name: \"Claude Code by claude.ai\",\n client_id_hostname: \"claude.ai\",\n client_id: \"https://claude.ai/oauth/mcp-client\",\n client_id_hash: \"c1a0de\",\n oauth_grant_id: 301,\n client_label: \"Claude Code 2.4.0\",\n granted_on: 1789819200,\n last_used_on: 1794560400,\n is_read_write: true,\n },\n {\n id: 42,\n is_oauth: true,\n client_display_name: \"Claude Code by claude.ai\",\n client_id_hostname: \"claude.ai\",\n client_id: \"https://claude.ai/oauth/mcp-client\",\n client_id_hash: \"c1a0de\",\n oauth_grant_id: 302,\n client_label: \"Claude Desktop 1.9.2\",\n granted_on: 1792411200,\n last_used_on: 1794474000,\n is_read_write: false,\n },\n {\n id: 43,\n is_oauth: true,\n client_display_name: \"Northwind Assistant\",\n client_id_hostname: \"assistant.northwind.example\",\n client_id: \"https://assistant.northwind.example/oauth/client\",\n client_id_hash: \"n0rthw\",\n oauth_grant_id: 303,\n client_label: \"northwind-mcp 1.0.0\",\n granted_on: 1793620800,\n last_used_on: 1794560400,\n is_read_write: true,\n },\n {\n id: 44,\n is_oauth: true,\n client_display_name: \"Orbit Agent\",\n client_id_hostname: \"orbit.example\",\n client_id: \"https://orbit.example/oauth/client\",\n client_id_hash: \"0rb1t0\",\n oauth_grant_id: 304,\n client_label: null,\n granted_on: 1781870400,\n last_used_on: 1784548800,\n is_expired: true,\n is_read_write: false,\n },\n {\n id: 45,\n is_oauth: false,\n client_name: \"Claude\",\n client_vendor: \"Anthropic\",\n client_display_name: \"Claude by Anthropic\",\n token: \"7f3a1\",\n last_used_on: 1794560400,\n expires_on: null,\n is_read_write: true,\n },\n {\n id: 46,\n is_oauth: false,\n client_name: \"Langdock\",\n client_vendor: \"Langdock GmbH\",\n client_display_name: \"Langdock by Langdock GmbH\",\n token: \"b92ce\",\n last_used_on: 1793361600,\n expires_on: 1806580800,\n is_read_write: false,\n },\n];\n\nexport const MCP_EXAMPLES: McpExampleGroup[] = [\n {\n name: \"Instant Project Kickoff from Template\",\n examples: [\n {\n name: \"Basic\",\n prompt_example:\n 'Create a new project called \"Riverside Dental Website Redesign\" using our Website Development template, starting on March 3rd.',\n },\n {\n name: \"With leader assignment\",\n prompt_example:\n \"Set up a project for BrightPath Marketing's mobile app. Use the Mobile App Development template, assign Jessica as project leader, and start tasks from next Monday.\",\n },\n {\n name: \"Quick setup\",\n prompt_example:\n 'New project: \"Summit Financial Q2 Campaign\" — use the Marketing Campaign template.',\n },\n ],\n },\n {\n name: \"Team Utilization Dashboard Data\",\n examples: [\n {\n name: \"Workload overview\",\n prompt_example:\n \"Show me how many open tasks each team member has right now.\",\n },\n {\n name: \"Sprint planning\",\n prompt_example:\n \"List all users and their task counts for projects #45 and #46. Who has capacity for more work?\",\n },\n ],\n },\n {\n name: \"Project Health Check\",\n examples: [\n {\n name: \"Status report\",\n prompt_example:\n \"Give me a complete health check on the Stellar Rebrand project. How many tasks are open vs completed? What's the current workload?\",\n },\n {\n name: \"Executive summary\",\n prompt_example:\n \"Summarize the Greenfield Mobile App project — open tasks, who's assigned to what, and anything overdue.\",\n },\n ],\n },\n {\n name: \"Quick Task Reassignment\",\n examples: [\n {\n name: \"Coverage\",\n prompt_example:\n \"Find all open tasks assigned to Elena that are due this week. Reassign them to David.\",\n },\n {\n name: \"Urgent handoff\",\n prompt_example:\n \"Reassign task #3921 to Sophie — she's taking over client communications.\",\n },\n ],\n },\n {\n name: \"Create internal task\",\n examples: [\n {\n name: \"Basic\",\n prompt_example:\n 'Create a task in the Morrison & Co project called \"Internal: Discuss pricing strategy for phase 2\" and hide it from clients.',\n },\n ],\n },\n];\n\nexport const MCP_PRO_TIPS = [\n 'Be specific with dates. Say \"February 15, 2027\" instead of \"next week\".',\n 'Use task links or IDs. \"Task #4521\" is faster for the agent than a description of the task.',\n 'Ask for more than one thing at once. \"Create the task, assign it to Maria, and add a reminder for Friday.\"',\n \"Use natural language. You do not need special syntax. Talk to your agent like you talk to a colleague.\",\n 'Ask for summaries. \"Give me a summary of…\" works well for quick overviews.',\n];\n\n/**\n * Proposed: connection options for the MCP page. Not in the backend yet.\n * mirrors: no payload yet\n */\nexport interface McpConnectionOptions {\n api_url: string;\n is_on_demand: boolean;\n is_oauth_enabled: boolean;\n can_manage_oauth: boolean;\n plugin_download_url: string | null;\n}\n\nexport const MCP_CONNECTION_CLOUD: McpConnectionOptions = {\n api_url: \"https://app.example.com/123456/api/v1/mcp\",\n is_on_demand: true,\n is_oauth_enabled: true,\n can_manage_oauth: true,\n plugin_download_url:\n \"https://app.example.com/123456/api/v1/mcp/plugin/activecollab.zip\",\n};\n\nexport const MCP_CONNECTION_SELF_HOSTED_OAUTH: McpConnectionOptions = {\n api_url: \"https://pm.example.com/api/v1/mcp\",\n is_on_demand: false,\n is_oauth_enabled: true,\n can_manage_oauth: true,\n plugin_download_url:\n \"https://pm.example.com/api/v1/mcp/plugin/activecollab.zip\",\n};\n\nexport const MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER: McpConnectionOptions = {\n api_url: \"https://pm.example.com/api/v1/mcp\",\n is_on_demand: false,\n is_oauth_enabled: false,\n can_manage_oauth: true,\n plugin_download_url: null,\n};\n\nexport const MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER: McpConnectionOptions =\n {\n api_url: \"https://pm.example.com/api/v1/mcp\",\n is_on_demand: false,\n is_oauth_enabled: false,\n can_manage_oauth: false,\n plugin_download_url: null,\n };\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAsBA;AACA;AACA;AACA;AACA;;AAMA;AACA;;AAMO,IAAMA,iBAAkC,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAChDE,OAAO,EAAE,yCAAyC;EAClDC,KAAK,EAAE;AACT,CAAC;AAEM,IAAMC,UAAyB,GAAAH,OAAA,CAAAG,UAAA,GAAG,CACvC;EACEC,EAA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120,7 @@ var _exportNames = {
120
120
  SendToSupportDialog: true,
121
121
  MaintenanceScreen: true,
122
122
  formatDate: true,
123
+ copyText: true,
123
124
  FeatureAvailability: true,
124
125
  DEFAULT_FEATURE_AVAILABILITY: true,
125
126
  PORTFOLIO_TYPES: true,
@@ -893,6 +894,12 @@ Object.defineProperty(exports, "contextFieldLabel", {
893
894
  return _portfolioDetails.contextFieldLabel;
894
895
  }
895
896
  });
897
+ Object.defineProperty(exports, "copyText", {
898
+ enumerable: true,
899
+ get: function get() {
900
+ return _selfHostedUpgrade.copyText;
901
+ }
902
+ });
896
903
  Object.defineProperty(exports, "defaultPortfolioName", {
897
904
  enumerable: true,
898
905
  get: function get() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_MockAvatar","_PresentationShell","_look","_BellNotification","_TaskCounts","_skeletons","_headers","_PageStickyHeader","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_PanelResizer","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_CopySnippet","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_TaskSheetContent","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails","_pageEmptySlate","_newTaskContent","_PageViewSwitcher","_ProjectSectionChrome","_ObjectSheetFrame"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { MockAvatar, MockAvatarGroup } from \"./MockAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PresentationLookContext, usePresentationLook } from \"./look\";\nexport type { PresentationLook } from \"./look\";\nexport { BellNotificationMock } from \"./BellNotification\";\nexport type { BellNotificationMockProps } from \"./BellNotification\";\nexport { TaskCounts } from \"./TaskCounts\";\nexport type { TaskCountsProps } from \"./TaskCounts\";\nexport {\n SkeletonTextLine,\n DiscussionListSkeleton,\n ArchivedDiscussionsSkeleton,\n} from \"./skeletons\";\nexport type {\n SkeletonTextLineProps,\n DiscussionListSkeletonProps,\n ArchivedDiscussionsSkeletonProps,\n} from \"./skeletons\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport { PageStickyHeader, usePageStickyCover } from \"./PageStickyHeader\";\nexport type { PageStickyHeaderProps } from \"./PageStickyHeader\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n CurrencyPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n CurrencyPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StyledPanelResizer, useResizableWidth } from \"./PanelResizer\";\nexport type { ResizableWidth, ResizableWidthOptions } from \"./PanelResizer\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { CopySnippet } from \"./CopySnippet\";\nexport type { CopySnippetProps } from \"./CopySnippet\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport { TaskSheetContent } from \"./TaskSheetContent\";\nexport type { TaskSheetTask, TaskSheetPerson } from \"./TaskSheetContent\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport {\n UserMenu,\n AppearancePane,\n AppearanceMenuItem,\n APPEARANCE_PANE_ID,\n APPEARANCE_OPTIONS,\n} from \"./UserMenu\";\nexport type {\n UserMenuProps,\n UserMenuVariant,\n AppearancePaneProps,\n AppearanceOptions,\n} from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n ProjectListSettingGroup,\n ProjectIdentitySettingGroup,\n PROJECT_LIST_FIELDS_OPTION,\n PROJECT_IDENTITY_OPTIONS,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n ProjectListSettingGroupProps,\n ProjectListFieldsOption,\n ProjectIdentitySettingGroupProps,\n ProjectIdentityOptions,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n okStatus,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n EmailLogLink,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n formatCutoffDate,\n ignoredTasksNote,\n moneyIgnoresCutoffNote,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\nexport { PageEmptySlateSection, HelpArticleLinkMock } from \"./pageEmptySlate\";\nexport * from \"./newTaskContent\";\nexport * from \"./PageViewSwitcher\";\nexport * from \"./ProjectSectionChrome\";\nexport * from \"./ObjectSheetFrame\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAA2C,qBAAA,CAAAnD,GAAA;IAAA;EAAA;AAAA;AACA,IAAAoD,iBAAA,GAAAxD,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAsD,iBAAA,EAAArD,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAoD,iBAAA,CAAApD,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAA4C,iBAAA,CAAApD,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_MockAvatar","_PresentationShell","_look","_BellNotification","_TaskCounts","_skeletons","_headers","_PageStickyHeader","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_PanelResizer","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_CopySnippet","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_TaskSheetContent","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails","_pageEmptySlate","_newTaskContent","_PageViewSwitcher","_ProjectSectionChrome","_ObjectSheetFrame"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { MockAvatar, MockAvatarGroup } from \"./MockAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PresentationLookContext, usePresentationLook } from \"./look\";\nexport type { PresentationLook } from \"./look\";\nexport { BellNotificationMock } from \"./BellNotification\";\nexport type { BellNotificationMockProps } from \"./BellNotification\";\nexport { TaskCounts } from \"./TaskCounts\";\nexport type { TaskCountsProps } from \"./TaskCounts\";\nexport {\n SkeletonTextLine,\n DiscussionListSkeleton,\n ArchivedDiscussionsSkeleton,\n} from \"./skeletons\";\nexport type {\n SkeletonTextLineProps,\n DiscussionListSkeletonProps,\n ArchivedDiscussionsSkeletonProps,\n} from \"./skeletons\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport { PageStickyHeader, usePageStickyCover } from \"./PageStickyHeader\";\nexport type { PageStickyHeaderProps } from \"./PageStickyHeader\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n CurrencyPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n CurrencyPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StyledPanelResizer, useResizableWidth } from \"./PanelResizer\";\nexport type { ResizableWidth, ResizableWidthOptions } from \"./PanelResizer\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { CopySnippet } from \"./CopySnippet\";\nexport type { CopySnippetProps } from \"./CopySnippet\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport { TaskSheetContent } from \"./TaskSheetContent\";\nexport type { TaskSheetTask, TaskSheetPerson } from \"./TaskSheetContent\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport {\n UserMenu,\n AppearancePane,\n AppearanceMenuItem,\n APPEARANCE_PANE_ID,\n APPEARANCE_OPTIONS,\n} from \"./UserMenu\";\nexport type {\n UserMenuProps,\n UserMenuVariant,\n AppearancePaneProps,\n AppearanceOptions,\n} from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n ProjectListSettingGroup,\n ProjectIdentitySettingGroup,\n PROJECT_LIST_FIELDS_OPTION,\n PROJECT_IDENTITY_OPTIONS,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n ProjectListSettingGroupProps,\n ProjectListFieldsOption,\n ProjectIdentitySettingGroupProps,\n ProjectIdentityOptions,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n okStatus,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n EmailLogLink,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n copyText,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n formatCutoffDate,\n ignoredTasksNote,\n moneyIgnoresCutoffNote,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\nexport { PageEmptySlateSection, HelpArticleLinkMock } from \"./pageEmptySlate\";\nexport * from \"./newTaskContent\";\nexport * from \"./PageViewSwitcher\";\nexport * from \"./ProjectSectionChrome\";\nexport * from \"./ObjectSheetFrame\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAmD,qBAAA,CAAAnD,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAA2C,qBAAA,CAAAnD,GAAA;IAAA;EAAA;AAAA;AACA,IAAAoD,iBAAA,GAAAxD,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAsD,iBAAA,EAAArD,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAoD,iBAAA,CAAApD,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,IAAA;MAAA,OAAA4C,iBAAA,CAAApD,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.formatDate = exports.UpgradeConsole = exports.UpdateAvailablePanel = exports.UpToDatePanel = exports.TokenStrip = exports.TokenSetupDialog = exports.TokenMissingPanel = exports.SupportExpiredPanel = exports.SendToSupportDialog = exports.ReleaseNotesHtml = exports.PreflightGate = exports.MaintenanceScreen = exports.LogPanel = exports.CommandBlock = exports.CheckFailedPanel = void 0;
6
+ exports.formatDate = exports.copyText = exports.UpgradeConsole = exports.UpdateAvailablePanel = exports.UpToDatePanel = exports.TokenStrip = exports.TokenSetupDialog = exports.TokenMissingPanel = exports.SupportExpiredPanel = exports.SendToSupportDialog = exports.ReleaseNotesHtml = exports.PreflightGate = exports.MaintenanceScreen = exports.LogPanel = exports.CommandBlock = exports.CheckFailedPanel = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _selfHostedSettings = require("./selfHostedSettings");
@@ -217,7 +217,7 @@ var CommandBlockText = (0, _styledComponents.default)(_selfHostedSettings.Comman
217
217
  })(["background:none;padding:0;border-radius:0;white-space:pre;word-break:normal;"]);
218
218
 
219
219
  /** Copies text (a no-op where the clipboard API is unavailable). */
220
- var copyText = function copyText(text) {
220
+ var copyText = exports.copyText = function copyText(text) {
221
221
  var _navigator$clipboard;
222
222
  if ((_navigator$clipboard = navigator.clipboard) !== null && _navigator$clipboard !== void 0 && _navigator$clipboard.writeText) {
223
223
  navigator.clipboard.writeText(text).catch(function () {