@kubb/react-fabric 0.0.0-canary-20251027095849 → 0.0.0-canary-20251027104221

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 (47) hide show
  1. package/dist/{Fabric-tVWTpMR5.d.ts → Fabric-DwVGMumV.d.ts} +2 -2
  2. package/dist/{KubbFile-DFnA3mmn.d.ts → KubbFile-bFdmEsQz.d.ts} +1 -1
  3. package/dist/{devtools-DnQsy6Us.cjs → backend-BwCrJwGY.cjs} +27 -119
  4. package/dist/backend-BwCrJwGY.cjs.map +1 -0
  5. package/dist/{devtools-DPye8o33.js → backend-U2f8IEJ7.js} +27 -114
  6. package/dist/backend-U2f8IEJ7.js.map +1 -0
  7. package/dist/{chunk-CVmoYqME.js → chunk-9mlisOrp.js} +2 -1
  8. package/dist/{chunk-DWy1uDak.cjs → chunk-BaqVhFee.cjs} +7 -0
  9. package/dist/devtools-CYVZyenT.cjs +102 -0
  10. package/dist/devtools-CYVZyenT.cjs.map +1 -0
  11. package/dist/devtools-D7cmED8s.js +94 -0
  12. package/dist/devtools-D7cmED8s.js.map +1 -0
  13. package/dist/devtools.cjs +1 -1
  14. package/dist/devtools.js +1 -1
  15. package/dist/{globals-CxZEi_Pn.d.ts → globals-1MFa0Fvg.d.ts} +3 -3
  16. package/dist/globals.d.ts +3 -3
  17. package/dist/index.cjs +4 -4
  18. package/dist/index.d.ts +16 -16
  19. package/dist/index.js +4 -4
  20. package/dist/jsx-dev-runtime.cjs +2 -2
  21. package/dist/jsx-dev-runtime.js +2 -2
  22. package/dist/{jsx-runtime-9ohe6OS2.cjs → jsx-runtime-8_h1Kd4b.cjs} +3 -3
  23. package/dist/{jsx-runtime-9ohe6OS2.cjs.map → jsx-runtime-8_h1Kd4b.cjs.map} +1 -1
  24. package/dist/{jsx-runtime-CvGZkcTo.js → jsx-runtime-BJX2mL7C.js} +3 -3
  25. package/dist/{jsx-runtime-CvGZkcTo.js.map → jsx-runtime-BJX2mL7C.js.map} +1 -1
  26. package/dist/{jsx-runtime-CFd_ktZn.js → jsx-runtime-C9xQ4GQD.js} +2 -2
  27. package/dist/{jsx-runtime-CFd_ktZn.js.map → jsx-runtime-C9xQ4GQD.js.map} +1 -1
  28. package/dist/{jsx-runtime-BOrVcbIT.cjs → jsx-runtime-CSnwG7o6.cjs} +2 -2
  29. package/dist/{jsx-runtime-BOrVcbIT.cjs.map → jsx-runtime-CSnwG7o6.cjs.map} +1 -1
  30. package/dist/jsx-runtime.cjs +2 -2
  31. package/dist/jsx-runtime.d.ts +3 -3
  32. package/dist/jsx-runtime.js +2 -2
  33. package/dist/parsers.d.ts +2 -2
  34. package/dist/{plugins-CEGJdkpj.cjs → plugins-BQE1GnQ7.cjs} +3 -3
  35. package/dist/{plugins-CEGJdkpj.cjs.map → plugins-BQE1GnQ7.cjs.map} +1 -1
  36. package/dist/{plugins-aZCNhIC8.js → plugins-BVFjgEC2.js} +3 -3
  37. package/dist/{plugins-aZCNhIC8.js.map → plugins-BVFjgEC2.js.map} +1 -1
  38. package/dist/plugins.cjs +2 -2
  39. package/dist/plugins.d.ts +3 -3
  40. package/dist/plugins.js +2 -2
  41. package/dist/{reactPlugin-B47Guoya.d.ts → reactPlugin-DyvfLVFa.d.ts} +2 -2
  42. package/dist/{types-u_NEi07i.d.ts → types-BnXxcIyv.d.ts} +1 -1
  43. package/dist/types.d.ts +1 -1
  44. package/package.json +2 -2
  45. package/src/devtools.ts +98 -96
  46. package/dist/devtools-DPye8o33.js.map +0 -1
  47. package/dist/devtools-DnQsy6Us.cjs.map +0 -1
@@ -22,6 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  value: mod,
23
23
  enumerable: true
24
24
  }) : target, mod));
25
+ var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
25
26
 
26
27
  //#endregion
27
- export { __toESM as n, __commonJS as t };
28
+ export { __toDynamicImportESM as n, __toESM as r, __commonJS as t };
@@ -22,6 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  value: mod,
23
23
  enumerable: true
24
24
  }) : target, mod));
25
+ var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
25
26
 
26
27
  //#endregion
27
28
 
@@ -31,6 +32,12 @@ Object.defineProperty(exports, '__commonJS', {
31
32
  return __commonJS;
32
33
  }
33
34
  });
35
+ Object.defineProperty(exports, '__toDynamicImportESM', {
36
+ enumerable: true,
37
+ get: function () {
38
+ return __toDynamicImportESM;
39
+ }
40
+ });
34
41
  Object.defineProperty(exports, '__toESM', {
35
42
  enumerable: true,
36
43
  get: function () {
@@ -0,0 +1,102 @@
1
+ const require_chunk = require('./chunk-BaqVhFee.cjs');
2
+ let signal_exit = require("signal-exit");
3
+ signal_exit = require_chunk.__toESM(signal_exit);
4
+ let ws = require("ws");
5
+ ws = require_chunk.__toESM(ws);
6
+ let execa = require("execa");
7
+ execa = require_chunk.__toESM(execa);
8
+
9
+ //#region src/devtools.ts
10
+ function open() {
11
+ Promise.resolve().then(() => require_chunk.__toDynamicImportESM(1)(require("./backend-BwCrJwGY.cjs"))).then((devtools) => {
12
+ const customGlobal = global;
13
+ customGlobal.WebSocket || (customGlobal.WebSocket = ws.default);
14
+ customGlobal.window || (customGlobal.window = global);
15
+ customGlobal.self || (customGlobal.self = global);
16
+ customGlobal.isDevtoolsEnabled = true;
17
+ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
18
+ {
19
+ type: 2,
20
+ value: "Context.Provider",
21
+ isEnabled: true,
22
+ isValid: true
23
+ },
24
+ {
25
+ type: 2,
26
+ value: "KubbRoot",
27
+ isEnabled: true,
28
+ isValid: true
29
+ },
30
+ {
31
+ type: 2,
32
+ value: "KubbErrorBoundary",
33
+ isEnabled: true,
34
+ isValid: true
35
+ },
36
+ {
37
+ type: 2,
38
+ value: "kubb-file",
39
+ isEnabled: true,
40
+ isValid: true
41
+ },
42
+ {
43
+ type: 2,
44
+ value: "kubb-text",
45
+ isEnabled: true,
46
+ isValid: true
47
+ },
48
+ {
49
+ type: 2,
50
+ value: "kubb-import",
51
+ isEnabled: true,
52
+ isValid: true
53
+ },
54
+ {
55
+ type: 2,
56
+ value: "kubb-export",
57
+ isEnabled: true,
58
+ isValid: true
59
+ },
60
+ {
61
+ type: 2,
62
+ value: "kubb-source",
63
+ isEnabled: true,
64
+ isValid: true
65
+ }
66
+ ];
67
+ console.info("Opening devtools");
68
+ const controller = new AbortController();
69
+ (0, execa.execa)({
70
+ stdio: "pipe",
71
+ preferLocal: true,
72
+ cancelSignal: controller.signal,
73
+ gracefulCancel: true
74
+ })`npx react-devtools`;
75
+ devtools.initialize();
76
+ console.info("Connecting devtools");
77
+ try {
78
+ devtools.connectToDevTools({
79
+ host: "localhost",
80
+ port: 8097,
81
+ useHttps: false,
82
+ isAppActive: () => true
83
+ });
84
+ } catch (e) {
85
+ console.error(e);
86
+ console.info("Error when connecting the devtools");
87
+ }
88
+ (0, signal_exit.onExit)(() => {
89
+ console.info("Disconnecting devtools");
90
+ controller.abort();
91
+ }, { alwaysLast: false });
92
+ });
93
+ }
94
+
95
+ //#endregion
96
+ Object.defineProperty(exports, 'open', {
97
+ enumerable: true,
98
+ get: function () {
99
+ return open;
100
+ }
101
+ });
102
+ //# sourceMappingURL=devtools-CYVZyenT.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devtools-CYVZyenT.cjs","names":[],"sources":["../src/devtools.ts"],"sourcesContent":["import { onExit } from 'signal-exit'\n\nimport ws from 'ws'\nimport { execa } from 'execa'\n\ndeclare global {\n var WebSocket: typeof WebSocket\n var self: any\n var window: any\n var isDevtoolsEnabled: any\n}\n\nexport function open() {\n // biome-ignore lint/suspicious/noTsIgnore: cannot find types\n // @ts-ignore\n import('react-devtools-core').then((devtools) => {\n // Filter out Kubbs's internal components from devtools for a cleaner view.\n // See https://github.com/facebook/react/blob/edf6eac8a181860fd8a2d076a43806f1237495a1/packages/react-devtools-shared/src/types.js#L24\n const customGlobal = global as any\n customGlobal.WebSocket ||= ws\n customGlobal.window ||= global\n customGlobal.self ||= global\n customGlobal.isDevtoolsEnabled = true\n customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'Context.Provider',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbRoot',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbErrorBoundary',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-file',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-text',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-import',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-export',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-source',\n isEnabled: true,\n isValid: true,\n },\n ]\n\n console.info('Opening devtools')\n const controller = new AbortController()\n execa({\n stdio: 'pipe',\n preferLocal: true,\n cancelSignal: controller.signal,\n gracefulCancel: true,\n })`npx react-devtools`\n\n ;(devtools as any).initialize()\n console.info('Connecting devtools')\n\n try {\n ;(devtools as any).connectToDevTools({\n host: 'localhost',\n port: 8097,\n useHttps: false,\n isAppActive: () => true,\n })\n } catch (e) {\n console.error(e)\n console.info('Error when connecting the devtools')\n }\n\n onExit(\n () => {\n console.info('Disconnecting devtools')\n controller.abort()\n },\n { alwaysLast: false },\n )\n })\n}\n"],"mappings":";;;;;;;;;AAYA,SAAgB,OAAO;AAGrB,wGAA8B,MAAM,aAAa;EAG/C,MAAM,eAAe;AACrB,eAAa,cAAb,aAAa,YAAc;AAC3B,eAAa,WAAb,aAAa,SAAW;AACxB,eAAa,SAAb,aAAa,OAAS;AACtB,eAAa,oBAAoB;AACjC,eAAa,OAAO,uCAAuC;GACzD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACF;AAED,UAAQ,KAAK,mBAAmB;EAChC,MAAM,aAAa,IAAI,iBAAiB;AACxC,mBAAM;GACJ,OAAO;GACP,aAAa;GACb,cAAc,WAAW;GACzB,gBAAgB;GACjB,CAAC;AAED,EAAC,SAAiB,YAAY;AAC/B,UAAQ,KAAK,sBAAsB;AAEnC,MAAI;AACD,GAAC,SAAiB,kBAAkB;IACnC,MAAM;IACN,MAAM;IACN,UAAU;IACV,mBAAmB;IACpB,CAAC;WACK,GAAG;AACV,WAAQ,MAAM,EAAE;AAChB,WAAQ,KAAK,qCAAqC;;AAGpD,gCACQ;AACJ,WAAQ,KAAK,yBAAyB;AACtC,cAAW,OAAO;KAEpB,EAAE,YAAY,OAAO,CACtB;GACD"}
@@ -0,0 +1,94 @@
1
+ import { n as __toDynamicImportESM } from "./chunk-9mlisOrp.js";
2
+ import { onExit } from "signal-exit";
3
+ import ws from "ws";
4
+ import { execa } from "execa";
5
+
6
+ //#region src/devtools.ts
7
+ function open() {
8
+ import("./backend-U2f8IEJ7.js").then(__toDynamicImportESM(1)).then((devtools) => {
9
+ const customGlobal = global;
10
+ customGlobal.WebSocket || (customGlobal.WebSocket = ws);
11
+ customGlobal.window || (customGlobal.window = global);
12
+ customGlobal.self || (customGlobal.self = global);
13
+ customGlobal.isDevtoolsEnabled = true;
14
+ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
15
+ {
16
+ type: 2,
17
+ value: "Context.Provider",
18
+ isEnabled: true,
19
+ isValid: true
20
+ },
21
+ {
22
+ type: 2,
23
+ value: "KubbRoot",
24
+ isEnabled: true,
25
+ isValid: true
26
+ },
27
+ {
28
+ type: 2,
29
+ value: "KubbErrorBoundary",
30
+ isEnabled: true,
31
+ isValid: true
32
+ },
33
+ {
34
+ type: 2,
35
+ value: "kubb-file",
36
+ isEnabled: true,
37
+ isValid: true
38
+ },
39
+ {
40
+ type: 2,
41
+ value: "kubb-text",
42
+ isEnabled: true,
43
+ isValid: true
44
+ },
45
+ {
46
+ type: 2,
47
+ value: "kubb-import",
48
+ isEnabled: true,
49
+ isValid: true
50
+ },
51
+ {
52
+ type: 2,
53
+ value: "kubb-export",
54
+ isEnabled: true,
55
+ isValid: true
56
+ },
57
+ {
58
+ type: 2,
59
+ value: "kubb-source",
60
+ isEnabled: true,
61
+ isValid: true
62
+ }
63
+ ];
64
+ console.info("Opening devtools");
65
+ const controller = new AbortController();
66
+ execa({
67
+ stdio: "pipe",
68
+ preferLocal: true,
69
+ cancelSignal: controller.signal,
70
+ gracefulCancel: true
71
+ })`npx react-devtools`;
72
+ devtools.initialize();
73
+ console.info("Connecting devtools");
74
+ try {
75
+ devtools.connectToDevTools({
76
+ host: "localhost",
77
+ port: 8097,
78
+ useHttps: false,
79
+ isAppActive: () => true
80
+ });
81
+ } catch (e) {
82
+ console.error(e);
83
+ console.info("Error when connecting the devtools");
84
+ }
85
+ onExit(() => {
86
+ console.info("Disconnecting devtools");
87
+ controller.abort();
88
+ }, { alwaysLast: false });
89
+ });
90
+ }
91
+
92
+ //#endregion
93
+ export { open as t };
94
+ //# sourceMappingURL=devtools-D7cmED8s.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devtools-D7cmED8s.js","names":[],"sources":["../src/devtools.ts"],"sourcesContent":["import { onExit } from 'signal-exit'\n\nimport ws from 'ws'\nimport { execa } from 'execa'\n\ndeclare global {\n var WebSocket: typeof WebSocket\n var self: any\n var window: any\n var isDevtoolsEnabled: any\n}\n\nexport function open() {\n // biome-ignore lint/suspicious/noTsIgnore: cannot find types\n // @ts-ignore\n import('react-devtools-core').then((devtools) => {\n // Filter out Kubbs's internal components from devtools for a cleaner view.\n // See https://github.com/facebook/react/blob/edf6eac8a181860fd8a2d076a43806f1237495a1/packages/react-devtools-shared/src/types.js#L24\n const customGlobal = global as any\n customGlobal.WebSocket ||= ws\n customGlobal.window ||= global\n customGlobal.self ||= global\n customGlobal.isDevtoolsEnabled = true\n customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'Context.Provider',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbRoot',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'KubbErrorBoundary',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-file',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-text',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-import',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-export',\n isEnabled: true,\n isValid: true,\n },\n {\n // ComponentFilterDisplayName\n type: 2,\n value: 'kubb-source',\n isEnabled: true,\n isValid: true,\n },\n ]\n\n console.info('Opening devtools')\n const controller = new AbortController()\n execa({\n stdio: 'pipe',\n preferLocal: true,\n cancelSignal: controller.signal,\n gracefulCancel: true,\n })`npx react-devtools`\n\n ;(devtools as any).initialize()\n console.info('Connecting devtools')\n\n try {\n ;(devtools as any).connectToDevTools({\n host: 'localhost',\n port: 8097,\n useHttps: false,\n isAppActive: () => true,\n })\n } catch (e) {\n console.error(e)\n console.info('Error when connecting the devtools')\n }\n\n onExit(\n () => {\n console.info('Disconnecting devtools')\n controller.abort()\n },\n { alwaysLast: false },\n )\n })\n}\n"],"mappings":";;;;;;AAYA,SAAgB,OAAO;AAGrB,QAAO,uDAAuB,MAAM,aAAa;EAG/C,MAAM,eAAe;AACrB,eAAa,cAAb,aAAa,YAAc;AAC3B,eAAa,WAAb,aAAa,SAAW;AACxB,eAAa,SAAb,aAAa,OAAS;AACtB,eAAa,oBAAoB;AACjC,eAAa,OAAO,uCAAuC;GACzD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACD;IAEE,MAAM;IACN,OAAO;IACP,WAAW;IACX,SAAS;IACV;GACF;AAED,UAAQ,KAAK,mBAAmB;EAChC,MAAM,aAAa,IAAI,iBAAiB;AACxC,QAAM;GACJ,OAAO;GACP,aAAa;GACb,cAAc,WAAW;GACzB,gBAAgB;GACjB,CAAC;AAED,EAAC,SAAiB,YAAY;AAC/B,UAAQ,KAAK,sBAAsB;AAEnC,MAAI;AACD,GAAC,SAAiB,kBAAkB;IACnC,MAAM;IACN,MAAM;IACN,UAAU;IACV,mBAAmB;IACpB,CAAC;WACK,GAAG;AACV,WAAQ,MAAM,EAAE;AAChB,WAAQ,KAAK,qCAAqC;;AAGpD,eACQ;AACJ,WAAQ,KAAK,yBAAyB;AACtC,cAAW,OAAO;KAEpB,EAAE,YAAY,OAAO,CACtB;GACD"}
package/dist/devtools.cjs CHANGED
@@ -1,3 +1,3 @@
1
- const require_devtools = require('./devtools-DnQsy6Us.cjs');
1
+ const require_devtools = require('./devtools-CYVZyenT.cjs');
2
2
 
3
3
  exports.open = require_devtools.open;
package/dist/devtools.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as open } from "./devtools-DPye8o33.js";
1
+ import { t as open } from "./devtools-D7cmED8s.js";
2
2
 
3
3
  export { open };
@@ -1,5 +1,5 @@
1
- import { a as Import, c as Source, i as File, n as Export } from "./KubbFile-DFnA3mmn.js";
2
- import { s as KubbNode } from "./types-u_NEi07i.js";
1
+ import { a as Import, c as Source, i as File, n as Export } from "./KubbFile-bFdmEsQz.js";
2
+ import { s as KubbNode } from "./types-BnXxcIyv.js";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/globals.d.ts
@@ -49,4 +49,4 @@ declare module '@kubb/react-fabric/jsx-runtime' {
49
49
  }
50
50
  }
51
51
  }
52
- //# sourceMappingURL=globals-CxZEi_Pn.d.ts.map
52
+ //# sourceMappingURL=globals-1MFa0Fvg.d.ts.map
package/dist/globals.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import "./KubbFile-DFnA3mmn.js";
2
- import "./types-u_NEi07i.js";
3
- import "./globals-CxZEi_Pn.js";
1
+ import "./KubbFile-bFdmEsQz.js";
2
+ import "./types-BnXxcIyv.js";
3
+ import "./globals-1MFa0Fvg.js";
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
- const require_chunk = require('./chunk-DWy1uDak.cjs');
1
+ const require_chunk = require('./chunk-BaqVhFee.cjs');
2
2
  require('./globals-8sJ940pg.cjs');
3
- const require_jsx_runtime$1 = require('./jsx-runtime-BOrVcbIT.cjs');
4
- const require_plugins = require('./plugins-CEGJdkpj.cjs');
5
- const require_devtools = require('./devtools-DnQsy6Us.cjs');
3
+ const require_jsx_runtime$1 = require('./jsx-runtime-CSnwG7o6.cjs');
4
+ const require_plugins = require('./plugins-BQE1GnQ7.cjs');
5
+ const require_devtools = require('./devtools-CYVZyenT.cjs');
6
6
  let dedent = require("dedent");
7
7
  dedent = require_chunk.__toESM(dedent);
8
8
  let __kubb_fabric_core = require("@kubb/fabric-core");
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { a as Import, c as Source, n as Export, o as Path, t as BaseName } from "./KubbFile-DFnA3mmn.js";
2
- import { i as FileManager, n as FabricMode, r as FabricOptions, t as Fabric } from "./Fabric-tVWTpMR5.js";
3
- import { a as JSDoc, f as createFunctionParams, l as FunctionParams, o as Key, s as KubbNode } from "./types-u_NEi07i.js";
4
- import "./globals-CxZEi_Pn.js";
5
- import { t as Options$1 } from "./reactPlugin-B47Guoya.js";
1
+ import { a as Import, c as Source, n as Export, o as Path, t as BaseName } from "./KubbFile-bFdmEsQz.js";
2
+ import { i as FileManager, n as FabricMode, r as FabricOptions, t as Fabric } from "./Fabric-DwVGMumV.js";
3
+ import { a as JSDoc, f as createFunctionParams, l as FunctionParams, o as Key, s as KubbNode } from "./types-BnXxcIyv.js";
4
+ import "./globals-1MFa0Fvg.js";
5
+ import { t as Options$1 } from "./reactPlugin-DyvfLVFa.js";
6
6
  import * as react1 from "react";
7
7
  import React, { ReactNode } from "react";
8
- import * as react_jsx_runtime0 from "react/jsx-runtime";
8
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
9
9
 
10
10
  //#region ../fabric-core/src/createFabric.d.ts
11
11
  declare const createFabric: DefineFabric<FabricOptions>;
@@ -28,7 +28,7 @@ type Props$4<TMeta = unknown> = {
28
28
  declare function App<TMeta = unknown>({
29
29
  meta,
30
30
  children
31
- }: Props$4<TMeta>): react_jsx_runtime0.JSX.Element;
31
+ }: Props$4<TMeta>): react_jsx_runtime1.JSX.Element;
32
32
  declare namespace App {
33
33
  var Context: react1.Context<AppContextProps<unknown> | undefined>;
34
34
  var displayName: string;
@@ -66,7 +66,7 @@ declare function Const({
66
66
  JSDoc,
67
67
  asConst,
68
68
  children
69
- }: Props$3): react_jsx_runtime0.JSX.Element;
69
+ }: Props$3): react_jsx_runtime1.JSX.Element;
70
70
  declare namespace Const {
71
71
  var displayName: string;
72
72
  }
@@ -115,7 +115,7 @@ type Props$2<TMeta> = BaseProps & {
115
115
  declare function File<TMeta extends object = object>({
116
116
  children,
117
117
  ...rest
118
- }: Props$2<TMeta>): react_jsx_runtime0.JSX.Element;
118
+ }: Props$2<TMeta>): react_jsx_runtime1.JSX.Element;
119
119
  declare namespace File {
120
120
  var displayName: string;
121
121
  var Export: typeof FileExport;
@@ -133,7 +133,7 @@ declare function FileSource({
133
133
  isExportable,
134
134
  isIndexable,
135
135
  children
136
- }: FileSourceProps): react_jsx_runtime0.JSX.Element;
136
+ }: FileSourceProps): react_jsx_runtime1.JSX.Element;
137
137
  declare namespace FileSource {
138
138
  var displayName: string;
139
139
  }
@@ -145,7 +145,7 @@ declare function FileExport({
145
145
  path,
146
146
  isTypeOnly,
147
147
  asAlias
148
- }: FileExportProps): react_jsx_runtime0.JSX.Element;
148
+ }: FileExportProps): react_jsx_runtime1.JSX.Element;
149
149
  declare namespace FileExport {
150
150
  var displayName: string;
151
151
  }
@@ -158,7 +158,7 @@ declare function FileImport({
158
158
  path,
159
159
  isTypeOnly,
160
160
  isNameSpace
161
- }: FileImportProps): react_jsx_runtime0.JSX.Element;
161
+ }: FileImportProps): react_jsx_runtime1.JSX.Element;
162
162
  declare namespace FileImport {
163
163
  var displayName: string;
164
164
  }
@@ -211,7 +211,7 @@ declare function Function({
211
211
  returnType,
212
212
  JSDoc,
213
213
  children
214
- }: Props$1): react_jsx_runtime0.JSX.Element;
214
+ }: Props$1): react_jsx_runtime1.JSX.Element;
215
215
  declare namespace Function {
216
216
  var displayName: string;
217
217
  var Arrow: typeof ArrowFunction;
@@ -233,7 +233,7 @@ declare function ArrowFunction({
233
233
  JSDoc,
234
234
  singleLine,
235
235
  children
236
- }: ArrowFunctionProps): react_jsx_runtime0.JSX.Element;
236
+ }: ArrowFunctionProps): react_jsx_runtime1.JSX.Element;
237
237
  declare namespace ArrowFunction {
238
238
  var displayName: string;
239
239
  }
@@ -250,7 +250,7 @@ type IndentProps = {
250
250
  declare function Indent({
251
251
  size,
252
252
  children
253
- }: IndentProps): react_jsx_runtime0.JSX.Element | null;
253
+ }: IndentProps): react_jsx_runtime1.JSX.Element | null;
254
254
  //#endregion
255
255
  //#region src/components/Type.d.ts
256
256
  type Props = {
@@ -274,7 +274,7 @@ declare function Type({
274
274
  export: canExport,
275
275
  JSDoc,
276
276
  children
277
- }: Props): react_jsx_runtime0.JSX.Element;
277
+ }: Props): react_jsx_runtime1.JSX.Element;
278
278
  declare namespace Type {
279
279
  var displayName: string;
280
280
  }
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { n as __toESM } from "./chunk-CVmoYqME.js";
1
+ import { r as __toESM } from "./chunk-9mlisOrp.js";
2
2
  import "./globals-Df5klKjG.js";
3
- import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-CFd_ktZn.js";
4
- import { a as _classPrivateFieldInitSpec, i as _classPrivateFieldGet2, n as Runtime, o as Root, r as _classPrivateFieldSet2, s as RootContext, t as reactPlugin } from "./plugins-aZCNhIC8.js";
5
- import { t as open } from "./devtools-DPye8o33.js";
3
+ import { n as require_react, t as require_jsx_runtime } from "./jsx-runtime-C9xQ4GQD.js";
4
+ import { a as _classPrivateFieldInitSpec, i as _classPrivateFieldGet2, n as Runtime, o as Root, r as _classPrivateFieldSet2, s as RootContext, t as reactPlugin } from "./plugins-BVFjgEC2.js";
5
+ import { t as open } from "./devtools-D7cmED8s.js";
6
6
  import dedent from "dedent";
7
7
  import { createFabric, createFabric as createFabric$1 } from "@kubb/fabric-core";
8
8
  import { orderBy } from "natural-orderby";
@@ -1,6 +1,6 @@
1
1
  require('./globals-8sJ940pg.cjs');
2
- require('./jsx-runtime-BOrVcbIT.cjs');
3
- const require_jsx_runtime$1 = require('./jsx-runtime-9ohe6OS2.cjs');
2
+ require('./jsx-runtime-CSnwG7o6.cjs');
3
+ const require_jsx_runtime$1 = require('./jsx-runtime-8_h1Kd4b.cjs');
4
4
 
5
5
  exports.Fragment = require_jsx_runtime$1.Fragment;
6
6
  exports.jsx = require_jsx_runtime$1.jsx;
@@ -1,5 +1,5 @@
1
1
  import "./globals-Df5klKjG.js";
2
- import "./jsx-runtime-CFd_ktZn.js";
3
- import { i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-CvGZkcTo.js";
2
+ import "./jsx-runtime-C9xQ4GQD.js";
3
+ import { i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-BJX2mL7C.js";
4
4
 
5
5
  export { Fragment, jsx, jsxDEV, jsxs };
@@ -1,5 +1,5 @@
1
- const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_jsx_runtime$1 = require('./jsx-runtime-BOrVcbIT.cjs');
1
+ const require_chunk = require('./chunk-BaqVhFee.cjs');
2
+ const require_jsx_runtime$1 = require('./jsx-runtime-CSnwG7o6.cjs');
3
3
 
4
4
  //#region src/jsx-runtime.ts
5
5
  var import_jsx_runtime = /* @__PURE__ */ require_chunk.__toESM(require_jsx_runtime$1.require_jsx_runtime(), 1);
@@ -33,4 +33,4 @@ Object.defineProperty(exports, 'jsxs', {
33
33
  return jsxs;
34
34
  }
35
35
  });
36
- //# sourceMappingURL=jsx-runtime-9ohe6OS2.cjs.map
36
+ //# sourceMappingURL=jsx-runtime-8_h1Kd4b.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsx-runtime-9ohe6OS2.cjs","names":[],"sources":["../src/jsx-runtime.ts"],"sourcesContent":["import './globals.ts'\n\nimport ReactJSXRuntime from 'react/jsx-runtime'\n\nexport const Fragment = ReactJSXRuntime.Fragment\nexport const jsx = ReactJSXRuntime.jsx\nexport const jsxs = ReactJSXRuntime.jsxs\nexport const jsxDEV = ReactJSXRuntime.jsx\n"],"mappings":";;;;;AAIA,MAAa,8BAA2B;AACxC,MAAa,yBAAsB;AACnC,MAAa,0BAAuB;AACpC,MAAa,4BAAyB"}
1
+ {"version":3,"file":"jsx-runtime-8_h1Kd4b.cjs","names":[],"sources":["../src/jsx-runtime.ts"],"sourcesContent":["import './globals.ts'\n\nimport ReactJSXRuntime from 'react/jsx-runtime'\n\nexport const Fragment = ReactJSXRuntime.Fragment\nexport const jsx = ReactJSXRuntime.jsx\nexport const jsxs = ReactJSXRuntime.jsxs\nexport const jsxDEV = ReactJSXRuntime.jsx\n"],"mappings":";;;;;AAIA,MAAa,8BAA2B;AACxC,MAAa,yBAAsB;AACnC,MAAa,0BAAuB;AACpC,MAAa,4BAAyB"}
@@ -1,5 +1,5 @@
1
- import { n as __toESM } from "./chunk-CVmoYqME.js";
2
- import { t as require_jsx_runtime } from "./jsx-runtime-CFd_ktZn.js";
1
+ import { r as __toESM } from "./chunk-9mlisOrp.js";
2
+ import { t as require_jsx_runtime } from "./jsx-runtime-C9xQ4GQD.js";
3
3
 
4
4
  //#region src/jsx-runtime.ts
5
5
  var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
@@ -10,4 +10,4 @@ const jsxDEV = import_jsx_runtime.jsx;
10
10
 
11
11
  //#endregion
12
12
  export { jsxs as i, jsx as n, jsxDEV as r, Fragment as t };
13
- //# sourceMappingURL=jsx-runtime-CvGZkcTo.js.map
13
+ //# sourceMappingURL=jsx-runtime-BJX2mL7C.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsx-runtime-CvGZkcTo.js","names":[],"sources":["../src/jsx-runtime.ts"],"sourcesContent":["import './globals.ts'\n\nimport ReactJSXRuntime from 'react/jsx-runtime'\n\nexport const Fragment = ReactJSXRuntime.Fragment\nexport const jsx = ReactJSXRuntime.jsx\nexport const jsxs = ReactJSXRuntime.jsxs\nexport const jsxDEV = ReactJSXRuntime.jsx\n"],"mappings":";;;;;AAIA,MAAa,8BAA2B;AACxC,MAAa,yBAAsB;AACnC,MAAa,0BAAuB;AACpC,MAAa,4BAAyB"}
1
+ {"version":3,"file":"jsx-runtime-BJX2mL7C.js","names":[],"sources":["../src/jsx-runtime.ts"],"sourcesContent":["import './globals.ts'\n\nimport ReactJSXRuntime from 'react/jsx-runtime'\n\nexport const Fragment = ReactJSXRuntime.Fragment\nexport const jsx = ReactJSXRuntime.jsx\nexport const jsxs = ReactJSXRuntime.jsxs\nexport const jsxDEV = ReactJSXRuntime.jsx\n"],"mappings":";;;;;AAIA,MAAa,8BAA2B;AACxC,MAAa,yBAAsB;AACnC,MAAa,0BAAuB;AACpC,MAAa,4BAAyB"}
@@ -1,4 +1,4 @@
1
- import { t as __commonJS } from "./chunk-CVmoYqME.js";
1
+ import { t as __commonJS } from "./chunk-9mlisOrp.js";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js
4
4
  var require_react_production = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js": ((exports) => {
@@ -1335,4 +1335,4 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
1335
1335
 
1336
1336
  //#endregion
1337
1337
  export { require_react as n, require_jsx_runtime as t };
1338
- //# sourceMappingURL=jsx-runtime-CFd_ktZn.js.map
1338
+ //# sourceMappingURL=jsx-runtime-C9xQ4GQD.js.map