@powerhousedao/connect 6.2.3-dev.70 → 6.2.3-dev.72

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 (109) hide show
  1. package/README.md +1 -1
  2. package/RUNTIME-CONFIG.md +6 -85
  3. package/dist/{ClearStorageModal-BwGVIuLX.js → ClearStorageModal-DQv3ZGOq.js} +4 -4
  4. package/dist/{ClearStorageModal-BwGVIuLX.js.map → ClearStorageModal-DQv3ZGOq.js.map} +1 -1
  5. package/dist/{CreateDocumentModal-B-cXzeOA.js → CreateDocumentModal-CiIW3pzx.js} +18 -9
  6. package/dist/CreateDocumentModal-CiIW3pzx.js.map +1 -0
  7. package/dist/{DebugSettingsModal-DfOnR4iY.js → DebugSettingsModal-DjFwGop2.js} +6 -6
  8. package/dist/{DebugSettingsModal-DfOnR4iY.js.map → DebugSettingsModal-DjFwGop2.js.map} +1 -1
  9. package/dist/{InspectorModal-BVqRNFfP.js → InspectorModal-C1ZVZpT5.js} +6 -6
  10. package/dist/{InspectorModal-BVqRNFfP.js.map → InspectorModal-C1ZVZpT5.js.map} +1 -1
  11. package/dist/{OpenFileDocumentsModal-BNHD0vg9.js → OpenFileDocumentsModal-B9c-CsKT.js} +4 -4
  12. package/dist/{OpenFileDocumentsModal-BNHD0vg9.js.map → OpenFileDocumentsModal-B9c-CsKT.js.map} +1 -1
  13. package/dist/app-loader-ClDJbH8j.js +4 -0
  14. package/dist/{app-loader-DtH6v5CE.js → app-loader-DxGySldw.js} +41 -32
  15. package/dist/{app-loader-DtH6v5CE.js.map → app-loader-DxGySldw.js.map} +1 -1
  16. package/dist/{app-skeleton-DFg65Rxa.js → app-skeleton-BHgmbYld.js} +3 -3
  17. package/dist/{app-skeleton-BFjvlTWd.js → app-skeleton-ClRUYLE_.js} +14 -5
  18. package/dist/app-skeleton-ClRUYLE_.js.map +1 -0
  19. package/dist/{boot-N7f3RrY_.js → boot-D2-yDYJi.js} +5 -5
  20. package/dist/{boot-N7f3RrY_.js.map → boot-D2-yDYJi.js.map} +1 -1
  21. package/dist/{build-info-TgBEqTq1.js → build-info-CZ8K52c5.js} +5 -5
  22. package/dist/{build-info-TgBEqTq1.js.map → build-info-CZ8K52c5.js.map} +1 -1
  23. package/dist/{components-B_wpF5Is.js → components-B36iVkNp.js} +8 -8
  24. package/dist/{components-B_wpF5Is.js.map → components-B36iVkNp.js.map} +1 -1
  25. package/dist/{connect.config-D1pGNmaF.js → connect.config-DL9nKtlW.js} +6 -5
  26. package/dist/connect.config-DL9nKtlW.js.map +1 -0
  27. package/dist/{connection-state-B6fleM37.js → connection-state-Bwm9Agwy.js} +4 -4
  28. package/dist/{connection-state-B6fleM37.js.map → connection-state-Bwm9Agwy.js.map} +1 -1
  29. package/dist/{cookie-banner-CAvd3PC3.js → cookie-banner-NclLYtB0.js} +4 -4
  30. package/dist/{cookie-banner-CAvd3PC3.js.map → cookie-banner-NclLYtB0.js.map} +1 -1
  31. package/dist/{drive-icon-BiVP8yJc.js → drive-icon-BIpd8edR.js} +14 -3
  32. package/dist/drive-icon-BIpd8edR.js.map +1 -0
  33. package/dist/generic.d.ts +20 -2
  34. package/dist/generic.d.ts.map +1 -1
  35. package/dist/generic.js +2 -2
  36. package/dist/{load-CkbGF6wB.js → load-C2wlvi5d.js} +9 -9
  37. package/dist/{load-CkbGF6wB.js.map → load-C2wlvi5d.js.map} +1 -1
  38. package/dist/{load-runtime-config-DXswYA71.js → load-runtime-config-BeZF5z7m.js} +4 -4
  39. package/dist/{load-runtime-config-DXswYA71.js.map → load-runtime-config-BeZF5z7m.js.map} +1 -1
  40. package/dist/main.js +2 -2
  41. package/dist/{package-manager-CPqbVSd8.js → package-manager-dfP4R5L3.js} +11 -10
  42. package/dist/{package-manager-CPqbVSd8.js.map → package-manager-dfP4R5L3.js.map} +1 -1
  43. package/dist/{pglite-seed-eGzXMld2.js → pglite-seed-QPbGbLB_.js} +4 -4
  44. package/dist/{pglite-seed-eGzXMld2.js.map → pglite-seed-QPbGbLB_.js.map} +1 -1
  45. package/dist/plugin-configs.d.ts +242 -0
  46. package/dist/plugin-configs.d.ts.map +1 -0
  47. package/dist/plugin-configs.js +26 -0
  48. package/dist/plugin-configs.js.map +1 -0
  49. package/dist/plugins-DV3oFEmL.js +263 -0
  50. package/dist/plugins-DV3oFEmL.js.map +1 -0
  51. package/dist/{preferences-store-CSqauT9V.js → preferences-store-DxYAnGCc.js} +4 -4
  52. package/dist/{preferences-store-CSqauT9V.js.map → preferences-store-DxYAnGCc.js.map} +1 -1
  53. package/dist/prerender.d.ts.map +1 -1
  54. package/dist/prerender.js +18 -7
  55. package/dist/prerender.js.map +1 -1
  56. package/dist/{reactor-DLCl-WHi.js → reactor-DT1kVwnf.js} +12 -7
  57. package/dist/{reactor-DLCl-WHi.js.map → reactor-DT1kVwnf.js.map} +1 -1
  58. package/dist/{registerServiceWorker-APlHkrmH.js → registerServiceWorker-X6fT91iL.js} +4 -4
  59. package/dist/{registerServiceWorker-APlHkrmH.js.map → registerServiceWorker-X6fT91iL.js.map} +1 -1
  60. package/dist/route-tree.js +1 -1
  61. package/dist/{route-views-CTARvT5N.js → route-views-2aB1ZZPP.js} +6 -6
  62. package/dist/route-views-2aB1ZZPP.js.map +1 -0
  63. package/dist/route-views-D_873yb_.js +4 -0
  64. package/dist/{route-views-BF0p-4Fi.js → route-views-DmmQ1DzX.js} +5 -5
  65. package/dist/{route-views-BF0p-4Fi.js.map → route-views-DmmQ1DzX.js.map} +1 -1
  66. package/dist/route-views.js +3 -3
  67. package/dist/router-CBzb5FUq.js +4 -0
  68. package/dist/{router-L9X9U-97.js → router-DXpaaTeR.js} +15 -7
  69. package/dist/router-DXpaaTeR.js.map +1 -0
  70. package/dist/{settings-B-apZN_f.js → settings-BwKo6EAU.js} +17 -10
  71. package/dist/{settings-B-apZN_f.js.map → settings-BwKo6EAU.js.map} +1 -1
  72. package/dist/{settings-tabs-CRgiuZcb.js → settings-tabs-BubPdsiT.js} +51 -19
  73. package/dist/settings-tabs-BubPdsiT.js.map +1 -0
  74. package/dist/shell-core.html +1 -1
  75. package/dist/shell-head.html +1 -1
  76. package/dist/shell.html +1 -1
  77. package/dist/start-connect.js +2 -2
  78. package/dist/style.css +109 -4
  79. package/dist/{ui-CwbE23ra.js → ui-BVOQ9tj_.js} +8 -8
  80. package/dist/{ui-CwbE23ra.js.map → ui-BVOQ9tj_.js.map} +1 -1
  81. package/dist/workflows-C3qEvx1R.js +63 -0
  82. package/dist/workflows-C3qEvx1R.js.map +1 -0
  83. package/docs/customizing/data-and-navigation.md +50 -0
  84. package/docs/customizing/drive-apps.md +42 -0
  85. package/docs/customizing/hosts-and-plugins.md +23 -0
  86. package/docs/customizing/layout.md +9 -2
  87. package/docs/customizing/modals.md +25 -4
  88. package/docs/customizing/overrides.md +59 -4
  89. package/docs/customizing/packages.md +2 -0
  90. package/docs/customizing/pages.md +10 -13
  91. package/docs/customizing/styles-and-branding.md +9 -2
  92. package/docs/customizing/types-and-troubleshooting.md +4 -2
  93. package/generic-routes.json +9 -0
  94. package/package.json +26 -19
  95. package/scripts/assert-plugin-configs.mjs +47 -0
  96. package/skills/customize-connect/SKILL.md +14 -11
  97. package/CUSTOMIZING.md +0 -80
  98. package/dist/CreateDocumentModal-B-cXzeOA.js.map +0 -1
  99. package/dist/app-loader-BjAXSJQ6.js +0 -4
  100. package/dist/app-skeleton-BFjvlTWd.js.map +0 -1
  101. package/dist/connect.config-D1pGNmaF.js.map +0 -1
  102. package/dist/drive-icon-BiVP8yJc.js.map +0 -1
  103. package/dist/plugins-CWbr0n_Q.js +0 -246
  104. package/dist/plugins-CWbr0n_Q.js.map +0 -1
  105. package/dist/route-views-CTARvT5N.js.map +0 -1
  106. package/dist/route-views-D8I-1PWU.js +0 -4
  107. package/dist/router-BguOMBUh.js +0 -4
  108. package/dist/router-L9X9U-97.js.map +0 -1
  109. package/dist/settings-tabs-CRgiuZcb.js.map +0 -1
@@ -1,2 +1,2 @@
1
1
  <style data-ph-shell="generic">/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-leading:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"Inter", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-600:#f28e87;--color-red-900:#ea4334;--color-orange-600:#ffac4c;--color-orange-900:#f80;--color-green-600:#63cf80;--color-green-900:#34a853;--color-blue-500:#66b5ff;--color-blue-600:#4ca9ff;--color-blue-900:#0084ff;--color-purple-600:#b18aef;--color-slate-100:#f3f5f7;--color-slate-300:#c7ccd1;--color-slate-500:#31363a;--color-slate-600:#1e2124;--color-slate-700:#1a1d1f;--color-slate-800:#151819;--color-slate-900:#0e1010;--color-gray-50:#fcfcfc;--color-gray-100:#f5f5f5;--color-gray-200:#f0f0f0;--color-gray-300:#d8d9da;--color-gray-500:#9fa1a3;--color-gray-700:#464d4e;--color-gray-800:#404345;--color-gray-900:#333738;--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-md:.375rem;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}body{color:var(--foreground)}button{cursor:pointer}.ph-default-styles h1{margin-top:calc(var(--spacing) * 6);margin-bottom:calc(var(--spacing) * 4);font-family:var(--font-sans);font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles h2{margin-top:calc(var(--spacing) * 5);margin-bottom:calc(var(--spacing) * 3);font-family:var(--font-sans);font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles h3{margin-top:calc(var(--spacing) * 4);margin-bottom:calc(var(--spacing) * 2);font-family:var(--font-sans);font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles p{font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles small{font-family:var(--font-sans);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:1;--tw-font-weight:var(--font-weight-normal);line-height:1;font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles input[type=text],.ph-default-styles input[type=email],.ph-default-styles input[type=password],.ph-default-styles input[type=search],.ph-default-styles input[type=tel],.ph-default-styles input[type=url],.ph-default-styles input[type=number],.ph-default-styles textarea{margin-bottom:calc(var(--spacing) * 2.5);box-sizing:border-box;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);background-color:var(--card);width:100%;padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.75);font-family:var(--font-sans);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5);--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles textarea{min-height:calc(var(--spacing) * 9);resize:vertical}.ph-default-styles input[type=text]:is([readonly],[disabled]),.ph-default-styles input[type=email]:is([readonly],[disabled]),.ph-default-styles input[type=password]:is([readonly],[disabled]),.ph-default-styles input[type=search]:is([readonly],[disabled]),.ph-default-styles input[type=tel]:is([readonly],[disabled]),.ph-default-styles input[type=url]:is([readonly],[disabled]),.ph-default-styles input[type=number]:is([readonly],[disabled]),.ph-default-styles textarea:is([readonly],[disabled]){background-color:var(--background);color:var(--muted-foreground)}.ph-default-styles a{color:var(--info);text-decoration-line:none}.ph-default-styles a:hover{color:var(--info);--tw-brightness:brightness(50%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);text-decoration-line:underline}.ph-default-styles a:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.ph-default-styles a:focus{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.ph-default-styles a:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}.ph-default-styles ul,.ph-default-styles ol{margin-top:calc(var(--spacing) * 0);margin-bottom:calc(var(--spacing) * 0);padding-left:calc(var(--spacing) * 0)}.ph-default-styles label{font-family:var(--font-sans);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--foreground);display:block}.ph-default-styles hr{margin-block:calc(var(--spacing) * 4);border-style:var(--tw-border-style);background-color:var(--border);border-width:0;height:1px}@supports ((-moz-appearance:none)){*{scrollbar-color:initial;scrollbar-width:initial}}}@layer components,external-packages;@layer utilities{.pointer-events-none{pointer-events:none}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-8{margin:calc(var(--spacing) * 8)}.mx-auto{margin-inline:auto}.mt-3{margin-top:calc(var(--spacing) * 3)}@supports ((-moz-appearance:none)){.scrollbar-none{scrollbar-width:none}}.scrollbar-none::-webkit-scrollbar{display:none}.flex{display:flex}.hidden{display:none}.size-full{width:100%;height:100%}.h-full{height:100%}.h-screen{height:100vh}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.overflow-auto{overflow:auto}.rounded-full{border-radius:3.40282e38px}.rounded-md{border-radius:var(--radius-md)}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-sidebar-border{border-color:var(--sidebar-border)}.bg-background{background-color:var(--background)}.bg-sidebar{background-color:var(--sidebar)}.p-4{padding:calc(var(--spacing) * 4)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-12{padding-top:calc(var(--spacing) * 12)}.text-sm\/6{font-size:var(--text-sm);line-height:calc(var(--spacing) * 6)}.text-sm\/10{font-size:var(--text-sm);line-height:calc(var(--spacing) * 10)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-foreground{color:var(--foreground)}.text-muted-foreground{color:var(--muted-foreground)}.text-sidebar-foreground{color:var(--sidebar-foreground)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.aria-\[current\=page\]\:bg-sidebar-accent[aria-current=page]{background-color:var(--sidebar-accent)}@media (prefers-reduced-motion:reduce){.motion-reduce\:animate-none{animation:none}}.dark\:border-none:where(.dark,.dark *){--tw-border-style:none;border-style:none}}:root{--toastify-toast-min-height:48px;--toastify-toast-bd-radius:8px;--toastify-text-color-light:var(--color-gray-800);--toastify-color-progress-info:var(--color-gray-300);--toastify-color-progress-success:var(--color-gray-300);--toastify-color-progress-warning:var(--color-gray-300);--toastify-color-progress-error:var(--color-gray-300);--toastify-color-progress-light:var(--color-gray-300)}html:has(dialog[open]){overflow:hidden}.checkbox-container input[type=checkbox]{accent-color:var(--color-gray-900)}.rmsc{--rmsc-main:var(--color-gray-300)!important;--rmsc-hover:var(--color-gray-100)!important;--rmsc-selected:var(--color-gray-300)!important}.Toastify__toast-body{margin:0;padding:0;font-size:14px;font-weight:600}.Toastify__toast{padding:12px 16px;box-shadow:0 8px 32px #00000052}.Toastify__progress-bar--wrp{height:2px}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.hover-bg-transparent:hover{background-color:#0000000d}:root{--ph-core-bg:var(--background,#fff);--ph-core-fg:var(--foreground,#1f2328);--ph-core-muted:var(--muted-foreground,#59636e);--ph-core-border:var(--border,#d1d9e0);--ph-core-hover:var(--accent,#f6f8fa);--ph-core-link:#0969da;--ph-core-string:#0a3069;--ph-core-number:#953800;--ph-core-danger:var(--destructive,#d1242f)}:root.dark{--ph-core-bg:var(--background,#0d1117);--ph-core-fg:var(--foreground,#e6edf3);--ph-core-muted:var(--muted-foreground,#9198a1);--ph-core-border:var(--border,#3d444d);--ph-core-hover:var(--accent,#151b23);--ph-core-link:#4493f8;--ph-core-string:#a5d6ff;--ph-core-number:#ffa657;--ph-core-danger:var(--destructive,#f85149)}:root{--background:var(--color-gray-50);--foreground:var(--color-gray-800);--card:var(--color-white);--card-foreground:var(--color-gray-800);--popover:var(--color-white);--popover-foreground:var(--color-gray-800);--primary:var(--color-gray-800);--primary-foreground:var(--color-white);--secondary:var(--color-gray-200);--secondary-foreground:var(--color-gray-700);--muted:var(--color-gray-100);--muted-foreground:var(--color-gray-500);--accent:var(--color-gray-100);--accent-foreground:var(--color-gray-800);--border:var(--color-gray-200);--input:var(--color-gray-200);--ring:var(--color-blue-500);--hover:.95;--active:.9;--disabled:.5;--destructive:#d02516;--destructive-foreground:var(--color-white);--info:var(--color-blue-900);--info-foreground:var(--color-white);--success:var(--color-green-900);--success-foreground:var(--color-white);--warning:var(--color-orange-900);--warning-foreground:var(--color-white);--chart-1:var(--color-blue-600);--chart-2:var(--color-green-600);--chart-3:var(--color-orange-600);--chart-4:var(--color-purple-600);--chart-5:var(--color-red-600);--sidebar:var(--background);--sidebar-foreground:var(--foreground);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--accent);--sidebar-accent-foreground:var(--accent-foreground);--sidebar-border:var(--border);--sidebar-ring:var(--ring)}.dark{--background:var(--color-slate-800);--foreground:var(--color-slate-100);--card:var(--color-slate-700);--card-foreground:var(--color-slate-100);--popover:var(--color-slate-700);--popover-foreground:var(--color-slate-100);--primary:var(--color-slate-100);--primary-foreground:var(--color-slate-900);--secondary:var(--color-slate-600);--secondary-foreground:var(--color-slate-100);--muted:var(--color-slate-700);--muted-foreground:var(--color-slate-300);--accent:var(--color-slate-700);--accent-foreground:var(--color-slate-100);--border:var(--color-slate-500);--input:var(--color-slate-500);--hover:1.25;--active:1.4;--destructive:var(--color-red-900)}:root{--wf-ok:#1a7f45;--wf-fail:#c4312a;--wf-warn:#9a5800;--wf-run:#1d63d6;--wf-edge:#cbd5e1;--wf-literal:#7c3aed}.dark{--wf-ok:#4cc47d;--wf-fail:#f2776e;--wf-warn:#e9a23b;--wf-run:#6aa6ff;--wf-edge:#3a4146;--wf-literal:#b794f6}.wf-data-tree{--w-rjv-font-family:ui-monospace, SFMono-Regular, Menlo, monospace;--w-rjv-background-color:transparent;--w-rjv-color:var(--foreground);--w-rjv-key-string:var(--muted-foreground);--w-rjv-key-number:var(--muted-foreground);--w-rjv-line-color:var(--border);--w-rjv-arrow-color:var(--muted-foreground);--w-rjv-info-color:var(--muted-foreground);--w-rjv-curlybraces-color:var(--muted-foreground);--w-rjv-brackets-color:var(--muted-foreground);--w-rjv-colon-color:var(--muted-foreground);--w-rjv-quotes-string-color:var(--foreground);--w-rjv-type-string-color:var(--foreground);--w-rjv-type-int-color:var(--wf-run);--w-rjv-type-float-color:var(--wf-run);--w-rjv-type-bigint-color:var(--wf-run);--w-rjv-type-boolean-color:var(--wf-literal);--w-rjv-type-null-color:var(--muted-foreground);--w-rjv-type-undefined-color:var(--muted-foreground);--w-rjv-type-url-color:var(--wf-run);--w-rjv-type-date-color:var(--foreground);font-size:12px;line-height:1.7}@keyframes wf-picker-in{0%{opacity:0;transform:scale(.97)}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-leading{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}.ph-shell-embed [data-ph-shell] #sidebar{display:none}.ph-shell-route [data-ph-shell] #content-view{visibility:hidden}@keyframes ph-shell-loader-in{from{opacity:0}to{opacity:1}}.ph-shell-loader{animation:ph-shell-loader-in .2s ease-in both;animation-delay:calc(.25s + var(--ph-shell-t,0ms))}.ph-shell-loader>*{animation-delay:var(--ph-shell-t,0ms)}</style><script data-ph-shell="generic">(function(){try{var h=document.documentElement;var e=new URLSearchParams(location.search).get('embed');if(e!==null&&e!=='0'&&e!=='false')h.classList.add('ph-shell-embed');var p=location.pathname;if(!/\/$/.test(p)||/\/d\//.test(p))h.classList.add('ph-shell-route')}catch(x){}})();</script>
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-leading:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"Inter", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-600:#f28e87;--color-red-900:#ea4334;--color-orange-600:#ffac4c;--color-orange-900:#f80;--color-green-600:#63cf80;--color-green-900:#34a853;--color-blue-500:#66b5ff;--color-blue-600:#4ca9ff;--color-blue-900:#0084ff;--color-purple-600:#b18aef;--color-slate-100:#f3f5f7;--color-slate-300:#c7ccd1;--color-slate-500:#31363a;--color-slate-600:#1e2124;--color-slate-700:#1a1d1f;--color-slate-800:#151819;--color-slate-900:#0e1010;--color-gray-50:#fcfcfc;--color-gray-100:#f5f5f5;--color-gray-200:#f0f0f0;--color-gray-300:#d8d9da;--color-gray-500:#9fa1a3;--color-gray-700:#464d4e;--color-gray-800:#404345;--color-gray-900:#333738;--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-md:.375rem;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}body{color:var(--foreground)}button{cursor:pointer}.ph-default-styles h1{margin-top:calc(var(--spacing) * 6);margin-bottom:calc(var(--spacing) * 4);font-family:var(--font-sans);font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles h2{margin-top:calc(var(--spacing) * 5);margin-bottom:calc(var(--spacing) * 3);font-family:var(--font-sans);font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles h3{margin-top:calc(var(--spacing) * 4);margin-bottom:calc(var(--spacing) * 2);font-family:var(--font-sans);font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--foreground)}.ph-default-styles p{font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles small{font-family:var(--font-sans);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:1;--tw-font-weight:var(--font-weight-normal);line-height:1;font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles input[type=text],.ph-default-styles input[type=email],.ph-default-styles input[type=password],.ph-default-styles input[type=search],.ph-default-styles input[type=tel],.ph-default-styles input[type=url],.ph-default-styles input[type=number],.ph-default-styles textarea{margin-bottom:calc(var(--spacing) * 2.5);box-sizing:border-box;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--input);background-color:var(--card);width:100%;padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.75);font-family:var(--font-sans);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5);--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--foreground)}.ph-default-styles textarea{min-height:calc(var(--spacing) * 9);resize:vertical}.ph-default-styles input[type=text]:is([readonly],[disabled]),.ph-default-styles input[type=email]:is([readonly],[disabled]),.ph-default-styles input[type=password]:is([readonly],[disabled]),.ph-default-styles input[type=search]:is([readonly],[disabled]),.ph-default-styles input[type=tel]:is([readonly],[disabled]),.ph-default-styles input[type=url]:is([readonly],[disabled]),.ph-default-styles input[type=number]:is([readonly],[disabled]),.ph-default-styles textarea:is([readonly],[disabled]){background-color:var(--background);color:var(--muted-foreground)}.ph-default-styles a{color:var(--info);text-decoration-line:none}.ph-default-styles a:hover{color:var(--info);--tw-brightness:brightness(50%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);text-decoration-line:underline}.ph-default-styles a:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.ph-default-styles a:focus{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.ph-default-styles a:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-outline-style:none;outline-style:none}.ph-default-styles ul,.ph-default-styles ol{margin-top:calc(var(--spacing) * 0);margin-bottom:calc(var(--spacing) * 0);padding-left:calc(var(--spacing) * 0)}.ph-default-styles label{font-family:var(--font-sans);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--foreground);display:block}.ph-default-styles hr{margin-block:calc(var(--spacing) * 4);border-style:var(--tw-border-style);background-color:var(--border);border-width:0;height:1px}@supports ((-moz-appearance:none)){*{scrollbar-color:initial;scrollbar-width:initial}}}@layer components,external-packages;@layer utilities{.pointer-events-none{pointer-events:none}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.isolate{isolation:isolate}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-8{margin:calc(var(--spacing) * 8)}.mx-auto{margin-inline:auto}.mt-3{margin-top:calc(var(--spacing) * 3)}@supports ((-moz-appearance:none)){.scrollbar-none{scrollbar-width:none}}.scrollbar-none::-webkit-scrollbar{display:none}.flex{display:flex}.hidden{display:none}.size-full{width:100%;height:100%}.h-full{height:100%}.h-screen{height:100vh}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-full{width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.overflow-auto{overflow:auto}.rounded-full{border-radius:3.40282e38px}.rounded-md{border-radius:var(--radius-md)}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-sidebar-border{border-color:var(--sidebar-border)}.bg-background{background-color:var(--background)}.bg-sidebar{background-color:var(--sidebar)}.p-4{padding:calc(var(--spacing) * 4)}.px-2{padding-inline:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-12{padding-top:calc(var(--spacing) * 12)}.text-sm\/6{font-size:var(--text-sm);line-height:calc(var(--spacing) * 6)}.text-sm\/10{font-size:var(--text-sm);line-height:calc(var(--spacing) * 10)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-foreground{color:var(--foreground)}.text-muted-foreground{color:var(--muted-foreground)}.text-sidebar-foreground{color:var(--sidebar-foreground)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.aria-\[current\=page\]\:bg-sidebar-accent[aria-current=page]{background-color:var(--sidebar-accent)}@media (prefers-reduced-motion:reduce){.motion-reduce\:animate-none{animation:none}}@media not all and (min-width:40rem){.max-sm\:mt-0{margin-top:calc(var(--spacing) * 0)}.max-sm\:flex{display:flex}.max-sm\:h-auto{height:auto}.max-sm\:w-full{width:100%}.max-sm\:flex-row{flex-direction:row}.max-sm\:overflow-x-auto{overflow-x:auto}.max-sm\:overflow-y-hidden{overflow-y:hidden}.max-sm\:border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.max-sm\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-\[env\(safe-area-inset-bottom\)\]{padding-bottom:env(safe-area-inset-bottom)}}.dark\:border-none:where(.dark,.dark *){--tw-border-style:none;border-style:none}}:root{--toastify-toast-min-height:48px;--toastify-toast-bd-radius:8px;--toastify-text-color-light:var(--color-gray-800);--toastify-color-progress-info:var(--color-gray-300);--toastify-color-progress-success:var(--color-gray-300);--toastify-color-progress-warning:var(--color-gray-300);--toastify-color-progress-error:var(--color-gray-300);--toastify-color-progress-light:var(--color-gray-300)}html:has(dialog[open]){overflow:hidden}.checkbox-container input[type=checkbox]{accent-color:var(--color-gray-900)}.rmsc{--rmsc-main:var(--color-gray-300)!important;--rmsc-hover:var(--color-gray-100)!important;--rmsc-selected:var(--color-gray-300)!important}.Toastify__toast-body{margin:0;padding:0;font-size:14px;font-weight:600}.Toastify__toast{padding:12px 16px;box-shadow:0 8px 32px #00000052}.Toastify__progress-bar--wrp{height:2px}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.hover-bg-transparent:hover{background-color:#0000000d}:root{--ph-core-bg:var(--background,#fff);--ph-core-fg:var(--foreground,#1f2328);--ph-core-muted:var(--muted-foreground,#59636e);--ph-core-border:var(--border,#d1d9e0);--ph-core-hover:var(--accent,#f6f8fa);--ph-core-link:#0969da;--ph-core-string:#0a3069;--ph-core-number:#953800;--ph-core-danger:var(--destructive,#d1242f)}:root.dark{--ph-core-bg:var(--background,#0d1117);--ph-core-fg:var(--foreground,#e6edf3);--ph-core-muted:var(--muted-foreground,#9198a1);--ph-core-border:var(--border,#3d444d);--ph-core-hover:var(--accent,#151b23);--ph-core-link:#4493f8;--ph-core-string:#a5d6ff;--ph-core-number:#ffa657;--ph-core-danger:var(--destructive,#f85149)}:root{--background:var(--color-gray-50);--foreground:var(--color-gray-800);--card:var(--color-white);--card-foreground:var(--color-gray-800);--popover:var(--color-white);--popover-foreground:var(--color-gray-800);--primary:var(--color-gray-800);--primary-foreground:var(--color-white);--secondary:var(--color-gray-200);--secondary-foreground:var(--color-gray-700);--muted:var(--color-gray-100);--muted-foreground:var(--color-gray-500);--accent:var(--color-gray-100);--accent-foreground:var(--color-gray-800);--border:var(--color-gray-200);--input:var(--color-gray-200);--ring:var(--color-blue-500);--hover:.95;--active:.9;--disabled:.5;--destructive:#d02516;--destructive-foreground:var(--color-white);--info:var(--color-blue-900);--info-foreground:var(--color-white);--success:var(--color-green-900);--success-foreground:var(--color-white);--warning:var(--color-orange-900);--warning-foreground:var(--color-white);--chart-1:var(--color-blue-600);--chart-2:var(--color-green-600);--chart-3:var(--color-orange-600);--chart-4:var(--color-purple-600);--chart-5:var(--color-red-600);--sidebar:var(--background);--sidebar-foreground:var(--foreground);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--accent);--sidebar-accent-foreground:var(--accent-foreground);--sidebar-border:var(--border);--sidebar-ring:var(--ring)}.dark{--background:var(--color-slate-800);--foreground:var(--color-slate-100);--card:var(--color-slate-700);--card-foreground:var(--color-slate-100);--popover:var(--color-slate-700);--popover-foreground:var(--color-slate-100);--primary:var(--color-slate-100);--primary-foreground:var(--color-slate-900);--secondary:var(--color-slate-600);--secondary-foreground:var(--color-slate-100);--muted:var(--color-slate-700);--muted-foreground:var(--color-slate-300);--accent:var(--color-slate-700);--accent-foreground:var(--color-slate-100);--border:var(--color-slate-500);--input:var(--color-slate-500);--hover:1.25;--active:1.4;--destructive:var(--color-red-900)}:root{--wf-ok:#1a7f45;--wf-fail:#c4312a;--wf-warn:#9a5800;--wf-run:#1d63d6;--wf-edge:#cbd5e1;--wf-literal:#7c3aed}.dark{--wf-ok:#4cc47d;--wf-fail:#f2776e;--wf-warn:#e9a23b;--wf-run:#6aa6ff;--wf-edge:#3a4146;--wf-literal:#b794f6}.wf-data-tree{--w-rjv-font-family:ui-monospace, SFMono-Regular, Menlo, monospace;--w-rjv-background-color:transparent;--w-rjv-color:var(--foreground);--w-rjv-key-string:var(--muted-foreground);--w-rjv-key-number:var(--muted-foreground);--w-rjv-line-color:var(--border);--w-rjv-arrow-color:var(--muted-foreground);--w-rjv-info-color:var(--muted-foreground);--w-rjv-curlybraces-color:var(--muted-foreground);--w-rjv-brackets-color:var(--muted-foreground);--w-rjv-colon-color:var(--muted-foreground);--w-rjv-quotes-string-color:var(--foreground);--w-rjv-type-string-color:var(--foreground);--w-rjv-type-int-color:var(--wf-run);--w-rjv-type-float-color:var(--wf-run);--w-rjv-type-bigint-color:var(--wf-run);--w-rjv-type-boolean-color:var(--wf-literal);--w-rjv-type-null-color:var(--muted-foreground);--w-rjv-type-undefined-color:var(--muted-foreground);--w-rjv-type-url-color:var(--wf-run);--w-rjv-type-date-color:var(--foreground);font-size:12px;line-height:1.7}@keyframes wf-picker-in{0%{opacity:0;transform:scale(.97)}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-leading{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}.ph-shell-embed [data-ph-shell] #sidebar{display:none}.ph-shell-route [data-ph-shell] #content-view{visibility:hidden}@keyframes ph-shell-loader-in{from{opacity:0}to{opacity:1}}.ph-shell-loader{animation:ph-shell-loader-in .2s ease-in both;animation-delay:calc(.25s + var(--ph-shell-t,0ms))}.ph-shell-loader>*{animation-delay:var(--ph-shell-t,0ms)}</style><script data-ph-shell="generic">(function(){try{var h=document.documentElement;var e=new URLSearchParams(location.search).get('embed');if(e!==null&&e!=='0'&&e!=='false')h.classList.add('ph-shell-embed');var p=location.pathname;if(!/\/$/.test(p)||/\/d\//.test(p))h.classList.add('ph-shell-route')}catch(x){}})();</script>
package/dist/shell.html CHANGED
@@ -1 +1 @@
1
- <div data-ph-shell="generic" inert style="display:contents"><!--$--><div class="h-screen overflow-auto bg-background text-foreground"><!--$--><!--$--><div class="flex h-full items-stretch overflow-auto" role="presentation" tabindex="0"><div id="sidebar" class="group z-1 flex h-full flex-col bg-sidebar text-sidebar-foreground" style="width:58px"><div class="scrollbar-none flex-1 overflow-auto text-foreground transition-shadow"><div class="flex flex-col"></div></div><div class="shrink-0 flex flex-col items-center gap-3 border-t border-sidebar-border px-2 py-4 dark:border-none"><button aria-label="Home" type="button" class="cursor-pointer"><!--$--><svg class="text-muted-foreground" style="width:24px;height:24px" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0306 3.68615C11.2854 3.68614 11.492 3.47932 11.4921 3.2242L11.4921 9.03413e-06C8.29133 0.132881 5.41451 1.52048 3.33928 3.68633L11.0306 3.68615ZM14.2609 8.42821C14.2609 8.68334 14.0543 8.89016 13.7994 8.89016L0.406086 8.89043C0.81778 7.34998 1.52777 5.93103 2.46931 4.70043L13.7995 4.70024C14.0544 4.70023 14.261 4.90707 14.261 5.16221L14.2609 8.42821ZM20.6591 20.3137C18.5847 22.4787 15.7079 23.8663 12.5062 24L12.5063 20.7758C12.5063 20.5207 12.7129 20.3139 12.9678 20.3139L20.6591 20.3137ZM11.4924 23.9992C8.29157 23.8665 5.41401 22.4782 3.33969 20.3133L11.0309 20.3131C11.2858 20.3131 11.4924 20.52 11.4924 20.7751L11.4924 23.9992ZM17.5946 15.5703C17.5947 15.3152 17.8013 15.1083 18.0561 15.1083L23.5923 15.108C23.1806 16.6484 22.4714 18.0666 21.5291 19.298L18.0561 19.2983C17.8012 19.2983 17.5946 19.0914 17.5946 18.8363L17.5946 15.5703ZM8.84765 10.3544C8.85393 10.1039 9.05863 9.90407 9.30899 9.90407L23.8175 9.90396C23.9373 10.584 24 11.2842 24 11.9989C24 12.7136 23.9372 13.4138 23.8174 14.0939L9.31089 14.0933C9.06005 14.0932 8.85517 13.8927 8.84957 13.6416L8.80986 11.8617L8.84765 10.3544ZM16.7389 18.8372C16.7389 19.0923 16.5323 19.2991 16.2774 19.2991L2.46978 19.2992C1.52749 18.0679 0.818373 16.6498 0.406752 15.1093L16.2775 15.1092C16.5324 15.1092 16.739 15.316 16.739 15.5712L16.7389 18.8372ZM0.182552 9.90452L7.3636 9.90412C7.61849 9.90411 7.82511 10.1109 7.82511 10.3661L7.82503 13.6321C7.82503 13.8872 7.61842 14.0941 7.36355 14.0941L0.182447 14.0945C0.062664 13.4144 -1.71661e-05 12.7142 0 11.9995C1.71661e-05 11.2848 0.0627384 10.5846 0.182552 9.90452ZM15.2756 5.16214C15.2757 4.90701 15.4823 4.70019 15.7371 4.70019L21.5294 4.69998C22.4717 5.93135 23.1808 7.34943 23.5924 8.88987L15.7371 8.89013C15.4822 8.89014 15.2756 8.6833 15.2756 8.42816L15.2756 5.16214ZM12.5068 0C15.7076 0.132721 18.5852 1.52098 20.6595 3.68592L12.9682 3.6861C12.7133 3.6861 12.5067 3.47927 12.5067 3.22413L12.5068 0Z" fill="currentColor"></path></svg><!--/$--></button><div class="mt-3"><button type="button" aria-label="Open Account" class="cursor-pointer" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_75j9_" data-state="closed"><div class="group/sidebar-footer flex w-full items-baseline justify-start text-sm/10 font-semibold text-foreground cursor-pointer"><span style="display:inline-block;width:42px;height:42px;"></span></div></button></div><a aria-label="Settings" href="/settings/package-manager" class="cursor-pointer rounded-md aria-[current=page]:bg-sidebar-accent"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings text-foreground" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="hidden text-sm/6 font-semibold text-foreground">Settings</span></a></div></div><div class="relative flex flex-1 flex-col overflow-auto" id="content-view" data-scroll-restoration-id="content-view"><div class="relative container mx-auto flex h-full flex-col"><div class="m-8 flex flex-wrap justify-center gap-4 bg-background pt-12"><div class="pointer-events-none fixed top-0 z-0 size-full bg-background"><svg width="1858" height="1256" viewBox="0 0 1858 1256" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_4090_11134)"><ellipse opacity="0.3" cx="478.092" cy="523.885" rx="983.498" ry="480.668" transform="rotate(36.3289 478.092 523.885)" fill="url(#paint0_radial_4090_11134)" fill-opacity="0.3"></ellipse><g opacity="0.3"><ellipse cx="1385.68" cy="503.347" rx="759.956" ry="331.584" transform="rotate(36.3289 1385.68 503.347)" fill="url(#paint1_radial_4090_11134)" fill-opacity="0.2" style="mix-blend-mode:screen"></ellipse></g></g><defs><radialGradient id="paint0_radial_4090_11134" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(500.331 508.304) rotate(89.0086) scale(508.666 1077.08)"><stop stop-color="white" stop-opacity="0"></stop><stop stop-color="#FF3FAC"></stop><stop offset="0.363434" stop-color="#9D25FC" stop-opacity="0.41"></stop><stop offset="0.745192" stop-color="#141718" stop-opacity="0"></stop></radialGradient><radialGradient id="paint1_radial_4090_11134" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1385.68 503.347) rotate(90) scale(331.584 759.956)"><stop stop-color="#0084FF"></stop><stop offset="0.802885" stop-color="#141718" stop-opacity="0"></stop></radialGradient><clipPath id="clip0_4090_11134"><rect width="1858" height="1256" fill="white"></rect></clipPath></defs></svg></div></div></div></div></div><!--/$--><!--/$--></div><!--/$--><div role="status" aria-label="Starting Connect" class="ph-shell-loader pointer-events-none fixed inset-0 z-10 flex items-center justify-center"><div class="animate-pulse rounded-full bg-background p-4 text-foreground shadow-lg motion-reduce:animate-none"><!--$--><svg style="width:40px;height:40px" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0306 3.68615C11.2854 3.68614 11.492 3.47932 11.4921 3.2242L11.4921 9.03413e-06C8.29133 0.132881 5.41451 1.52048 3.33928 3.68633L11.0306 3.68615ZM14.2609 8.42821C14.2609 8.68334 14.0543 8.89016 13.7994 8.89016L0.406086 8.89043C0.81778 7.34998 1.52777 5.93103 2.46931 4.70043L13.7995 4.70024C14.0544 4.70023 14.261 4.90707 14.261 5.16221L14.2609 8.42821ZM20.6591 20.3137C18.5847 22.4787 15.7079 23.8663 12.5062 24L12.5063 20.7758C12.5063 20.5207 12.7129 20.3139 12.9678 20.3139L20.6591 20.3137ZM11.4924 23.9992C8.29157 23.8665 5.41401 22.4782 3.33969 20.3133L11.0309 20.3131C11.2858 20.3131 11.4924 20.52 11.4924 20.7751L11.4924 23.9992ZM17.5946 15.5703C17.5947 15.3152 17.8013 15.1083 18.0561 15.1083L23.5923 15.108C23.1806 16.6484 22.4714 18.0666 21.5291 19.298L18.0561 19.2983C17.8012 19.2983 17.5946 19.0914 17.5946 18.8363L17.5946 15.5703ZM8.84765 10.3544C8.85393 10.1039 9.05863 9.90407 9.30899 9.90407L23.8175 9.90396C23.9373 10.584 24 11.2842 24 11.9989C24 12.7136 23.9372 13.4138 23.8174 14.0939L9.31089 14.0933C9.06005 14.0932 8.85517 13.8927 8.84957 13.6416L8.80986 11.8617L8.84765 10.3544ZM16.7389 18.8372C16.7389 19.0923 16.5323 19.2991 16.2774 19.2991L2.46978 19.2992C1.52749 18.0679 0.818373 16.6498 0.406752 15.1093L16.2775 15.1092C16.5324 15.1092 16.739 15.316 16.739 15.5712L16.7389 18.8372ZM0.182552 9.90452L7.3636 9.90412C7.61849 9.90411 7.82511 10.1109 7.82511 10.3661L7.82503 13.6321C7.82503 13.8872 7.61842 14.0941 7.36355 14.0941L0.182447 14.0945C0.062664 13.4144 -1.71661e-05 12.7142 0 11.9995C1.71661e-05 11.2848 0.0627384 10.5846 0.182552 9.90452ZM15.2756 5.16214C15.2757 4.90701 15.4823 4.70019 15.7371 4.70019L21.5294 4.69998C22.4717 5.93135 23.1808 7.34943 23.5924 8.88987L15.7371 8.89013C15.4822 8.89014 15.2756 8.6833 15.2756 8.42816L15.2756 5.16214ZM12.5068 0C15.7076 0.132721 18.5852 1.52098 20.6595 3.68592L12.9682 3.6861C12.7133 3.6861 12.5067 3.47927 12.5067 3.22413L12.5068 0Z" fill="currentColor"></path></svg><!--/$--></div></div></div><script data-ph-shell="generic">(function(){if(!document.documentElement.classList.contains('ph-shell-route'))return;document.querySelectorAll('[data-ph-shell] [aria-current]').forEach(function(e){e.removeAttribute('aria-current');e.classList.remove('active')})})();</script>
1
+ <div data-ph-shell="generic" inert style="display:contents"><!--$--><div class="h-screen overflow-auto bg-background text-foreground"><!--$--><!--$--><div class="flex h-full items-stretch overflow-auto max-sm:has-[&gt;[data-connect-sidebar]]:flex-col-reverse" role="presentation" tabindex="0"><div id="sidebar" data-connect-sidebar="" class="group z-1 flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground max-sm:h-auto max-sm:w-full max-sm:flex-row max-sm:pb-[env(safe-area-inset-bottom)]" style="--sidebar-width:58px"><div class="scrollbar-none flex-1 overflow-auto text-foreground transition-shadow max-sm:flex max-sm:overflow-x-auto max-sm:overflow-y-hidden"><nav aria-label="Drives and pages" class="flex flex-col max-sm:flex-row"></nav></div><div class="shrink-0 flex flex-col items-center gap-3 border-t border-sidebar-border px-2 py-4 max-sm:flex-row max-sm:border-t-0 max-sm:border-l max-sm:py-2 dark:border-none"><button aria-label="Home" type="button" class="cursor-pointer"><!--$--><svg class="text-muted-foreground" style="width:24px;height:24px" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0306 3.68615C11.2854 3.68614 11.492 3.47932 11.4921 3.2242L11.4921 9.03413e-06C8.29133 0.132881 5.41451 1.52048 3.33928 3.68633L11.0306 3.68615ZM14.2609 8.42821C14.2609 8.68334 14.0543 8.89016 13.7994 8.89016L0.406086 8.89043C0.81778 7.34998 1.52777 5.93103 2.46931 4.70043L13.7995 4.70024C14.0544 4.70023 14.261 4.90707 14.261 5.16221L14.2609 8.42821ZM20.6591 20.3137C18.5847 22.4787 15.7079 23.8663 12.5062 24L12.5063 20.7758C12.5063 20.5207 12.7129 20.3139 12.9678 20.3139L20.6591 20.3137ZM11.4924 23.9992C8.29157 23.8665 5.41401 22.4782 3.33969 20.3133L11.0309 20.3131C11.2858 20.3131 11.4924 20.52 11.4924 20.7751L11.4924 23.9992ZM17.5946 15.5703C17.5947 15.3152 17.8013 15.1083 18.0561 15.1083L23.5923 15.108C23.1806 16.6484 22.4714 18.0666 21.5291 19.298L18.0561 19.2983C17.8012 19.2983 17.5946 19.0914 17.5946 18.8363L17.5946 15.5703ZM8.84765 10.3544C8.85393 10.1039 9.05863 9.90407 9.30899 9.90407L23.8175 9.90396C23.9373 10.584 24 11.2842 24 11.9989C24 12.7136 23.9372 13.4138 23.8174 14.0939L9.31089 14.0933C9.06005 14.0932 8.85517 13.8927 8.84957 13.6416L8.80986 11.8617L8.84765 10.3544ZM16.7389 18.8372C16.7389 19.0923 16.5323 19.2991 16.2774 19.2991L2.46978 19.2992C1.52749 18.0679 0.818373 16.6498 0.406752 15.1093L16.2775 15.1092C16.5324 15.1092 16.739 15.316 16.739 15.5712L16.7389 18.8372ZM0.182552 9.90452L7.3636 9.90412C7.61849 9.90411 7.82511 10.1109 7.82511 10.3661L7.82503 13.6321C7.82503 13.8872 7.61842 14.0941 7.36355 14.0941L0.182447 14.0945C0.062664 13.4144 -1.71661e-05 12.7142 0 11.9995C1.71661e-05 11.2848 0.0627384 10.5846 0.182552 9.90452ZM15.2756 5.16214C15.2757 4.90701 15.4823 4.70019 15.7371 4.70019L21.5294 4.69998C22.4717 5.93135 23.1808 7.34943 23.5924 8.88987L15.7371 8.89013C15.4822 8.89014 15.2756 8.6833 15.2756 8.42816L15.2756 5.16214ZM12.5068 0C15.7076 0.132721 18.5852 1.52098 20.6595 3.68592L12.9682 3.6861C12.7133 3.6861 12.5067 3.47927 12.5067 3.22413L12.5068 0Z" fill="currentColor"></path></svg><!--/$--></button><div class="mt-3 max-sm:mt-0"><button type="button" aria-label="Open Account" class="cursor-pointer" aria-haspopup="dialog" aria-expanded="false" aria-controls="radix-_R_75j9_" data-state="closed"><div class="group/sidebar-footer flex w-full items-baseline justify-start text-sm/10 font-semibold text-foreground cursor-pointer"><span style="display:inline-block;width:42px;height:42px;"></span></div></button></div><a aria-label="Settings" href="/settings/package-manager" class="cursor-pointer rounded-md aria-[current=page]:bg-sidebar-accent"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings text-foreground" aria-hidden="true"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"></path><circle cx="12" cy="12" r="3"></circle></svg><span class="hidden text-sm/6 font-semibold text-foreground">Settings</span></a></div></div><div class="relative flex flex-1 flex-col overflow-auto" id="content-view" data-scroll-restoration-id="content-view"><div class="relative isolate container mx-auto flex h-full flex-col"><div class="pointer-events-none fixed top-0 z-0 size-full bg-background"><svg width="1858" height="1256" viewBox="0 0 1858 1256" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_4090_11134)"><ellipse opacity="0.3" cx="478.092" cy="523.885" rx="983.498" ry="480.668" transform="rotate(36.3289 478.092 523.885)" fill="url(#paint0_radial_4090_11134)" fill-opacity="0.3"></ellipse><g opacity="0.3"><ellipse cx="1385.68" cy="503.347" rx="759.956" ry="331.584" transform="rotate(36.3289 1385.68 503.347)" fill="url(#paint1_radial_4090_11134)" fill-opacity="0.2" style="mix-blend-mode:screen"></ellipse></g></g><defs><radialGradient id="paint0_radial_4090_11134" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(500.331 508.304) rotate(89.0086) scale(508.666 1077.08)"><stop stop-color="white" stop-opacity="0"></stop><stop stop-color="#FF3FAC"></stop><stop offset="0.363434" stop-color="#9D25FC" stop-opacity="0.41"></stop><stop offset="0.745192" stop-color="#141718" stop-opacity="0"></stop></radialGradient><radialGradient id="paint1_radial_4090_11134" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1385.68 503.347) rotate(90) scale(331.584 759.956)"><stop stop-color="#0084FF"></stop><stop offset="0.802885" stop-color="#141718" stop-opacity="0"></stop></radialGradient><clipPath id="clip0_4090_11134"><rect width="1858" height="1256" fill="white"></rect></clipPath></defs></svg></div><div class="relative z-10 m-8 flex flex-wrap justify-center gap-4 pt-12 bg-background"></div></div></div></div><!--/$--><!--/$--></div><!--/$--><div role="status" aria-label="Starting Connect" class="ph-shell-loader pointer-events-none fixed inset-0 z-10 flex items-center justify-center"><div data-ph-loader-slot="" class="animate-pulse rounded-full bg-background p-4 text-foreground shadow-lg motion-reduce:animate-none"><!--$--><svg style="width:40px;height:40px" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0306 3.68615C11.2854 3.68614 11.492 3.47932 11.4921 3.2242L11.4921 9.03413e-06C8.29133 0.132881 5.41451 1.52048 3.33928 3.68633L11.0306 3.68615ZM14.2609 8.42821C14.2609 8.68334 14.0543 8.89016 13.7994 8.89016L0.406086 8.89043C0.81778 7.34998 1.52777 5.93103 2.46931 4.70043L13.7995 4.70024C14.0544 4.70023 14.261 4.90707 14.261 5.16221L14.2609 8.42821ZM20.6591 20.3137C18.5847 22.4787 15.7079 23.8663 12.5062 24L12.5063 20.7758C12.5063 20.5207 12.7129 20.3139 12.9678 20.3139L20.6591 20.3137ZM11.4924 23.9992C8.29157 23.8665 5.41401 22.4782 3.33969 20.3133L11.0309 20.3131C11.2858 20.3131 11.4924 20.52 11.4924 20.7751L11.4924 23.9992ZM17.5946 15.5703C17.5947 15.3152 17.8013 15.1083 18.0561 15.1083L23.5923 15.108C23.1806 16.6484 22.4714 18.0666 21.5291 19.298L18.0561 19.2983C17.8012 19.2983 17.5946 19.0914 17.5946 18.8363L17.5946 15.5703ZM8.84765 10.3544C8.85393 10.1039 9.05863 9.90407 9.30899 9.90407L23.8175 9.90396C23.9373 10.584 24 11.2842 24 11.9989C24 12.7136 23.9372 13.4138 23.8174 14.0939L9.31089 14.0933C9.06005 14.0932 8.85517 13.8927 8.84957 13.6416L8.80986 11.8617L8.84765 10.3544ZM16.7389 18.8372C16.7389 19.0923 16.5323 19.2991 16.2774 19.2991L2.46978 19.2992C1.52749 18.0679 0.818373 16.6498 0.406752 15.1093L16.2775 15.1092C16.5324 15.1092 16.739 15.316 16.739 15.5712L16.7389 18.8372ZM0.182552 9.90452L7.3636 9.90412C7.61849 9.90411 7.82511 10.1109 7.82511 10.3661L7.82503 13.6321C7.82503 13.8872 7.61842 14.0941 7.36355 14.0941L0.182447 14.0945C0.062664 13.4144 -1.71661e-05 12.7142 0 11.9995C1.71661e-05 11.2848 0.0627384 10.5846 0.182552 9.90452ZM15.2756 5.16214C15.2757 4.90701 15.4823 4.70019 15.7371 4.70019L21.5294 4.69998C22.4717 5.93135 23.1808 7.34943 23.5924 8.88987L15.7371 8.89013C15.4822 8.89014 15.2756 8.6833 15.2756 8.42816L15.2756 5.16214ZM12.5068 0C15.7076 0.132721 18.5852 1.52098 20.6595 3.68592L12.9682 3.6861C12.7133 3.6861 12.5067 3.47927 12.5067 3.22413L12.5068 0Z" fill="currentColor"></path></svg><!--/$--></div></div></div><script data-ph-shell="generic">(function(){if(!document.documentElement.classList.contains('ph-shell-route'))return;document.querySelectorAll('[data-ph-shell] [aria-current]').forEach(function(e){e.removeAttribute('aria-current');e.classList.remove('active')})})();</script>
@@ -1,10 +1,10 @@
1
1
 
2
2
  !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bd2ed01c-26b1-55fa-bd5b-f1ef0b991a1e")}catch(e){}}();
3
- import { t as bootConnect } from "./boot-N7f3RrY_.js";
3
+ import { t as bootConnect } from "./boot-D2-yDYJi.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region start-connect.tsx
6
6
  const root = await bootConnect();
7
- const components = root ? await import("./components-B_wpF5Is.js") : null;
7
+ const components = root ? await import("./components-B36iVkNp.js") : null;
8
8
  function updateLocalPackage(pkg) {
9
9
  window.ph?.vetraPackageManager?.updateLocalPackage(pkg);
10
10
  }
package/dist/style.css CHANGED
@@ -948,10 +948,6 @@
948
948
  width: 3px;
949
949
  height: 3px;
950
950
  }
951
- .size-\[calc\(100\%-32px\)\] {
952
- width: calc(100% - 32px);
953
- height: calc(100% - 32px);
954
- }
955
951
  .size-fit {
956
952
  width: fit-content;
957
953
  height: fit-content;
@@ -1215,6 +1211,9 @@
1215
1211
  .w-\(--radix-popover-trigger-width\) {
1216
1212
  width: var(--radix-popover-trigger-width);
1217
1213
  }
1214
+ .w-\(--sidebar-width\) {
1215
+ width: var(--sidebar-width);
1216
+ }
1218
1217
  .w-0 {
1219
1218
  width: calc(var(--spacing) * 0);
1220
1219
  }
@@ -2327,6 +2326,9 @@
2327
2326
  .border-b-border {
2328
2327
  border-bottom-color: var(--border);
2329
2328
  }
2329
+ .bg-\(--ph-pane-bg\) {
2330
+ background-color: var(--ph-pane-bg);
2331
+ }
2330
2332
  .bg-\[\#3b82f6\] {
2331
2333
  background-color: #3b82f6;
2332
2334
  }
@@ -2342,6 +2344,12 @@
2342
2344
  background-color: color-mix(in oklab, var(--background) 50%, transparent);
2343
2345
  }
2344
2346
  }
2347
+ .bg-background\/75 {
2348
+ background-color: var(--background);
2349
+ @supports (color: color-mix(in lab, red, red)) {
2350
+ background-color: color-mix(in oklab, var(--background) 75%, transparent);
2351
+ }
2352
+ }
2345
2353
  .bg-border {
2346
2354
  background-color: var(--border);
2347
2355
  }
@@ -2837,6 +2845,9 @@
2837
2845
  .pb-4 {
2838
2846
  padding-bottom: calc(var(--spacing) * 4);
2839
2847
  }
2848
+ .pb-6 {
2849
+ padding-bottom: calc(var(--spacing) * 6);
2850
+ }
2840
2851
  .pb-8 {
2841
2852
  padding-bottom: calc(var(--spacing) * 8);
2842
2853
  }
@@ -5146,6 +5157,85 @@
5146
5157
  animation: none;
5147
5158
  }
5148
5159
  }
5160
+ .max-sm\:mt-0 {
5161
+ @media (width < 40rem) {
5162
+ margin-top: calc(var(--spacing) * 0);
5163
+ }
5164
+ }
5165
+ .max-sm\:flex {
5166
+ @media (width < 40rem) {
5167
+ display: flex;
5168
+ }
5169
+ }
5170
+ .max-sm\:hidden {
5171
+ @media (width < 40rem) {
5172
+ display: none;
5173
+ }
5174
+ }
5175
+ .max-sm\:hidden\! {
5176
+ @media (width < 40rem) {
5177
+ display: none !important;
5178
+ }
5179
+ }
5180
+ .max-sm\:h-auto {
5181
+ @media (width < 40rem) {
5182
+ height: auto;
5183
+ }
5184
+ }
5185
+ .max-sm\:w-full {
5186
+ @media (width < 40rem) {
5187
+ width: 100%;
5188
+ }
5189
+ }
5190
+ .max-sm\:flex-row {
5191
+ @media (width < 40rem) {
5192
+ flex-direction: row;
5193
+ }
5194
+ }
5195
+ .max-sm\:overflow-x-auto {
5196
+ @media (width < 40rem) {
5197
+ overflow-x: auto;
5198
+ }
5199
+ }
5200
+ .max-sm\:overflow-y-hidden {
5201
+ @media (width < 40rem) {
5202
+ overflow-y: hidden;
5203
+ }
5204
+ }
5205
+ .max-sm\:border-t-0 {
5206
+ @media (width < 40rem) {
5207
+ border-top-style: var(--tw-border-style);
5208
+ border-top-width: 0px;
5209
+ }
5210
+ }
5211
+ .max-sm\:border-l {
5212
+ @media (width < 40rem) {
5213
+ border-left-style: var(--tw-border-style);
5214
+ border-left-width: 1px;
5215
+ }
5216
+ }
5217
+ .max-sm\:px-3 {
5218
+ @media (width < 40rem) {
5219
+ padding-inline: calc(var(--spacing) * 3);
5220
+ }
5221
+ }
5222
+ .max-sm\:py-2 {
5223
+ @media (width < 40rem) {
5224
+ padding-block: calc(var(--spacing) * 2);
5225
+ }
5226
+ }
5227
+ .max-sm\:pb-\[env\(safe-area-inset-bottom\)\] {
5228
+ @media (width < 40rem) {
5229
+ padding-bottom: env(safe-area-inset-bottom);
5230
+ }
5231
+ }
5232
+ .max-sm\:has-\[\>\[data-connect-sidebar\]\]\:flex-col-reverse {
5233
+ @media (width < 40rem) {
5234
+ &:has(>[data-connect-sidebar]) {
5235
+ flex-direction: column-reverse;
5236
+ }
5237
+ }
5238
+ }
5149
5239
  .min-\[420px\]\:grid-cols-2 {
5150
5240
  @media (width >= 420px) {
5151
5241
  grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -5211,6 +5301,16 @@
5211
5301
  grid-template-columns: minmax(10rem,1fr) minmax(0,2fr) minmax(0,10rem) auto;
5212
5302
  }
5213
5303
  }
5304
+ .dark\:block {
5305
+ &:where(.dark, .dark *) {
5306
+ display: block;
5307
+ }
5308
+ }
5309
+ .dark\:hidden {
5310
+ &:where(.dark, .dark *) {
5311
+ display: none;
5312
+ }
5313
+ }
5214
5314
  .dark\:rounded-\[22\%\] {
5215
5315
  &:where(.dark, .dark *) {
5216
5316
  border-radius: 22%;
@@ -5222,6 +5322,11 @@
5222
5322
  border-style: none;
5223
5323
  }
5224
5324
  }
5325
+ .dark\:bg-\(--ph-pane-bg-dark\) {
5326
+ &:where(.dark, .dark *) {
5327
+ background-color: var(--ph-pane-bg-dark);
5328
+ }
5329
+ }
5225
5330
  .dark\:bg-foreground\/30 {
5226
5331
  &:where(.dark, .dark *) {
5227
5332
  background-color: var(--foreground);
@@ -1,13 +1,13 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3e17e20-d606-5730-878b-3fae365b578c")}catch(e){}}();
3
- import { c as NodeView, d as AppLayout, l as DrivePending, n as settingsTabRoutes, o as DriveLayout, r as SettingsPage, s as Home, u as RouteError } from "./settings-tabs-CRgiuZcb.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9b567cea-3a20-5a9c-91fb-e93ffb3f4fbb")}catch(e){}}();
3
+ import { c as Home, d as NodeView, f as DrivePending, m as AppLayout, n as settingsTabRoutes, p as RouteError, r as SettingsPage, s as DriveLayout } from "./settings-tabs-BubPdsiT.js";
4
4
  import { lazy } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/generic/modals.ts
7
7
  const AddDriveModal = lazy(() => import("./AddDriveModal-BjgmiHJr.js").then((m) => ({ default: m.AddDriveModal })));
8
- const ClearStorageModal = lazy(() => import("./ClearStorageModal-BwGVIuLX.js").then((m) => ({ default: m.ClearStorageModal })));
9
- const CreateDocumentModal = lazy(() => import("./CreateDocumentModal-B-cXzeOA.js").then((m) => ({ default: m.CreateDocumentModal })));
10
- const DebugSettingsModal = lazy(() => import("./DebugSettingsModal-DfOnR4iY.js").then((m) => ({ default: m.DebugSettingsModal })));
8
+ const ClearStorageModal = lazy(() => import("./ClearStorageModal-DQv3ZGOq.js").then((m) => ({ default: m.ClearStorageModal })));
9
+ const CreateDocumentModal = lazy(() => import("./CreateDocumentModal-CiIW3pzx.js").then((m) => ({ default: m.CreateDocumentModal })));
10
+ const DebugSettingsModal = lazy(() => import("./DebugSettingsModal-DjFwGop2.js").then((m) => ({ default: m.DebugSettingsModal })));
11
11
  const DeleteDriveModal = lazy(() => import("./DeleteDriveModal-1pAIayG_.js").then((m) => ({ default: m.DeleteDriveModal })));
12
12
  const DeleteItemModal = lazy(() => import("./DeleteItemModal-BUpqmFxS.js").then((m) => ({ default: m.DeleteItemModal })));
13
13
  const DisclaimerModal = lazy(() => import("./DisclaimerModal-TIJXRYLF.js").then((m) => ({ default: m.DisclaimerModal })));
@@ -30,7 +30,7 @@ const genericModals = {
30
30
  downloadDocumentWithErrors: DownloadDocumentWithErrorsModal,
31
31
  documentVersionUnsupported: DocumentVersionUnsupportedModal,
32
32
  confirmDocumentUpgrade: ConfirmDocumentUpgradeModal,
33
- inspector: lazy(() => import("./InspectorModal-BVqRNFfP.js").then((m) => ({ default: m.InspectorModal }))),
33
+ inspector: lazy(() => import("./InspectorModal-C1ZVZpT5.js").then((m) => ({ default: m.InspectorModal }))),
34
34
  upgradeDrive: UpgradeDriveModal,
35
35
  driveAuthRequired: lazy(() => import("./DriveAuthRequiredModal-XTcoJKvj.js").then((m) => ({ default: m.DriveAuthRequiredModal }))),
36
36
  login: lazy(() => import("./LoginModal-O06ZvWFI.js").then((m) => ({ default: m.LoginModal })))
@@ -62,5 +62,5 @@ const genericUi = {
62
62
  //#endregion
63
63
  export { genericUi as default };
64
64
 
65
- //# sourceMappingURL=ui-CwbE23ra.js.map
66
- //# debugId=a3e17e20-d606-5730-878b-3fae365b578c
65
+ //# sourceMappingURL=ui-BVOQ9tj_.js.map
66
+ //# debugId=9b567cea-3a20-5a9c-91fb-e93ffb3f4fbb
@@ -1 +1 @@
1
- {"version":3,"file":"ui-CwbE23ra.js","sources":["../src/generic/modals.ts","../src/generic/ui.tsx"],"sourcesContent":["import type { ConnectModals } from \"@powerhousedao/connect-core/router\";\nimport { lazy } from \"react\";\n\nconst AddDriveModal = lazy(() =>\n import(\"./modals/AddDriveModal.js\").then((m) => ({\n default: m.AddDriveModal,\n })),\n);\nconst ClearStorageModal = lazy(() =>\n import(\"./modals/ClearStorageModal.js\").then((m) => ({\n default: m.ClearStorageModal,\n })),\n);\nconst CreateDocumentModal = lazy(() =>\n import(\"./modals/CreateDocumentModal.js\").then((m) => ({\n default: m.CreateDocumentModal,\n })),\n);\nconst DebugSettingsModal = lazy(() =>\n import(\"./modals/DebugSettingsModal.js\").then((m) => ({\n default: m.DebugSettingsModal,\n })),\n);\nconst DeleteDriveModal = lazy(() =>\n import(\"./modals/DeleteDriveModal.js\").then((m) => ({\n default: m.DeleteDriveModal,\n })),\n);\nconst DeleteItemModal = lazy(() =>\n import(\"./modals/DeleteItemModal.js\").then((m) => ({\n default: m.DeleteItemModal,\n })),\n);\nconst DisclaimerModal = lazy(() =>\n import(\"./modals/DisclaimerModal.js\").then((m) => ({\n default: m.DisclaimerModal,\n })),\n);\nconst DriveSettingsModal = lazy(() =>\n import(\"./modals/DriveSettingsModal.js\").then((m) => ({\n default: m.DriveSettingsModal,\n })),\n);\nconst DownloadDocumentWithErrorsModal = lazy(() =>\n import(\"./modals/DownloadDocumentWithErrorsModal.js\").then((m) => ({\n default: m.DownloadDocumentWithErrorsModal,\n })),\n);\nconst DocumentVersionUnsupportedModal = lazy(() =>\n import(\"./modals/DocumentVersionUnsupportedModal.js\").then((m) => ({\n default: m.DocumentVersionUnsupportedModal,\n })),\n);\nconst ConfirmDocumentUpgradeModal = lazy(() =>\n import(\"./modals/ConfirmDocumentUpgradeModal.js\").then((m) => ({\n default: m.ConfirmDocumentUpgradeModal,\n })),\n);\nconst UpgradeDriveModal = lazy(() =>\n import(\"./modals/UpgradeDriveModal.js\").then((m) => ({\n default: m.UpgradeDriveModal,\n })),\n);\nconst InspectorModal = lazy(() =>\n import(\"./modals/InspectorModal/index.js\").then((m) => ({\n default: m.InspectorModal,\n })),\n);\nconst DriveAuthRequiredModal = lazy(() =>\n import(\"./modals/DriveAuthRequiredModal.js\").then((m) => ({\n default: m.DriveAuthRequiredModal,\n })),\n);\nconst LoginModal = lazy(() =>\n import(\"./modals/LoginModal.js\").then((m) => ({\n default: m.LoginModal,\n })),\n);\n\n/** The generic plugin's modals: its chrome's, and core's in its style.\n * \"settings\" is a page; showPHModal navigates to it. */\nexport const genericModals: ConnectModals = {\n addDrive: AddDriveModal,\n clearStorage: ClearStorageModal,\n createDocument: CreateDocumentModal,\n debugSettings: DebugSettingsModal,\n deleteDrive: DeleteDriveModal,\n deleteItem: DeleteItemModal,\n disclaimer: DisclaimerModal,\n driveSettings: DriveSettingsModal,\n downloadDocumentWithErrors: DownloadDocumentWithErrorsModal,\n documentVersionUnsupported: DocumentVersionUnsupportedModal,\n confirmDocumentUpgrade: ConfirmDocumentUpgradeModal,\n inspector: InspectorModal,\n upgradeDrive: UpgradeDriveModal,\n driveAuthRequired: DriveAuthRequiredModal,\n login: LoginModal,\n};\n","// The generic plugin's UI: Connect's sidebar, drives, editors, settings and\n// modals over core's routes. Loaded only while the plugin is active.\nimport type { ConnectPluginUi } from \"@powerhousedao/connect-core/plugins\";\nimport { AppLayout } from \"./layout/app-layout.js\";\nimport { DrivePending, RouteError } from \"./layout/route-views.js\";\nimport { genericModals } from \"./modals.js\";\nimport { DriveLayout, Home, NodeView } from \"./pages/content.js\";\nimport { SettingsPage } from \"./settings/tabs.js\";\nimport { settingsTabRoutes } from \"./settings-tabs.js\";\n\nconst GenericLayout = () => <AppLayout />;\n\nconst genericUi: ConnectPluginUi = {\n routes: {\n \"/_app\": { component: GenericLayout },\n \"/_app/\": { component: Home },\n \"/_app/d/$driveSlug\": {\n component: DriveLayout,\n pendingComponent: DrivePending,\n },\n \"/_app/d/$driveSlug/{-$nodeSlug}\": {\n component: NodeView,\n pendingComponent: DrivePending,\n },\n \"/_app/settings\": { component: SettingsPage },\n // Core's tabs; the package manager and the theme toggle replace them.\n \"/_app/settings/appearance\": { staticData: { settings: undefined } },\n \"/_app/settings/packages\": { staticData: { settings: undefined } },\n },\n addRoutes: settingsTabRoutes,\n modals: genericModals,\n errorComponent: RouteError,\n commonEditors: true,\n};\n\nexport default genericUi;\n"],"names":[],"mappings":";;;;;;AAGA,MAAM,gBAAgB,WACpB,OAAO,8BAA4B,CAAC,MAAM,OAAO,EAC/C,SAAS,EAAE,cACb,EAAE,CACJ;AACA,MAAM,oBAAoB,WACxB,OAAO,kCAAgC,CAAC,MAAM,OAAO,EACnD,SAAS,EAAE,kBACb,EAAE,CACJ;AACA,MAAM,sBAAsB,WAC1B,OAAO,oCAAkC,CAAC,MAAM,OAAO,EACrD,SAAS,EAAE,oBACb,EAAE,CACJ;AACA,MAAM,qBAAqB,WACzB,OAAO,mCAAiC,CAAC,MAAM,OAAO,EACpD,SAAS,EAAE,mBACb,EAAE,CACJ;AACA,MAAM,mBAAmB,WACvB,OAAO,iCAA+B,CAAC,MAAM,OAAO,EAClD,SAAS,EAAE,iBACb,EAAE,CACJ;AACA,MAAM,kBAAkB,WACtB,OAAO,gCAA8B,CAAC,MAAM,OAAO,EACjD,SAAS,EAAE,gBACb,EAAE,CACJ;AACA,MAAM,kBAAkB,WACtB,OAAO,gCAA8B,CAAC,MAAM,OAAO,EACjD,SAAS,EAAE,gBACb,EAAE,CACJ;AACA,MAAM,qBAAqB,WACzB,OAAO,mCAAiC,CAAC,MAAM,OAAO,EACpD,SAAS,EAAE,mBACb,EAAE,CACJ;AACA,MAAM,kCAAkC,WACtC,OAAO,gDAA8C,CAAC,MAAM,OAAO,EACjE,SAAS,EAAE,gCACb,EAAE,CACJ;AACA,MAAM,kCAAkC,WACtC,OAAO,gDAA8C,CAAC,MAAM,OAAO,EACjE,SAAS,EAAE,gCACb,EAAE,CACJ;AACA,MAAM,8BAA8B,WAClC,OAAO,4CAA0C,CAAC,MAAM,OAAO,EAC7D,SAAS,EAAE,4BACb,EAAE,CACJ;AACA,MAAM,oBAAoB,WACxB,OAAO,kCAAgC,CAAC,MAAM,OAAO,EACnD,SAAS,EAAE,kBACb,EAAE,CACJ;;;AAmBA,MAAa,gBAA+B;CAC1C,UAAU;CACV,cAAc;CACd,gBAAgB;CAChB,eAAe;CACf,aAAa;CACb,YAAY;CACZ,YAAY;CACZ,eAAe;CACf,4BAA4B;CAC5B,4BAA4B;CAC5B,wBAAwB;CACxB,WA9BqB,WACrB,OAAO,+BAAmC,CAAC,MAAM,OAAO,EACtD,SAAS,EAAE,eACb,EAAE,CA2BS;CACX,cAAc;CACd,mBA3B6B,WAC7B,OAAO,uCAAqC,CAAC,MAAM,OAAO,EACxD,SAAS,EAAE,uBACb,EAAE,CAwBiB;CACnB,OAvBiB,WACjB,OAAO,2BAAyB,CAAC,MAAM,OAAO,EAC5C,SAAS,EAAE,WACb,EAAE,CAoBK;AACT;;;ACvFA,MAAM,sBAAsB,oBAAC,WAAD,CAAY,CAAA;AAExC,MAAM,YAA6B;CACjC,QAAQ;EACN,SAAS,EAAE,WAAW,cAAc;EACpC,UAAU,EAAE,WAAW,KAAK;EAC5B,sBAAsB;GACpB,WAAW;GACX,kBAAkB;EACpB;EACA,mCAAmC;GACjC,WAAW;GACX,kBAAkB;EACpB;EACA,kBAAkB,EAAE,WAAW,aAAa;EAE5C,6BAA6B,EAAE,YAAY,EAAE,UAAU,KAAA,EAAU,EAAE;EACnE,2BAA2B,EAAE,YAAY,EAAE,UAAU,KAAA,EAAU,EAAE;CACnE;CACA,WAAW;CACX,QAAQ;CACR,gBAAgB;CAChB,eAAe;AACjB","debug_id":"a3e17e20-d606-5730-878b-3fae365b578c"}
1
+ {"version":3,"file":"ui-BVOQ9tj_.js","sources":["../src/generic/modals.ts","../src/generic/ui.tsx"],"sourcesContent":["import type { ConnectModals } from \"@powerhousedao/connect-core/router\";\nimport { lazy } from \"react\";\n\nconst AddDriveModal = lazy(() =>\n import(\"./modals/AddDriveModal.js\").then((m) => ({\n default: m.AddDriveModal,\n })),\n);\nconst ClearStorageModal = lazy(() =>\n import(\"./modals/ClearStorageModal.js\").then((m) => ({\n default: m.ClearStorageModal,\n })),\n);\nconst CreateDocumentModal = lazy(() =>\n import(\"./modals/CreateDocumentModal.js\").then((m) => ({\n default: m.CreateDocumentModal,\n })),\n);\nconst DebugSettingsModal = lazy(() =>\n import(\"./modals/DebugSettingsModal.js\").then((m) => ({\n default: m.DebugSettingsModal,\n })),\n);\nconst DeleteDriveModal = lazy(() =>\n import(\"./modals/DeleteDriveModal.js\").then((m) => ({\n default: m.DeleteDriveModal,\n })),\n);\nconst DeleteItemModal = lazy(() =>\n import(\"./modals/DeleteItemModal.js\").then((m) => ({\n default: m.DeleteItemModal,\n })),\n);\nconst DisclaimerModal = lazy(() =>\n import(\"./modals/DisclaimerModal.js\").then((m) => ({\n default: m.DisclaimerModal,\n })),\n);\nconst DriveSettingsModal = lazy(() =>\n import(\"./modals/DriveSettingsModal.js\").then((m) => ({\n default: m.DriveSettingsModal,\n })),\n);\nconst DownloadDocumentWithErrorsModal = lazy(() =>\n import(\"./modals/DownloadDocumentWithErrorsModal.js\").then((m) => ({\n default: m.DownloadDocumentWithErrorsModal,\n })),\n);\nconst DocumentVersionUnsupportedModal = lazy(() =>\n import(\"./modals/DocumentVersionUnsupportedModal.js\").then((m) => ({\n default: m.DocumentVersionUnsupportedModal,\n })),\n);\nconst ConfirmDocumentUpgradeModal = lazy(() =>\n import(\"./modals/ConfirmDocumentUpgradeModal.js\").then((m) => ({\n default: m.ConfirmDocumentUpgradeModal,\n })),\n);\nconst UpgradeDriveModal = lazy(() =>\n import(\"./modals/UpgradeDriveModal.js\").then((m) => ({\n default: m.UpgradeDriveModal,\n })),\n);\nconst InspectorModal = lazy(() =>\n import(\"./modals/InspectorModal/index.js\").then((m) => ({\n default: m.InspectorModal,\n })),\n);\nconst DriveAuthRequiredModal = lazy(() =>\n import(\"./modals/DriveAuthRequiredModal.js\").then((m) => ({\n default: m.DriveAuthRequiredModal,\n })),\n);\nconst LoginModal = lazy(() =>\n import(\"./modals/LoginModal.js\").then((m) => ({\n default: m.LoginModal,\n })),\n);\n\n/** The generic plugin's modals: its chrome's, and core's in its style.\n * \"settings\" is a page; showPHModal navigates to it. */\nexport const genericModals: ConnectModals = {\n addDrive: AddDriveModal,\n clearStorage: ClearStorageModal,\n createDocument: CreateDocumentModal,\n debugSettings: DebugSettingsModal,\n deleteDrive: DeleteDriveModal,\n deleteItem: DeleteItemModal,\n disclaimer: DisclaimerModal,\n driveSettings: DriveSettingsModal,\n downloadDocumentWithErrors: DownloadDocumentWithErrorsModal,\n documentVersionUnsupported: DocumentVersionUnsupportedModal,\n confirmDocumentUpgrade: ConfirmDocumentUpgradeModal,\n inspector: InspectorModal,\n upgradeDrive: UpgradeDriveModal,\n driveAuthRequired: DriveAuthRequiredModal,\n login: LoginModal,\n};\n","// The generic plugin's UI: Connect's sidebar, drives, editors, settings and\n// modals over core's routes. Loaded only while the plugin is active.\nimport type { ConnectPluginUi } from \"@powerhousedao/connect-core/plugins\";\nimport { AppLayout } from \"./layout/app-layout.js\";\nimport { DrivePending, RouteError } from \"./layout/route-views.js\";\nimport { genericModals } from \"./modals.js\";\nimport { DriveLayout, Home, NodeView } from \"./pages/content.js\";\nimport { SettingsPage } from \"./settings/tabs.js\";\nimport { settingsTabRoutes } from \"./settings-tabs.js\";\n\nconst GenericLayout = () => <AppLayout />;\n\nconst genericUi: ConnectPluginUi = {\n routes: {\n \"/_app\": { component: GenericLayout },\n \"/_app/\": { component: Home },\n \"/_app/d/$driveSlug\": {\n component: DriveLayout,\n pendingComponent: DrivePending,\n },\n \"/_app/d/$driveSlug/{-$nodeSlug}\": {\n component: NodeView,\n pendingComponent: DrivePending,\n },\n \"/_app/settings\": { component: SettingsPage },\n // Core's tabs; the package manager and the theme toggle replace them.\n \"/_app/settings/appearance\": { staticData: { settings: undefined } },\n \"/_app/settings/packages\": { staticData: { settings: undefined } },\n },\n addRoutes: settingsTabRoutes,\n modals: genericModals,\n errorComponent: RouteError,\n commonEditors: true,\n};\n\nexport default genericUi;\n"],"names":[],"mappings":";;;;;;AAGA,MAAM,gBAAgB,WACpB,OAAO,8BAA4B,CAAC,MAAM,OAAO,EAC/C,SAAS,EAAE,cACb,EAAE,CACJ;AACA,MAAM,oBAAoB,WACxB,OAAO,kCAAgC,CAAC,MAAM,OAAO,EACnD,SAAS,EAAE,kBACb,EAAE,CACJ;AACA,MAAM,sBAAsB,WAC1B,OAAO,oCAAkC,CAAC,MAAM,OAAO,EACrD,SAAS,EAAE,oBACb,EAAE,CACJ;AACA,MAAM,qBAAqB,WACzB,OAAO,mCAAiC,CAAC,MAAM,OAAO,EACpD,SAAS,EAAE,mBACb,EAAE,CACJ;AACA,MAAM,mBAAmB,WACvB,OAAO,iCAA+B,CAAC,MAAM,OAAO,EAClD,SAAS,EAAE,iBACb,EAAE,CACJ;AACA,MAAM,kBAAkB,WACtB,OAAO,gCAA8B,CAAC,MAAM,OAAO,EACjD,SAAS,EAAE,gBACb,EAAE,CACJ;AACA,MAAM,kBAAkB,WACtB,OAAO,gCAA8B,CAAC,MAAM,OAAO,EACjD,SAAS,EAAE,gBACb,EAAE,CACJ;AACA,MAAM,qBAAqB,WACzB,OAAO,mCAAiC,CAAC,MAAM,OAAO,EACpD,SAAS,EAAE,mBACb,EAAE,CACJ;AACA,MAAM,kCAAkC,WACtC,OAAO,gDAA8C,CAAC,MAAM,OAAO,EACjE,SAAS,EAAE,gCACb,EAAE,CACJ;AACA,MAAM,kCAAkC,WACtC,OAAO,gDAA8C,CAAC,MAAM,OAAO,EACjE,SAAS,EAAE,gCACb,EAAE,CACJ;AACA,MAAM,8BAA8B,WAClC,OAAO,4CAA0C,CAAC,MAAM,OAAO,EAC7D,SAAS,EAAE,4BACb,EAAE,CACJ;AACA,MAAM,oBAAoB,WACxB,OAAO,kCAAgC,CAAC,MAAM,OAAO,EACnD,SAAS,EAAE,kBACb,EAAE,CACJ;;;AAmBA,MAAa,gBAA+B;CAC1C,UAAU;CACV,cAAc;CACd,gBAAgB;CAChB,eAAe;CACf,aAAa;CACb,YAAY;CACZ,YAAY;CACZ,eAAe;CACf,4BAA4B;CAC5B,4BAA4B;CAC5B,wBAAwB;CACxB,WA9BqB,WACrB,OAAO,+BAAmC,CAAC,MAAM,OAAO,EACtD,SAAS,EAAE,eACb,EAAE,CA2BS;CACX,cAAc;CACd,mBA3B6B,WAC7B,OAAO,uCAAqC,CAAC,MAAM,OAAO,EACxD,SAAS,EAAE,uBACb,EAAE,CAwBiB;CACnB,OAvBiB,WACjB,OAAO,2BAAyB,CAAC,MAAM,OAAO,EAC5C,SAAS,EAAE,WACb,EAAE,CAoBK;AACT;;;ACvFA,MAAM,sBAAsB,oBAAC,WAAD,CAAY,CAAA;AAExC,MAAM,YAA6B;CACjC,QAAQ;EACN,SAAS,EAAE,WAAW,cAAc;EACpC,UAAU,EAAE,WAAW,KAAK;EAC5B,sBAAsB;GACpB,WAAW;GACX,kBAAkB;EACpB;EACA,mCAAmC;GACjC,WAAW;GACX,kBAAkB;EACpB;EACA,kBAAkB,EAAE,WAAW,aAAa;EAE5C,6BAA6B,EAAE,YAAY,EAAE,UAAU,KAAA,EAAU,EAAE;EACnE,2BAA2B,EAAE,YAAY,EAAE,UAAU,KAAA,EAAU,EAAE;CACnE;CACA,WAAW;CACX,QAAQ;CACR,gBAAgB;CAChB,eAAe;AACjB","debug_id":"9b567cea-3a20-5a9c-91fb-e93ffb3f4fbb"}
@@ -0,0 +1,63 @@
1
+
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6638d7f-de22-586b-ade3-9df63b508326")}catch(e){}}();
3
+ import { z } from "zod";
4
+ import { connectDriveSectionsSchema, connectDrivesSchema, connectHomeSchema, connectOpenPanelSchema, connectSentrySchema } from "@powerhousedao/shared/connect/connect-config-schema";
5
+ import { ref } from "@powerhousedao/shared/host-tokens";
6
+ //#region src/plugin-configs/assistant.ts
7
+ /** `@powerhousedao/connect/plugins/assistant` takes no entry config: presence
8
+ * is the `ai.assistantEnabled` switch. */
9
+ const assistantConfigSchema = z.strictObject({});
10
+ //#endregion
11
+ //#region src/plugin-configs/generic.ts
12
+ const genericConfigSchema = z.strictObject({
13
+ allowAddDrive: connectDrivesSchema.shape.allowAddDrive,
14
+ sections: connectDriveSectionsSchema.optional(),
15
+ icons: connectDrivesSchema.shape.icons,
16
+ homeBackground: connectHomeSchema.shape.background
17
+ });
18
+ //#endregion
19
+ //#region src/plugin-configs/openpanel.ts
20
+ /** The `@powerhousedao/connect/plugins/openpanel` entry config IS the
21
+ * `connect.openPanel` slice, typed and validated by that slice's
22
+ * single-source schema (a typo'd key fails). */
23
+ const openPanelConfigSchema = connectOpenPanelSchema;
24
+ //#endregion
25
+ //#region src/plugin-configs/sentry.ts
26
+ /** The `@powerhousedao/connect/plugins/sentry` entry config IS the
27
+ * `connect.sentry` slice, typed and validated by that slice's single-source
28
+ * schema (a typo'd key fails). */
29
+ const sentryConfigSchema = connectSentrySchema;
30
+ //#endregion
31
+ //#region src/plugin-configs/vetra-studio.ts
32
+ /** `@powerhousedao/vetra-studio/connect` takes no entry config: presence is
33
+ * the studio-mode switch. */
34
+ const vetraStudioConfigSchema = z.strictObject({});
35
+ //#endregion
36
+ //#region src/plugin-configs/workflows.ts
37
+ /** The token form that replaced `{ from, slug }` drive references. */
38
+ const DRIVE_TOKEN_HINT = "use switchboard.drives.workflows.url from ../switchboard/outputs.js, or { $output: { host: \"switchboard\", path: [\"drives\", \"workflows\", \"url\"] } }";
39
+ /** `{ from, slug }`: the compound drive reference output tokens replaced.
40
+ * (A schema, not an `in` check: the import-allowlist scans read a quoted
41
+ * `from` as an import specifier.) */
42
+ const removedDriveReferenceSchema = z.looseObject({
43
+ from: z.string(),
44
+ slug: z.string()
45
+ });
46
+ /** `drive` as `ref(z.url())`, with the removed `{ from, slug }` form named
47
+ * in its error instead of zod's generic union message. */
48
+ const driveSchema = z.union(ref(z.url()).options, { error: (issue) => removedDriveReferenceSchema.safeParse(issue.input).success ? `drive: { from, slug } was removed; ${DRIVE_TOKEN_HINT}` : void 0 });
49
+ /** The `@powerhousedao/connect/plugins/workflows` entry config. `drive` is
50
+ * the switchboard's Workflows drive URL; a host file usually writes it as an
51
+ * output token, which `ph run` resolves before the config reaches the
52
+ * browser. */
53
+ const workflowsConnectConfigSchema = z.strictObject({
54
+ drive: driveSchema.optional(),
55
+ /** Display name for the attached drive entry (the drive's own name wins
56
+ * once it syncs). */
57
+ name: z.string().min(1).optional()
58
+ });
59
+ //#endregion
60
+ export { genericConfigSchema as a, openPanelConfigSchema as i, vetraStudioConfigSchema as n, assistantConfigSchema as o, sentryConfigSchema as r, workflowsConnectConfigSchema as t };
61
+
62
+ //# sourceMappingURL=workflows-C3qEvx1R.js.map
63
+ //# debugId=e6638d7f-de22-586b-ade3-9df63b508326
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflows-C3qEvx1R.js","sources":["../src/plugin-configs/assistant.ts","../src/plugin-configs/generic.ts","../src/plugin-configs/openpanel.ts","../src/plugin-configs/sentry.ts","../src/plugin-configs/vetra-studio.ts","../src/plugin-configs/workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\n/** `@powerhousedao/connect/plugins/assistant` takes no entry config: presence\n * is the `ai.assistantEnabled` switch. */\nexport const assistantConfigSchema = z.strictObject({});\n\n/** What a host.js entry writes (a type alias, so it stays assignable to the\n * runtime `PluginEntryData` config record). */\nexport type AssistantConfigInput = z.input<typeof assistantConfigSchema>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/connect/plugins/assistant\": AssistantConfigInput;\n }\n}\n","import {\n connectDriveSectionsSchema,\n connectDrivesSchema,\n connectHomeSchema,\n} from \"@powerhousedao/shared/connect/connect-config-schema\";\nimport { z } from \"zod\";\n\n// The `@powerhousedao/connect/plugins/generic` entry config is the owned\n// slices themselves, typed by the single-source Connect config schemas\n// (typed-host-configs 1.6): `allowAddDrive`, `sections` and `icons` are\n// `connect.drives.*`, `homeBackground` is `connect.home.background`. Strict,\n// so a typo'd key fails instead of being ignored. The build's image\n// resolution keeps the shape, so the same schema holds before and after it.\nexport const genericConfigSchema = z.strictObject({\n allowAddDrive: connectDrivesSchema.shape.allowAddDrive,\n sections: connectDriveSectionsSchema.optional(),\n icons: connectDrivesSchema.shape.icons,\n homeBackground: connectHomeSchema.shape.background,\n});\n\nexport type GenericConfig = z.output<typeof genericConfigSchema>;\n\n/** What a host.js entry writes. A type alias, not an interface, so it stays\n * assignable to the runtime `PluginEntryData` config record. */\nexport type GenericConfigInput = z.input<typeof genericConfigSchema>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/connect/plugins/generic\": GenericConfigInput;\n }\n}\n","import { connectOpenPanelSchema } from \"@powerhousedao/shared/connect/connect-config-schema\";\nimport type { z } from \"zod\";\n\n/** The `@powerhousedao/connect/plugins/openpanel` entry config IS the\n * `connect.openPanel` slice, typed and validated by that slice's\n * single-source schema (a typo'd key fails). */\nexport const openPanelConfigSchema = connectOpenPanelSchema;\n\n/** What a host.js entry writes (a type alias, so it stays assignable to the\n * runtime `PluginEntryData` config record). */\nexport type OpenPanelConfigInput = z.input<typeof openPanelConfigSchema>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/connect/plugins/openpanel\": OpenPanelConfigInput;\n }\n}\n","import { connectSentrySchema } from \"@powerhousedao/shared/connect/connect-config-schema\";\nimport type { z } from \"zod\";\n\n/** The `@powerhousedao/connect/plugins/sentry` entry config IS the\n * `connect.sentry` slice, typed and validated by that slice's single-source\n * schema (a typo'd key fails). */\nexport const sentryConfigSchema = connectSentrySchema;\n\n/** What a host.js entry writes (a type alias, so it stays assignable to the\n * runtime `PluginEntryData` config record). */\nexport type SentryConfigInput = z.input<typeof sentryConfigSchema>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/connect/plugins/sentry\": SentryConfigInput;\n }\n}\n","import { z } from \"zod\";\n\n/** `@powerhousedao/vetra-studio/connect` takes no entry config: presence is\n * the studio-mode switch. */\nexport const vetraStudioConfigSchema = z.strictObject({});\n\n/** What a host.js entry writes (a type alias, so it stays assignable to the\n * runtime `PluginEntryData` config record). */\nexport type VetraStudioConfigInput = z.input<typeof vetraStudioConfigSchema>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/vetra-studio/connect\": VetraStudioConfigInput;\n }\n}\n","import { ref } from \"@powerhousedao/shared/host-tokens\";\nimport { z } from \"zod\";\n\n/** The token form that replaced `{ from, slug }` drive references. */\nconst DRIVE_TOKEN_HINT =\n 'use switchboard.drives.workflows.url from ../switchboard/outputs.js, or { $output: { host: \"switchboard\", path: [\"drives\", \"workflows\", \"url\"] } }';\n\n/** `{ from, slug }`: the compound drive reference output tokens replaced.\n * (A schema, not an `in` check: the import-allowlist scans read a quoted\n * `from` as an import specifier.) */\nconst removedDriveReferenceSchema = z.looseObject({\n from: z.string(),\n slug: z.string(),\n});\n\n/** `drive` as `ref(z.url())`, with the removed `{ from, slug }` form named\n * in its error instead of zod's generic union message. */\nconst driveSchema = z.union(ref(z.url()).options, {\n error: (issue) =>\n removedDriveReferenceSchema.safeParse(issue.input).success\n ? `drive: { from, slug } was removed; ${DRIVE_TOKEN_HINT}`\n : undefined,\n});\n\n/** The `@powerhousedao/connect/plugins/workflows` entry config. `drive` is\n * the switchboard's Workflows drive URL; a host file usually writes it as an\n * output token, which `ph run` resolves before the config reaches the\n * browser. */\nexport const workflowsConnectConfigSchema = z.strictObject({\n drive: driveSchema.optional(),\n /** Display name for the attached drive entry (the drive's own name wins\n * once it syncs). */\n name: z.string().min(1).optional(),\n});\n\nexport type WorkflowsConnectConfig = z.infer<\n typeof workflowsConnectConfigSchema\n>;\n\n/** What a host.js entry writes: `drive` is a URL or an output token. A type\n * alias, not an interface, so it stays assignable to the runtime\n * `PluginEntryData` config record. */\nexport type WorkflowsConnectConfigInput = z.input<\n typeof workflowsConnectConfigSchema\n>;\n\ndeclare global {\n interface PHPluginConfigs {\n \"@powerhousedao/connect/plugins/workflows\": WorkflowsConnectConfigInput;\n }\n}\n"],"names":[],"mappings":";;;;;;;;AAIA,MAAa,wBAAwB,EAAE,aAAa,CAAC,CAAC;;;ACStD,MAAa,sBAAsB,EAAE,aAAa;CAChD,eAAe,oBAAoB,MAAM;CACzC,UAAU,2BAA2B,SAAS;CAC9C,OAAO,oBAAoB,MAAM;CACjC,gBAAgB,kBAAkB,MAAM;AAC1C,CAAC;;;;;;ACZD,MAAa,wBAAwB;;;;;;ACArC,MAAa,qBAAqB;;;;;ACFlC,MAAa,0BAA0B,EAAE,aAAa,CAAC,CAAC;;;;ACAxD,MAAM,mBACJ;;;;AAKF,MAAM,8BAA8B,EAAE,YAAY;CAChD,MAAM,EAAE,OAAO;CACf,MAAM,EAAE,OAAO;AACjB,CAAC;;;AAID,MAAM,cAAc,EAAE,MAAM,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,EAChD,QAAQ,UACN,4BAA4B,UAAU,MAAM,KAAK,CAAC,CAAC,UAC/C,sCAAsC,qBACtC,KAAA,EACR,CAAC;;;;;AAMD,MAAa,+BAA+B,EAAE,aAAa;CACzD,OAAO,YAAY,SAAS;;;CAG5B,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;AACnC,CAAC","debug_id":"e6638d7f-de22-586b-ade3-9df63b508326"}
@@ -46,6 +46,56 @@ function DocumentSummary() {
46
46
  - Connect starts the reactor before it renders the router, so `reactorClient` is set in Connect. The check satisfies the type.
47
47
  - Loader data is a snapshot. It does not update when the document changes. For live data, read it in the component with the `@powerhousedao/reactor-browser` hooks (`useDrives`, `useDocument`, `useDocumentById`).
48
48
  - `store.drives` holds the drives that have arrived. On a deep link to a remote drive, it can be incomplete while `arrivals.isPending()` is true.
49
+ - `useDocument`, `useDocumentById`, `useDocumentsByIds` and `useDocumentsOfType` suspend until their documents load. Put a `<Suspense>` boundary around the component that calls them, or give the route a `pendingComponent`; otherwise the nearest boundary above shows its fallback, which can be the whole layout.
50
+
51
+ ### Documents of one type, across drives
52
+
53
+ `useDocumentsOfType` takes a document model module and returns its documents from every drive, a page at a time, typed by the module. The module is the `PascalCase` constant `ph generate` writes for the model, exported from `document-models/<name>`:
54
+
55
+ ```tsx
56
+ // hosts/connect/routes/_app/ledgers.tsx
57
+ import { ProductionLedger } from "document-models/production-ledger";
58
+ import {
59
+ loadDocumentsOfType,
60
+ useDocumentLinkProps,
61
+ useDocumentsOfType,
62
+ } from "@powerhousedao/reactor-browser";
63
+ import { createFileRoute } from "@tanstack/react-router";
64
+
65
+ export const Route = createFileRoute("/_app/ledgers")({
66
+ // The first page arrives with the route, so the page doesn't suspend.
67
+ loader: () => loadDocumentsOfType(ProductionLedger, { limit: 20 }),
68
+ component: Ledgers,
69
+ });
70
+
71
+ function Ledgers() {
72
+ const { documents, hasNextPage, loadNextPage } = useDocumentsOfType(
73
+ ProductionLedger,
74
+ { limit: 20 },
75
+ );
76
+ return (
77
+ <ul>
78
+ {documents.map((ledger) => (
79
+ <LedgerRow key={ledger.header.id} id={ledger.header.id} name={ledger.header.name} />
80
+ ))}
81
+ {hasNextPage && <button onClick={loadNextPage}>More</button>}
82
+ </ul>
83
+ );
84
+ }
85
+
86
+ function LedgerRow({ id, name }: { id: string; name: string }) {
87
+ // Opens the document in its drive; undefined until a loaded drive lists it.
88
+ const link = useDocumentLinkProps(id);
89
+ return <li>{link ? <a {...link}>{name}</a> : name}</li>;
90
+ }
91
+ ```
92
+
93
+ - `limit` is the page size (25 by default). `loadNextPage()` appends the next page; `hasNextPage` and `isLoadingNextPage` say where it is.
94
+ - The order is the reactor's, not sorted; a local reactor returns them grouped by drive. Sort on the page when order matters.
95
+ - Each document is checked against the module's schema. Documents of the type that fail it, e.g. written by another version of the model, are in `invalid`, not in `documents`.
96
+ - The list follows documents being created and deleted, and each document updates as it changes.
97
+ - In a Connect with a local reactor, the list is what the browser has synced so far.
98
+ - `useDocumentLinkProps(id)` links any document by id through the drive that lists it, and `useDocumentTarget(id)` gives its `{ driveSlug, nodeSlug }`.
49
99
 
50
100
  ### The open drive and document
51
101
 
@@ -0,0 +1,42 @@
1
+ # Drive apps
2
+
3
+ A drive app is the view Connect shows for a drive: its own listing, forms and tools around the open document. It is an editor module for `powerhouse/document-drive`, shipped by a package like any editor. Routes change Connect around it ([overrides.md](./overrides.md)); this guide is the app itself.
4
+
5
+ ## Make one
6
+
7
+ Create a `powerhouse/app` document in the Vetra drive, the way `AGENTS.md` makes an editor: give it a name and the document types it holds, then set it to CONFIRMED. Codegen writes `editors/<app-id>/`:
8
+
9
+ - `editor.tsx`, the app's root. Codegen writes it once and never again, so edit it.
10
+ - `components/`, a folder tree, folder contents and a create button to start from; it too stays yours.
11
+ - `config.ts`, the app's `allowedDocumentTypes` and drag and drop.
12
+
13
+ ## What it gets
14
+
15
+ Connect renders the app in the drive route with these props:
16
+
17
+ - `document`: the drive.
18
+ - `dispatch`: bound to the drive, for drive actions such as `addFolder` and `moveNode` from `@powerhousedao/shared/document-drive`. `moveNode({ srcFolder, targetParentFolder })` moves any node: `srcFolder` is the id of the file or folder being moved.
19
+ - `children`: the open document's editor, or `null` on a folder or the drive's root. Render it where the document goes, and the app's own view when it is `null`.
20
+
21
+ Inside it, the `@powerhousedao/reactor-browser` hooks read the route it is shown in:
22
+
23
+ - `useSelectedDrive()` (a `[drive, dispatch]` pair), `useSelectedFolder()`, `useSelectedNode()` and `useNodesInSelectedDrive()`.
24
+ - `useNodesInSelectedDriveOrFolder()` lists the open folder, or the drive's root when no folder is open. `useNodesInSelectedFolder()` and the generated `use<Model>DocumentsInSelectedFolder()` give `undefined` at the root.
25
+ - `setSelectedNode(id)` opens a folder or document; `setSelectedNode(undefined)` goes back to the drive's root. Both are router navigations, so Back, Forward and reloads land on the same node.
26
+ - `useLinkProps(useNodeTarget(node))` makes a row a real link.
27
+ - `getDriveName(drive)` is the drive's display name; drives made in the UI leave `header.name` empty.
28
+ - `showCreateDocumentModal(type)` opens Connect's create modal, which adds the document to the open folder and opens it.
29
+ - Documents in Connect don't carry their operations, so `document.operations.global` can be undefined; read history with `useDocumentOperations(id, "global")`.
30
+
31
+ The `reactor-browser` actions do the same work from outside the app: `addFolder(driveId, name, parentId?)`, `renameDriveNode(driveId, nodeId, name)` and `deleteNode(driveId, nodeId)`.
32
+
33
+ ## Which app a drive shows
34
+
35
+ A drive shows the app its `header.meta.preferredEditor` names. With none, or an app no loaded package has, Connect shows its Drive Explorer (`powerhouse/generic-drive-explorer`); a host without the generic plugin shows core's directory listing.
36
+
37
+ - **A new drive in the UI:** Create Drive's "Drive App" picker. Package apps are listed first, so a project's app is preselected.
38
+ - **A new drive in code:** `addDrive(input, appId)` from `@powerhousedao/reactor-browser`, or `driveInput.preferredEditor` in the MCP `addDrive` tool.
39
+ - **A drive every user gets:** a local entry in `connect.drives.defaultDrives` with `"app": "<app-id>"` ([RUNTIME-CONFIG.md](../../RUNTIME-CONFIG.md)). Connect creates it on first boot and opens it in that app.
40
+ - **An existing drive:** `setPreferredEditorOnNode(driveId, appId)` from `@powerhousedao/reactor-browser`, which dispatches `setPreferredEditor`. Connect has no UI for this yet, so a project that needs it adds a button, e.g. on a page that lists the drives. The change syncs like any other drive operation.
41
+
42
+ The home cards and `useAppModuleById(drive.header.meta?.preferredEditor)` show which app a drive uses.
@@ -39,6 +39,29 @@ export default {
39
39
  }
40
40
  ```
41
41
 
42
+ - Lint can't use that tsconfig: oxlint's type-aware rules check every file against the project's `tsconfig.json`, so they report the host's route ids as errors. Add the folder to `.oxlintrc.json`'s `ignorePatterns`, and type-check it with `tsc -p hosts/lab/routes/tsconfig.json`.
43
+
44
+ ## Run a host
45
+
46
+ `ph run <host> <verb>` runs a host with its runner: `dev`, `build` and `serve` for a Connect host. It is behind a flag for now, for `ph` and `ph-cli` alike:
47
+
48
+ ```bash
49
+ FEATURE_UNIFORM_RUNNERS_ENABLED=1 ph run lab dev
50
+ ```
51
+
52
+ - `ph init` with the same flag writes a `hosts/<name>/host.js` for each built-in host (`connect`, `switchboard`, `vetra` and the others) and a `hosts/README.md` on their format. Without it, `ph init` writes only `hosts/connect/style.css`; write a host's `host.js` yourself, as above.
53
+ - `build` writes to the host's `runner.outDir`, by default `.ph/connect-build/dist` as `ph connect build` does, and `serve` serves the same folder. `dist/` is the package that `ph build` writes.
54
+ - Each host's dev server keeps its own Vite cache, `node_modules/.vite-<host>`, so `ph vetra` and `ph run lab dev` can run side by side.
55
+
56
+ The setting that picks each command's port:
57
+
58
+ | Command | Port | Default |
59
+ | --- | --- | --- |
60
+ | `ph connect studio` | `--port` | 3000 |
61
+ | `ph vetra` | `--connect-port`, else `PH_VETRA_CONNECT_PORT`, else `vetra.connectPort` | 3001 |
62
+ | `ph connect preview` | `--port` | 4173 |
63
+ | `ph run <host> dev` and `serve` | the host's `runner.port`; the `hosts/connect/host.js` that `ph init` writes under the flag reads `studio.port` | 3000 |
64
+
42
65
  ## Host plugins
43
66
 
44
67
  `hosts/connect/host.js` also lists `runner.plugins`, read by `ph run connect`. They transform the served runtime config through the plugin host in `@powerhousedao/connect-core` (its `src/plugins/plugin-host.ts`), which runs the built-in plugins Connect registers ([`apps/connect/src/plugins/`](https://github.com/powerhouse-inc/powerhouse/tree/main/apps/connect/src/plugins)): `@powerhousedao/connect/plugins/generic` (`allowAddDrive`, drive sections), `.../sentry`, `.../openpanel` and `.../assistant`. A listed plugin switches its slice of the config on, and an unlisted one switches it off. Other modules are skipped with a warning.