@chat-lab/ui 0.1.0-beta.37 → 0.1.0-beta.39

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 (463) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +0 -26
  2. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
  3. package/dist/_virtual/_commonjsHelpers.js +1 -26
  4. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  5. package/dist/_virtual/index.cjs +2 -2
  6. package/dist/_virtual/index.js +2 -2
  7. package/dist/_virtual/index2.cjs +2 -2
  8. package/dist/_virtual/index2.js +2 -2
  9. package/dist/_virtual/index3.cjs +2 -2
  10. package/dist/_virtual/index3.js +2 -2
  11. package/dist/_virtual/index4.cjs +2 -2
  12. package/dist/_virtual/index4.js +2 -2
  13. package/dist/adk/components/Debug/Events/index.cjs +15 -1
  14. package/dist/adk/components/Debug/Events/index.cjs.map +1 -1
  15. package/dist/adk/components/Debug/Events/index.d.ts.map +1 -1
  16. package/dist/adk/components/Debug/Events/index.js +15 -1
  17. package/dist/adk/components/Debug/Events/index.js.map +1 -1
  18. package/dist/adk/components/Debug/Trace/store.cjs +3 -3
  19. package/dist/adk/components/Debug/Trace/store.cjs.map +1 -1
  20. package/dist/adk/components/Debug/Trace/store.js +1 -1
  21. package/dist/adk/components/Debug/Trace/utils.cjs +0 -1
  22. package/dist/adk/components/Debug/Trace/utils.cjs.map +1 -1
  23. package/dist/adk/components/Debug/Trace/utils.d.ts.map +1 -1
  24. package/dist/adk/components/Debug/Trace/utils.js +0 -1
  25. package/dist/adk/components/Debug/Trace/utils.js.map +1 -1
  26. package/dist/adk/hooks/useEvents.cjs +14 -7
  27. package/dist/adk/hooks/useEvents.cjs.map +1 -1
  28. package/dist/adk/hooks/useEvents.d.ts.map +1 -1
  29. package/dist/adk/hooks/useEvents.js +12 -5
  30. package/dist/adk/hooks/useEvents.js.map +1 -1
  31. package/dist/components/ThreadOptionsMenu.cjs +11 -4
  32. package/dist/components/ThreadOptionsMenu.cjs.map +1 -1
  33. package/dist/components/ThreadOptionsMenu.d.ts.map +1 -1
  34. package/dist/components/ThreadOptionsMenu.js +11 -4
  35. package/dist/components/ThreadOptionsMenu.js.map +1 -1
  36. package/dist/components/assistant-ui/markdown-text.cjs +1 -5
  37. package/dist/components/assistant-ui/markdown-text.cjs.map +1 -1
  38. package/dist/components/assistant-ui/markdown-text.js +1 -5
  39. package/dist/components/assistant-ui/markdown-text.js.map +1 -1
  40. package/dist/components/assistant-ui/thread.cjs +1 -1
  41. package/dist/components/assistant-ui/thread.cjs.map +1 -1
  42. package/dist/components/thread-list.cjs +5 -5
  43. package/dist/components/thread-list.cjs.map +1 -1
  44. package/dist/index.css +1 -2
  45. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.cjs +0 -18
  46. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.cjs.map +1 -1
  47. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js +1 -17
  48. package/dist/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js.map +1 -1
  49. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.cjs +1 -1
  50. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +1 -1
  51. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.cjs +1 -4
  52. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.cjs.map +1 -1
  53. package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js +1 -1
  54. package/dist/node_modules/.pnpm/secure-json-parse@4.1.0/node_modules/secure-json-parse/index.cjs +1 -1
  55. package/dist/node_modules/.pnpm/secure-json-parse@4.1.0/node_modules/secure-json-parse/index.js +1 -1
  56. package/dist/node_modules/.pnpm/style-to-js@1.1.18/node_modules/style-to-js/cjs/index.cjs +1 -1
  57. package/dist/node_modules/.pnpm/style-to-js@1.1.18/node_modules/style-to-js/cjs/index.js +1 -1
  58. package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.cjs +1 -1
  59. package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.js +1 -1
  60. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.cjs +0 -5
  61. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.cjs.map +1 -1
  62. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.js +1 -5
  63. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@17.0.2_react@17.0.2/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -1
  64. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@17.0.2/node_modules/use-sync-external-store/shim/index.cjs +1 -1
  65. package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@17.0.2/node_modules/use-sync-external-store/shim/index.js +1 -1
  66. package/dist/node_modules/@byted/iaas-monitor/lib/common.cjs +55 -0
  67. package/dist/node_modules/@byted/iaas-monitor/lib/common.cjs.map +1 -0
  68. package/dist/node_modules/@byted/iaas-monitor/lib/common.js +52 -0
  69. package/dist/node_modules/@byted/iaas-monitor/lib/common.js.map +1 -0
  70. package/dist/node_modules/@byted/iaas-monitor/lib/const.cjs +63 -0
  71. package/dist/node_modules/@byted/iaas-monitor/lib/const.cjs.map +1 -0
  72. package/dist/node_modules/@byted/iaas-monitor/lib/const.js +57 -0
  73. package/dist/node_modules/@byted/iaas-monitor/lib/const.js.map +1 -0
  74. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.cjs +72 -0
  75. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.cjs.map +1 -0
  76. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js +70 -0
  77. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js.map +1 -0
  78. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.cjs +65 -0
  79. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.cjs.map +1 -0
  80. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.js +63 -0
  81. package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.js.map +1 -0
  82. package/dist/node_modules/@byted/iaas-monitor/lib/monitor.cjs +21 -0
  83. package/dist/node_modules/@byted/iaas-monitor/lib/monitor.cjs.map +1 -0
  84. package/dist/node_modules/@byted/iaas-monitor/lib/monitor.js +19 -0
  85. package/dist/node_modules/@byted/iaas-monitor/lib/monitor.js.map +1 -0
  86. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.cjs +12 -0
  87. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.cjs.map +1 -0
  88. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.js +10 -0
  89. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.js.map +1 -0
  90. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.cjs +15 -0
  91. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.cjs.map +1 -0
  92. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.js +13 -0
  93. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.js.map +1 -0
  94. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.cjs +11 -0
  95. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.cjs.map +1 -0
  96. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.js +9 -0
  97. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.js.map +1 -0
  98. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.cjs +14 -0
  99. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.cjs.map +1 -0
  100. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.js +12 -0
  101. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.js.map +1 -0
  102. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.cjs +31 -0
  103. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.cjs.map +1 -0
  104. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.js +29 -0
  105. package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.js.map +1 -0
  106. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.cjs +157 -0
  107. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.cjs.map +1 -0
  108. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.js +155 -0
  109. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.js.map +1 -0
  110. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.cjs +73 -0
  111. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.cjs.map +1 -0
  112. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.js +71 -0
  113. package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.js.map +1 -0
  114. package/dist/node_modules/@byted/iaas-monitor/lib/utils.cjs +195 -0
  115. package/dist/node_modules/@byted/iaas-monitor/lib/utils.cjs.map +1 -0
  116. package/dist/node_modules/@byted/iaas-monitor/lib/utils.js +183 -0
  117. package/dist/node_modules/@byted/iaas-monitor/lib/utils.js.map +1 -0
  118. package/dist/node_modules/@byted-iaas/fetch/lib/basic.cjs +41 -0
  119. package/dist/node_modules/@byted-iaas/fetch/lib/basic.cjs.map +1 -0
  120. package/dist/node_modules/@byted-iaas/fetch/lib/basic.js +39 -0
  121. package/dist/node_modules/@byted-iaas/fetch/lib/basic.js.map +1 -0
  122. package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.cjs +109 -0
  123. package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.cjs.map +1 -0
  124. package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.js +88 -0
  125. package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.js.map +1 -0
  126. package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.cjs +78 -0
  127. package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.cjs.map +1 -0
  128. package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.js +76 -0
  129. package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.js.map +1 -0
  130. package/dist/node_modules/@byted-iaas/fetch/lib/fetch.cjs +237 -0
  131. package/dist/node_modules/@byted-iaas/fetch/lib/fetch.cjs.map +1 -0
  132. package/dist/node_modules/@byted-iaas/fetch/lib/fetch.js +235 -0
  133. package/dist/node_modules/@byted-iaas/fetch/lib/fetch.js.map +1 -0
  134. package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.cjs +28 -0
  135. package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.cjs.map +1 -0
  136. package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.js +26 -0
  137. package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.js.map +1 -0
  138. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.cjs +34 -0
  139. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.cjs.map +1 -0
  140. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.js +31 -0
  141. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.js.map +1 -0
  142. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.cjs +13 -0
  143. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.cjs.map +1 -0
  144. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.js +11 -0
  145. package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.js.map +1 -0
  146. package/dist/node_modules/@byted-paas/vfetch/dist/es/index.cjs +445 -0
  147. package/dist/node_modules/@byted-paas/vfetch/dist/es/index.cjs.map +1 -0
  148. package/dist/node_modules/@byted-paas/vfetch/dist/es/index.js +442 -0
  149. package/dist/node_modules/@byted-paas/vfetch/dist/es/index.js.map +1 -0
  150. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +12 -0
  151. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs.map +1 -0
  152. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +10 -0
  153. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
  154. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs +40 -0
  155. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs.map +1 -0
  156. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +38 -0
  157. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -0
  158. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +10 -0
  159. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs.map +1 -0
  160. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +8 -0
  161. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -0
  162. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.cjs +24 -0
  163. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.cjs.map +1 -0
  164. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.js +22 -0
  165. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.js.map +1 -0
  166. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.cjs +23 -0
  167. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.cjs.map +1 -0
  168. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.js +21 -0
  169. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
  170. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +19 -0
  171. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
  172. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.js +17 -0
  173. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
  174. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +11 -0
  175. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs.map +1 -0
  176. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +9 -0
  177. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
  178. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.cjs +24 -0
  179. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.cjs.map +1 -0
  180. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.js +22 -0
  181. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
  182. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.cjs +8 -0
  183. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.cjs.map +1 -0
  184. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +6 -0
  185. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js.map +1 -0
  186. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +17 -0
  187. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs.map +1 -0
  188. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +15 -0
  189. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -0
  190. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +17 -0
  191. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs.map +1 -0
  192. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +15 -0
  193. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
  194. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +12 -0
  195. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs.map +1 -0
  196. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +10 -0
  197. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  198. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.cjs +14 -0
  199. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.cjs.map +1 -0
  200. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
  201. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  202. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.cjs +43 -0
  203. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.cjs.map +1 -0
  204. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +41 -0
  205. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js.map +1 -0
  206. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs +365 -0
  207. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs.map +1 -0
  208. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +363 -0
  209. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.js.map +1 -0
  210. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.cjs +22 -0
  211. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.cjs.map +1 -0
  212. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.js +20 -0
  213. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.js.map +1 -0
  214. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.cjs +25 -0
  215. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.cjs.map +1 -0
  216. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.js +23 -0
  217. package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.js.map +1 -0
  218. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.cjs +14 -0
  219. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.cjs.map +1 -0
  220. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.js +12 -0
  221. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.js.map +1 -0
  222. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.cjs +23 -0
  223. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.cjs.map +1 -0
  224. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.js +21 -0
  225. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.js.map +1 -0
  226. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.cjs +21 -0
  227. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.cjs.map +1 -0
  228. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.js +19 -0
  229. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.js.map +1 -0
  230. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.cjs +22 -0
  231. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.cjs.map +1 -0
  232. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.js +20 -0
  233. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.js.map +1 -0
  234. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs +137 -0
  235. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs.map +1 -0
  236. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js +134 -0
  237. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js.map +1 -0
  238. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.cjs +63 -0
  239. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.cjs.map +1 -0
  240. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.js +61 -0
  241. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.js.map +1 -0
  242. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.cjs +236 -0
  243. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.cjs.map +1 -0
  244. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.js +232 -0
  245. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.js.map +1 -0
  246. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.cjs +26 -0
  247. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.cjs.map +1 -0
  248. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.js +24 -0
  249. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.js.map +1 -0
  250. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.cjs +87 -0
  251. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.cjs.map +1 -0
  252. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js +82 -0
  253. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js.map +1 -0
  254. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.cjs +19 -0
  255. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.cjs.map +1 -0
  256. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js +16 -0
  257. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js.map +1 -0
  258. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.cjs +11 -0
  259. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.cjs.map +1 -0
  260. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js +9 -0
  261. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js.map +1 -0
  262. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.cjs +235 -0
  263. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.cjs.map +1 -0
  264. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.js +233 -0
  265. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.js.map +1 -0
  266. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.cjs +75 -0
  267. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.cjs.map +1 -0
  268. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.js +73 -0
  269. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.js.map +1 -0
  270. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.cjs +31 -0
  271. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.cjs.map +1 -0
  272. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.js +29 -0
  273. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.js.map +1 -0
  274. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.cjs +133 -0
  275. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.cjs.map +1 -0
  276. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.js +131 -0
  277. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
  278. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.cjs +17 -0
  279. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.cjs.map +1 -0
  280. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.js +15 -0
  281. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
  282. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.cjs +158 -0
  283. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.cjs.map +1 -0
  284. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.js +156 -0
  285. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.js.map +1 -0
  286. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.cjs +59 -0
  287. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.cjs.map +1 -0
  288. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.js +57 -0
  289. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
  290. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.cjs +35 -0
  291. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.cjs.map +1 -0
  292. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.js +33 -0
  293. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
  294. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.cjs +32 -0
  295. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.cjs.map +1 -0
  296. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.js +30 -0
  297. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.js.map +1 -0
  298. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.cjs +96 -0
  299. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.cjs.map +1 -0
  300. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.js +94 -0
  301. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
  302. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.cjs +46 -0
  303. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.cjs.map +1 -0
  304. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.js +44 -0
  305. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.js.map +1 -0
  306. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.cjs +104 -0
  307. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.cjs.map +1 -0
  308. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.js +102 -0
  309. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
  310. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.cjs +39 -0
  311. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.cjs.map +1 -0
  312. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.js +37 -0
  313. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.js.map +1 -0
  314. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.cjs +28 -0
  315. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.cjs.map +1 -0
  316. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.js +26 -0
  317. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.js.map +1 -0
  318. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.cjs +151 -0
  319. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.cjs.map +1 -0
  320. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.js +149 -0
  321. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.js.map +1 -0
  322. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.cjs +16 -0
  323. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.cjs.map +1 -0
  324. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.js +14 -0
  325. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.js.map +1 -0
  326. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.cjs +14 -0
  327. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.cjs.map +1 -0
  328. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.js +12 -0
  329. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.js.map +1 -0
  330. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.cjs +75 -0
  331. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.cjs.map +1 -0
  332. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.js +73 -0
  333. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
  334. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.cjs +26 -0
  335. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.cjs.map +1 -0
  336. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.js +24 -0
  337. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
  338. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.cjs +67 -0
  339. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.cjs.map +1 -0
  340. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.js +65 -0
  341. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.js.map +1 -0
  342. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +26 -0
  343. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.cjs.map +1 -0
  344. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +24 -0
  345. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
  346. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.cjs +23 -0
  347. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.cjs.map +1 -0
  348. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.js +21 -0
  349. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
  350. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +82 -0
  351. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.cjs.map +1 -0
  352. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +80 -0
  353. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
  354. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.cjs +17 -0
  355. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.cjs.map +1 -0
  356. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +15 -0
  357. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +1 -0
  358. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.cjs +67 -0
  359. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.cjs.map +1 -0
  360. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.js +65 -0
  361. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
  362. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.cjs +39 -0
  363. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.cjs.map +1 -0
  364. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.js +37 -0
  365. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.js.map +1 -0
  366. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.cjs +87 -0
  367. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.cjs.map +1 -0
  368. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.js +85 -0
  369. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.js.map +1 -0
  370. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.cjs +354 -0
  371. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.cjs.map +1 -0
  372. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.js +352 -0
  373. package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.js.map +1 -0
  374. package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.cjs +173 -0
  375. package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.cjs.map +1 -0
  376. package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.js +171 -0
  377. package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.js.map +1 -0
  378. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.cjs +135 -0
  379. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.cjs.map +1 -0
  380. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.js +133 -0
  381. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.js.map +1 -0
  382. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.cjs +29 -0
  383. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.cjs.map +1 -0
  384. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.js +26 -0
  385. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.js.map +1 -0
  386. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.cjs +11 -0
  387. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.cjs.map +1 -0
  388. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.js +11 -0
  389. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.js.map +1 -0
  390. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.cjs +67 -0
  391. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.cjs.map +1 -0
  392. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.js +65 -0
  393. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.js.map +1 -0
  394. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.cjs +11 -0
  395. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.cjs.map +1 -0
  396. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.js +9 -0
  397. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.js.map +1 -0
  398. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.cjs +40 -0
  399. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.cjs.map +1 -0
  400. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.js +38 -0
  401. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.js.map +1 -0
  402. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.cjs +53 -0
  403. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.cjs.map +1 -0
  404. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.js +51 -0
  405. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.js.map +1 -0
  406. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.cjs +197 -0
  407. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.cjs.map +1 -0
  408. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.js +195 -0
  409. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.js.map +1 -0
  410. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.cjs +21 -0
  411. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.cjs.map +1 -0
  412. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.js +19 -0
  413. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.js.map +1 -0
  414. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.cjs +166 -0
  415. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.cjs.map +1 -0
  416. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.js +149 -0
  417. package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.js.map +1 -0
  418. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.cjs +13 -0
  419. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.cjs.map +1 -0
  420. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.js +8 -0
  421. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.js.map +1 -0
  422. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.cjs +57 -0
  423. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.cjs.map +1 -0
  424. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.js +54 -0
  425. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.js.map +1 -0
  426. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.cjs +114 -0
  427. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.cjs.map +1 -0
  428. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.js +108 -0
  429. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.js.map +1 -0
  430. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.cjs +495 -0
  431. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.cjs.map +1 -0
  432. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.js +493 -0
  433. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.js.map +1 -0
  434. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.cjs +86 -0
  435. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.cjs.map +1 -0
  436. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.js +80 -0
  437. package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.js.map +1 -0
  438. package/dist/node_modules/@slardar/integrations/dist/action.cjs +982 -0
  439. package/dist/node_modules/@slardar/integrations/dist/action.cjs.map +1 -0
  440. package/dist/node_modules/@slardar/integrations/dist/action.js +980 -0
  441. package/dist/node_modules/@slardar/integrations/dist/action.js.map +1 -0
  442. package/dist/node_modules/@slardar/integrations/dist/captureConsole.cjs +162 -0
  443. package/dist/node_modules/@slardar/integrations/dist/captureConsole.cjs.map +1 -0
  444. package/dist/node_modules/@slardar/integrations/dist/captureConsole.js +160 -0
  445. package/dist/node_modules/@slardar/integrations/dist/captureConsole.js.map +1 -0
  446. package/dist/node_modules/@slardar/integrations/dist/heatmap.cjs +534 -0
  447. package/dist/node_modules/@slardar/integrations/dist/heatmap.cjs.map +1 -0
  448. package/dist/node_modules/@slardar/integrations/dist/heatmap.js +532 -0
  449. package/dist/node_modules/@slardar/integrations/dist/heatmap.js.map +1 -0
  450. package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs +139 -0
  451. package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs.map +1 -0
  452. package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js +137 -0
  453. package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js.map +1 -0
  454. package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +19 -0
  455. package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
  456. package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.js +17 -0
  457. package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
  458. package/dist/packages/core/dist/index.cjs +8 -11
  459. package/dist/packages/core/dist/index.cjs.map +1 -1
  460. package/dist/packages/core/dist/index.js +0 -3
  461. package/dist/packages/core/dist/index.js.map +1 -1
  462. package/dist/plugins/adkPlugin.d.ts.map +1 -1
  463. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant.js","sources":["../../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nexport var ERROR_PREFIX = '@volcengine/console-web-sdk:';\nexport var DEFAULT_URL_PREFIX = '/api';\nexport var DEFAULT_API_REQUEST_CONFIG = {\n needFormatData: true,\n throwBizError: true,\n autoRedirect: true,\n reportErrorToSlardar: true,\n messageError: function messageError(error) {\n return console.error(error);\n },\n returnResult: true\n};\nexport var DEFAULT_OPENAPI_REQUEST_CONFIG = _objectSpread(_objectSpread({}, DEFAULT_API_REQUEST_CONFIG), {}, {\n throwBizError: false,\n isJson: false,\n isRawData: false,\n method: 'get',\n query: {}\n});\n//# sourceMappingURL=constant.js.map"],"names":[],"mappings":";;AACA,SAAS,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,qBAAqB,EAAE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE;AAC/P,SAAS,aAAa,CAAC,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,yBAAyB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE;AAG7a,IAAC,0BAA0B,GAAG;AACxC,EAAE,cAAc,EAAE,IAAI;AACtB,EAAE,aAAa,EAAE,IAAI;AACrB,EAAE,YAAY,EAAE,IAAI;AACpB,EAAE,oBAAoB,EAAE,IAAI;AAC5B,EAAE,YAAY,EAAE,SAAS,YAAY,CAAC,KAAK,EAAE;AAC7C,IAAI,OAAO,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAChC,GAAG;AACH,EAAE,YAAY,EAAE,IAAI;AACpB,EAAE;AAC0C,aAAa,CAAC,aAAa,CAAC,EAAE,EAAE,0BAA0B,CAAC,EAAE,EAAE,EAAE;AAC7G,EAAE,aAAa,EAAE,KAAK;AACtB,EAAE,MAAM,EAAE,KAAK;AACf,EAAE,SAAS,EAAE,KAAK;AAClB,EAAE,MAAM,EAAE,KAAK;AACf,EAAE,KAAK,EAAE,EAAE;AACX,CAAC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,87 @@
1
+ 'use strict';
2
+
3
+ var classCallCheck = require('../../../../../@babel/runtime/helpers/esm/classCallCheck.cjs');
4
+ var createClass = require('../../../../../@babel/runtime/helpers/esm/createClass.cjs');
5
+ var assertThisInitialized = require('../../../../../@babel/runtime/helpers/esm/assertThisInitialized.cjs');
6
+ var inherits = require('../../../../../@babel/runtime/helpers/esm/inherits.cjs');
7
+ var possibleConstructorReturn = require('../../../../../@babel/runtime/helpers/esm/possibleConstructorReturn.cjs');
8
+ var getPrototypeOf = require('../../../../../@babel/runtime/helpers/esm/getPrototypeOf.cjs');
9
+ var wrapNativeSuper = require('../../../../../@babel/runtime/helpers/esm/wrapNativeSuper.cjs');
10
+ var defineProperty = require('../../../../../@babel/runtime/helpers/esm/defineProperty.cjs');
11
+ var displayText = require('./displayText.cjs');
12
+
13
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return possibleConstructorReturn(this, result); }; }
14
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
+ var OpenAPIError = /*#__PURE__*/function (_Error) {
16
+ inherits(OpenAPIError, _Error);
17
+ var _super = _createSuper(OpenAPIError);
18
+ function OpenAPIError(body) {
19
+ var _body$ResponseMetadat, _body$ResponseMetadat2, _body$ResponseMetadat3, _Error$captureStackTr;
20
+ var _this;
21
+ var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
22
+ classCallCheck(this, OpenAPIError);
23
+ _this = _super.call(this, (_body$ResponseMetadat = (_body$ResponseMetadat2 = body.ResponseMetadata) === null || _body$ResponseMetadat2 === void 0 ? void 0 : (_body$ResponseMetadat3 = _body$ResponseMetadat2.Error) === null || _body$ResponseMetadat3 === void 0 ? void 0 : _body$ResponseMetadat3.Message) !== null && _body$ResponseMetadat !== void 0 ? _body$ResponseMetadat : '');
24
+ defineProperty(assertThisInitialized(_this), "status", void 0);
25
+ defineProperty(assertThisInitialized(_this), "body", void 0);
26
+ _this.body = body;
27
+ _this.status = status;
28
+ // This clips the constructor invocation from the stack trace.
29
+ (_Error$captureStackTr = Error.captureStackTrace) === null || _Error$captureStackTr === void 0 ? void 0 : _Error$captureStackTr.call(Error, assertThisInitialized(_this), _this.constructor);
30
+ return _this;
31
+ }
32
+ createClass(OpenAPIError, [{
33
+ key: "ResponseMetadata",
34
+ get: function get() {
35
+ return this.body.ResponseMetadata;
36
+ }
37
+ }, {
38
+ key: "Result",
39
+ get: function get() {
40
+ return this.body.Result;
41
+ }
42
+ }]);
43
+ return OpenAPIError;
44
+ }( /*#__PURE__*/wrapNativeSuper(Error));
45
+ var HTTPResponseError = /*#__PURE__*/function (_Error2) {
46
+ inherits(HTTPResponseError, _Error2);
47
+ var _super2 = _createSuper(HTTPResponseError);
48
+ function HTTPResponseError(status, body, headers) {
49
+ var _Error$captureStackTr2;
50
+ var _this2;
51
+ classCallCheck(this, HTTPResponseError);
52
+ _this2 = _super2.call(this, (body === null || body === void 0 ? void 0 : body.message) || displayText.getText('networkBusy'));
53
+ defineProperty(assertThisInitialized(_this2), "body", void 0);
54
+ defineProperty(assertThisInitialized(_this2), "headers", void 0);
55
+ defineProperty(assertThisInitialized(_this2), "status", void 0);
56
+ _this2.body = body;
57
+ _this2.headers = headers;
58
+ _this2.status = status;
59
+ _this2.name = _this2.constructor.name;
60
+ // This clips the constructor invocation from the stack trace.
61
+ (_Error$captureStackTr2 = Error.captureStackTrace) === null || _Error$captureStackTr2 === void 0 ? void 0 : _Error$captureStackTr2.call(Error, assertThisInitialized(_this2), _this2.constructor);
62
+ return _this2;
63
+ }
64
+ return createClass(HTTPResponseError);
65
+ }( /*#__PURE__*/wrapNativeSuper(Error));
66
+
67
+ /**
68
+ * 判断一个对象是否是 OpenAPIError
69
+ * @param e
70
+ */
71
+ function isOpenApiError(e) {
72
+ return e instanceof OpenAPIError;
73
+ }
74
+
75
+ /**
76
+ * 判断一个对象是否是 HTTPResponseError
77
+ * @param e
78
+ */
79
+ function isHttpResError(e) {
80
+ return e instanceof HTTPResponseError;
81
+ }
82
+
83
+ exports.HTTPResponseError = HTTPResponseError;
84
+ exports.OpenAPIError = OpenAPIError;
85
+ exports.isHttpResError = isHttpResError;
86
+ exports.isOpenApiError = isOpenApiError;
87
+ //# sourceMappingURL=type.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.cjs","sources":["../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js"],"sourcesContent":["import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/esm/getPrototypeOf\";\nimport _wrapNativeSuper from \"@babel/runtime/helpers/esm/wrapNativeSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport { getText } from \"./displayText\";\nexport var OpenAPIError = /*#__PURE__*/function (_Error) {\n _inherits(OpenAPIError, _Error);\n var _super = _createSuper(OpenAPIError);\n function OpenAPIError(body) {\n var _body$ResponseMetadat, _body$ResponseMetadat2, _body$ResponseMetadat3, _Error$captureStackTr;\n var _this;\n var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;\n _classCallCheck(this, OpenAPIError);\n _this = _super.call(this, (_body$ResponseMetadat = (_body$ResponseMetadat2 = body.ResponseMetadata) === null || _body$ResponseMetadat2 === void 0 ? void 0 : (_body$ResponseMetadat3 = _body$ResponseMetadat2.Error) === null || _body$ResponseMetadat3 === void 0 ? void 0 : _body$ResponseMetadat3.Message) !== null && _body$ResponseMetadat !== void 0 ? _body$ResponseMetadat : '');\n _defineProperty(_assertThisInitialized(_this), \"status\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"body\", void 0);\n _this.body = body;\n _this.status = status;\n // This clips the constructor invocation from the stack trace.\n (_Error$captureStackTr = Error.captureStackTrace) === null || _Error$captureStackTr === void 0 ? void 0 : _Error$captureStackTr.call(Error, _assertThisInitialized(_this), _this.constructor);\n return _this;\n }\n _createClass(OpenAPIError, [{\n key: \"ResponseMetadata\",\n get: function get() {\n return this.body.ResponseMetadata;\n }\n }, {\n key: \"Result\",\n get: function get() {\n return this.body.Result;\n }\n }]);\n return OpenAPIError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\nexport var HTTPResponseError = /*#__PURE__*/function (_Error2) {\n _inherits(HTTPResponseError, _Error2);\n var _super2 = _createSuper(HTTPResponseError);\n function HTTPResponseError(status, body, headers) {\n var _Error$captureStackTr2;\n var _this2;\n _classCallCheck(this, HTTPResponseError);\n _this2 = _super2.call(this, (body === null || body === void 0 ? void 0 : body.message) || getText('networkBusy'));\n _defineProperty(_assertThisInitialized(_this2), \"body\", void 0);\n _defineProperty(_assertThisInitialized(_this2), \"headers\", void 0);\n _defineProperty(_assertThisInitialized(_this2), \"status\", void 0);\n _this2.body = body;\n _this2.headers = headers;\n _this2.status = status;\n _this2.name = _this2.constructor.name;\n // This clips the constructor invocation from the stack trace.\n (_Error$captureStackTr2 = Error.captureStackTrace) === null || _Error$captureStackTr2 === void 0 ? void 0 : _Error$captureStackTr2.call(Error, _assertThisInitialized(_this2), _this2.constructor);\n return _this2;\n }\n return _createClass(HTTPResponseError);\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n\n/**\n * 判断一个对象是否是 OpenAPIError\n * @param e\n */\nexport function isOpenApiError(e) {\n return e instanceof OpenAPIError;\n}\n\n/**\n * 判断一个对象是否是 HTTPResponseError\n * @param e\n */\nexport function isHttpResError(e) {\n return e instanceof HTTPResponseError;\n}\n//# sourceMappingURL=type.js.map"],"names":["_getPrototypeOf","_possibleConstructorReturn","_inherits","_classCallCheck","_defineProperty","_assertThisInitialized","_createClass","_wrapNativeSuper","getText"],"mappings":";;;;;;;;;;;;AAQA,SAAS,YAAY,CAAC,OAAO,EAAE,EAAE,IAAI,yBAAyB,GAAG,yBAAyB,EAAE,CAAC,CAAC,OAAO,SAAS,oBAAoB,GAAG,EAAE,IAAI,KAAK,GAAGA,cAAe,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC,IAAI,yBAAyB,EAAE,EAAE,IAAI,SAAS,GAAGA,cAAe,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,OAAOC,yBAA0B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AACza,SAAS,yBAAyB,GAAG,EAAE,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,KAAK,CAAC,CAAC,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,OAAO,IAAI,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CA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AAClC,EAAE,OAAO,CAAC,YAAY,iBAAiB,CAAC;AACxC;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,82 @@
1
+ import _classCallCheck from '../../../../../@babel/runtime/helpers/esm/classCallCheck.js';
2
+ import _createClass from '../../../../../@babel/runtime/helpers/esm/createClass.js';
3
+ import _assertThisInitialized from '../../../../../@babel/runtime/helpers/esm/assertThisInitialized.js';
4
+ import _inherits from '../../../../../@babel/runtime/helpers/esm/inherits.js';
5
+ import _possibleConstructorReturn from '../../../../../@babel/runtime/helpers/esm/possibleConstructorReturn.js';
6
+ import _getPrototypeOf from '../../../../../@babel/runtime/helpers/esm/getPrototypeOf.js';
7
+ import _wrapNativeSuper from '../../../../../@babel/runtime/helpers/esm/wrapNativeSuper.js';
8
+ import _defineProperty from '../../../../../@babel/runtime/helpers/esm/defineProperty.js';
9
+ import { getText } from './displayText.js';
10
+
11
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
13
+ var OpenAPIError = /*#__PURE__*/function (_Error) {
14
+ _inherits(OpenAPIError, _Error);
15
+ var _super = _createSuper(OpenAPIError);
16
+ function OpenAPIError(body) {
17
+ var _body$ResponseMetadat, _body$ResponseMetadat2, _body$ResponseMetadat3, _Error$captureStackTr;
18
+ var _this;
19
+ var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;
20
+ _classCallCheck(this, OpenAPIError);
21
+ _this = _super.call(this, (_body$ResponseMetadat = (_body$ResponseMetadat2 = body.ResponseMetadata) === null || _body$ResponseMetadat2 === void 0 ? void 0 : (_body$ResponseMetadat3 = _body$ResponseMetadat2.Error) === null || _body$ResponseMetadat3 === void 0 ? void 0 : _body$ResponseMetadat3.Message) !== null && _body$ResponseMetadat !== void 0 ? _body$ResponseMetadat : '');
22
+ _defineProperty(_assertThisInitialized(_this), "status", void 0);
23
+ _defineProperty(_assertThisInitialized(_this), "body", void 0);
24
+ _this.body = body;
25
+ _this.status = status;
26
+ // This clips the constructor invocation from the stack trace.
27
+ (_Error$captureStackTr = Error.captureStackTrace) === null || _Error$captureStackTr === void 0 ? void 0 : _Error$captureStackTr.call(Error, _assertThisInitialized(_this), _this.constructor);
28
+ return _this;
29
+ }
30
+ _createClass(OpenAPIError, [{
31
+ key: "ResponseMetadata",
32
+ get: function get() {
33
+ return this.body.ResponseMetadata;
34
+ }
35
+ }, {
36
+ key: "Result",
37
+ get: function get() {
38
+ return this.body.Result;
39
+ }
40
+ }]);
41
+ return OpenAPIError;
42
+ }( /*#__PURE__*/_wrapNativeSuper(Error));
43
+ var HTTPResponseError = /*#__PURE__*/function (_Error2) {
44
+ _inherits(HTTPResponseError, _Error2);
45
+ var _super2 = _createSuper(HTTPResponseError);
46
+ function HTTPResponseError(status, body, headers) {
47
+ var _Error$captureStackTr2;
48
+ var _this2;
49
+ _classCallCheck(this, HTTPResponseError);
50
+ _this2 = _super2.call(this, (body === null || body === void 0 ? void 0 : body.message) || getText('networkBusy'));
51
+ _defineProperty(_assertThisInitialized(_this2), "body", void 0);
52
+ _defineProperty(_assertThisInitialized(_this2), "headers", void 0);
53
+ _defineProperty(_assertThisInitialized(_this2), "status", void 0);
54
+ _this2.body = body;
55
+ _this2.headers = headers;
56
+ _this2.status = status;
57
+ _this2.name = _this2.constructor.name;
58
+ // This clips the constructor invocation from the stack trace.
59
+ (_Error$captureStackTr2 = Error.captureStackTrace) === null || _Error$captureStackTr2 === void 0 ? void 0 : _Error$captureStackTr2.call(Error, _assertThisInitialized(_this2), _this2.constructor);
60
+ return _this2;
61
+ }
62
+ return _createClass(HTTPResponseError);
63
+ }( /*#__PURE__*/_wrapNativeSuper(Error));
64
+
65
+ /**
66
+ * 判断一个对象是否是 OpenAPIError
67
+ * @param e
68
+ */
69
+ function isOpenApiError(e) {
70
+ return e instanceof OpenAPIError;
71
+ }
72
+
73
+ /**
74
+ * 判断一个对象是否是 HTTPResponseError
75
+ * @param e
76
+ */
77
+ function isHttpResError(e) {
78
+ return e instanceof HTTPResponseError;
79
+ }
80
+
81
+ export { HTTPResponseError, OpenAPIError, isHttpResError, isOpenApiError };
82
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sources":["../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js"],"sourcesContent":["import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/esm/getPrototypeOf\";\nimport _wrapNativeSuper from \"@babel/runtime/helpers/esm/wrapNativeSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport { getText } from \"./displayText\";\nexport var OpenAPIError = /*#__PURE__*/function (_Error) {\n _inherits(OpenAPIError, _Error);\n var _super = _createSuper(OpenAPIError);\n function OpenAPIError(body) {\n var _body$ResponseMetadat, _body$ResponseMetadat2, _body$ResponseMetadat3, _Error$captureStackTr;\n var _this;\n var status = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 200;\n _classCallCheck(this, OpenAPIError);\n _this = _super.call(this, (_body$ResponseMetadat = (_body$ResponseMetadat2 = body.ResponseMetadata) === null || _body$ResponseMetadat2 === void 0 ? void 0 : (_body$ResponseMetadat3 = _body$ResponseMetadat2.Error) === null || _body$ResponseMetadat3 === void 0 ? void 0 : _body$ResponseMetadat3.Message) !== null && _body$ResponseMetadat !== void 0 ? _body$ResponseMetadat : '');\n _defineProperty(_assertThisInitialized(_this), \"status\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"body\", void 0);\n _this.body = body;\n _this.status = status;\n // This clips the constructor invocation from the stack trace.\n (_Error$captureStackTr = Error.captureStackTrace) === null || _Error$captureStackTr === void 0 ? void 0 : _Error$captureStackTr.call(Error, _assertThisInitialized(_this), _this.constructor);\n return _this;\n }\n _createClass(OpenAPIError, [{\n key: \"ResponseMetadata\",\n get: function get() {\n return this.body.ResponseMetadata;\n }\n }, {\n key: \"Result\",\n get: function get() {\n return this.body.Result;\n }\n }]);\n return OpenAPIError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\nexport var HTTPResponseError = /*#__PURE__*/function (_Error2) {\n _inherits(HTTPResponseError, _Error2);\n var _super2 = _createSuper(HTTPResponseError);\n function HTTPResponseError(status, body, headers) {\n var _Error$captureStackTr2;\n var _this2;\n _classCallCheck(this, HTTPResponseError);\n _this2 = _super2.call(this, (body === null || body === void 0 ? void 0 : body.message) || getText('networkBusy'));\n _defineProperty(_assertThisInitialized(_this2), \"body\", void 0);\n _defineProperty(_assertThisInitialized(_this2), \"headers\", void 0);\n _defineProperty(_assertThisInitialized(_this2), \"status\", void 0);\n _this2.body = body;\n _this2.headers = headers;\n _this2.status = status;\n _this2.name = _this2.constructor.name;\n // This clips the constructor invocation from the stack trace.\n (_Error$captureStackTr2 = Error.captureStackTrace) === null || _Error$captureStackTr2 === void 0 ? void 0 : _Error$captureStackTr2.call(Error, _assertThisInitialized(_this2), _this2.constructor);\n return _this2;\n }\n return _createClass(HTTPResponseError);\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n\n/**\n * 判断一个对象是否是 OpenAPIError\n * @param e\n */\nexport function isOpenApiError(e) {\n return e instanceof OpenAPIError;\n}\n\n/**\n * 判断一个对象是否是 HTTPResponseError\n * @param e\n */\nexport function isHttpResError(e) {\n return e instanceof HTTPResponseError;\n}\n//# sourceMappingURL=type.js.map"],"names":[],"mappings":";;;;;;;;;;AAQA,SAAS,YAAY,CAAC,OAAO,EAAE,EAAE,IAAI,yBAAyB,GAAG,yBAAyB,EAAE,CAAC,CAAC,OAAO,SAAS,oBAAoB,GAAG,EAAE,IAAI,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC,IAAI,yBAAyB,EAAE,EAAE,IAAI,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,OAAO,0BAA0B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE;AACza,SAAS,yBAAyB,GAAG,EAAE,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,KAAK,CAAC,CA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AE;AAClC,EAAE,OAAO,CAAC,YAAY,YAAY,CAAC;AACnC,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,cAAc,CAAC,CAAC,EAAE;AAClC,EAAE,OAAO,CAAC,YAAY,iBAAiB,CAAC;AACxC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var get = require('lodash.get');
4
+ var js_cookie = require('../../../../../js-cookie/src/js.cookie.cjs');
5
+ var publicData = require('./publicData.cjs');
6
+
7
+ function redirectLogin(res) {
8
+ var loginPath = get(publicData.publicData, 'INIT_CONFIG.loginPath', '/auth/login/');
9
+ // 优先使用返回数据里定义的重定向路径
10
+ var redirectUrl = get(res, 'data.Result.RedirectPath', "".concat(loginPath, "?redirectURI=").concat(encodeURIComponent(window.location.href)));
11
+ location.assign(redirectUrl);
12
+ }
13
+ function getCSRFToken() {
14
+ return js_cookie.get('csrfToken') || '';
15
+ }
16
+
17
+ exports.getCSRFToken = getCSRFToken;
18
+ exports.redirectLogin = redirectLogin;
19
+ //# sourceMappingURL=utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.cjs","sources":["../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js"],"sourcesContent":["import get from 'lodash.get';\nimport Cookie from 'js-cookie';\nimport { publicData } from \"./publicData\";\nexport function redirectLogin(res) {\n var loginPath = get(publicData, 'INIT_CONFIG.loginPath', '/auth/login/');\n // 优先使用返回数据里定义的重定向路径\n var redirectUrl = get(res, 'data.Result.RedirectPath', \"\".concat(loginPath, \"?redirectURI=\").concat(encodeURIComponent(window.location.href)));\n location.assign(redirectUrl);\n}\nexport function getCSRFToken() {\n return Cookie.get('csrfToken') || '';\n}\n//# sourceMappingURL=utils.js.map"],"names":["publicData","Cookie"],"mappings":";;;;;;AAGO,SAAS,aAAa,CAAC,GAAG,EAAE;AACnC,EAAE,IAAI,SAAS,GAAG,GAAG,CAACA,qBAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC,CAAC;AAC3E;AACA,EAAE,IAAI,WAAW,GAAG,GAAG,CAAC,GAAG,EAAE,0BAA0B,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjJ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAC/B,CAAC;AACM,SAAS,YAAY,GAAG;AAC/B,EAAE,OAAOC,SAAM,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;AACvC;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,16 @@
1
+ import get from 'lodash.get';
2
+ import Cookie from '../../../../../js-cookie/src/js.cookie.js';
3
+ import { publicData } from './publicData.js';
4
+
5
+ function redirectLogin(res) {
6
+ var loginPath = get(publicData, 'INIT_CONFIG.loginPath', '/auth/login/');
7
+ // 优先使用返回数据里定义的重定向路径
8
+ var redirectUrl = get(res, 'data.Result.RedirectPath', "".concat(loginPath, "?redirectURI=").concat(encodeURIComponent(window.location.href)));
9
+ location.assign(redirectUrl);
10
+ }
11
+ function getCSRFToken() {
12
+ return Cookie.get('csrfToken') || '';
13
+ }
14
+
15
+ export { getCSRFToken, redirectLogin };
16
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sources":["../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js"],"sourcesContent":["import get from 'lodash.get';\nimport Cookie from 'js-cookie';\nimport { publicData } from \"./publicData\";\nexport function redirectLogin(res) {\n var loginPath = get(publicData, 'INIT_CONFIG.loginPath', '/auth/login/');\n // 优先使用返回数据里定义的重定向路径\n var redirectUrl = get(res, 'data.Result.RedirectPath', \"\".concat(loginPath, \"?redirectURI=\").concat(encodeURIComponent(window.location.href)));\n location.assign(redirectUrl);\n}\nexport function getCSRFToken() {\n return Cookie.get('csrfToken') || '';\n}\n//# sourceMappingURL=utils.js.map"],"names":[],"mappings":";;;;AAGO,SAAS,aAAa,CAAC,GAAG,EAAE;AACnC,EAAE,IAAI,SAAS,GAAG,GAAG,CAAC,UAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC,CAAC;AAC3E;AACA,EAAE,IAAI,WAAW,GAAG,GAAG,CAAC,GAAG,EAAE,0BAA0B,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjJ,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAC/B,CAAC;AACM,SAAS,YAAY,GAAG;AAC/B,EAAE,OAAO,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;AACvC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
4
+ var axios$2 = require('./lib/axios.cjs');
5
+
6
+ var axios = axios$2.axiosExports;
7
+
8
+ var axios$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(axios);
9
+
10
+ module.exports = axios$1;
11
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["require$$0"],"mappings":";;;;;AAAA,IAAA,KAAc,GAAGA,oBAAsB,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { getDefaultExportFromCjs } from '../../../../../../../../_virtual/_commonjsHelpers.js';
2
+ import { a as axiosExports } from './lib/axios.js';
3
+
4
+ var axios = axiosExports;
5
+
6
+ var axios$1 = /*@__PURE__*/getDefaultExportFromCjs(axios);
7
+
8
+ export { axios$1 as default };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["require$$0"],"mappings":";;;AAAA,IAAA,KAAc,GAAGA,YAAsB,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,235 @@
1
+ 'use strict';
2
+
3
+ var utils = require('../utils.cjs');
4
+ var settle = require('../core/settle.cjs');
5
+ var cookies = require('../helpers/cookies.cjs');
6
+ var buildURL = require('../helpers/buildURL.cjs');
7
+ var buildFullPath = require('../core/buildFullPath.cjs');
8
+ var parseHeaders = require('../helpers/parseHeaders.cjs');
9
+ var isURLSameOrigin = require('../helpers/isURLSameOrigin.cjs');
10
+ var createError = require('../core/createError.cjs');
11
+ var defaults = require('../defaults.cjs');
12
+ var Cancel = require('../cancel/Cancel.cjs');
13
+
14
+ var xhr;
15
+ var hasRequiredXhr;
16
+
17
+ function requireXhr () {
18
+ if (hasRequiredXhr) return xhr;
19
+ hasRequiredXhr = 1;
20
+
21
+ var utils$1 = utils.utils;
22
+ var settle$1 = settle.__require();
23
+ var cookies$1 = cookies.__require();
24
+ var buildURL$1 = buildURL.buildURL;
25
+ var buildFullPath$1 = buildFullPath.__require();
26
+ var parseHeaders$1 = parseHeaders.__require();
27
+ var isURLSameOrigin$1 = isURLSameOrigin.__require();
28
+ var createError$1 = createError.__require();
29
+ var defaults$1 = defaults.__require();
30
+ var Cancel$1 = Cancel.__require();
31
+
32
+ xhr = function xhrAdapter(config) {
33
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
34
+ var requestData = config.data;
35
+ var requestHeaders = config.headers;
36
+ var responseType = config.responseType;
37
+ var onCanceled;
38
+ function done() {
39
+ if (config.cancelToken) {
40
+ config.cancelToken.unsubscribe(onCanceled);
41
+ }
42
+
43
+ if (config.signal) {
44
+ config.signal.removeEventListener('abort', onCanceled);
45
+ }
46
+ }
47
+
48
+ if (utils$1.isFormData(requestData)) {
49
+ delete requestHeaders['Content-Type']; // Let the browser set it
50
+ }
51
+
52
+ var request = new XMLHttpRequest();
53
+
54
+ // HTTP basic authentication
55
+ if (config.auth) {
56
+ var username = config.auth.username || '';
57
+ var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
58
+ requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
59
+ }
60
+
61
+ var fullPath = buildFullPath$1(config.baseURL, config.url);
62
+ request.open(config.method.toUpperCase(), buildURL$1(fullPath, config.params, config.paramsSerializer), true);
63
+
64
+ // Set the request timeout in MS
65
+ request.timeout = config.timeout;
66
+
67
+ function onloadend() {
68
+ if (!request) {
69
+ return;
70
+ }
71
+ // Prepare the response
72
+ var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders$1(request.getAllResponseHeaders()) : null;
73
+ var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
74
+ request.responseText : request.response;
75
+ var response = {
76
+ data: responseData,
77
+ status: request.status,
78
+ statusText: request.statusText,
79
+ headers: responseHeaders,
80
+ config: config,
81
+ request: request
82
+ };
83
+
84
+ settle$1(function _resolve(value) {
85
+ resolve(value);
86
+ done();
87
+ }, function _reject(err) {
88
+ reject(err);
89
+ done();
90
+ }, response);
91
+
92
+ // Clean up request
93
+ request = null;
94
+ }
95
+
96
+ if ('onloadend' in request) {
97
+ // Use onloadend if available
98
+ request.onloadend = onloadend;
99
+ } else {
100
+ // Listen for ready state to emulate onloadend
101
+ request.onreadystatechange = function handleLoad() {
102
+ if (!request || request.readyState !== 4) {
103
+ return;
104
+ }
105
+
106
+ // The request errored out and we didn't get a response, this will be
107
+ // handled by onerror instead
108
+ // With one exception: request that using file: protocol, most browsers
109
+ // will return status as 0 even though it's a successful request
110
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
111
+ return;
112
+ }
113
+ // readystate handler is calling before onerror or ontimeout handlers,
114
+ // so we should call onloadend on the next 'tick'
115
+ setTimeout(onloadend);
116
+ };
117
+ }
118
+
119
+ // Handle browser request cancellation (as opposed to a manual cancellation)
120
+ request.onabort = function handleAbort() {
121
+ if (!request) {
122
+ return;
123
+ }
124
+
125
+ reject(createError$1('Request aborted', config, 'ECONNABORTED', request));
126
+
127
+ // Clean up request
128
+ request = null;
129
+ };
130
+
131
+ // Handle low level network errors
132
+ request.onerror = function handleError() {
133
+ // Real errors are hidden from us by the browser
134
+ // onerror should only fire if it's a network error
135
+ reject(createError$1('Network Error', config, null, request));
136
+
137
+ // Clean up request
138
+ request = null;
139
+ };
140
+
141
+ // Handle timeout
142
+ request.ontimeout = function handleTimeout() {
143
+ var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
144
+ var transitional = config.transitional || defaults$1.transitional;
145
+ if (config.timeoutErrorMessage) {
146
+ timeoutErrorMessage = config.timeoutErrorMessage;
147
+ }
148
+ reject(createError$1(
149
+ timeoutErrorMessage,
150
+ config,
151
+ transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
152
+ request));
153
+
154
+ // Clean up request
155
+ request = null;
156
+ };
157
+
158
+ // Add xsrf header
159
+ // This is only done if running in a standard browser environment.
160
+ // Specifically not if we're in a web worker, or react-native.
161
+ if (utils$1.isStandardBrowserEnv()) {
162
+ // Add xsrf header
163
+ var xsrfValue = (config.withCredentials || isURLSameOrigin$1(fullPath)) && config.xsrfCookieName ?
164
+ cookies$1.read(config.xsrfCookieName) :
165
+ undefined;
166
+
167
+ if (xsrfValue) {
168
+ requestHeaders[config.xsrfHeaderName] = xsrfValue;
169
+ }
170
+ }
171
+
172
+ // Add headers to the request
173
+ if ('setRequestHeader' in request) {
174
+ utils$1.forEach(requestHeaders, function setRequestHeader(val, key) {
175
+ if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
176
+ // Remove Content-Type if data is undefined
177
+ delete requestHeaders[key];
178
+ } else {
179
+ // Otherwise add header to the request
180
+ request.setRequestHeader(key, val);
181
+ }
182
+ });
183
+ }
184
+
185
+ // Add withCredentials to request if needed
186
+ if (!utils$1.isUndefined(config.withCredentials)) {
187
+ request.withCredentials = !!config.withCredentials;
188
+ }
189
+
190
+ // Add responseType to request if needed
191
+ if (responseType && responseType !== 'json') {
192
+ request.responseType = config.responseType;
193
+ }
194
+
195
+ // Handle progress if needed
196
+ if (typeof config.onDownloadProgress === 'function') {
197
+ request.addEventListener('progress', config.onDownloadProgress);
198
+ }
199
+
200
+ // Not all browsers support upload events
201
+ if (typeof config.onUploadProgress === 'function' && request.upload) {
202
+ request.upload.addEventListener('progress', config.onUploadProgress);
203
+ }
204
+
205
+ if (config.cancelToken || config.signal) {
206
+ // Handle cancellation
207
+ // eslint-disable-next-line func-names
208
+ onCanceled = function(cancel) {
209
+ if (!request) {
210
+ return;
211
+ }
212
+ reject(!cancel || (cancel && cancel.type) ? new Cancel$1('canceled') : cancel);
213
+ request.abort();
214
+ request = null;
215
+ };
216
+
217
+ config.cancelToken && config.cancelToken.subscribe(onCanceled);
218
+ if (config.signal) {
219
+ config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
220
+ }
221
+ }
222
+
223
+ if (!requestData) {
224
+ requestData = null;
225
+ }
226
+
227
+ // Send the request
228
+ request.send(requestData);
229
+ });
230
+ };
231
+ return xhr;
232
+ }
233
+
234
+ exports.__require = requireXhr;
235
+ //# sourceMappingURL=xhr.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xhr.cjs","sources":["../../../../../../../../../../../../../node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.js"],"sourcesContent":["'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n var transitional = config.transitional || defaults.transitional;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n"],"names":["utils","require$$0","settle","require$$1","cookies","require$$2","buildURL","require$$3","buildFullPath","require$$4","parseHeaders","require$$5","isURLSameOrigin","require$$6","createError","require$$7","defaults","require$$8","Cancel","require$$9"],"mappings":";;;;;;;;;;;;;;;;;;;;CAEA,IAAIA,OAAK,GAAGC,WAAqB,CAAA;CACjC,IAAIC,QAAM,GAAGC,gBAA2B,EAAA,CAAA;CACxC,IAAIC,SAAO,GAAGC,iBAA+B,EAAA,CAAA;CAC7C,IAAIC,UAAQ,GAAGC,iBAAgC,CAAA;CAC/C,IAAIC,eAAa,GAAGC,uBAAgC,EAAA,CAAA;CACpD,IAAIC,cAAY,GAAGC,sBAAoC,EAAA,CAAA;CACvD,IAAIC,iBAAe,GAAGC,yBAAuC,EAAA,CAAA;CAC7D,IAAIC,aAAW,GAAGC,qBAA8B,EAAA,CAAA;CAChD,IAAIC,UAAQ,GAAGC,kBAAsB,EAAA,CAAA;CACrC,IAAIC,QAAM,GAAGC,gBAA2B,EAAA,CAAA;;AAExC,CAAA,GAAc,GAAG,SAAS,UAAU,CAAC,MAAM,EAAE;GAC3C,O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