@n8n-zengchao/chat 0.62.0

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 (151) hide show
  1. package/README.md +289 -0
  2. package/dist/App.vue.d.ts +2 -0
  3. package/dist/__stories__/App.stories.d.ts +18 -0
  4. package/dist/__tests__/Input.spec.d.ts +1 -0
  5. package/dist/__tests__/api/generic.spec.d.ts +1 -0
  6. package/dist/__tests__/api/message.spec.d.ts +1 -0
  7. package/dist/__tests__/index.spec.d.ts +1 -0
  8. package/dist/__tests__/plugins/chat.spec.d.ts +1 -0
  9. package/dist/__tests__/plugins/chat.test.d.ts +1 -0
  10. package/dist/__tests__/setup.d.ts +0 -0
  11. package/dist/__tests__/utils/create.d.ts +5 -0
  12. package/dist/__tests__/utils/fetch.d.ts +13 -0
  13. package/dist/__tests__/utils/index.d.ts +3 -0
  14. package/dist/__tests__/utils/selectors.d.ts +12 -0
  15. package/dist/__tests__/utils/streaming.spec.d.ts +1 -0
  16. package/dist/__tests__/utils/streamingHandlers.spec.d.ts +1 -0
  17. package/dist/_basePickBy-aQilsjEs.mjs +106 -0
  18. package/dist/_baseUniq-Agc10qFQ.mjs +232 -0
  19. package/dist/api/generic.d.ts +7 -0
  20. package/dist/api/index.d.ts +2 -0
  21. package/dist/api/message.d.ts +11 -0
  22. package/dist/arc-EhYU_DB1.mjs +79 -0
  23. package/dist/architecture-U656AL7Q-B1STlXpR.mjs +10 -0
  24. package/dist/architectureDiagram-VXUJARFQ-DOVAbXSw.mjs +4054 -0
  25. package/dist/array-B5w981Vk.mjs +5 -0
  26. package/dist/blockDiagram-VD42YOAC-BsX3Fkg3.mjs +3013 -0
  27. package/dist/c4Diagram-YG6GDRKO-B5JaLuX6.mjs +2957 -0
  28. package/dist/channel-CqrIo07y.mjs +4 -0
  29. package/dist/chat.bundle.es.js +37656 -0
  30. package/dist/chat.bundle.umd.js +2784 -0
  31. package/dist/chat.es.js +35738 -0
  32. package/dist/chat.umd.js +2776 -0
  33. package/dist/chunk-4BX2VUAB-dn0RXIrC.mjs +7 -0
  34. package/dist/chunk-55IACEB6-DrIttNoL.mjs +7 -0
  35. package/dist/chunk-76Q3JFCE-D7DMbWeQ.mjs +20 -0
  36. package/dist/chunk-ABZYJK2D-_NXv778f.mjs +2516 -0
  37. package/dist/chunk-ATLVNIR6-CBnG7Ev9.mjs +66 -0
  38. package/dist/chunk-B4BG7PRW-DElmmAse.mjs +3109 -0
  39. package/dist/chunk-CVBHYZKI-kPsSw5G9.mjs +11 -0
  40. package/dist/chunk-DI55MBZ5-Bw6uFFfD.mjs +1995 -0
  41. package/dist/chunk-DZXZ2BO8.mjs +19 -0
  42. package/dist/chunk-EXTU4WIE-DWzncOZf.mjs +8 -0
  43. package/dist/chunk-FMBD7UC4-CQf-nVrj.mjs +4 -0
  44. package/dist/chunk-FPAJGGOC-HRc6DGju.mjs +12254 -0
  45. package/dist/chunk-FWNWRKHM-CGiJVNMo.mjs +57 -0
  46. package/dist/chunk-HN2XXSSU-DMfVdeUE.mjs +75 -0
  47. package/dist/chunk-JA3XYJ7Z-b0Li4NN8.mjs +1834 -0
  48. package/dist/chunk-JZLCHNYA-C_4MLySW.mjs +4862 -0
  49. package/dist/chunk-KS23V3DP-BRKOfbU6.mjs +136 -0
  50. package/dist/chunk-LBM3YZW2-JIQK8wiH.mjs +20 -0
  51. package/dist/chunk-LHMN2FUI-PNCyIUgu.mjs +20 -0
  52. package/dist/chunk-MI3HLSF2-B9GTCmLp.mjs +1146 -0
  53. package/dist/chunk-N4CR4FBY-CjlmnCPD.mjs +40 -0
  54. package/dist/chunk-O7ZBX7Z2-DmJUfqJj.mjs +27 -0
  55. package/dist/chunk-QN33PNHL-nN1zLFSf.mjs +24 -0
  56. package/dist/chunk-QXUST7PY-CY78Btj9.mjs +487 -0
  57. package/dist/chunk-QZHKN3VN-BF5N1pfB.mjs +12 -0
  58. package/dist/chunk-S3R3BYOJ-BhFsv0Go.mjs +1076 -0
  59. package/dist/chunk-S6J4BHB3-BvrWTdbl.mjs +20 -0
  60. package/dist/chunk-T53DSG4Q-XzY06amw.mjs +25 -0
  61. package/dist/chunk-TZMSLE5B-DVmJQ8eg.mjs +57 -0
  62. package/dist/classDiagram-2ON5EDUG-CKxiEVX9.mjs +33 -0
  63. package/dist/classDiagram-v2-WZHVMYZB-sAa_2keq.mjs +33 -0
  64. package/dist/clone-nkGlb0Gn.mjs +8 -0
  65. package/dist/components/Button.vue.d.ts +17 -0
  66. package/dist/components/Chat.vue.d.ts +2 -0
  67. package/dist/components/ChatFile.vue.d.ts +11 -0
  68. package/dist/components/ChatWindow.vue.d.ts +2 -0
  69. package/dist/components/GetStarted.vue.d.ts +2 -0
  70. package/dist/components/GetStartedFooter.vue.d.ts +2 -0
  71. package/dist/components/Input.vue.d.ts +39 -0
  72. package/dist/components/Layout.vue.d.ts +23 -0
  73. package/dist/components/Message.vue.d.ts +39 -0
  74. package/dist/components/MessageTyping.vue.d.ts +76 -0
  75. package/dist/components/MessagesList.vue.d.ts +164 -0
  76. package/dist/components/PoweredBy.vue.d.ts +2 -0
  77. package/dist/components/index.d.ts +10 -0
  78. package/dist/composables/index.d.ts +3 -0
  79. package/dist/composables/useChat.d.ts +2 -0
  80. package/dist/composables/useI18n.d.ts +4 -0
  81. package/dist/composables/useOptions.d.ts +4 -0
  82. package/dist/constants/defaults.d.ts +3 -0
  83. package/dist/constants/index.d.ts +3 -0
  84. package/dist/constants/localStorage.d.ts +2 -0
  85. package/dist/constants/symbols.d.ts +4 -0
  86. package/dist/cose-bilkent-S5V4N54A-1lKG2PUg.mjs +2251 -0
  87. package/dist/cytoscape.esm-Dls1_mGy.mjs +18108 -0
  88. package/dist/dagre-6UL2VRFP-CbWFu9xQ.mjs +300 -0
  89. package/dist/dagre-DEdOheHq.mjs +1385 -0
  90. package/dist/defaultLocale-CyoQm63E.mjs +178 -0
  91. package/dist/diagram-PSM6KHXK-CJcHbrJH.mjs +499 -0
  92. package/dist/diagram-QEK2KX5R-XQ9XOVL4.mjs +228 -0
  93. package/dist/diagram-S2PKOQOG-CmRfaeSf.mjs +146 -0
  94. package/dist/dist-BT0fjU7K.mjs +50 -0
  95. package/dist/erDiagram-Q2GNP2WA-iuoUWHwm.mjs +1603 -0
  96. package/dist/event-buses/chatEventBus.d.ts +1 -0
  97. package/dist/event-buses/index.d.ts +1 -0
  98. package/dist/favicon.ico +0 -0
  99. package/dist/flowDiagram-NV44I4VS-D3GMS8-G.mjs +4132 -0
  100. package/dist/ganttDiagram-LVOFAZNH-DMTZVZDR.mjs +2832 -0
  101. package/dist/gitGraph-F6HP7TQM-CrdUzURw.mjs +10 -0
  102. package/dist/gitGraphDiagram-NY62KEGX-DipP5Fgt.mjs +636 -0
  103. package/dist/graphlib-D9eH5icd.mjs +224 -0
  104. package/dist/index.d.ts +2 -0
  105. package/dist/info-NVLQJR56-C-93Yf3U.mjs +10 -0
  106. package/dist/infoDiagram-F6ZHWCRC-jM50s26K.mjs +33 -0
  107. package/dist/init-CYeu4QfE.mjs +14 -0
  108. package/dist/isArrayLikeObject-BPcFdnyK.mjs +459 -0
  109. package/dist/isUndefined-BvarJ1wS.mjs +374 -0
  110. package/dist/journeyDiagram-XKPGCS4Q-BEEO_0Bh.mjs +885 -0
  111. package/dist/kanban-definition-3W4ZIXB7-B8u_HDmL.mjs +971 -0
  112. package/dist/katex-Dc1vXbUC.mjs +22094 -0
  113. package/dist/line-BJxACIPZ.mjs +31 -0
  114. package/dist/linear-DHHVI-cj.mjs +251 -0
  115. package/dist/math-Byg0NvhS.mjs +9 -0
  116. package/dist/mermaid-parser.core-YT4qvimq.mjs +49 -0
  117. package/dist/mindmap-definition-VGOIOE7T-ah41V88S.mjs +960 -0
  118. package/dist/now-DsJMgI1z.mjs +6 -0
  119. package/dist/ordinal-L0-EVPg8.mjs +62 -0
  120. package/dist/packet-BFZMPI3H-Cs4kRHct.mjs +10 -0
  121. package/dist/path-BcDHwjEr.mjs +80 -0
  122. package/dist/pie-7BOR55EZ-YZ5Xu4o6.mjs +10 -0
  123. package/dist/pieDiagram-ADFJNKIX-CqI33m1a.mjs +174 -0
  124. package/dist/plugins/chat.d.ts +3 -0
  125. package/dist/plugins/index.d.ts +1 -0
  126. package/dist/quadrantDiagram-AYHSOK5B-DDv2X9c1.mjs +1971 -0
  127. package/dist/radar-NHE76QYJ-TpirOFtv.mjs +10 -0
  128. package/dist/requirementDiagram-UZGBJVZJ-DXa77VzO.mjs +2194 -0
  129. package/dist/sankeyDiagram-TZEHDZUN--B9DInJC.mjs +885 -0
  130. package/dist/sequenceDiagram-WL72ISMW-Dqn9jJ3g.mjs +3562 -0
  131. package/dist/src-DdwtiGjk.mjs +1976 -0
  132. package/dist/stateDiagram-FKZM4ZOC-D3eEcVjS.mjs +226 -0
  133. package/dist/stateDiagram-v2-4FDKWEC3-dzwJ4caL.mjs +32 -0
  134. package/dist/style.css +3 -0
  135. package/dist/timeline-definition-IT6M3QCI-z93ry7RN.mjs +831 -0
  136. package/dist/toInteger-1S_4Byef.mjs +36 -0
  137. package/dist/treemap-KMMF4GRG-BlF0Ev1z.mjs +10 -0
  138. package/dist/types/chat.d.ts +13 -0
  139. package/dist/types/index.d.ts +5 -0
  140. package/dist/types/messages.d.ts +17 -0
  141. package/dist/types/options.d.ts +33 -0
  142. package/dist/types/streaming.d.ts +18 -0
  143. package/dist/types/webhook.d.ts +19 -0
  144. package/dist/utils/event-bus.d.ts +8 -0
  145. package/dist/utils/index.d.ts +3 -0
  146. package/dist/utils/mount.d.ts +1 -0
  147. package/dist/utils/streaming.d.ts +26 -0
  148. package/dist/utils/streamingHandlers.d.ts +6 -0
  149. package/dist/utils/utils.d.ts +1 -0
  150. package/dist/xychartDiagram-PRI3JC2R-C3aDcgBz.mjs +2022 -0
  151. package/package.json +78 -0
@@ -0,0 +1,224 @@
1
+ /*! Package version @n8n/chat@0.62.0 */
2
+ import { E as _baseRest_default, P as constant_default, R as isFunction_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-BPcFdnyK.mjs";
3
+ import { T as keys_default, n as isEmpty_default, t as isUndefined_default } from "./isUndefined-BvarJ1wS.mjs";
4
+ import { i as filter_default, n as reduce_default, o as forEach_default, p as _baseFlatten_default, r as values_default, t as _baseUniq_default } from "./_baseUniq-Agc10qFQ.mjs";
5
+ var union_default = _baseRest_default(function(e) {
6
+ return _baseUniq_default(_baseFlatten_default(e, 1, isArrayLikeObject_default, !0));
7
+ }), DEFAULT_EDGE_NAME = "\0", GRAPH_NODE = "\0", EDGE_KEY_DELIM = "", Graph = class {
8
+ constructor(e = {}) {
9
+ this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = constant_default(void 0), this._defaultEdgeLabelFn = constant_default(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[GRAPH_NODE] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
10
+ }
11
+ isDirected() {
12
+ return this._isDirected;
13
+ }
14
+ isMultigraph() {
15
+ return this._isMultigraph;
16
+ }
17
+ isCompound() {
18
+ return this._isCompound;
19
+ }
20
+ setGraph(e) {
21
+ return this._label = e, this;
22
+ }
23
+ graph() {
24
+ return this._label;
25
+ }
26
+ setDefaultNodeLabel(e) {
27
+ return isFunction_default(e) || (e = constant_default(e)), this._defaultNodeLabelFn = e, this;
28
+ }
29
+ nodeCount() {
30
+ return this._nodeCount;
31
+ }
32
+ nodes() {
33
+ return keys_default(this._nodes);
34
+ }
35
+ sources() {
36
+ var e = this;
37
+ return filter_default(this.nodes(), function(h) {
38
+ return isEmpty_default(e._in[h]);
39
+ });
40
+ }
41
+ sinks() {
42
+ var e = this;
43
+ return filter_default(this.nodes(), function(h) {
44
+ return isEmpty_default(e._out[h]);
45
+ });
46
+ }
47
+ setNodes(e, h) {
48
+ var g = arguments, _ = this;
49
+ return forEach_default(e, function(e) {
50
+ g.length > 1 ? _.setNode(e, h) : _.setNode(e);
51
+ }), this;
52
+ }
53
+ setNode(e, h) {
54
+ return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = h), this) : (this._nodes[e] = arguments.length > 1 ? h : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = GRAPH_NODE, this._children[e] = {}, this._children[GRAPH_NODE][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
55
+ }
56
+ node(e) {
57
+ return this._nodes[e];
58
+ }
59
+ hasNode(e) {
60
+ return Object.prototype.hasOwnProperty.call(this._nodes, e);
61
+ }
62
+ removeNode(e) {
63
+ if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
64
+ var h = (e) => this.removeEdge(this._edgeObjs[e]);
65
+ delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], forEach_default(this.children(e), (e) => {
66
+ this.setParent(e);
67
+ }), delete this._children[e]), forEach_default(keys_default(this._in[e]), h), delete this._in[e], delete this._preds[e], forEach_default(keys_default(this._out[e]), h), delete this._out[e], delete this._sucs[e], --this._nodeCount;
68
+ }
69
+ return this;
70
+ }
71
+ setParent(e, h) {
72
+ if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
73
+ if (isUndefined_default(h)) h = GRAPH_NODE;
74
+ else {
75
+ h += "";
76
+ for (var g = h; !isUndefined_default(g); g = this.parent(g)) if (g === e) throw Error("Setting " + h + " as parent of " + e + " would create a cycle");
77
+ this.setNode(h);
78
+ }
79
+ return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = h, this._children[h][e] = !0, this;
80
+ }
81
+ _removeFromParentsChildList(e) {
82
+ delete this._children[this._parent[e]][e];
83
+ }
84
+ parent(e) {
85
+ if (this._isCompound) {
86
+ var h = this._parent[e];
87
+ if (h !== GRAPH_NODE) return h;
88
+ }
89
+ }
90
+ children(e) {
91
+ if (isUndefined_default(e) && (e = GRAPH_NODE), this._isCompound) {
92
+ var h = this._children[e];
93
+ if (h) return keys_default(h);
94
+ } else if (e === GRAPH_NODE) return this.nodes();
95
+ else if (this.hasNode(e)) return [];
96
+ }
97
+ predecessors(e) {
98
+ var h = this._preds[e];
99
+ if (h) return keys_default(h);
100
+ }
101
+ successors(e) {
102
+ var h = this._sucs[e];
103
+ if (h) return keys_default(h);
104
+ }
105
+ neighbors(e) {
106
+ var h = this.predecessors(e);
107
+ if (h) return union_default(h, this.successors(e));
108
+ }
109
+ isLeaf(e) {
110
+ return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
111
+ }
112
+ filterNodes(e) {
113
+ var h = new this.constructor({
114
+ directed: this._isDirected,
115
+ multigraph: this._isMultigraph,
116
+ compound: this._isCompound
117
+ });
118
+ h.setGraph(this.graph());
119
+ var g = this;
120
+ forEach_default(this._nodes, function(g, _) {
121
+ e(_) && h.setNode(_, g);
122
+ }), forEach_default(this._edgeObjs, function(e) {
123
+ h.hasNode(e.v) && h.hasNode(e.w) && h.setEdge(e, g.edge(e));
124
+ });
125
+ var _ = {};
126
+ function v(e) {
127
+ var y = g.parent(e);
128
+ return y === void 0 || h.hasNode(y) ? (_[e] = y, y) : y in _ ? _[y] : v(y);
129
+ }
130
+ return this._isCompound && forEach_default(h.nodes(), function(e) {
131
+ h.setParent(e, v(e));
132
+ }), h;
133
+ }
134
+ setDefaultEdgeLabel(e) {
135
+ return isFunction_default(e) || (e = constant_default(e)), this._defaultEdgeLabelFn = e, this;
136
+ }
137
+ edgeCount() {
138
+ return this._edgeCount;
139
+ }
140
+ edges() {
141
+ return values_default(this._edgeObjs);
142
+ }
143
+ setPath(e, h) {
144
+ var g = this, _ = arguments;
145
+ return reduce_default(e, function(e, v) {
146
+ return _.length > 1 ? g.setEdge(e, v, h) : g.setEdge(e, v), v;
147
+ }), this;
148
+ }
149
+ setEdge() {
150
+ var e, h, g, _, v = !1, y = arguments[0];
151
+ typeof y == "object" && y && "v" in y ? (e = y.v, h = y.w, g = y.name, arguments.length === 2 && (_ = arguments[1], v = !0)) : (e = y, h = arguments[1], g = arguments[3], arguments.length > 2 && (_ = arguments[2], v = !0)), e = "" + e, h = "" + h, isUndefined_default(g) || (g = "" + g);
152
+ var x = edgeArgsToId(this._isDirected, e, h, g);
153
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, x)) return v && (this._edgeLabels[x] = _), this;
154
+ if (!isUndefined_default(g) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
155
+ this.setNode(e), this.setNode(h), this._edgeLabels[x] = v ? _ : this._defaultEdgeLabelFn(e, h, g);
156
+ var S = edgeArgsToObj(this._isDirected, e, h, g);
157
+ return e = S.v, h = S.w, Object.freeze(S), this._edgeObjs[x] = S, incrementOrInitEntry(this._preds[h], e), incrementOrInitEntry(this._sucs[e], h), this._in[h][x] = S, this._out[e][x] = S, this._edgeCount++, this;
158
+ }
159
+ edge(e, h, g) {
160
+ var _ = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, e, h, g);
161
+ return this._edgeLabels[_];
162
+ }
163
+ hasEdge(e, h, g) {
164
+ var _ = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, e, h, g);
165
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, _);
166
+ }
167
+ removeEdge(e, h, g) {
168
+ var _ = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, e, h, g), v = this._edgeObjs[_];
169
+ return v && (e = v.v, h = v.w, delete this._edgeLabels[_], delete this._edgeObjs[_], decrementOrRemoveEntry(this._preds[h], e), decrementOrRemoveEntry(this._sucs[e], h), delete this._in[h][_], delete this._out[e][_], this._edgeCount--), this;
170
+ }
171
+ inEdges(e, h) {
172
+ var g = this._in[e];
173
+ if (g) {
174
+ var _ = values_default(g);
175
+ return h ? filter_default(_, function(e) {
176
+ return e.v === h;
177
+ }) : _;
178
+ }
179
+ }
180
+ outEdges(e, h) {
181
+ var g = this._out[e];
182
+ if (g) {
183
+ var _ = values_default(g);
184
+ return h ? filter_default(_, function(e) {
185
+ return e.w === h;
186
+ }) : _;
187
+ }
188
+ }
189
+ nodeEdges(e, h) {
190
+ var g = this.inEdges(e, h);
191
+ if (g) return g.concat(this.outEdges(e, h));
192
+ }
193
+ };
194
+ Graph.prototype._nodeCount = 0, Graph.prototype._edgeCount = 0;
195
+ function incrementOrInitEntry(e, h) {
196
+ e[h] ? e[h]++ : e[h] = 1;
197
+ }
198
+ function decrementOrRemoveEntry(e, h) {
199
+ --e[h] || delete e[h];
200
+ }
201
+ function edgeArgsToId(e, h, g, _) {
202
+ var v = "" + h, y = "" + g;
203
+ if (!e && v > y) {
204
+ var x = v;
205
+ v = y, y = x;
206
+ }
207
+ return v + EDGE_KEY_DELIM + y + EDGE_KEY_DELIM + (isUndefined_default(_) ? DEFAULT_EDGE_NAME : _);
208
+ }
209
+ function edgeArgsToObj(e, h, g, _) {
210
+ var v = "" + h, y = "" + g;
211
+ if (!e && v > y) {
212
+ var b = v;
213
+ v = y, y = b;
214
+ }
215
+ var x = {
216
+ v,
217
+ w: y
218
+ };
219
+ return _ && (x.name = _), x;
220
+ }
221
+ function edgeObjToId(e, h) {
222
+ return edgeArgsToId(e, h.v, h.w, h.name);
223
+ }
224
+ export { Graph as t };
@@ -0,0 +1,2 @@
1
+ import { ChatOptions } from './types';
2
+ export declare function createChat(options?: Partial<ChatOptions>): import('vue').App<Element>;
@@ -0,0 +1,10 @@
1
+ /*! Package version @n8n/chat@0.62.0 */
2
+ import "./isArrayLikeObject-BPcFdnyK.mjs";
3
+ import "./isUndefined-BvarJ1wS.mjs";
4
+ import "./toInteger-1S_4Byef.mjs";
5
+ import "./_baseUniq-Agc10qFQ.mjs";
6
+ import "./chunk-FPAJGGOC-HRc6DGju.mjs";
7
+ import "./_basePickBy-aQilsjEs.mjs";
8
+ import "./clone-nkGlb0Gn.mjs";
9
+ import { n as createInfoServices, t as InfoModule } from "./chunk-LBM3YZW2-JIQK8wiH.mjs";
10
+ export { InfoModule, createInfoServices };
@@ -0,0 +1,33 @@
1
+ /*! Package version @n8n/chat@0.62.0 */
2
+ import "./isArrayLikeObject-BPcFdnyK.mjs";
3
+ import "./isUndefined-BvarJ1wS.mjs";
4
+ import "./toInteger-1S_4Byef.mjs";
5
+ import "./_baseUniq-Agc10qFQ.mjs";
6
+ import "./chunk-FPAJGGOC-HRc6DGju.mjs";
7
+ import "./_basePickBy-aQilsjEs.mjs";
8
+ import "./clone-nkGlb0Gn.mjs";
9
+ import { t as package_default } from "./chunk-KS23V3DP-BRKOfbU6.mjs";
10
+ import { g as log, h as __name } from "./src-DdwtiGjk.mjs";
11
+ import { c as configureSvgSize } from "./chunk-ABZYJK2D-_NXv778f.mjs";
12
+ import { t as selectSvgElement } from "./chunk-EXTU4WIE-DWzncOZf.mjs";
13
+ import "./chunk-O7ZBX7Z2-DmJUfqJj.mjs";
14
+ import "./chunk-S6J4BHB3-BvrWTdbl.mjs";
15
+ import "./chunk-LBM3YZW2-JIQK8wiH.mjs";
16
+ import "./chunk-76Q3JFCE-D7DMbWeQ.mjs";
17
+ import "./chunk-T53DSG4Q-XzY06amw.mjs";
18
+ import "./chunk-LHMN2FUI-PNCyIUgu.mjs";
19
+ import "./chunk-FWNWRKHM-CGiJVNMo.mjs";
20
+ import { t as parse } from "./mermaid-parser.core-YT4qvimq.mjs";
21
+ var parser = { parse: /* @__PURE__ */ __name(async (e) => {
22
+ let o = await parse("info", e);
23
+ log.debug(o);
24
+ }, "parse") }, DEFAULT_INFO_DB = { version: package_default.version + "" }, diagram = {
25
+ parser,
26
+ db: { getVersion: /* @__PURE__ */ __name(() => DEFAULT_INFO_DB.version, "getVersion") },
27
+ renderer: { draw: /* @__PURE__ */ __name((e, o, s) => {
28
+ log.debug("rendering info diagram\n" + e);
29
+ let c = selectSvgElement(o);
30
+ configureSvgSize(c, 100, 400, !0), c.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${s}`);
31
+ }, "draw") }
32
+ };
33
+ export { diagram };
@@ -0,0 +1,14 @@
1
+ /*! Package version @n8n/chat@0.62.0 */
2
+ function initRange(e, t) {
3
+ switch (arguments.length) {
4
+ case 0: break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(t).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+ export { initRange as t };