@scayle/storefront-devtools 0.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +222 -0
  3. package/dist/_chunks/clipboard-DrVHc2QA.mjs +61 -0
  4. package/dist/_chunks/diff-DzJ5arJj.mjs +169 -0
  5. package/dist/_chunks/panel-uV5ITqhY.mjs +51 -0
  6. package/dist/_chunks/redact-DmIF-iyk.mjs +96 -0
  7. package/dist/_chunks/useStore-Db8RZW8T.mjs +10 -0
  8. package/dist/group.d.ts +42 -0
  9. package/dist/group.d.ts.map +1 -0
  10. package/dist/index.d.ts +23 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.mjs +178 -0
  13. package/dist/inertia/client/index.d.mts +13 -0
  14. package/dist/inertia/client/index.d.ts +7 -0
  15. package/dist/inertia/client/index.d.ts.map +1 -0
  16. package/dist/inertia/client/index.mjs +694 -0
  17. package/dist/inertia/core/capture.d.ts +15 -0
  18. package/dist/inertia/core/capture.d.ts.map +1 -0
  19. package/dist/inertia/core/correlator.d.ts +91 -0
  20. package/dist/inertia/core/correlator.d.ts.map +1 -0
  21. package/dist/inertia/core/diagnostics.d.ts +10 -0
  22. package/dist/inertia/core/diagnostics.d.ts.map +1 -0
  23. package/dist/inertia/core/diff.d.ts +33 -0
  24. package/dist/inertia/core/diff.d.ts.map +1 -0
  25. package/dist/inertia/core/events-tab.d.ts +20 -0
  26. package/dist/inertia/core/events-tab.d.ts.map +1 -0
  27. package/dist/inertia/core/feature-info.d.ts +14 -0
  28. package/dist/inertia/core/feature-info.d.ts.map +1 -0
  29. package/dist/inertia/core/features.d.ts +27 -0
  30. package/dist/inertia/core/features.d.ts.map +1 -0
  31. package/dist/inertia/core/history-capture.d.ts +15 -0
  32. package/dist/inertia/core/history-capture.d.ts.map +1 -0
  33. package/dist/inertia/core/interceptors.d.ts +69 -0
  34. package/dist/inertia/core/interceptors.d.ts.map +1 -0
  35. package/dist/inertia/core/markdown.d.ts +10 -0
  36. package/dist/inertia/core/markdown.d.ts.map +1 -0
  37. package/dist/inertia/core/network.d.ts +34 -0
  38. package/dist/inertia/core/network.d.ts.map +1 -0
  39. package/dist/inertia/core/protocol.d.ts +38 -0
  40. package/dist/inertia/core/protocol.d.ts.map +1 -0
  41. package/dist/inertia/core/request-tree.d.ts +18 -0
  42. package/dist/inertia/core/request-tree.d.ts.map +1 -0
  43. package/dist/inertia/core/response.d.ts +39 -0
  44. package/dist/inertia/core/response.d.ts.map +1 -0
  45. package/dist/inertia/core/session.d.ts +18 -0
  46. package/dist/inertia/core/session.d.ts.map +1 -0
  47. package/dist/inertia/core/store.d.ts +40 -0
  48. package/dist/inertia/core/store.d.ts.map +1 -0
  49. package/dist/inertia/core/types.d.ts +112 -0
  50. package/dist/inertia/core/types.d.ts.map +1 -0
  51. package/dist/inertia/core/url.d.ts +11 -0
  52. package/dist/inertia/core/url.d.ts.map +1 -0
  53. package/dist/inertia/plugin.d.ts +11 -0
  54. package/dist/inertia/plugin.d.ts.map +1 -0
  55. package/dist/inertia/renderer/index.d.mts +16 -0
  56. package/dist/inertia/renderer/index.mjs +771 -0
  57. package/dist/inject.d.ts +12 -0
  58. package/dist/inject.d.ts.map +1 -0
  59. package/dist/orpc/client/index.d.mts +13 -0
  60. package/dist/orpc/client/index.d.ts +7 -0
  61. package/dist/orpc/client/index.d.ts.map +1 -0
  62. package/dist/orpc/client/index.mjs +502 -0
  63. package/dist/orpc/core/capture.d.ts +32 -0
  64. package/dist/orpc/core/capture.d.ts.map +1 -0
  65. package/dist/orpc/core/classify.d.ts +14 -0
  66. package/dist/orpc/core/classify.d.ts.map +1 -0
  67. package/dist/orpc/core/curl.d.ts +11 -0
  68. package/dist/orpc/core/curl.d.ts.map +1 -0
  69. package/dist/orpc/core/markdown.d.ts +12 -0
  70. package/dist/orpc/core/markdown.d.ts.map +1 -0
  71. package/dist/orpc/core/orpc-error.d.ts +18 -0
  72. package/dist/orpc/core/orpc-error.d.ts.map +1 -0
  73. package/dist/orpc/core/serialize.d.ts +12 -0
  74. package/dist/orpc/core/serialize.d.ts.map +1 -0
  75. package/dist/orpc/core/session.d.ts +15 -0
  76. package/dist/orpc/core/session.d.ts.map +1 -0
  77. package/dist/orpc/core/store.d.ts +50 -0
  78. package/dist/orpc/core/store.d.ts.map +1 -0
  79. package/dist/orpc/core/types.d.ts +67 -0
  80. package/dist/orpc/core/types.d.ts.map +1 -0
  81. package/dist/orpc/core/url.d.ts +12 -0
  82. package/dist/orpc/core/url.d.ts.map +1 -0
  83. package/dist/orpc/plugin.d.ts +10 -0
  84. package/dist/orpc/plugin.d.ts.map +1 -0
  85. package/dist/orpc/renderer/index.d.mts +16 -0
  86. package/dist/orpc/renderer/index.mjs +457 -0
  87. package/dist/resource-center/client/index.mjs +21 -0
  88. package/dist/resource-center/client.d.ts +3 -0
  89. package/dist/resource-center/client.d.ts.map +1 -0
  90. package/dist/resource-center/plugin.d.ts +12 -0
  91. package/dist/resource-center/plugin.d.ts.map +1 -0
  92. package/dist/shared/clipboard.d.ts +9 -0
  93. package/dist/shared/clipboard.d.ts.map +1 -0
  94. package/dist/shared/redact.d.ts +27 -0
  95. package/dist/shared/redact.d.ts.map +1 -0
  96. package/dist/shared/safe-clone.d.ts +46 -0
  97. package/dist/shared/safe-clone.d.ts.map +1 -0
  98. package/dist/shared/session-storage.d.ts +18 -0
  99. package/dist/shared/session-storage.d.ts.map +1 -0
  100. package/dist/shared/use-window-store.d.ts +18 -0
  101. package/dist/shared/use-window-store.d.ts.map +1 -0
  102. package/dist/storefront/plugin.d.ts +9 -0
  103. package/dist/storefront/plugin.d.ts.map +1 -0
  104. package/dist/storefront/renderer/index.d.mts +16 -0
  105. package/dist/storefront/renderer/index.mjs +124 -0
  106. package/dist/vue-devtools/client/index.mjs +4912 -0
  107. package/dist/vue-devtools/client.d.ts +2 -0
  108. package/dist/vue-devtools/client.d.ts.map +1 -0
  109. package/dist/vue-devtools/plugin.d.ts +14 -0
  110. package/dist/vue-devtools/plugin.d.ts.map +1 -0
  111. package/dist/vue-devtools/ui/assets/css-8QJvnqUH.js +1 -0
  112. package/dist/vue-devtools/ui/assets/css-CaJ9TzKE.js +1 -0
  113. package/dist/vue-devtools/ui/assets/diff-woXpYk--.js +1 -0
  114. package/dist/vue-devtools/ui/assets/html-BHDw6EPc.js +1 -0
  115. package/dist/vue-devtools/ui/assets/html-GueGcY0x.js +1 -0
  116. package/dist/vue-devtools/ui/assets/index-Dby9TIQH.js +156 -0
  117. package/dist/vue-devtools/ui/assets/index-sSkqWPzY.css +1 -0
  118. package/dist/vue-devtools/ui/assets/javascript-BzbQS41l.js +1 -0
  119. package/dist/vue-devtools/ui/assets/javascript-Yelw-5ZN.js +1 -0
  120. package/dist/vue-devtools/ui/assets/json-B88Oqtu5.js +1 -0
  121. package/dist/vue-devtools/ui/assets/json-CaljABEy.js +1 -0
  122. package/dist/vue-devtools/ui/assets/shellscript-CLZ0U2zV.js +1 -0
  123. package/dist/vue-devtools/ui/assets/typescript-Utq2Cl8c.js +1 -0
  124. package/dist/vue-devtools/ui/assets/typescript-j_1H8WHN.js +1 -0
  125. package/dist/vue-devtools/ui/assets/vitesse-dark-BZCL-v6S.js +1 -0
  126. package/dist/vue-devtools/ui/assets/vitesse-light-VbXTXTou.js +1 -0
  127. package/dist/vue-devtools/ui/assets/vue-B1Tf5CHw.js +1 -0
  128. package/dist/vue-devtools/ui/assets/vue-html-CGMs_6qn.js +1 -0
  129. package/dist/vue-devtools/ui/assets/yaml-rwi0_p6S.js +1 -0
  130. package/dist/vue-devtools/ui/index.html +13 -0
  131. package/package.json +101 -0
@@ -0,0 +1,42 @@
1
+ import { Plugin } from 'vite';
2
+ /**
3
+ * Dock group ID that every SCAYLE Storefront devtools panel attaches to via
4
+ * `groupId`. Panels register as independent entries and the dock collapses them
5
+ * under this group's single launcher button.
6
+ */
7
+ export declare const STOREFRONT_GROUP_ID = "scayle-storefront";
8
+ /** SCAYLE brand purple. Drives the dock's primary ramp and tints the group launcher. */
9
+ export declare const SCAYLE_PRIMARY_COLOR: string;
10
+ /**
11
+ * The V3 boilerplate favicon (`public/logo.svg`), inlined as a data URI so
12
+ * the dock icon resolves without depending on an app-served path (the
13
+ * country-prefix redirect would rewrite it). Keep in sync with the
14
+ * boilerplate favicon if it changes.
15
+ */
16
+ export declare const STOREFRONT_GROUP_ICON: string;
17
+ /**
18
+ * Creates the Vite plugin that registers the "SCAYLE Storefront" dock group.
19
+ * Panels (Inertia, oRPC, Storefront) attach to it by setting `groupId` to
20
+ * {@link STOREFRONT_GROUP_ID}. The dock renders a single grouped launcher
21
+ * instead of one button per panel.
22
+ */
23
+ export declare function createGroupPlugin(): Plugin;
24
+ /** Options for a `custom-render` panel registered via {@link createPanelPlugin}. */
25
+ export interface PanelPluginOptions {
26
+ /** Dock entry id, e.g. `storefront-devtools:inertia`. */
27
+ id: string;
28
+ /** Dock launcher title, e.g. `Inertia.js`. */
29
+ title: string;
30
+ /** Dock launcher icon, a data URI or Iconify name. */
31
+ icon: string;
32
+ /** Bare specifier the dock imports to load the panel's renderer. */
33
+ rendererImportFrom: string;
34
+ }
35
+ /**
36
+ * Creates the Vite plugin that registers one `custom-render` dock entry,
37
+ * attached to the "SCAYLE Storefront" group. Every panel in this package
38
+ * (Inertia, oRPC, Storefront) registers this way; only the id, title, icon,
39
+ * and renderer module differ between them.
40
+ */
41
+ export declare function createPanelPlugin(options: PanelPluginOptions): Plugin;
42
+ //# sourceMappingURL=group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../src/group.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,sBAAsB,CAAA;AAEtD,wFAAwF;AACxF,eAAO,MAAM,oBAAoB,EAAE,MAAkB,CAAA;AAErD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAEjC,CAAA;AAEH;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAe1C;AAED,oFAAoF;AACpF,MAAM,WAAW,kBAAkB;IACjC,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAA;IACV,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAA;IACZ,oEAAoE;IACpE,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,CAmBrE"}
@@ -0,0 +1,23 @@
1
+ import { PluginOption } from 'vite';
2
+ /**
3
+ * Vite plugin that orchestrates the SCAYLE Storefront Vite DevTools dock.
4
+ * Hosts the dock and on-page launcher, registers a "SCAYLE Storefront" dock
5
+ * group, and adds the Inertia visit panel, an oRPC panel, a Storefront context
6
+ * panel, and a Vue DevTools panel. The dock client is injected into the
7
+ * application entry, so no app code changes are needed.
8
+ *
9
+ * This owns the full Vue DevTools integration (backend bridge and applet UI)
10
+ * and surfaces it as the dock's "Vue" entry, so the app does not wire
11
+ * `vite-plugin-vue-devtools` separately.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * import storefrontDevtools from '@scayle/storefront-devtools'
16
+ *
17
+ * export default defineConfig({
18
+ * plugins: [storefront(config), ...storefrontDevtools()],
19
+ * })
20
+ * ```
21
+ */
22
+ export default function storefrontDevtools(): PluginOption[];
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAcxC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,IAAI,YAAY,EAAE,CAsD3D"}
package/dist/index.mjs ADDED
@@ -0,0 +1,178 @@
1
+ import { DevTools as e } from "@vitejs/devtools";
2
+ import { DEVTOOLS_MOUNT_PATH as t } from "@vitejs/devtools-kit/constants";
3
+ import { fileURLToPath as n } from "node:url";
4
+ import r from "sirv";
5
+ //#region src/inject.ts
6
+ var i = `${t}embedded.js`, a = /src\/client\/main\.ts$/;
7
+ function o(e) {
8
+ return {
9
+ name: "storefront-devtools:inject",
10
+ enforce: "pre",
11
+ apply: "serve",
12
+ transform(t, n) {
13
+ return a.test(n) ? `${e.map((e) => `import '${e}'`).join("\n")}
14
+ ${t}
15
+ if (typeof document !== 'undefined') {
16
+ const s = document.createElement('script')
17
+ s.type = 'module'
18
+ s.src = ${JSON.stringify(i)}
19
+ document.body.appendChild(s)
20
+ }
21
+ ` : null;
22
+ }
23
+ };
24
+ }
25
+ //#endregion
26
+ //#region src/group.ts
27
+ var s = "scayle-storefront", c = "#5328e1", l = "data:image/svg+xml,%3Csvg%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22%235328E1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%2228%22%20height%3D%2228%22%20rx%3D%227%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14%207a7%207%200%201%201%200%2014%207%207%200%200%201%200-14Zm0%202.051c-2.625%200-4.755%202.216-4.755%204.948s2.13%204.948%204.755%204.948c2.628%200%204.755-2.215%204.755-4.948%200-.948-.255-1.834-.7-2.587l-2.106%202.15-1.518-1.55%202.137-2.178A4.6%204.6%200%200%200%2014%209.05Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-width%3D%22.2%22%2F%3E%3C%2Fsvg%3E";
28
+ function u() {
29
+ return {
30
+ name: "storefront-devtools:group",
31
+ devtools: { setup(e) {
32
+ e.docks.register({
33
+ id: s,
34
+ title: "SCAYLE Storefront",
35
+ icon: l,
36
+ type: "group",
37
+ accentColor: c
38
+ });
39
+ } }
40
+ };
41
+ }
42
+ function d(e) {
43
+ return {
44
+ name: `storefront-devtools:${e.id}`,
45
+ devtools: { setup(t) {
46
+ t.docks.register({
47
+ id: e.id,
48
+ title: e.title,
49
+ icon: e.icon,
50
+ type: "custom-render",
51
+ renderer: {
52
+ importFrom: e.rendererImportFrom,
53
+ importName: "default"
54
+ },
55
+ groupId: s
56
+ });
57
+ } }
58
+ };
59
+ }
60
+ //#endregion
61
+ //#region src/inertia/plugin.ts
62
+ var f = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22128%22%20height%3D%22128%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M92.433%2028.433H55.625L91.192%2064L55.625%2099.567h36.808L128%2064zm-55.625%200H0L35.567%2064L0%2099.567h36.808L72.375%2064z%22%2F%3E%3C%2Fsvg%3E";
63
+ function p() {
64
+ return d({
65
+ id: "storefront-devtools:inertia",
66
+ title: "Inertia.js",
67
+ icon: f,
68
+ rendererImportFrom: "@scayle/storefront-devtools/inertia/renderer"
69
+ });
70
+ }
71
+ //#endregion
72
+ //#region src/orpc/plugin.ts
73
+ var m = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16M4%2012h16M4%2017h10%22%2F%3E%3C%2Fsvg%3E";
74
+ function h() {
75
+ return d({
76
+ id: "storefront-devtools:orpc",
77
+ title: "oRPC",
78
+ icon: m,
79
+ rendererImportFrom: "@scayle/storefront-devtools/orpc/renderer"
80
+ });
81
+ }
82
+ //#endregion
83
+ //#region src/resource-center/plugin.ts
84
+ var g = "https://scayle.dev/documentation/storefront/storefront-application/getting-started/what-is-storefront", _ = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M11.07%2012.85c.77-1.39%202.25-2.21%203.11-3.44c.91-1.29.4-3.7-2.18-3.7c-1.69%200-2.52%201.28-2.87%202.34L6.54%206.96C7.25%204.83%209.18%203%2011.99%203c2.35%200%203.96%201.07%204.78%202.41c.7%201.15%201.11%203.3.03%204.9c-1.2%201.77-2.35%202.31-2.97%203.45c-.25.46-.35.76-.35%202.24h-2.89c-.01-.78-.13-2.05.48-3.15M14%2020c0%201.1-.9%202-2%202s-2-.9-2-2s.9-2%202-2s2%20.9%202%202%22%2F%3E%3C%2Fsvg%3E";
85
+ function v() {
86
+ return {
87
+ name: "storefront-devtools:resource-center",
88
+ devtools: { setup(e) {
89
+ e.docks.register({
90
+ id: "storefront-devtools:resource-center",
91
+ title: "Resource Center",
92
+ icon: _,
93
+ type: "iframe",
94
+ url: g,
95
+ groupId: s
96
+ });
97
+ } }
98
+ };
99
+ }
100
+ //#endregion
101
+ //#region src/storefront/plugin.ts
102
+ var y = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209l1.5-5h15L21%209M4%209h16v10a1%201%200%200%201-1%201H5a1%201%200%200%201-1-1V9zM9%2020v-6h6v6%22%2F%3E%3C%2Fsvg%3E";
103
+ function b() {
104
+ return d({
105
+ id: "storefront-devtools:storefront",
106
+ title: "Storefront",
107
+ icon: y,
108
+ rendererImportFrom: "@scayle/storefront-devtools/storefront/renderer"
109
+ });
110
+ }
111
+ //#endregion
112
+ //#region src/vue-devtools/plugin.ts
113
+ var x = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20fill%3D%22%2341b883%22%20d%3D%22M12%202%201%2021h22z%22%20opacity%3D%22.4%22%2F%3E%3Cpath%20fill%3D%22%2341b883%22%20d%3D%22M2%203h4l6%2010.5L18%203h4L12%2021z%22%2F%3E%3Cpath%20fill%3D%22%2335495e%22%20d%3D%22M6%203h3l3%205%203-5h3l-6%2010z%22%2F%3E%3C%2Fsvg%3E", S = "/__storefront-devtools/vue/", C = n(new URL("./vue-devtools/ui", "" + import.meta.url));
114
+ function w() {
115
+ return {
116
+ name: "storefront-devtools:vue-panel",
117
+ apply: "serve",
118
+ configureServer(e) {
119
+ e.middlewares.use(S, r(C, {
120
+ dev: !0,
121
+ single: !0
122
+ }));
123
+ },
124
+ devtools: { setup(e) {
125
+ let t = "storefront-devtools:vue";
126
+ e.docks.register({
127
+ id: t,
128
+ title: "Vue",
129
+ icon: x,
130
+ type: "group",
131
+ accentColor: "#41b883",
132
+ defaultChildId: "storefront-devtools:vue-components"
133
+ }), e.docks.register({
134
+ id: "storefront-devtools:vue-components",
135
+ title: "Components",
136
+ icon: x,
137
+ type: "iframe",
138
+ url: `${S}?view=components`,
139
+ groupId: t
140
+ }), e.docks.register({
141
+ id: "storefront-devtools:vue-timeline",
142
+ title: "Timeline",
143
+ icon: x,
144
+ type: "iframe",
145
+ url: `${S}?view=timeline`,
146
+ groupId: t
147
+ });
148
+ } }
149
+ };
150
+ }
151
+ //#endregion
152
+ //#region src/index.ts
153
+ function T() {
154
+ return [
155
+ e({
156
+ builtinDevTools: !1,
157
+ branding: {
158
+ productName: "SCAYLE Storefront DevTools",
159
+ logo: l,
160
+ primaryColor: c
161
+ }
162
+ }),
163
+ o([
164
+ "@scayle/storefront-devtools/vue-devtools/client",
165
+ "@scayle/storefront-devtools/orpc/client",
166
+ "@scayle/storefront-devtools/resource-center/client",
167
+ "@scayle/storefront-devtools/inertia/client"
168
+ ]),
169
+ u(),
170
+ p(),
171
+ v(),
172
+ h(),
173
+ b(),
174
+ w()
175
+ ];
176
+ }
177
+ //#endregion
178
+ export { T as default };
@@ -0,0 +1,13 @@
1
+ export {}
2
+
3
+ declare global {
4
+ interface Window {
5
+ /**
6
+ * The in-page devtools store, set by the injected client bootstrap. Typed
7
+ * as `unknown` because this side-effect entry exposes no API. Consumers
8
+ * `import '@scayle/storefront-devtools/inertia/client'` only to start
9
+ * capture. The dock renderer reads the concrete store off `window`.
10
+ */
11
+ __STOREFRONT_DEVTOOLS_STORE__?: unknown
12
+ }
13
+ }
@@ -0,0 +1,7 @@
1
+ import { DevToolsStore } from '../core/store';
2
+ declare global {
3
+ interface Window {
4
+ __STOREFRONT_DEVTOOLS_STORE__?: DevToolsStore;
5
+ }
6
+ }
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/inertia/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAM7C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,6BAA6B,CAAC,EAAE,aAAa,CAAA;KAC9C;CACF"}