@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.
- package/dist/cjs/components/Accordion/AccordionItemBody.js +31 -3
- package/dist/cjs/components/Accordion/AccordionItemBody.js.map +1 -1
- package/dist/cjs/components/Icons/collection/Plug.js +61 -0
- package/dist/cjs/components/Icons/collection/Plug.js.map +1 -0
- package/dist/cjs/components/Icons/collection/PlugDisconnect.js +100 -0
- package/dist/cjs/components/Icons/collection/PlugDisconnect.js.map +1 -0
- package/dist/cjs/components/Icons/collection/index.js +14 -0
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/cjs/presentation/appsAndIntegrations/McpIntegration.js +308 -68
- package/dist/cjs/presentation/appsAndIntegrations/McpIntegration.js.map +1 -1
- package/dist/cjs/presentation/appsAndIntegrations/layout.js +89 -0
- package/dist/cjs/presentation/appsAndIntegrations/layout.js.map +1 -0
- package/dist/cjs/presentation/appsAndIntegrations/mcpData.js +36 -2
- package/dist/cjs/presentation/appsAndIntegrations/mcpData.js.map +1 -1
- package/dist/cjs/presentation/shared/index.js +7 -0
- package/dist/cjs/presentation/shared/index.js.map +1 -1
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js +2 -2
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js.map +1 -1
- package/dist/cjs/presentation/whiteboard/keyboardShortcuts.js +212 -0
- package/dist/cjs/presentation/whiteboard/keyboardShortcuts.js.map +1 -0
- package/dist/cjs/presentation/whiteboard/outline.js +10 -4
- package/dist/cjs/presentation/whiteboard/outline.js.map +1 -1
- package/dist/cjs/presentation/whiteboardModern/toolDock.js +37 -16
- package/dist/cjs/presentation/whiteboardModern/toolDock.js.map +1 -1
- package/dist/esm/components/Accordion/AccordionItemBody.d.ts.map +1 -1
- package/dist/esm/components/Accordion/AccordionItemBody.js +21 -4
- package/dist/esm/components/Accordion/AccordionItemBody.js.map +1 -1
- package/dist/esm/components/Icons/collection/Plug.d.ts +21 -0
- package/dist/esm/components/Icons/collection/Plug.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/Plug.js +54 -0
- package/dist/esm/components/Icons/collection/Plug.js.map +1 -0
- package/dist/esm/components/Icons/collection/PlugDisconnect.d.ts +22 -0
- package/dist/esm/components/Icons/collection/PlugDisconnect.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/PlugDisconnect.js +83 -0
- package/dist/esm/components/Icons/collection/PlugDisconnect.js.map +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts +2 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +2 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/presentation/appsAndIntegrations/McpIntegration.d.ts +5 -4
- package/dist/esm/presentation/appsAndIntegrations/McpIntegration.d.ts.map +1 -1
- package/dist/esm/presentation/appsAndIntegrations/McpIntegration.js +290 -67
- package/dist/esm/presentation/appsAndIntegrations/McpIntegration.js.map +1 -1
- package/dist/esm/presentation/appsAndIntegrations/layout.d.ts +32 -0
- package/dist/esm/presentation/appsAndIntegrations/layout.d.ts.map +1 -0
- package/dist/esm/presentation/appsAndIntegrations/layout.js +83 -0
- package/dist/esm/presentation/appsAndIntegrations/layout.js.map +1 -0
- package/dist/esm/presentation/appsAndIntegrations/mcpData.d.ts +15 -0
- package/dist/esm/presentation/appsAndIntegrations/mcpData.d.ts.map +1 -1
- package/dist/esm/presentation/appsAndIntegrations/mcpData.js +35 -1
- package/dist/esm/presentation/appsAndIntegrations/mcpData.js.map +1 -1
- package/dist/esm/presentation/shared/index.d.ts +1 -1
- package/dist/esm/presentation/shared/index.d.ts.map +1 -1
- package/dist/esm/presentation/shared/index.js +1 -1
- package/dist/esm/presentation/shared/index.js.map +1 -1
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts +2 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts.map +1 -1
- package/dist/esm/presentation/shared/selfHostedUpgrade.js +1 -1
- package/dist/esm/presentation/shared/selfHostedUpgrade.js.map +1 -1
- package/dist/esm/presentation/whiteboard/keyboardShortcuts.d.ts +16 -0
- package/dist/esm/presentation/whiteboard/keyboardShortcuts.d.ts.map +1 -0
- package/dist/esm/presentation/whiteboard/keyboardShortcuts.js +198 -0
- package/dist/esm/presentation/whiteboard/keyboardShortcuts.js.map +1 -0
- package/dist/esm/presentation/whiteboard/outline.d.ts +5 -2
- package/dist/esm/presentation/whiteboard/outline.d.ts.map +1 -1
- package/dist/esm/presentation/whiteboard/outline.js +10 -4
- package/dist/esm/presentation/whiteboard/outline.js.map +1 -1
- package/dist/esm/presentation/whiteboardModern/toolDock.d.ts +4 -0
- package/dist/esm/presentation/whiteboardModern/toolDock.d.ts.map +1 -1
- package/dist/esm/presentation/whiteboardModern/toolDock.js +34 -15
- package/dist/esm/presentation/whiteboardModern/toolDock.js.map +1 -1
- package/dist/index.js +578 -422
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -139,5 +139,39 @@ export const MCP_EXAMPLES = [{
|
|
|
139
139
|
prompt_example: 'Create a task in the Morrison & Co project called "Internal: Discuss pricing strategy for phase 2" and hide it from clients.'
|
|
140
140
|
}]
|
|
141
141
|
}];
|
|
142
|
-
export const MCP_PRO_TIPS = ['Be specific with dates
|
|
142
|
+
export const 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.'];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Proposed: connection options for the MCP page. Not in the backend yet.
|
|
146
|
+
* mirrors: no payload yet
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
export const MCP_CONNECTION_CLOUD = {
|
|
150
|
+
api_url: "https://app.example.com/123456/api/v1/mcp",
|
|
151
|
+
is_on_demand: true,
|
|
152
|
+
is_oauth_enabled: true,
|
|
153
|
+
can_manage_oauth: true,
|
|
154
|
+
plugin_download_url: "https://app.example.com/123456/api/v1/mcp/plugin/activecollab.zip"
|
|
155
|
+
};
|
|
156
|
+
export const MCP_CONNECTION_SELF_HOSTED_OAUTH = {
|
|
157
|
+
api_url: "https://pm.example.com/api/v1/mcp",
|
|
158
|
+
is_on_demand: false,
|
|
159
|
+
is_oauth_enabled: true,
|
|
160
|
+
can_manage_oauth: true,
|
|
161
|
+
plugin_download_url: "https://pm.example.com/api/v1/mcp/plugin/activecollab.zip"
|
|
162
|
+
};
|
|
163
|
+
export const MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_OWNER = {
|
|
164
|
+
api_url: "https://pm.example.com/api/v1/mcp",
|
|
165
|
+
is_on_demand: false,
|
|
166
|
+
is_oauth_enabled: false,
|
|
167
|
+
can_manage_oauth: true,
|
|
168
|
+
plugin_download_url: null
|
|
169
|
+
};
|
|
170
|
+
export const MCP_CONNECTION_SELF_HOSTED_NO_OAUTH_MEMBER = {
|
|
171
|
+
api_url: "https://pm.example.com/api/v1/mcp",
|
|
172
|
+
is_on_demand: false,
|
|
173
|
+
is_oauth_enabled: false,
|
|
174
|
+
can_manage_oauth: false,
|
|
175
|
+
plugin_download_url: null
|
|
176
|
+
};
|
|
143
177
|
//# sourceMappingURL=mcpData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpData.js","names":["MCP_TOKEN_DETAILS","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;;AAMA,OAAO,MAAMA,iBAAkC,GAAG;EAChDC,OAAO,EAAE,yCAAyC;EAClDC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,UAAyB,GAAG,CACvC;EACEC,EAAE,EAAE,EAAE;EACNC,QAAQ,EAAE,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E,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;AAED,OAAO,MAAMC,YAAY,GAAG,CAC1B,0FAA0F,EAC1F,iFAAiF,EACjF,sHAAsH,EACtH,uFAAuF,EACvF,+EAA+E,CAChF","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"mcpData.js","names":["MCP_TOKEN_DETAILS","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;;AAMA,OAAO,MAAMA,iBAAkC,GAAG;EAChDC,OAAO,EAAE,yCAAyC;EAClDC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,UAAyB,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,GAAG;EACnBC,YAAY,EAAE,sBAAsB;EACpCC,UAAU,EAAE,UAAU;EACtBC,YAAY,EAAE,UAAU;EACxBC,aAAa,EAAE;AACjB,CAAC,EACD;EACEV,EAAE,EAAE,EAAE;EACNC,QAAQ,EAAE,IAAI;EACdC,mBAAmB,EAAE,qBAAqB;EAC1CC,kBAAkB,EAAE,6BAA6B;EACjDC,SAAS,EAAE,kDAAkD;EAC7DC,cAAc,EAAE,QAAQ;EACxBC,cAAc,EAAE,GAAG;EACnBC,YAAY,EAAE,qBAAqB;EACnCC,UAAU,EAAE,UAAU;EACtBC,YAAY,EAAE,UAAU;EACxBC,aAAa,EAAE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AAED,OAAO,MAAMG,0CAAgE,GAC3E;EACE9B,OAAO,EAAE,mCAAmC;EAC5CwB,YAAY,EAAE,KAAK;EACnBC,gBAAgB,EAAE,KAAK;EACvBC,gBAAgB,EAAE,KAAK;EACvBC,mBAAmB,EAAE;AACvB,CAAC","ignoreList":[]}
|
|
@@ -70,7 +70,7 @@ export { SystemSettingsDialog, SYSTEM_SETTINGS_GROUPS, } from "./systemSettingsD
|
|
|
70
70
|
export type { SystemSettingsDialogProps, SystemSettingsSectionId, } from "./systemSettingsDialog";
|
|
71
71
|
export { SelfHostedSettingsDialog, ExpandableSettingRow, StatusDot, okStatus, SettingExpandCard, CommandCode, OtherSectionRows, CronJobsBody, EmailLogLink, } from "./selfHostedSettings";
|
|
72
72
|
export type { SelfHostedSettingsDialogProps, ExpandableSettingRowProps, SettingStatus, OtherSectionRowsProps, SectionRowState, CronJobsBodyProps, } from "./selfHostedSettings";
|
|
73
|
-
export { CommandBlock, ReleaseNotesHtml, LogPanel, TokenSetupDialog, TokenMissingPanel, TokenStrip, UpToDatePanel, UpdateAvailablePanel, SupportExpiredPanel, CheckFailedPanel, PreflightGate, UpgradeConsole, SendToSupportDialog, MaintenanceScreen, formatDate, } from "./selfHostedUpgrade";
|
|
73
|
+
export { CommandBlock, ReleaseNotesHtml, LogPanel, TokenSetupDialog, TokenMissingPanel, TokenStrip, UpToDatePanel, UpdateAvailablePanel, SupportExpiredPanel, CheckFailedPanel, PreflightGate, UpgradeConsole, SendToSupportDialog, MaintenanceScreen, formatDate, copyText, } from "./selfHostedUpgrade";
|
|
74
74
|
export type { TokenSource, TokenInfo, CheckErrorCode, CheckError, ReleaseNote, UpgradeStatus, PreflightStatus, PreflightCheck, PreflightResult, UpgradeDriver, RunStepKey, RunStatus, ProgressUnit, RunError, LogLevel, LogEntry, UpgradeRun, TokenSetupDialogProps, PreflightGateProps, UpdateAvailablePanelProps, TokenVerifyError, TokenVerifyState, UpgradeConsoleProps, SendToSupportDialogProps, SendToSupportState, MaintenanceScreenProps, } from "./selfHostedUpgrade";
|
|
75
75
|
export { FeatureAvailability, DEFAULT_FEATURE_AVAILABILITY, } from "./FeatureAvailability";
|
|
76
76
|
export type { FeatureAvailabilityProps, AvailabilityRow, AvailabilityMark, AvailabilityStatus, } from "./FeatureAvailability";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACzE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACtE,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,gCAAgC,GACjC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA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AAY,EACV,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,6BAA6B,EAC7B,yBAAyB,EACzB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACzE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AACtE,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE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BAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EACnB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,wBAAwB,EACxB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,6BAA6B,EAC7B,YAAY,EACZ,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,wBAAwB,EACxB,aAAa,EACb,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC"}
|
|
@@ -41,7 +41,7 @@ export { BackupCodesDialogs, CreateLoginCodeDialogs } from "./TwoFactorDialogs";
|
|
|
41
41
|
export { SettingsHeader, SettingsContent, SettingGroup, StyledSettingRow, RowText, SettingRow, SettingCount, SettingValue, ProjectListSettingGroup, ProjectIdentitySettingGroup, PROJECT_LIST_FIELDS_OPTION, PROJECT_IDENTITY_OPTIONS } from "./settings";
|
|
42
42
|
export { SystemSettingsDialog, SYSTEM_SETTINGS_GROUPS } from "./systemSettingsDialog";
|
|
43
43
|
export { SelfHostedSettingsDialog, ExpandableSettingRow, StatusDot, okStatus, SettingExpandCard, CommandCode, OtherSectionRows, CronJobsBody, EmailLogLink } from "./selfHostedSettings";
|
|
44
|
-
export { CommandBlock, ReleaseNotesHtml, LogPanel, TokenSetupDialog, TokenMissingPanel, TokenStrip, UpToDatePanel, UpdateAvailablePanel, SupportExpiredPanel, CheckFailedPanel, PreflightGate, UpgradeConsole, SendToSupportDialog, MaintenanceScreen, formatDate } from "./selfHostedUpgrade";
|
|
44
|
+
export { CommandBlock, ReleaseNotesHtml, LogPanel, TokenSetupDialog, TokenMissingPanel, TokenStrip, UpToDatePanel, UpdateAvailablePanel, SupportExpiredPanel, CheckFailedPanel, PreflightGate, UpgradeConsole, SendToSupportDialog, MaintenanceScreen, formatDate, copyText } from "./selfHostedUpgrade";
|
|
45
45
|
export { FeatureAvailability, DEFAULT_FEATURE_AVAILABILITY } from "./FeatureAvailability";
|
|
46
46
|
export { PORTFOLIO_TYPES, VISIBILITY_OPTIONS, DEFAULT_PORTFOLIO_FORM_VALUES, LEADERS_LIST, CATEGORIES, CLIENTS, contextFieldLabel, leaderShortName, defaultPortfolioName, isPortfolioDetailsValid, sampleProjectOptionIds, PortfolioDetailsFields, EditPortfolioDialog, ProjectsPicker, PICKER_PROJECTS, formatCutoffDate, ignoredTasksNote, moneyIgnoresCutoffNote } from "./portfolioDetails";
|
|
47
47
|
export { PageEmptySlateSection, HelpArticleLinkMock } from "./pageEmptySlate";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["MainLogo","RoundAvatar","MockAvatar","MockAvatarGroup","PresentationShell","StyledPagePaper","PresentationLookContext","usePresentationLook","BellNotificationMock","TaskCounts","SkeletonTextLine","DiscussionListSkeleton","ArchivedDiscussionsSkeleton","PageHeader","ProjectPageHeader","TabHeader","PageStickyHeader","usePageStickyCover","ProjectOptionsMenu","PortfolioOptionsMenu","WidgetGrid","WidgetGroupBy","StatWidget","WidgetRankedList","OverviewWidget","AreaChartWidget","DailyDeltaChartWidget","LeaderboardWidget","StackedBarChartWidget","CHART_SERIES_COLORS","OVERVIEW_SECTION_COLORS","PERIOD_OPTIONS","PeriodPicker","CurrencyPicker","FloatingControls","StyledPanelResizer","useResizableWidth","StatusIndicator","ToastHost","MessageDialog","DocLinkContext","messageComponents","MessageFeedback","POSITIVE_FEEDBACK_OPTIONS","NEGATIVE_FEEDBACK_OPTIONS","HelpAndSupportMenu","CopySnippet","LinkingCommandsButton","LinkBranchOrPullRequestDialog","ConnectRepositoryDialog","RepositorySelect","buildRepoOptions","CONNECTIONS","PROJECT_REPOSITORIES","CONNECTABLE_REPOSITORIES","WebhookLogsDialog","WEBHOOK_CONNECTIONS","WEBHOOK_REPOSITORIES","SourceCodeSection","IssueRow","CodeRow","Spine","HistoryDialog","CompletedHeader","SuggestSubtasksButton","TaskOptionsMenu","TaskListOptionsMenu","TaskSheetContent","UserMenu","AppearancePane","AppearanceMenuItem","APPEARANCE_PANE_ID","APPEARANCE_OPTIONS","UserDetailsDialog","USER_DETAILS_AVATAR_SIZE","TwoFactorShield","BackupCodesDialogs","CreateLoginCodeDialogs","SettingsHeader","SettingsContent","SettingGroup","StyledSettingRow","RowText","SettingRow","SettingCount","SettingValue","ProjectListSettingGroup","ProjectIdentitySettingGroup","PROJECT_LIST_FIELDS_OPTION","PROJECT_IDENTITY_OPTIONS","SystemSettingsDialog","SYSTEM_SETTINGS_GROUPS","SelfHostedSettingsDialog","ExpandableSettingRow","StatusDot","okStatus","SettingExpandCard","CommandCode","OtherSectionRows","CronJobsBody","EmailLogLink","CommandBlock","ReleaseNotesHtml","LogPanel","TokenSetupDialog","TokenMissingPanel","TokenStrip","UpToDatePanel","UpdateAvailablePanel","SupportExpiredPanel","CheckFailedPanel","PreflightGate","UpgradeConsole","SendToSupportDialog","MaintenanceScreen","formatDate","FeatureAvailability","DEFAULT_FEATURE_AVAILABILITY","PORTFOLIO_TYPES","VISIBILITY_OPTIONS","DEFAULT_PORTFOLIO_FORM_VALUES","LEADERS_LIST","CATEGORIES","CLIENTS","contextFieldLabel","leaderShortName","defaultPortfolioName","isPortfolioDetailsValid","sampleProjectOptionIds","PortfolioDetailsFields","EditPortfolioDialog","ProjectsPicker","PICKER_PROJECTS","formatCutoffDate","ignoredTasksNote","moneyIgnoresCutoffNote","PageEmptySlateSection","HelpArticleLinkMock"],"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":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,UAAU;AACxB,SAASA,QAAQ,QAAQ,YAAY;AACrC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,UAAU,EAAEC,eAAe,QAAQ,cAAc;AAC1D,SAASC,iBAAiB,EAAEC,eAAe,QAAQ,qBAAqB;AAExE,SAASC,uBAAuB,EAAEC,mBAAmB,QAAQ,QA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Ae,EACfC,gBAAgB,EAChBC,gBAAgB,EAChBC,sBAAsB,QACjB,oBAAoB;AAY3B,SAASC,qBAAqB,EAAEC,mBAAmB,QAAQ,kBAAkB;AAC7E,cAAc,kBAAkB;AAChC,cAAc,oBAAoB;AAClC,cAAc,wBAAwB;AACtC,cAAc,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["MainLogo","RoundAvatar","MockAvatar","MockAvatarGroup","PresentationShell","StyledPagePaper","PresentationLookContext","usePresentationLook","BellNotificationMock","TaskCounts","SkeletonTextLine","DiscussionListSkeleton","ArchivedDiscussionsSkeleton","PageHeader","ProjectPageHeader","TabHeader","PageStickyHeader","usePageStickyCover","ProjectOptionsMenu","PortfolioOptionsMenu","WidgetGrid","WidgetGroupBy","StatWidget","WidgetRankedList","OverviewWidget","AreaChartWidget","DailyDeltaChartWidget","LeaderboardWidget","StackedBarChartWidget","CHART_SERIES_COLORS","OVERVIEW_SECTION_COLORS","PERIOD_OPTIONS","PeriodPicker","CurrencyPicker","FloatingControls","StyledPanelResizer","useResizableWidth","StatusIndicator","ToastHost","MessageDialog","DocLinkContext","messageComponents","MessageFeedback","POSITIVE_FEEDBACK_OPTIONS","NEGATIVE_FEEDBACK_OPTIONS","HelpAndSupportMenu","CopySnippet","LinkingCommandsButton","LinkBranchOrPullRequestDialog","ConnectRepositoryDialog","RepositorySelect","buildRepoOptions","CONNECTIONS","PROJECT_REPOSITORIES","CONNECTABLE_REPOSITORIES","WebhookLogsDialog","WEBHOOK_CONNECTIONS","WEBHOOK_REPOSITORIES","SourceCodeSection","IssueRow","CodeRow","Spine","HistoryDialog","CompletedHeader","SuggestSubtasksButton","TaskOptionsMenu","TaskListOptionsMenu","TaskSheetContent","UserMenu","AppearancePane","AppearanceMenuItem","APPEARANCE_PANE_ID","APPEARANCE_OPTIONS","UserDetailsDialog","USER_DETAILS_AVATAR_SIZE","TwoFactorShield","BackupCodesDialogs","CreateLoginCodeDialogs","SettingsHeader","SettingsContent","SettingGroup","StyledSettingRow","RowText","SettingRow","SettingCount","SettingValue","ProjectListSettingGroup","ProjectIdentitySettingGroup","PROJECT_LIST_FIELDS_OPTION","PROJECT_IDENTITY_OPTIONS","SystemSettingsDialog","SYSTEM_SETTINGS_GROUPS","SelfHostedSettingsDialog","ExpandableSettingRow","StatusDot","okStatus","SettingExpandCard","CommandCode","OtherSectionRows","CronJobsBody","EmailLogLink","CommandBlock","ReleaseNotesHtml","LogPanel","TokenSetupDialog","TokenMissingPanel","TokenStrip","UpToDatePanel","UpdateAvailablePanel","SupportExpiredPanel","CheckFailedPanel","PreflightGate","UpgradeConsole","SendToSupportDialog","MaintenanceScreen","formatDate","copyText","FeatureAvailability","DEFAULT_FEATURE_AVAILABILITY","PORTFOLIO_TYPES","VISIBILITY_OPTIONS","DEFAULT_PORTFOLIO_FORM_VALUES","LEADERS_LIST","CATEGORIES","CLIENTS","contextFieldLabel","leaderShortName","defaultPortfolioName","isPortfolioDetailsValid","sampleProjectOptionIds","PortfolioDetailsFields","EditPortfolioDialog","ProjectsPicker","PICKER_PROJECTS","formatCutoffDate","ignoredTasksNote","moneyIgnoresCutoffNote","PageEmptySlateSection","HelpArticleLinkMock"],"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":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,UAAU;AACxB,SAASA,QAAQ,QAAQ,YAAY;AACrC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,UAAU,EAAEC,eAAe,QAAQ,cAAc;AAC1D,SAASC,iBAAiB,EAAEC,eAAe,QAAQ,qBAAqB;AAExE,SAASC,uBAAuB,EAAEC,mBAAmB,QAAQ,QAAQ;AAErE,SAASC,oBAAoB,QAAQ,oBAAoB;AAEzD,SAASC,UAAU,QAAQ,cAAc;AAEzC,SACEC,gBAAgB,EAChBC,sBAAsB,EACtBC,2BAA2B,QACtB,aAAa;AAMpB,SAASC,UAAU,EAAEC,iBAAiB,EAAEC,SAAS,QAAQ,WAAW;AACpE,SAASC,gBAAgB,EAAEC,kBAAkB,QAAQ,oBAAoB;AAOzE,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,oBAAoB,QAAQ,wBAAwB;AAE7D,SACEC,UAAU,EACVC,aAAa,EACbC,UAAU,EACVC,gBAAgB,EAChBC,cAAc,EACdC,eAAe,EACfC,qBAAqB,EACrBC,iBAAiB,EACjBC,qBAAqB,EACrBC,mBAAmB,EACnBC,uBAAuB,EACvBC,cAAc,EACdC,YAAY,EACZC,cAAc,QACT,oBAAoB;AAmB3B,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,kBAAkB,EAAEC,iBA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AAwB,EACxBC,oBAAoB,EACpBC,SAAS,EACTC,QAAQ,EACRC,iBAAiB,EACjBC,WAAW,EACXC,gBAAgB,EAChBC,YAAY,EACZC,YAAY,QACP,sBAAsB;AAS7B,SACEC,YAAY,EACZC,gBAAgB,EAChBC,QAAQ,EACRC,gBAAgB,EAChBC,iBAAiB,EACjBC,UAAU,EACVC,aAAa,EACbC,oBAAoB,EACpBC,mBAAmB,EACnBC,gBAAgB,EAChBC,aAAa,EACbC,cAAc,EACdC,mBAAmB,EACnBC,iBAAiB,EACjBC,UAAU,EACVC,QAAQ,QACH,qBAAqB;AA6B5B,SACEC,mBAAmB,EACnBC,4BAA4B,QACvB,uBAAuB;AAO9B,SACEC,eAAe,EACfC,kBAAkB,EAClBC,6BAA6B,EAC7BC,YAAY,EACZC,UAAU,EACVC,OAAO,EACPC,iBAAiB,EACjBC,eAAe,EACfC,oBAAoB,EACpBC,uBAAuB,EACvBC,sBAAsB,EACtBC,sBAAsB,EACtBC,mBAAmB,EACnBC,cAAc,EACdC,eAAe,EACfC,gBAAgB,EAChBC,gBAAgB,EAChBC,sBAAsB,QACjB,oBAAoB;AAY3B,SAASC,qBAAqB,EAAEC,mBAAmB,QAAQ,kBAAkB;AAC7E,cAAc,kBAAkB;AAChC,cAAc,oBAAoB;AAClC,cAAc,wBAAwB;AACtC,cAAc,oBAAoB","ignoreList":[]}
|
|
@@ -105,6 +105,8 @@ export interface UpgradeRun {
|
|
|
105
105
|
}
|
|
106
106
|
/** Date-only fields (expiry dates), like the app's formatDateSmart. */
|
|
107
107
|
export declare const formatDate: (unixSeconds: number) => string;
|
|
108
|
+
/** Copies text (a no-op where the clipboard API is unavailable). */
|
|
109
|
+
export declare const copyText: (text: string) => void;
|
|
108
110
|
/** A command or config snippet with a Copy button ("Copied" for a moment). */
|
|
109
111
|
export declare const CommandBlock: ({ children, }: {
|
|
110
112
|
children: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfHostedUpgrade.d.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,CAAC;IACZ,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,GAAI,0GAU5B,mBAAmB,KAAG,YAuQxB,CAAC;AA8CF,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5B,2EAA2E;IAC3E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,GAAI,gDAK/B,sBAAsB,KAAG,YAsC3B,CAAC"}
|
|
@@ -193,7 +193,7 @@ const CommandBlockText = styled(CommandCode).withConfig({
|
|
|
193
193
|
})(["background:none;padding:0;border-radius:0;white-space:pre;word-break:normal;"]);
|
|
194
194
|
|
|
195
195
|
/** Copies text (a no-op where the clipboard API is unavailable). */
|
|
196
|
-
const copyText = text => {
|
|
196
|
+
export const copyText = text => {
|
|
197
197
|
var _navigator$clipboard;
|
|
198
198
|
if ((_navigator$clipboard = navigator.clipboard) != null && _navigator$clipboard.writeText) {
|
|
199
199
|
navigator.clipboard.writeText(text).catch(() => undefined);
|