@vc-shell/framework 2.0.0-alpha.0 → 2.0.0-alpha.2

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 (312) hide show
  1. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts +2 -2
  2. package/dist/test-helpers.d.ts +4 -12
  3. package/dist/test-helpers.d.ts.map +1 -1
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts +1 -1
  6. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  7. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts +1 -1
  8. package/dist/ui/components/molecules/vc-menu/vc-menu.vue.d.ts.map +1 -1
  9. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts +2 -2
  10. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +2 -2
  11. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +1 -1
  12. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  13. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts +5 -5
  14. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +1 -1
  15. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts +1 -1
  16. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +1 -1
  17. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts +1 -1
  18. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +1 -1
  19. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts +1 -1
  20. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +1 -1
  21. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts +3 -3
  22. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts +1 -1
  23. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -1
  24. package/package.json +8 -5
  25. package/dist/assets/042c75b764bc78a7.svg +0 -1
  26. package/dist/assets/0ba156439a339f2a.svg +0 -1
  27. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  28. package/dist/assets/0d67e9e056b4c500.woff +0 -0
  29. package/dist/assets/0f590f8a94577092.svg +0 -1
  30. package/dist/assets/0fc5820f8be53a1b.svg +0 -1
  31. package/dist/assets/105efd028edc1dfe.woff +0 -0
  32. package/dist/assets/10768e2cc79fc60b.svg +0 -1
  33. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  34. package/dist/assets/131b34336aedaf47.woff +0 -0
  35. package/dist/assets/154365acf3010d96.woff2 +0 -0
  36. package/dist/assets/157b8721e0600ea8.svg +0 -1
  37. package/dist/assets/15e91cdd649cde9a.svg +0 -1
  38. package/dist/assets/19275e398ae57130.woff2 +0 -0
  39. package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
  40. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  41. package/dist/assets/1de63eb118636cce.svg +0 -1
  42. package/dist/assets/1ea01de36eb5491b.svg +0 -1
  43. package/dist/assets/2010ada3e82156ed.woff +0 -0
  44. package/dist/assets/204eaf512fde2023.svg +0 -1
  45. package/dist/assets/2088983edf42e153.svg +0 -1
  46. package/dist/assets/208f810a9321a327.svg +0 -1
  47. package/dist/assets/21220a9d10e6c558.svg +0 -1
  48. package/dist/assets/220db345a102045d.woff2 +0 -0
  49. package/dist/assets/225da11d23968333.svg +0 -1
  50. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  51. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  52. package/dist/assets/259e6ad461a52ad7.svg +0 -1
  53. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  54. package/dist/assets/262f46a0b6d94bb6.svg +0 -1
  55. package/dist/assets/2857c513073467da.svg +0 -1
  56. package/dist/assets/2b3be7889467d98f.woff +0 -0
  57. package/dist/assets/2d4e6190eec72737.svg +0 -1
  58. package/dist/assets/2eba973185078bc8.woff +0 -0
  59. package/dist/assets/334d3f6bc766c516.woff +0 -0
  60. package/dist/assets/34ff7dd0c2285956.svg +0 -1
  61. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  62. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  63. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  64. package/dist/assets/3fc09a6113184f16.woff +0 -0
  65. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  66. package/dist/assets/41275bcb979cb650.svg +0 -1
  67. package/dist/assets/434f7982590e462f.woff +0 -0
  68. package/dist/assets/475937116ee3314a.woff2 +0 -0
  69. package/dist/assets/477e1881a0394cc5.woff +0 -0
  70. package/dist/assets/489710fb710e73f0.woff +0 -0
  71. package/dist/assets/49791943b3872376.woff2 +0 -0
  72. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  73. package/dist/assets/4d7a77b0e5373992.svg +0 -1
  74. package/dist/assets/4e43c74354534fb3.svg +0 -1
  75. package/dist/assets/4fe75f5117100705.svg +0 -1
  76. package/dist/assets/52e261a005074e1b.woff +0 -0
  77. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  78. package/dist/assets/54cda5482c6c9218.woff +0 -0
  79. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  80. package/dist/assets/572bb1bb4156a9c1.svg +0 -1
  81. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  82. package/dist/assets/617c4736236e199e.woff +0 -0
  83. package/dist/assets/67230f05dc94a265.svg +0 -1
  84. package/dist/assets/6798e4dd4add9b48.svg +0 -1
  85. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  86. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  87. package/dist/assets/6a3e73faf406cf33.svg +0 -1
  88. package/dist/assets/72de3a63bc0b70dd.svg +0 -1
  89. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  90. package/dist/assets/74ed5f8a78e71106.svg +0 -1
  91. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  92. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  93. package/dist/assets/7d55399c2a7bc985.svg +0 -1
  94. package/dist/assets/7d970675c69fca1d.woff +0 -0
  95. package/dist/assets/7eda727273fd98d3.svg +0 -1
  96. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  97. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  98. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  99. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  100. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  101. package/dist/assets/910b0d99b9e26568.svg +0 -1
  102. package/dist/assets/91fe94e424323d61.woff +0 -0
  103. package/dist/assets/92508f8707159b51.svg +0 -1
  104. package/dist/assets/9392bf1d591e1abb.svg +0 -1
  105. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  106. package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
  107. package/dist/assets/9d37314695c0b68d.woff +0 -0
  108. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  109. package/dist/assets/a18404194e3f9047.svg +0 -1
  110. package/dist/assets/a2017fe7f0a26510.svg +0 -1
  111. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  112. package/dist/assets/abf88f301a0730f4.svg +0 -1
  113. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  114. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  115. package/dist/assets/b1a596e31ad1185a.svg +0 -1
  116. package/dist/assets/b27767411c8427be.woff +0 -0
  117. package/dist/assets/b325adcae33bbe7a.svg +0 -1
  118. package/dist/assets/b372390551ca2fa1.svg +0 -1
  119. package/dist/assets/b5bb1e8fc975decd.svg +0 -1
  120. package/dist/assets/b645a4a2181b9dc1.svg +0 -1
  121. package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
  122. package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
  123. package/dist/assets/b94421fadd23b0f2.svg +0 -1
  124. package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
  125. package/dist/assets/c5195215cb712e9c.woff2 +0 -0
  126. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  127. package/dist/assets/c97328b91ac5cc66.woff +0 -0
  128. package/dist/assets/ca791c5ca5848a03.svg +0 -1
  129. package/dist/assets/cb32840ce330103f.woff +0 -0
  130. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  131. package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
  132. package/dist/assets/d084bda16abe8a56.svg +0 -1
  133. package/dist/assets/d32b129cae2fffd6.svg +0 -1
  134. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  135. package/dist/assets/d3f792f54ae4c307.svg +0 -1
  136. package/dist/assets/d5a5b8630120073d.svg +0 -1
  137. package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
  138. package/dist/assets/d5f9664ebbfb104b.svg +0 -1
  139. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  140. package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
  141. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  142. package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
  143. package/dist/assets/e2ad5b3428289141.woff +0 -0
  144. package/dist/assets/e38acaa1757232e0.svg +0 -1
  145. package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
  146. package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
  147. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  148. package/dist/assets/e72bb11356af94c7.svg +0 -1
  149. package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
  150. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  151. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  152. package/dist/assets/f09d89268e4c0317.svg +0 -1
  153. package/dist/assets/f239394367fcf005.woff2 +0 -0
  154. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  155. package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
  156. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  157. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  158. package/dist/assets/fed13b0d59903483.svg +0 -1
  159. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  160. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  161. package/dist/framework.css +0 -9
  162. package/dist/framework.js +0 -36471
  163. package/dist/vendor-boolbase-D2i1C8XR.js +0 -18
  164. package/dist/vendor-cheerio-DrsWhxJH.js +0 -1053
  165. package/dist/vendor-cheerio-select-jw4C2SiT.js +0 -191
  166. package/dist/vendor-core-js-Do_NZFHx.js +0 -880
  167. package/dist/vendor-css-select-BwGMmTuc.js +0 -622
  168. package/dist/vendor-css-what-CZZaquJM.js +0 -267
  169. package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +0 -781
  170. package/dist/vendor-d3-array-9cpTrqlO.js +0 -149
  171. package/dist/vendor-d3-axis-D1_DbKLz.js +0 -74
  172. package/dist/vendor-d3-brush-CcKeJp9e.js +0 -1
  173. package/dist/vendor-d3-color-BOYE6h_9.js +0 -306
  174. package/dist/vendor-d3-dispatch-fx-WMg0D.js +0 -64
  175. package/dist/vendor-d3-ease-Cr34gv04.js +0 -8
  176. package/dist/vendor-d3-format-DaIwZvFc.js +0 -182
  177. package/dist/vendor-d3-interpolate-BYG2gvO4.js +0 -177
  178. package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +0 -299
  179. package/dist/vendor-d3-path-DJOTitNW.js +0 -64
  180. package/dist/vendor-d3-scale-CC5rtdt5.js +0 -561
  181. package/dist/vendor-d3-selection-CNMxsYiL.js +0 -603
  182. package/dist/vendor-d3-shape-DBhCDMiV.js +0 -925
  183. package/dist/vendor-d3-time-DAPP210_.js +0 -212
  184. package/dist/vendor-d3-time-format-hD7iE2WG.js +0 -491
  185. package/dist/vendor-d3-timer-C1cUWKPz.js +0 -67
  186. package/dist/vendor-d3-transition-BbNQT7qF.js +0 -524
  187. package/dist/vendor-d3-zoom-CcKeJp9e.js +0 -1
  188. package/dist/vendor-date-fns-BKO3x1R1.js +0 -3102
  189. package/dist/vendor-dom-serializer-BbVuF1MQ.js +0 -213
  190. package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
  191. package/dist/vendor-domhandler-Kufn9M_V.js +0 -311
  192. package/dist/vendor-dompurify-M2Bspgo5.js +0 -553
  193. package/dist/vendor-domutils-DDRq_ial.js +0 -386
  194. package/dist/vendor-emotion-cache-eEZT5l-Q.js +0 -274
  195. package/dist/vendor-emotion-hash-DImMRhyK.js +0 -22
  196. package/dist/vendor-emotion-memoize-BcEUCz8q.js +0 -9
  197. package/dist/vendor-emotion-serialize-BSDW8NwU.js +0 -123
  198. package/dist/vendor-emotion-sheet-CS8ZBl9s.js +0 -44
  199. package/dist/vendor-emotion-unitless-B7u1PU6w.js +0 -53
  200. package/dist/vendor-emotion-utils-D7refZTM.js +0 -28
  201. package/dist/vendor-entities-J86Og8IU.js +0 -364
  202. package/dist/vendor-floating-ui-core-BoHdh92a.js +0 -432
  203. package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +0 -398
  204. package/dist/vendor-floating-ui-utils-CidJRIm2.js +0 -257
  205. package/dist/vendor-floating-ui-vue-sCrhit51.js +0 -121
  206. package/dist/vendor-gridstack-Dkfw452e.js +0 -3390
  207. package/dist/vendor-headlessui-vue-Cn-RMs4E.js +0 -961
  208. package/dist/vendor-htmlparser2-BxKKzWLL.js +0 -735
  209. package/dist/vendor-internmap-Q5729_cS.js +0 -35
  210. package/dist/vendor-intlify-core-base-YZqJSEvl.js +0 -1130
  211. package/dist/vendor-intlify-message-compiler-C5QaCXcF.js +0 -952
  212. package/dist/vendor-intlify-shared-BrKs3jCC.js +0 -144
  213. package/dist/vendor-iso-639-1-rPqx9HMT.js +0 -786
  214. package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +0 -286
  215. package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
  216. package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
  217. package/dist/vendor-lodash-es-BtnfG6xF.js +0 -4829
  218. package/dist/vendor-lucide-vue-next-CPgeDcFj.js +0 -33093
  219. package/dist/vendor-markdown-it-Bs9KEWkF.js +0 -2266
  220. package/dist/vendor-markdown-it-task-lists-CHCnS7dl.js +0 -69
  221. package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
  222. package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +0 -1207
  223. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +0 -261
  224. package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +0 -1822
  225. package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +0 -1921
  226. package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +0 -4276
  227. package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +0 -1407
  228. package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +0 -572
  229. package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +0 -43
  230. package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +0 -487
  231. package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +0 -147
  232. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
  233. package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +0 -22
  234. package/dist/vendor-module-federation-error-codes-DdVwX11j.js +0 -55
  235. package/dist/vendor-module-federation-runtime-CVH_lWgu.js +0 -91
  236. package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +0 -2202
  237. package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +0 -18
  238. package/dist/vendor-module-federation-sdk-DM4AJRa7.js +0 -683
  239. package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +0 -261
  240. package/dist/vendor-nevware21-ts-utils-DII8jruI.js +0 -853
  241. package/dist/vendor-nth-check-CGMdQf59.js +0 -45
  242. package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
  243. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +0 -143
  244. package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
  245. package/dist/vendor-prettier-CoRReRqw.js +0 -5215
  246. package/dist/vendor-prosemirror-commands-Bv4ChObl.js +0 -385
  247. package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +0 -86
  248. package/dist/vendor-prosemirror-gapcursor-BAwEBHgE.js +0 -203
  249. package/dist/vendor-prosemirror-history-CQYKHz3u.js +0 -248
  250. package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +0 -62
  251. package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +0 -663
  252. package/dist/vendor-prosemirror-model-DAA3avbR.js +0 -2730
  253. package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +0 -87
  254. package/dist/vendor-prosemirror-state-IeimrELV.js +0 -821
  255. package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +0 -1414
  256. package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +0 -1525
  257. package/dist/vendor-prosemirror-view-DFpBkGRq.js +0 -3794
  258. package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
  259. package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
  260. package/dist/vendor-semver-Dar8oU3V.js +0 -1023
  261. package/dist/vendor-striptags-BrHtQQiF.js +0 -120
  262. package/dist/vendor-stylis-ClfDrgKE.js +0 -334
  263. package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
  264. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
  265. package/dist/vendor-throttle-debounce-CX0imT7m.js +0 -28
  266. package/dist/vendor-tiptap-core-BfrE48R3.js +0 -3884
  267. package/dist/vendor-tiptap-extension-blockquote-DG5eEgV_.js +0 -55
  268. package/dist/vendor-tiptap-extension-bold-CqPrSfgB.js +0 -74
  269. package/dist/vendor-tiptap-extension-code-Dj9HfL9x.js +0 -52
  270. package/dist/vendor-tiptap-extension-code-block-YnlbQcbJ.js +0 -215
  271. package/dist/vendor-tiptap-extension-document-DyG2LNKD.js +0 -12
  272. package/dist/vendor-tiptap-extension-hard-break-mzhqFFEq.js +0 -59
  273. package/dist/vendor-tiptap-extension-heading-DGnriW33.js +0 -63
  274. package/dist/vendor-tiptap-extension-horizontal-rule-pR7MlJHI.js +0 -56
  275. package/dist/vendor-tiptap-extension-image-BsXHNscz.js +0 -128
  276. package/dist/vendor-tiptap-extension-italic-aoCbIXRj.js +0 -73
  277. package/dist/vendor-tiptap-extension-link-DiV7DqnY.js +0 -312
  278. package/dist/vendor-tiptap-extension-list-BGYRWOyu.js +0 -722
  279. package/dist/vendor-tiptap-extension-paragraph-BEBEvW1W.js +0 -44
  280. package/dist/vendor-tiptap-extension-placeholder-ZfoeEW0T.js +0 -1
  281. package/dist/vendor-tiptap-extension-strike-6vob8J1A.js +0 -64
  282. package/dist/vendor-tiptap-extension-table-CH-0UqG-.js +0 -374
  283. package/dist/vendor-tiptap-extension-table-cell-_uzaJkJG.js +0 -1
  284. package/dist/vendor-tiptap-extension-table-header-_uzaJkJG.js +0 -1
  285. package/dist/vendor-tiptap-extension-table-row-_uzaJkJG.js +0 -1
  286. package/dist/vendor-tiptap-extension-text-CnqQVbB2.js +0 -13
  287. package/dist/vendor-tiptap-extension-text-style-Bj4bCZI1.js +0 -235
  288. package/dist/vendor-tiptap-extension-underline-CVBZMhrs.js +0 -65
  289. package/dist/vendor-tiptap-extensions-2ZbpCG7T.js +0 -296
  290. package/dist/vendor-tiptap-markdown-B7Wvo0s5.js +0 -826
  291. package/dist/vendor-tiptap-pm-DSHuSumV.js +0 -1
  292. package/dist/vendor-tiptap-starter-kit-ipneJHYV.js +0 -28
  293. package/dist/vendor-tiptap-vue-3-IfJcIOl5.js +0 -157
  294. package/dist/vendor-truncate-html-r2r8GKvW.js +0 -145
  295. package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
  296. package/dist/vendor-unovis-ts-Bue71Kwt.js +0 -2382
  297. package/dist/vendor-unovis-vue-C_K1g5KH.js +0 -446
  298. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
  299. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
  300. package/dist/vendor-vue-currency-input-CckB4kjx.js +0 -317
  301. package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
  302. package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
  303. package/dist/vendor-vue-i18n-BguHiJqH.js +0 -1381
  304. package/dist/vendor-vue-router-R3V0tq8_.js +0 -6
  305. package/dist/vendor-vue3-application-insights-BmJCYUcp.js +0 -69
  306. package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
  307. package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +0 -4998
  308. package/dist/vendor-vueuse-components-Be490f6P.js +0 -542
  309. package/dist/vendor-vueuse-core-BW8bO6-j.js +0 -5135
  310. package/dist/vendor-vueuse-shared-bmkWEEYZ.js +0 -1169
  311. package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
  312. package/dist/vendor-web-vitals-vrpLO1bu.js +0 -207
@@ -1,781 +0,0 @@
1
- var B = Object.defineProperty, J = (r, t, e) => t in r ? B(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, h = (r, t, e) => J(r, typeof t != "symbol" ? t + "" : t, e);
2
- class c {
3
- static debug(t) {
4
- this._logLevel >= 4 && console.debug(this._prefix + t);
5
- }
6
- static info(t, e) {
7
- this._logLevel >= 3 && (e !== void 0 ? console.info(this._prefix + t, e) : console.info(this._prefix + t));
8
- }
9
- static warn(t) {
10
- this._logLevel >= 1 && console.warn(this._prefix + t);
11
- }
12
- static error(t, e = !0) {
13
- if (this._logLevel >= 0) {
14
- if (e)
15
- throw new Error(this._prefix + t);
16
- console.error(this._prefix + t);
17
- }
18
- }
19
- static setLogLevel(t) {
20
- this._logLevel = t;
21
- }
22
- }
23
- h(c, "_prefix", "[Cypress-SignalR-Mock] - "), h(c, "_logLevel", 3);
24
- var k = function(r, t) {
25
- return k = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
26
- e.__proto__ = n;
27
- } || function(e, n) {
28
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
29
- }, k(r, t);
30
- };
31
- function y(r, t) {
32
- if (typeof t != "function" && t !== null)
33
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
34
- k(r, t);
35
- function e() {
36
- this.constructor = r;
37
- }
38
- r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
39
- }
40
- function S(r) {
41
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
42
- if (e) return e.call(r);
43
- if (r && typeof r.length == "number") return {
44
- next: function() {
45
- return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
46
- }
47
- };
48
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
49
- }
50
- function x(r, t) {
51
- var e = typeof Symbol == "function" && r[Symbol.iterator];
52
- if (!e) return r;
53
- var n = e.call(r), o, i = [], s;
54
- try {
55
- for (; (t === void 0 || t-- > 0) && !(o = n.next()).done; ) i.push(o.value);
56
- } catch (u) {
57
- s = { error: u };
58
- } finally {
59
- try {
60
- o && !o.done && (e = n.return) && e.call(n);
61
- } finally {
62
- if (s) throw s.error;
63
- }
64
- }
65
- return i;
66
- }
67
- function O(r, t, e) {
68
- if (arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
69
- (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
70
- return r.concat(i || Array.prototype.slice.call(t));
71
- }
72
- function f(r) {
73
- return typeof r == "function";
74
- }
75
- function V(r) {
76
- var t = function(n) {
77
- Error.call(n), n.stack = new Error().stack;
78
- }, e = r(t);
79
- return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
80
- }
81
- var C = V(function(r) {
82
- return function(t) {
83
- r(this), this.message = t ? t.length + ` errors occurred during unsubscription:
84
- ` + t.map(function(e, n) {
85
- return n + 1 + ") " + e.toString();
86
- }).join(`
87
- `) : "", this.name = "UnsubscriptionError", this.errors = t;
88
- };
89
- });
90
- function P(r, t) {
91
- if (r) {
92
- var e = r.indexOf(t);
93
- 0 <= e && r.splice(e, 1);
94
- }
95
- }
96
- var m = (function() {
97
- function r(t) {
98
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
99
- }
100
- return r.prototype.unsubscribe = function() {
101
- var t, e, n, o, i;
102
- if (!this.closed) {
103
- this.closed = !0;
104
- var s = this._parentage;
105
- if (s)
106
- if (this._parentage = null, Array.isArray(s))
107
- try {
108
- for (var u = S(s), a = u.next(); !a.done; a = u.next()) {
109
- var g = a.value;
110
- g.remove(this);
111
- }
112
- } catch (l) {
113
- t = { error: l };
114
- } finally {
115
- try {
116
- a && !a.done && (e = u.return) && e.call(u);
117
- } finally {
118
- if (t) throw t.error;
119
- }
120
- }
121
- else
122
- s.remove(this);
123
- var L = this.initialTeardown;
124
- if (f(L))
125
- try {
126
- L();
127
- } catch (l) {
128
- i = l instanceof C ? l.errors : [l];
129
- }
130
- var j = this._finalizers;
131
- if (j) {
132
- this._finalizers = null;
133
- try {
134
- for (var d = S(j), p = d.next(); !p.done; p = d.next()) {
135
- var q = p.value;
136
- try {
137
- D(q);
138
- } catch (l) {
139
- i = i ?? [], l instanceof C ? i = O(O([], x(i)), x(l.errors)) : i.push(l);
140
- }
141
- }
142
- } catch (l) {
143
- n = { error: l };
144
- } finally {
145
- try {
146
- p && !p.done && (o = d.return) && o.call(d);
147
- } finally {
148
- if (n) throw n.error;
149
- }
150
- }
151
- }
152
- if (i)
153
- throw new C(i);
154
- }
155
- }, r.prototype.add = function(t) {
156
- var e;
157
- if (t && t !== this)
158
- if (this.closed)
159
- D(t);
160
- else {
161
- if (t instanceof r) {
162
- if (t.closed || t._hasParent(this))
163
- return;
164
- t._addParent(this);
165
- }
166
- (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
167
- }
168
- }, r.prototype._hasParent = function(t) {
169
- var e = this._parentage;
170
- return e === t || Array.isArray(e) && e.includes(t);
171
- }, r.prototype._addParent = function(t) {
172
- var e = this._parentage;
173
- this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
174
- }, r.prototype._removeParent = function(t) {
175
- var e = this._parentage;
176
- e === t ? this._parentage = null : Array.isArray(e) && P(e, t);
177
- }, r.prototype.remove = function(t) {
178
- var e = this._finalizers;
179
- e && P(e, t), t instanceof r && t._removeParent(this);
180
- }, r.EMPTY = (function() {
181
- var t = new r();
182
- return t.closed = !0, t;
183
- })(), r;
184
- })(), F = m.EMPTY;
185
- function H(r) {
186
- return r instanceof m || r && "closed" in r && f(r.remove) && f(r.add) && f(r.unsubscribe);
187
- }
188
- function D(r) {
189
- f(r) ? r() : r.unsubscribe();
190
- }
191
- var K = {
192
- Promise: void 0
193
- }, Q = {
194
- setTimeout: function(r, t) {
195
- for (var e = [], n = 2; n < arguments.length; n++)
196
- e[n - 2] = arguments[n];
197
- return setTimeout.apply(void 0, O([r, t], x(e)));
198
- },
199
- clearTimeout: function(r) {
200
- return clearTimeout(r);
201
- },
202
- delegate: void 0
203
- };
204
- function W(r) {
205
- Q.setTimeout(function() {
206
- throw r;
207
- });
208
- }
209
- function A() {
210
- }
211
- function v(r) {
212
- r();
213
- }
214
- var U = (function(r) {
215
- y(t, r);
216
- function t(e) {
217
- var n = r.call(this) || this;
218
- return n.isStopped = !1, e ? (n.destination = e, H(e) && e.add(n)) : n.destination = G, n;
219
- }
220
- return t.create = function(e, n, o) {
221
- return new T(e, n, o);
222
- }, t.prototype.next = function(e) {
223
- this.isStopped || this._next(e);
224
- }, t.prototype.error = function(e) {
225
- this.isStopped || (this.isStopped = !0, this._error(e));
226
- }, t.prototype.complete = function() {
227
- this.isStopped || (this.isStopped = !0, this._complete());
228
- }, t.prototype.unsubscribe = function() {
229
- this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
230
- }, t.prototype._next = function(e) {
231
- this.destination.next(e);
232
- }, t.prototype._error = function(e) {
233
- try {
234
- this.destination.error(e);
235
- } finally {
236
- this.unsubscribe();
237
- }
238
- }, t.prototype._complete = function() {
239
- try {
240
- this.destination.complete();
241
- } finally {
242
- this.unsubscribe();
243
- }
244
- }, t;
245
- })(m), X = (function() {
246
- function r(t) {
247
- this.partialObserver = t;
248
- }
249
- return r.prototype.next = function(t) {
250
- var e = this.partialObserver;
251
- if (e.next)
252
- try {
253
- e.next(t);
254
- } catch (n) {
255
- b(n);
256
- }
257
- }, r.prototype.error = function(t) {
258
- var e = this.partialObserver;
259
- if (e.error)
260
- try {
261
- e.error(t);
262
- } catch (n) {
263
- b(n);
264
- }
265
- else
266
- b(t);
267
- }, r.prototype.complete = function() {
268
- var t = this.partialObserver;
269
- if (t.complete)
270
- try {
271
- t.complete();
272
- } catch (e) {
273
- b(e);
274
- }
275
- }, r;
276
- })(), T = (function(r) {
277
- y(t, r);
278
- function t(e, n, o) {
279
- var i = r.call(this) || this, s;
280
- return f(e) || !e ? s = {
281
- next: e ?? void 0,
282
- error: n ?? void 0,
283
- complete: o ?? void 0
284
- } : s = e, i.destination = new X(s), i;
285
- }
286
- return t;
287
- })(U);
288
- function b(r) {
289
- W(r);
290
- }
291
- function Z(r) {
292
- throw r;
293
- }
294
- var G = {
295
- closed: !0,
296
- next: A,
297
- error: Z,
298
- complete: A
299
- }, tt = (function() {
300
- return typeof Symbol == "function" && Symbol.observable || "@@observable";
301
- })();
302
- function et(r) {
303
- return r;
304
- }
305
- function rt(r) {
306
- return r.length === 0 ? et : r.length === 1 ? r[0] : function(t) {
307
- return r.reduce(function(e, n) {
308
- return n(e);
309
- }, t);
310
- };
311
- }
312
- var M = (function() {
313
- function r(t) {
314
- t && (this._subscribe = t);
315
- }
316
- return r.prototype.lift = function(t) {
317
- var e = new r();
318
- return e.source = this, e.operator = t, e;
319
- }, r.prototype.subscribe = function(t, e, n) {
320
- var o = this, i = ot(t) ? t : new T(t, e, n);
321
- return v(function() {
322
- var s = o, u = s.operator, a = s.source;
323
- i.add(u ? u.call(i, a) : a ? o._subscribe(i) : o._trySubscribe(i));
324
- }), i;
325
- }, r.prototype._trySubscribe = function(t) {
326
- try {
327
- return this._subscribe(t);
328
- } catch (e) {
329
- t.error(e);
330
- }
331
- }, r.prototype.forEach = function(t, e) {
332
- var n = this;
333
- return e = $(e), new e(function(o, i) {
334
- var s = new T({
335
- next: function(u) {
336
- try {
337
- t(u);
338
- } catch (a) {
339
- i(a), s.unsubscribe();
340
- }
341
- },
342
- error: i,
343
- complete: o
344
- });
345
- n.subscribe(s);
346
- });
347
- }, r.prototype._subscribe = function(t) {
348
- var e;
349
- return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
350
- }, r.prototype[tt] = function() {
351
- return this;
352
- }, r.prototype.pipe = function() {
353
- for (var t = [], e = 0; e < arguments.length; e++)
354
- t[e] = arguments[e];
355
- return rt(t)(this);
356
- }, r.prototype.toPromise = function(t) {
357
- var e = this;
358
- return t = $(t), new t(function(n, o) {
359
- var i;
360
- e.subscribe(function(s) {
361
- return i = s;
362
- }, function(s) {
363
- return o(s);
364
- }, function() {
365
- return n(i);
366
- });
367
- });
368
- }, r.create = function(t) {
369
- return new r(t);
370
- }, r;
371
- })();
372
- function $(r) {
373
- var t;
374
- return (t = r ?? K.Promise) !== null && t !== void 0 ? t : Promise;
375
- }
376
- function nt(r) {
377
- return r && f(r.next) && f(r.error) && f(r.complete);
378
- }
379
- function ot(r) {
380
- return r && r instanceof U || nt(r) && H(r);
381
- }
382
- var it = V(function(r) {
383
- return function() {
384
- r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
385
- };
386
- }), E = (function(r) {
387
- y(t, r);
388
- function t() {
389
- var e = r.call(this) || this;
390
- return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
391
- }
392
- return t.prototype.lift = function(e) {
393
- var n = new z(this, this);
394
- return n.operator = e, n;
395
- }, t.prototype._throwIfClosed = function() {
396
- if (this.closed)
397
- throw new it();
398
- }, t.prototype.next = function(e) {
399
- var n = this;
400
- v(function() {
401
- var o, i;
402
- if (n._throwIfClosed(), !n.isStopped) {
403
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
404
- try {
405
- for (var s = S(n.currentObservers), u = s.next(); !u.done; u = s.next()) {
406
- var a = u.value;
407
- a.next(e);
408
- }
409
- } catch (g) {
410
- o = { error: g };
411
- } finally {
412
- try {
413
- u && !u.done && (i = s.return) && i.call(s);
414
- } finally {
415
- if (o) throw o.error;
416
- }
417
- }
418
- }
419
- });
420
- }, t.prototype.error = function(e) {
421
- var n = this;
422
- v(function() {
423
- if (n._throwIfClosed(), !n.isStopped) {
424
- n.hasError = n.isStopped = !0, n.thrownError = e;
425
- for (var o = n.observers; o.length; )
426
- o.shift().error(e);
427
- }
428
- });
429
- }, t.prototype.complete = function() {
430
- var e = this;
431
- v(function() {
432
- if (e._throwIfClosed(), !e.isStopped) {
433
- e.isStopped = !0;
434
- for (var n = e.observers; n.length; )
435
- n.shift().complete();
436
- }
437
- });
438
- }, t.prototype.unsubscribe = function() {
439
- this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
440
- }, Object.defineProperty(t.prototype, "observed", {
441
- get: function() {
442
- var e;
443
- return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
444
- },
445
- enumerable: !1,
446
- configurable: !0
447
- }), t.prototype._trySubscribe = function(e) {
448
- return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
449
- }, t.prototype._subscribe = function(e) {
450
- return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
451
- }, t.prototype._innerSubscribe = function(e) {
452
- var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
453
- return i || s ? F : (this.currentObservers = null, u.push(e), new m(function() {
454
- n.currentObservers = null, P(u, e);
455
- }));
456
- }, t.prototype._checkFinalizedStatuses = function(e) {
457
- var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
458
- o ? e.error(i) : s && e.complete();
459
- }, t.prototype.asObservable = function() {
460
- var e = new M();
461
- return e.source = this, e;
462
- }, t.create = function(e, n) {
463
- return new z(e, n);
464
- }, t;
465
- })(M), z = (function(r) {
466
- y(t, r);
467
- function t(e, n) {
468
- var o = r.call(this) || this;
469
- return o.destination = e, o.source = n, o;
470
- }
471
- return t.prototype.next = function(e) {
472
- var n, o;
473
- (o = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || o === void 0 || o.call(n, e);
474
- }, t.prototype.error = function(e) {
475
- var n, o;
476
- (o = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || o === void 0 || o.call(n, e);
477
- }, t.prototype.complete = function() {
478
- var e, n;
479
- (n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
480
- }, t.prototype._subscribe = function(e) {
481
- var n, o;
482
- return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && o !== void 0 ? o : F;
483
- }, t;
484
- })(E);
485
- class st {
486
- constructor(t, e) {
487
- this._subject = t, this._observer = e;
488
- }
489
- dispose() {
490
- const t = this._subject.observers.indexOf(this._observer);
491
- t > -1 && this._subject.observers.splice(t, 1), this._subject.observers.length === 0 && this._subject.cancelCallback && this._subject.cancelCallback().catch((e) => {
492
- });
493
- }
494
- }
495
- class ut {
496
- constructor() {
497
- this.observers = [];
498
- }
499
- next(t) {
500
- for (const e of this.observers)
501
- e.next(t);
502
- }
503
- error(t) {
504
- for (const e of this.observers)
505
- e.error && e.error(t);
506
- }
507
- complete() {
508
- for (const t of this.observers)
509
- t.complete && t.complete();
510
- }
511
- subscribe(t) {
512
- return this.observers.push(t), new st(this, t);
513
- }
514
- }
515
- class ct {
516
- constructor(t) {
517
- h(this, "_hubConnectionData", []), h(this, "_serverInvokes", []), h(this, "_invokeResponses", {}), h(this, "name"), this.name = t;
518
- }
519
- publish(t, ...e) {
520
- t = t.toLowerCase();
521
- const n = this._hubConnectionData.filter(
522
- (o) => o.messageType === t
523
- );
524
- if (n.length === 0) {
525
- c.warn(`No subscribers for ${t}`);
526
- return;
527
- }
528
- c.debug(
529
- `Publishing action: ${t} to ${n.length} subscribers`
530
- ), n.forEach((o) => {
531
- o.channel.next({ name: t, values: e });
532
- });
533
- }
534
- verify(t, e) {
535
- t = t.toLowerCase();
536
- const n = this._serverInvokes.filter(
537
- (o) => o.action === t
538
- );
539
- e && e(n);
540
- }
541
- mockInvoke(t, e) {
542
- this._invokeResponses[t] = e;
543
- }
544
- unmockInvoke(t) {
545
- delete this._invokeResponses[t];
546
- }
547
- on(t, e) {
548
- t = t.toLowerCase(), this._hubConnectionData.some((i) => i.messageType === t) || this._hubConnectionData.push({
549
- messageType: t,
550
- isStream: !1,
551
- channel: new E(),
552
- subscriptions: []
553
- });
554
- let n = this._hubConnectionData.find(
555
- (i) => i.messageType === t
556
- );
557
- if (!n)
558
- throw new Error(`Could not find connection data for ${t}`);
559
- let o = n.channel.subscribe((i) => {
560
- e(...i.values);
561
- });
562
- n.subscriptions.push({
563
- handler: e,
564
- subscription: o
565
- });
566
- }
567
- /** Invokes a streaming hub method on the server using the specified name and arguments.
568
- *
569
- * @typeparam T The type of the items returned by the server.
570
- * @param {string} methodName The name of the server method to invoke.
571
- * @param {any[]} args The arguments used to invoke the server method.
572
- * @returns {IStreamResult<T>} An object that yields results from the server as they are received.
573
- */
574
- // @ts-ignore
575
- stream(t, ...e) {
576
- t = t.toLowerCase(), this._hubConnectionData.some((i) => i.messageType === t) || this._hubConnectionData.push({
577
- messageType: t,
578
- isStream: !0,
579
- channel: new E(),
580
- subscriptions: []
581
- });
582
- let n = this._hubConnectionData.find(
583
- (i) => i.messageType === t
584
- );
585
- if (!n)
586
- throw new Error(`Could not find connection data for ${t}`);
587
- const o = new ut();
588
- return n.channel.subscribe({
589
- next: (i) => o.next(i),
590
- error: (i) => o.error(i),
591
- complete: () => o.complete()
592
- }), o;
593
- }
594
- /** Invokes a hub method on the server using the specified name and arguments.
595
- *
596
- * The Promise returned by this method resolves when the server indicates it has finished invoking the method. When the promise
597
- * resolves, the server has finished invoking the method. If the server method returns a result, it is produced as the result of
598
- * resolving the Promise.
599
- *
600
- * @typeparam T The expected return type.
601
- * @param {string} methodName The name of the server method to invoke.
602
- * @param {any[]} args The arguments used to invoke the server method.
603
- * @returns {Promise<T>} A Promise that resolves with the result of the server method (if any), or rejects with an error.
604
- */
605
- invoke(t, ...e) {
606
- return new Promise((n) => {
607
- this._serverInvokes.push({
608
- action: t,
609
- args: e
610
- });
611
- const o = this._invokeResponses[t];
612
- n(o !== void 0 ? o : 0);
613
- });
614
- }
615
- off(t, e) {
616
- t = t.toLowerCase();
617
- const n = this._hubConnectionData.findIndex(
618
- (o) => o.messageType === t
619
- );
620
- if (n == -1) {
621
- c.warn(`No channels registered for action name: ${t}`);
622
- return;
623
- }
624
- if (e) {
625
- const o = this._hubConnectionData[n].subscriptions.findIndex((i) => i.handler === e);
626
- if (o == -1) {
627
- c.warn(
628
- `Could not find the handler to delete for action name: ${t}`
629
- );
630
- return;
631
- }
632
- this._hubConnectionData[n].subscriptions.splice(o, 1), this._hubConnectionData[n].subscriptions.length === 0 && this._hubConnectionData.splice(n, 1);
633
- } else
634
- this._hubConnectionData.splice(n, 1);
635
- }
636
- /** Registers a handler that will be invoked when the connection is closed.
637
- *
638
- * @param {Function} callback The handler that will be invoked when the connection is closed. Optionally receives a single argument containing the error that caused the connection to close (if any).
639
- */
640
- // @ts-ignore
641
- onclose(t) {
642
- }
643
- /** Starts the connection.
644
- *
645
- * @returns {Promise<void>} A Promise that resolves when the connection has been successfully established, or rejects with an error.
646
- */
647
- start() {
648
- return Promise.resolve();
649
- }
650
- /** Stops the connection.
651
- *
652
- * @returns {Promise<void>} A Promise that resolves when the connection has been successfully terminated, or rejects with an error.
653
- */
654
- async stop() {
655
- return Promise.resolve();
656
- }
657
- /** Registers a handler that will be invoked when the connection starts reconnecting.
658
- *
659
- * @param {Function} callback The handler that will be invoked when the connection starts reconnecting. Optionally receives a single argument containing the error that caused the connection to start reconnecting (if any).
660
- */
661
- // @ts-ignore
662
- onreconnecting(t) {
663
- }
664
- /** Registers a handler that will be invoked when the connection successfully reconnects.
665
- *
666
- * @param {Function} callback The handler that will be invoked when the connection successfully reconnects.
667
- */
668
- // @ts-ignore
669
- onreconnected(t) {
670
- }
671
- /** Invokes a hub method on the server using the specified name and arguments. Does not wait for a response from the receiver.
672
- *
673
- * The Promise returned by this method resolves when the client has sent the invocation to the server. The server may still
674
- * be processing the invocation.
675
- *
676
- * @param {string} methodName The name of the server method to invoke.
677
- * @param {any[]} args The arguments used to invoke the server method.
678
- * @returns {Promise<void>} A Promise that resolves when the invocation has been successfully sent, or rejects with an error.
679
- */
680
- // @ts-ignore
681
- send(t, ...e) {
682
- return Promise.resolve();
683
- }
684
- // endregion
685
- }
686
- function N() {
687
- return I() ? !1 : !!window.Cypress;
688
- }
689
- function _() {
690
- return !I() && window["cypress-signalr-mock"] ? window["cypress-signalr-mock"] : (Y(), _());
691
- }
692
- function at(r) {
693
- I() || (window["cypress-signalr-mock"] = r);
694
- }
695
- function Y() {
696
- at(lt());
697
- }
698
- function lt() {
699
- return {
700
- mocks: []
701
- };
702
- }
703
- function w(r) {
704
- return _().mocks.find((t) => t.name === r) ?? null;
705
- }
706
- function I() {
707
- return typeof window > "u" ? (c.error(
708
- "window is not defined. This most likely happens during SSR, which is not supported",
709
- !1
710
- ), !0) : !1;
711
- }
712
- function R() {
713
- var r;
714
- return typeof process < "u" && ((r = process == null ? void 0 : process.env) == null ? void 0 : r.hasOwnProperty("VITEST")) && process.env.VITEST === "true";
715
- }
716
- function ft() {
717
- if (!N()) {
718
- c.debug("Cypress is not running, skipping setup of Cypress commands");
719
- return;
720
- }
721
- const r = window.Cypress;
722
- r.Commands.add("hubMockInvoke", ht), r.Commands.add("hubUnmockInvoke", pt), r.Commands.add("hubPublish", dt), r.Commands.add("hubVerifyInvokes", bt), r.Commands.add("hubClear", yt), r.Commands.add("hubPrintData", vt);
723
- }
724
- function ht(r, t, e) {
725
- const n = w(r);
726
- if (!n) {
727
- c.error(`[cy.hubMockInvoke] - HubConnectionMock not found for ${r}`);
728
- return;
729
- }
730
- n.mockInvoke(t, e);
731
- }
732
- function pt(r, t) {
733
- const e = w(r);
734
- if (!e) {
735
- c.error(`[cy.hubUnmockInvoke] - HubConnectionMock not found for ${r}`);
736
- return;
737
- }
738
- e.unmockInvoke(t);
739
- }
740
- function dt(r, t, ...e) {
741
- const n = w(r);
742
- if (!n) {
743
- c.error(`[cy.hubPublish] - HubConnectionMock not found for ${r}`);
744
- return;
745
- }
746
- n.publish(t, ...e);
747
- }
748
- function bt(r, t, e) {
749
- const n = w(r);
750
- if (!n) {
751
- c.error(
752
- `[cy.hubVerify] - HubConnectionMock not found for hub with name: ${r}`
753
- );
754
- return;
755
- }
756
- n.verify(t, e);
757
- }
758
- function vt() {
759
- c.info(
760
- 'Current window["cypress-signalr-mock"] data:',
761
- _()
762
- );
763
- }
764
- function yt() {
765
- Y();
766
- }
767
- ft();
768
- mt("default");
769
- function mt(r, t) {
770
- const { debug: e, enableForVitest: n } = t ?? {};
771
- if (e && c.setLogLevel(4), !n && R() && c.info(
772
- "Vitest detected. To enable CypressSignalRMock in Vitest, pass { enableForVitest: true } to useCypressSignalRMock(). Skipping..."
773
- ), N() || n && R()) {
774
- const o = new ct(r);
775
- return _().mocks.push(o), o;
776
- }
777
- return null;
778
- }
779
- export {
780
- mt as _
781
- };