@chat-lab/ui 0.1.0-beta.36 → 0.1.0-beta.38
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.
- package/dist/_virtual/_commonjsHelpers.cjs +0 -26
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
- package/dist/_virtual/_commonjsHelpers.js +1 -26
- package/dist/_virtual/_commonjsHelpers.js.map +1 -1
- package/dist/_virtual/index.cjs +2 -2
- package/dist/_virtual/index.js +2 -2
- package/dist/_virtual/index2.cjs +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.cjs +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.cjs +2 -5
- package/dist/_virtual/index4.cjs.map +1 -1
- package/dist/_virtual/index4.js +2 -5
- package/dist/_virtual/index4.js.map +1 -1
- package/dist/_virtual/index5.cjs +5 -2
- package/dist/_virtual/index5.cjs.map +1 -1
- package/dist/_virtual/index5.js +5 -2
- package/dist/_virtual/index5.js.map +1 -1
- package/dist/adk/components/Debug/Events/index.cjs +2 -2
- package/dist/adk/components/Debug/Events/index.cjs.map +1 -1
- package/dist/adk/components/Debug/Events/index.js +2 -2
- package/dist/adk/components/Debug/Events/index.js.map +1 -1
- package/dist/adk/components/Debug/Trace/TraceDetail.cjs +0 -1
- package/dist/adk/components/Debug/Trace/TraceDetail.cjs.map +1 -1
- package/dist/adk/components/Debug/Trace/TraceDetail.d.ts.map +1 -1
- package/dist/adk/components/Debug/Trace/TraceDetail.js +0 -1
- package/dist/adk/components/Debug/Trace/TraceDetail.js.map +1 -1
- package/dist/adk/components/Debug/Trace/TraceMessageGroup.cjs +2 -2
- package/dist/adk/components/Debug/Trace/TraceMessageGroup.cjs.map +1 -1
- package/dist/adk/components/Debug/Trace/TraceMessageGroup.js +2 -2
- package/dist/adk/components/Debug/Trace/TraceMessageGroup.js.map +1 -1
- package/dist/adk/components/Debug/Trace/index.cjs +10 -7
- package/dist/adk/components/Debug/Trace/index.cjs.map +1 -1
- package/dist/adk/components/Debug/Trace/index.d.ts +1 -1
- package/dist/adk/components/Debug/Trace/index.d.ts.map +1 -1
- package/dist/adk/components/Debug/Trace/index.js +10 -7
- package/dist/adk/components/Debug/Trace/index.js.map +1 -1
- package/dist/adk/components/Debug/Trace/store.cjs +3 -3
- package/dist/adk/components/Debug/Trace/store.cjs.map +1 -1
- package/dist/adk/components/Debug/Trace/store.js +1 -1
- package/dist/adk/components/Debug/Trace/types.d.ts +1 -0
- package/dist/adk/components/Debug/Trace/types.d.ts.map +1 -1
- package/dist/adk/components/Debug/Trace/utils.cjs +2 -1
- package/dist/adk/components/Debug/Trace/utils.cjs.map +1 -1
- package/dist/adk/components/Debug/Trace/utils.d.ts.map +1 -1
- package/dist/adk/components/Debug/Trace/utils.js +2 -1
- package/dist/adk/components/Debug/Trace/utils.js.map +1 -1
- package/dist/adk/components/Debug/index.cjs.map +1 -1
- package/dist/adk/components/Debug/index.d.ts +3 -1
- package/dist/adk/components/Debug/index.d.ts.map +1 -1
- package/dist/adk/components/Debug/index.js.map +1 -1
- package/dist/adk/hooks/useEvents.cjs +15 -6
- package/dist/adk/hooks/useEvents.cjs.map +1 -1
- package/dist/adk/hooks/useEvents.d.ts +1 -1
- package/dist/adk/hooks/useEvents.d.ts.map +1 -1
- package/dist/adk/hooks/useEvents.js +13 -4
- package/dist/adk/hooks/useEvents.js.map +1 -1
- package/dist/components/Chatkit/index.cjs +4 -10
- package/dist/components/Chatkit/index.cjs.map +1 -1
- package/dist/components/Chatkit/index.d.ts.map +1 -1
- package/dist/components/Chatkit/index.js +4 -10
- package/dist/components/Chatkit/index.js.map +1 -1
- package/dist/components/Chatkit/types.d.ts +1 -0
- package/dist/components/Chatkit/types.d.ts.map +1 -1
- package/dist/components/ThreadOptionsMenu.cjs +10 -23
- package/dist/components/ThreadOptionsMenu.cjs.map +1 -1
- package/dist/components/ThreadOptionsMenu.d.ts.map +1 -1
- package/dist/components/ThreadOptionsMenu.js +11 -24
- package/dist/components/ThreadOptionsMenu.js.map +1 -1
- package/dist/components/assistant-ui/thread.cjs +2 -2
- package/dist/components/assistant-ui/thread.cjs.map +1 -1
- package/dist/components/assistant-ui/thread.js +1 -1
- package/dist/components/assistant-ui/thread.js.map +1 -1
- package/dist/components/thread-list.cjs +5 -5
- package/dist/components/thread-list.cjs.map +1 -1
- package/dist/index.css +1 -2
- package/dist/node_modules/.pnpm/@cloudfun_web-sdk@3.1.7_@volcengine_console-web-sdk@6.2.0/node_modules/@cloudfun/web-sdk/lib/util.cjs +1 -1
- package/dist/node_modules/.pnpm/@cloudfun_web-sdk@3.1.7_@volcengine_console-web-sdk@6.2.0/node_modules/@cloudfun/web-sdk/lib/util.js +1 -1
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.cjs +1 -1
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +1 -1
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/index.cjs +1 -1
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/index.js +1 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.cjs +1 -4
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.cjs.map +1 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/dayjs.min.js +1 -1
- package/dist/node_modules/.pnpm/secure-json-parse@4.1.0/node_modules/secure-json-parse/index.cjs +1 -1
- package/dist/node_modules/.pnpm/secure-json-parse@4.1.0/node_modules/secure-json-parse/index.js +1 -1
- package/dist/node_modules/.pnpm/style-to-js@1.1.18/node_modules/style-to-js/cjs/index.cjs +1 -1
- package/dist/node_modules/.pnpm/style-to-js@1.1.18/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.cjs +1 -1
- package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.js +1 -1
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/@byted/iaas-monitor/lib/common.cjs +55 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/common.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/common.js +52 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/common.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/const.cjs +63 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/const.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/const.js +57 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/const.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.cjs +72 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js +70 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.cjs +65 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.js +63 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/loadSlardar/loadSlardar.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/monitor.cjs +21 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/monitor.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/monitor.js +19 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/monitor.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.cjs +12 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.js +10 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/dom.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.cjs +15 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.js +13 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/autoUfspCollect/index.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.cjs +11 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.js +9 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/index.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.cjs +14 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.js +12 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/ufspAndSufsp.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.cjs +31 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.js +29 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/performanceMetrics/utils.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.cjs +157 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.js +155 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/index.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.cjs +73 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.js +71 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/sladarWebLite/proxy.js.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/utils.cjs +195 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/utils.cjs.map +1 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/utils.js +183 -0
- package/dist/node_modules/@byted/iaas-monitor/lib/utils.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/basic.cjs +41 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/basic.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/basic.js +39 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/basic.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.cjs +109 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.js +88 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/cancelHandler.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.cjs +78 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.js +76 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/errorHandler.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/fetch.cjs +237 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/fetch.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/fetch.js +235 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/fetch.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.cjs +28 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.js +26 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/rollbackHandler.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.cjs +34 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.js +31 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/index.js.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.cjs +13 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.cjs.map +1 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.js +11 -0
- package/dist/node_modules/@byted-iaas/fetch/lib/slardar/path.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/dist/es/index.cjs +445 -0
- package/dist/node_modules/@byted-paas/vfetch/dist/es/index.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/dist/es/index.js +442 -0
- package/dist/node_modules/@byted-paas/vfetch/dist/es/index.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +12 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +10 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs +40 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +38 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +10 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +8 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.cjs +24 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.js +22 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/construct.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.cjs +23 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.js +21 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/createClass.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +19 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.js +17 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +11 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +9 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.cjs +24 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.js +22 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.cjs +8 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +6 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +17 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +15 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +17 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +15 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +12 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +10 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.cjs +14 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.js +12 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.cjs +43 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +41 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs +365 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +363 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/regeneratorRuntime.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.cjs +22 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.js +20 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/helpers/typeof.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.cjs +25 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.js +23 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@babel/runtime/regenerator/index.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.cjs +14 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.js +12 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcModal.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.cjs +23 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.js +21 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/component/volcNotification.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.cjs +21 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.js +19 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volc-material/information/es/utils/index.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.cjs +22 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.js +20 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/displayText.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs +137 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js +134 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.cjs +63 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.js +61 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/reportToSlardar.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.cjs +236 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.js +232 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/base.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.cjs +26 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.js +24 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/request/constant.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.cjs +87 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js +82 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/type.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.cjs +19 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js +16 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/utils.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.cjs +11 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js +9 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/index.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.cjs +235 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.js +233 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/adapters/xhr.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.cjs +75 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.js +73 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/axios.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.cjs +31 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.js +29 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/Cancel.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.cjs +133 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.js +131 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.cjs +17 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.js +15 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.cjs +158 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.js +156 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/Axios.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.cjs +59 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.js +57 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.cjs +35 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.js +33 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.cjs +32 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.js +30 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/createError.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.cjs +96 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.js +94 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.cjs +46 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.js +44 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/enhanceError.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.cjs +104 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.js +102 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.cjs +39 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.js +37 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/settle.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.cjs +28 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.js +26 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/core/transformData.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.cjs +151 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.js +149 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/defaults.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.cjs +16 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.js +14 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/env/data.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.cjs +14 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.js +12 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/bind.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.cjs +75 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.js +73 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.cjs +26 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.js +24 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.cjs +67 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.js +65 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/cookies.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +26 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +24 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.cjs +23 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.js +21 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +82 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +80 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.cjs +17 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +15 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.cjs +67 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.js +65 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.cjs +39 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.js +37 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/spread.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.cjs +87 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.js +85 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/helpers/validator.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.cjs +354 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.js +352 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/@volcengine/console-web-sdk/node_modules/axios/lib/utils.js.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.cjs +173 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.cjs.map +1 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.js +171 -0
- package/dist/node_modules/@byted-paas/vfetch/node_modules/js-cookie/src/js.cookie.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.cjs +135 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.js +133 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/client.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.cjs +29 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.js +26 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/constant.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.cjs +11 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.js +11 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/interface.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.cjs +67 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.js +65 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/logger.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.cjs +11 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.js +9 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/slardar/index.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.cjs +40 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.js +38 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/index.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.cjs +53 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.js +51 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/storage/storageSlardar.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.cjs +197 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.js +195 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/index.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.cjs +21 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.js +19 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/translate/util.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.cjs +166 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.js +149 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/lib/util.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.cjs +13 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.js +8 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/const.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.cjs +57 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.js +54 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/eviction/strategies.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.cjs +114 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.js +108 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/report.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.cjs +495 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.js +493 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/storage.js.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.cjs +86 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.cjs.map +1 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.js +80 -0
- package/dist/node_modules/@cloudfun/top-proxy-sdk/node_modules/@byted-iaas/storage/lib/utils.js.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/action.cjs +982 -0
- package/dist/node_modules/@slardar/integrations/dist/action.cjs.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/action.js +980 -0
- package/dist/node_modules/@slardar/integrations/dist/action.js.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/captureConsole.cjs +162 -0
- package/dist/node_modules/@slardar/integrations/dist/captureConsole.cjs.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/captureConsole.js +160 -0
- package/dist/node_modules/@slardar/integrations/dist/captureConsole.js.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/heatmap.cjs +534 -0
- package/dist/node_modules/@slardar/integrations/dist/heatmap.cjs.map +1 -0
- package/dist/node_modules/@slardar/integrations/dist/heatmap.js +532 -0
- package/dist/node_modules/@slardar/integrations/dist/heatmap.js.map +1 -0
- package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs +139 -0
- package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.cjs.map +1 -0
- package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js +137 -0
- package/dist/node_modules/@volcengine/console-web-sdk/dist/js/treeshaking/publicData.js.map +1 -0
- package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +19 -0
- package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs.map +1 -0
- package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.js +17 -0
- package/dist/node_modules/@volcengine/console-web-sdk/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.cjs +27 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.js +22 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useCreation/index.cjs +22 -0
- package/dist/node_modules/ahooks/es/useCreation/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useCreation/index.js +20 -0
- package/dist/node_modules/ahooks/es/useCreation/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useEventListener/index.cjs +41 -0
- package/dist/node_modules/ahooks/es/useEventListener/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useEventListener/index.js +39 -0
- package/dist/node_modules/ahooks/es/useEventListener/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useLatest/index.cjs +12 -0
- package/dist/node_modules/ahooks/es/useLatest/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useLatest/index.js +10 -0
- package/dist/node_modules/ahooks/es/useLatest/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.cjs +32 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.js +30 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useMount/index.cjs +25 -0
- package/dist/node_modules/ahooks/es/useMount/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useMount/index.js +23 -0
- package/dist/node_modules/ahooks/es/useMount/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRafState/index.cjs +23 -0
- package/dist/node_modules/ahooks/es/useRafState/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRafState/index.js +21 -0
- package/dist/node_modules/ahooks/es/useRafState/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/index.cjs +8 -0
- package/dist/node_modules/ahooks/es/useRequest/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/index.js +6 -0
- package/dist/node_modules/ahooks/es/useRequest/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/Fetch.cjs +150 -0
- package/dist/node_modules/ahooks/es/useRequest/src/Fetch.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/Fetch.js +148 -0
- package/dist/node_modules/ahooks/es/useRequest/src/Fetch.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useAutoRunPlugin.cjs +51 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useAutoRunPlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useAutoRunPlugin.js +49 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useAutoRunPlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useCachePlugin.cjs +127 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useCachePlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useCachePlugin.js +125 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useCachePlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useDebouncePlugin.cjs +64 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useDebouncePlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useDebouncePlugin.js +62 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useDebouncePlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useLoadingDelayPlugin.cjs +44 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useLoadingDelayPlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useLoadingDelayPlugin.js +42 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useLoadingDelayPlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/usePollingPlugin.cjs +66 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/usePollingPlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/usePollingPlugin.js +64 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/usePollingPlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRefreshOnWindowFocusPlugin.cjs +34 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRefreshOnWindowFocusPlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRefreshOnWindowFocusPlugin.js +32 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRefreshOnWindowFocusPlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRetryPlugin.cjs +51 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRetryPlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRetryPlugin.js +49 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useRetryPlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useThrottlePlugin.cjs +58 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useThrottlePlugin.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useThrottlePlugin.js +56 -0
- package/dist/node_modules/ahooks/es/useRequest/src/plugins/useThrottlePlugin.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequest.cjs +38 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequest.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequest.js +36 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequest.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequestImplement.cjs +58 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequestImplement.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequestImplement.js +56 -0
- package/dist/node_modules/ahooks/es/useRequest/src/useRequestImplement.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cache.cjs +26 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cache.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cache.js +23 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cache.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cachePromise.cjs +24 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cachePromise.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cachePromise.js +21 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cachePromise.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cacheSubscribe.cjs +22 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cacheSubscribe.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cacheSubscribe.js +19 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/cacheSubscribe.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isDocumentVisible.cjs +13 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isDocumentVisible.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isDocumentVisible.js +11 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isDocumentVisible.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isOnline.cjs +14 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isOnline.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isOnline.js +12 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/isOnline.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/limit.cjs +23 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/limit.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/limit.js +21 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/limit.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeFocus.cjs +26 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeFocus.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeFocus.js +24 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeFocus.js.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeReVisible.cjs +23 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeReVisible.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeReVisible.js +21 -0
- package/dist/node_modules/ahooks/es/useRequest/src/utils/subscribeReVisible.js.map +1 -0
- package/dist/node_modules/ahooks/es/useSize/index.cjs +34 -0
- package/dist/node_modules/ahooks/es/useSize/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useSize/index.js +32 -0
- package/dist/node_modules/ahooks/es/useSize/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.cjs +22 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.js +20 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.cjs +13 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.js +11 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.cjs +9 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.js +7 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/useVirtualList/index.cjs +123 -0
- package/dist/node_modules/ahooks/es/useVirtualList/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/useVirtualList/index.js +121 -0
- package/dist/node_modules/ahooks/es/useVirtualList/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.cjs +53 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.js +51 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.cjs +16 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.js +14 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.cjs +27 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.js +25 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/index.cjs +10 -0
- package/dist/node_modules/ahooks/es/utils/index.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/index.js +7 -0
- package/dist/node_modules/ahooks/es/utils/index.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.cjs +9 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.js +7 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/isDev.cjs +7 -0
- package/dist/node_modules/ahooks/es/utils/isDev.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/isDev.js +5 -0
- package/dist/node_modules/ahooks/es/utils/isDev.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.cjs +10 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.js +8 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.cjs +13 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.js +11 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.js.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.cjs +10 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.cjs.map +1 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.js +8 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.js.map +1 -0
- package/dist/packages/core/dist/index.cjs +28 -40
- package/dist/packages/core/dist/index.cjs.map +1 -1
- package/dist/packages/core/dist/index.js +20 -32
- package/dist/packages/core/dist/index.js.map +1 -1
- package/dist/plugins/adkPlugin.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../_virtual/index3.cjs');
|
|
5
5
|
var index$1 = require('../../../../inline-style-parser@0.2.4/node_modules/inline-style-parser/index.cjs');
|
|
6
6
|
|
|
7
7
|
var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
|
package/dist/node_modules/.pnpm/style-to-object@1.0.11/node_modules/style-to-object/cjs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal } from '../../../../../../_virtual/_commonjsHelpers.js';
|
|
2
|
-
import { __exports as cjs } from '../../../../../../_virtual/
|
|
2
|
+
import { __exports as cjs } from '../../../../../../_virtual/index3.js';
|
|
3
3
|
import { i as inlineStyleParser } from '../../../../inline-style-parser@0.2.4/node_modules/inline-style-parser/index.js';
|
|
4
4
|
|
|
5
5
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
@@ -68,10 +68,6 @@ function innerCreateMedium(defaults, middleware) {
|
|
|
68
68
|
};
|
|
69
69
|
return medium;
|
|
70
70
|
}
|
|
71
|
-
function createMedium(defaults, middleware) {
|
|
72
|
-
if (middleware === void 0) { middleware = ItoI; }
|
|
73
|
-
return innerCreateMedium(defaults, middleware);
|
|
74
|
-
}
|
|
75
71
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
76
72
|
function createSidecarMedium(options) {
|
|
77
73
|
if (options === void 0) { options = {}; }
|
|
@@ -80,6 +76,5 @@ function createSidecarMedium(options) {
|
|
|
80
76
|
return medium;
|
|
81
77
|
}
|
|
82
78
|
|
|
83
|
-
exports.createMedium = createMedium;
|
|
84
79
|
exports.createSidecarMedium = createSidecarMedium;
|
|
85
80
|
//# sourceMappingURL=medium.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"medium.cjs","sources":["../../../../../../../../../../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"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["__assign"],"mappings":";;;;AACA,SAAS,IAAI,CAAC,CAAC,EAAE;AACjB,IAAI,OAAO,CAAC,CAAC;AACb,CAAC;AACD,SAAS,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE;AACjD,IAAI,IAAI,UAAU,KAAK,KAAK,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EAAE;AACrD,IAAI,IAAI,MAAM,GAAG,EAAE,CAAC;AACpB,IAAI,IAAI,QAAQ,GAAG,KAAK,CAAC;AACzB,IAAI,IAAI,MAAM,GAAG;AACjB,QAAQ,IAAI,EAAE,YAAY;AAC1B,YAAY,IAAI,QAAQ,EAAE;AAC1B,gBAAgB,MAAM,IAAI,KAAK,CAAC,kGAAkG,CAAC,CAAC;AACpI,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE;AAC/B,gBAAgB,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACjD,aAAa;AACb,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS;AACT,QAAQ,SAAS,EAAE,UAAU,IAAI,EAAE;AACnC,YAAY,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAClD,YAAY,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC9B,YAAY,OAAO,YAAY;AAC/B,gBAAgB,MAAM,GAAG,MAAM,CAAC,MAA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AC,YAAY,CAAC,CAAC,EAAE,CAAC;AACrF,YAAY,KAAK,EAAE,CAAC;AACpB,YAAY,MAAM,GAAG;AACrB,gBAAgB,IAAI,EAAE,UAAU,CAAC,EAAE;AACnC,oBAAoB,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzC,oBAAoB,KAAK,EAAE,CAAC;AAC5B,iBAAiB;AACjB,gBAAgB,MAAM,EAAE,UAAU,MAAM,EAAE;AAC1C,oBAAoB,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/D,oBAAoB,OAAO,MAAM,CAAC;AAClC,iBAAiB;AACjB,aAAa,CAAC;AACd,SAAS;AACT,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"medium.cjs","sources":["../../../../../../../../../../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"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["__assign"],"mappings":";;;;AACA,SAAS,IAAI,CAAC,CAAC,EAAE;AACjB,IAAI,OAAO,CAAC,CAAC;AACb,CAAC;AACD,SAAS,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE;AACjD,IAAI,IAAI,UAAU,KAAK,KAAK,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EAAE;AACrD,IAAI,IAAI,MAAM,GAAG,EAAE,CAAC;AACpB,IAAI,IAAI,QAAQ,GAAG,KAAK,CAAC;AACzB,IAAI,IAAI,MAAM,GAAG;AACjB,QAAQ,IAAI,EAAE,YAAY;AAC1B,YAAY,IAAI,QAAQ,EAAE;AAC1B,gBAAgB,MAAM,IAAI,KAAK,CAAC,kGAAkG,CAAC,CAAC;AACpI,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE;AAC/B,gBAAgB,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACjD,aAAa;AACb,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS;AACT,QAAQ,SAAS,EAAE,UAAU,IAAI,EAAE;AACnC,YAAY,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAClD,YAAY,MAAM,CAAC,IAAI,CA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AAC;AACd,YAAY,IAAI,KAAK,GAAG,YAAY,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC;AACrF,YAAY,KAAK,EAAE,CAAC;AACpB,YAAY,MAAM,GAAG;AACrB,gBAAgB,IAAI,EAAE,UAAU,CAAC,EAAE;AACnC,oBAAoB,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzC,oBAAoB,KAAK,EAAE,CAAC;AAC5B,iBAAiB;AACjB,gBAAgB,MAAM,EAAE,UAAU,MAAM,EAAE;AAC1C,oBAAoB,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/D,oBAAoB,OAAO,MAAM,CAAC;AAClC,iBAAiB;AACjB,aAAa,CAAC;AACd,SAAS;AACT,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AAKD;AACO,SAAS,mBAAmB,CAAC,OAAO,EAAE;AAC7C,IAAI,IAAI,OAAO,KAAK,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,CAAC,EAAE;AAC7C,IAAI,IAAI,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACzC,IAAI,MAAM,CAAC,OAAO,GAAGA,kBAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;AACpE,IAAI,OAAO,MAAM,CAAC;AAClB;;;;","x_google_ignoreList":[0]}
|
|
@@ -66,10 +66,6 @@ function innerCreateMedium(defaults, middleware) {
|
|
|
66
66
|
};
|
|
67
67
|
return medium;
|
|
68
68
|
}
|
|
69
|
-
function createMedium(defaults, middleware) {
|
|
70
|
-
if (middleware === void 0) { middleware = ItoI; }
|
|
71
|
-
return innerCreateMedium(defaults, middleware);
|
|
72
|
-
}
|
|
73
69
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
74
70
|
function createSidecarMedium(options) {
|
|
75
71
|
if (options === void 0) { options = {}; }
|
|
@@ -78,5 +74,5 @@ function createSidecarMedium(options) {
|
|
|
78
74
|
return medium;
|
|
79
75
|
}
|
|
80
76
|
|
|
81
|
-
export {
|
|
77
|
+
export { createSidecarMedium };
|
|
82
78
|
//# sourceMappingURL=medium.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"medium.js","sources":["../../../../../../../../../../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"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":[],"mappings":";;AACA,SAAS,IAAI,CAAC,CAAC,EAAE;AACjB,IAAI,OAAO,CAAC,CAAC;AACb,CAAC;AACD,SAAS,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE;AACjD,IAAI,IAAI,UAAU,KAAK,KAAK,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EAAE;AACrD,IAAI,IAAI,MAAM,GAAG,EAAE,CAAC;AACpB,IAAI,IAAI,QAAQ,GAAG,KAAK,CAAC;AACzB,IAAI,IAAI,MAAM,GAAG;AACjB,QAAQ,IAAI,EAAE,YAAY;AAC1B,YAAY,IAAI,QAAQ,EAAE;AAC1B,gBAAgB,MAAM,IAAI,KAAK,CAAC,kGAAkG,CAAC,CAAC;AACpI,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE;AAC/B,gBAAgB,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACjD,aAAa;AACb,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS;AACT,QAAQ,SAAS,EAAE,UAAU,IAAI,EAAE;AACnC,YAAY,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAClD,YAAY,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC9B,YAAY,OAAO,YAAY;AAC/B,gBAAgB,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5E,aAAa,CAAC;AACd,SAAS;AACT,QAAQ,gBAAgB,EAAE,UAAU,EAAE,EAAE;AACxC,YAAY,QAAQ,GA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CAAC,CAAC;AACzC,oBAAoB,KAAK,EAAE,CAAC;AAC5B,iBAAiB;AACjB,gBAAgB,MAAM,EAAE,UAAU,MAAM,EAAE;AAC1C,oBAAoB,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/D,oBAAoB,OAAO,MAAM,CAAC;AAClC,iBAAiB;AACjB,aAAa,CAAC;AACd,SAAS;AACT,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"medium.js","sources":["../../../../../../../../../../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"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":[],"mappings":";;AACA,SAAS,IAAI,CAAC,CAAC,EAAE;AACjB,IAAI,OAAO,CAAC,CAAC;AACb,CAAC;AACD,SAAS,iBAAiB,CAAC,QAAQ,EAAE,UAAU,EAAE;AACjD,IAAI,IAAI,UAAU,KAAK,KAAK,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC,EAAE;AACrD,IAAI,IAAI,MAAM,GAAG,EAAE,CAAC;AACpB,IAAI,IAAI,QAAQ,GAAG,KAAK,CAAC;AACzB,IAAI,IAAI,MAAM,GAAG;AACjB,QAAQ,IAAI,EAAE,YAAY;AAC1B,YAAY,IAAI,QAAQ,EAAE;AAC1B,gBAAgB,MAAM,IAAI,KAAK,CAAC,kGAAkG,CAAC,CAAC;AACpI,aAAa;AACb,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE;AAC/B,gBAAgB,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACjD,aAAa;AACb,YAAY,OAAO,QAAQ,CAAC;AAC5B,SAAS;AACT,QAAQ,SAAS,EAAE,UAAU,IAAI,EAAE;AACnC,YAAY,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAClD,YAAY,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC9B,YAAY,OAAO,YAAY;AAC/B,gBAAgB,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5E,aAAa,CA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AAgB,IAAI,EAAE,UAAU,CAAC,EAAE;AACnC,oBAAoB,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzC,oBAAoB,KAAK,EAAE,CAAC;AAC5B,iBAAiB;AACjB,gBAAgB,MAAM,EAAE,UAAU,MAAM,EAAE;AAC1C,oBAAoB,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/D,oBAAoB,OAAO,MAAM,CAAC;AAClC,iBAAiB;AACjB,aAAa,CAAC;AACd,SAAS;AACT,KAAK,CAAC;AACN,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AAKD;AACO,SAAS,mBAAmB,CAAC,OAAO,EAAE;AAC7C,IAAI,IAAI,OAAO,KAAK,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,CAAC,EAAE;AAC7C,IAAI,IAAI,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACzC,IAAI,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;AACpE,IAAI,OAAO,MAAM,CAAC;AAClB;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('../../../../../../_virtual/
|
|
3
|
+
var index = require('../../../../../../_virtual/index.cjs');
|
|
4
4
|
require('../cjs/use-sync-external-store-shim.production.cjs');
|
|
5
5
|
var useSyncExternalStoreShim_production = require('../../../../../../_virtual/use-sync-external-store-shim.production.cjs');
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as shim } from '../../../../../../_virtual/
|
|
1
|
+
import { __module as shim } from '../../../../../../_virtual/index.js';
|
|
2
2
|
import '../cjs/use-sync-external-store-shim.production.js';
|
|
3
3
|
import { __exports as useSyncExternalStoreShim_production } from '../../../../../../_virtual/use-sync-external-store-shim.production.js';
|
|
4
4
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 上报错误
|
|
5
|
+
* @param browserClient
|
|
6
|
+
* @param name
|
|
7
|
+
* @param message
|
|
8
|
+
* @param err
|
|
9
|
+
* @param extra
|
|
10
|
+
*/
|
|
11
|
+
const loggerError = (browserClient, name, message, err, extra) => {
|
|
12
|
+
if (!browserClient) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const error = err instanceof Error ? err : new Error(message);
|
|
16
|
+
// error.name 是只读的,所以需要通过 Object.defineProperty 来设置,同时增加错误兜底处理。
|
|
17
|
+
try {
|
|
18
|
+
if (name) {
|
|
19
|
+
Object.defineProperty(error, 'name', {
|
|
20
|
+
value: name,
|
|
21
|
+
configurable: true,
|
|
22
|
+
enumerable: false,
|
|
23
|
+
writable: true
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
console.warn(error);
|
|
29
|
+
}
|
|
30
|
+
if (message) {
|
|
31
|
+
error.message = message;
|
|
32
|
+
}
|
|
33
|
+
browserClient('captureException', error, Object.assign({ msg: message || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.stack) || 'no msg provided, please check your code' }, (extra || {})));
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 上报警告
|
|
37
|
+
* @param browserClient
|
|
38
|
+
* @param name
|
|
39
|
+
* @param message
|
|
40
|
+
* @param extra
|
|
41
|
+
*/
|
|
42
|
+
const loggerWarn = (browserClient, name, message, extra) => {
|
|
43
|
+
if (!browserClient) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
browserClient('sendLog', {
|
|
47
|
+
level: 'warn',
|
|
48
|
+
content: name,
|
|
49
|
+
extra: Object.assign({ msg: message }, (extra || {})),
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
exports.loggerError = loggerError;
|
|
54
|
+
exports.loggerWarn = loggerWarn;
|
|
55
|
+
//# sourceMappingURL=common.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.cjs","sources":["../../../../../../../node_modules/@byted/iaas-monitor/lib/common.js"],"sourcesContent":["/**\n * 上报错误\n * @param browserClient\n * @param name\n * @param message\n * @param err\n * @param extra\n */\nexport const loggerError = (browserClient, name, message, err, extra) => {\n if (!browserClient) {\n return null;\n }\n const error = err instanceof Error ? err : new Error(message);\n // error.name 是只读的,所以需要通过 Object.defineProperty 来设置,同时增加错误兜底处理。\n try {\n if (name) {\n Object.defineProperty(error, 'name', {\n value: name,\n configurable: true,\n enumerable: false,\n writable: true\n });\n }\n }\n catch (error) {\n console.warn(error);\n }\n if (message) {\n error.message = message;\n }\n browserClient('captureException', error, Object.assign({ msg: message || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.stack) || 'no msg provided, please check your code' }, (extra || {})));\n};\n/**\n * 上报警告\n * @param browserClient\n * @param name\n * @param message\n * @param extra\n */\nexport const loggerWarn = (browserClient, name, message, extra) => {\n if (!browserClient) {\n return null;\n }\n browserClient('sendLog', {\n level: 'warn',\n content: name,\n extra: Object.assign({ msg: message }, (extra || {})),\n });\n};\n/**\n * 上报信息\n * @param browserClient\n * @param name\n * @param message\n * @param err\n * @param extra\n */\nexport const loggerInfo = (browserClient, name, message, extra) => {\n if (!browserClient) {\n return null;\n }\n browserClient('sendLog', {\n level: 'info',\n content: name,\n extra: Object.assign({ msg: message }, (extra || {})),\n });\n};\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,CAAC,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,KAAK;AACzE,IAAI,IAAI,CAAC,aAAa,EAAE;AACxB,QAAQ,OAAO,IAAI,CAAC;AACpB,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AQ,OAAO,EAAE,IAAI;AACrB,QAAQ,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,EAAE,EAAE;AAC7D,KAAK,CAAC,CAAC;AACP;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 上报错误
|
|
3
|
+
* @param browserClient
|
|
4
|
+
* @param name
|
|
5
|
+
* @param message
|
|
6
|
+
* @param err
|
|
7
|
+
* @param extra
|
|
8
|
+
*/
|
|
9
|
+
const loggerError = (browserClient, name, message, err, extra) => {
|
|
10
|
+
if (!browserClient) {
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
const error = err instanceof Error ? err : new Error(message);
|
|
14
|
+
// error.name 是只读的,所以需要通过 Object.defineProperty 来设置,同时增加错误兜底处理。
|
|
15
|
+
try {
|
|
16
|
+
if (name) {
|
|
17
|
+
Object.defineProperty(error, 'name', {
|
|
18
|
+
value: name,
|
|
19
|
+
configurable: true,
|
|
20
|
+
enumerable: false,
|
|
21
|
+
writable: true
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
console.warn(error);
|
|
27
|
+
}
|
|
28
|
+
if (message) {
|
|
29
|
+
error.message = message;
|
|
30
|
+
}
|
|
31
|
+
browserClient('captureException', error, Object.assign({ msg: message || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.stack) || 'no msg provided, please check your code' }, (extra || {})));
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 上报警告
|
|
35
|
+
* @param browserClient
|
|
36
|
+
* @param name
|
|
37
|
+
* @param message
|
|
38
|
+
* @param extra
|
|
39
|
+
*/
|
|
40
|
+
const loggerWarn = (browserClient, name, message, extra) => {
|
|
41
|
+
if (!browserClient) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
browserClient('sendLog', {
|
|
45
|
+
level: 'warn',
|
|
46
|
+
content: name,
|
|
47
|
+
extra: Object.assign({ msg: message }, (extra || {})),
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { loggerError, loggerWarn };
|
|
52
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sources":["../../../../../../../node_modules/@byted/iaas-monitor/lib/common.js"],"sourcesContent":["/**\n * 上报错误\n * @param browserClient\n * @param name\n * @param message\n * @param err\n * @param extra\n */\nexport const loggerError = (browserClient, name, message, err, extra) => {\n if (!browserClient) {\n return null;\n }\n const error = err instanceof Error ? err : new Error(message);\n // error.name 是只读的,所以需要通过 Object.defineProperty 来设置,同时增加错误兜底处理。\n try {\n if (name) {\n Object.defineProperty(error, 'name', {\n value: name,\n configurable: true,\n enumerable: false,\n writable: true\n });\n }\n }\n catch (error) {\n console.warn(error);\n }\n if (message) {\n error.message = message;\n }\n browserClient('captureException', error, Object.assign({ msg: message || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.stack) || 'no msg provided, please check your code' }, (extra || {})));\n};\n/**\n * 上报警告\n * @param browserClient\n * @param name\n * @param message\n * @param extra\n */\nexport const loggerWarn = (browserClient, name, message, extra) => {\n if (!browserClient) {\n return null;\n }\n browserClient('sendLog', {\n level: 'warn',\n content: name,\n extra: Object.assign({ msg: message }, (extra || {})),\n });\n};\n/**\n * 上报信息\n * @param browserClient\n * @param name\n * @param message\n * @param err\n * @param extra\n */\nexport const loggerInfo = (browserClient, name, message, extra) => {\n if (!browserClient) {\n return null;\n }\n browserClient('sendLog', {\n level: 'info',\n content: name,\n extra: Object.assign({ msg: message }, (extra || {})),\n });\n};\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,CAAC,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,E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C;AACpB,KAAK;AACL,IAAI,aAAa,CAAC,SAAS,EAAE;AAC7B,QAAQ,KAAK,EAAE,MAAM;AACrB,QAAQ,OAAO,EAAE,IAAI;AACrB,QAAQ,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,EAAE,EAAE;AAC7D,KAAK,CAAC,CAAC;AACP;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const REG_PATH_REGION = /\/region:\w+\+([^/?]+)/;
|
|
4
|
+
exports.LoggerType = void 0;
|
|
5
|
+
(function (LoggerType) {
|
|
6
|
+
LoggerType["FATAL"] = "fatal";
|
|
7
|
+
LoggerType["ERROR"] = "error";
|
|
8
|
+
LoggerType["WARN"] = "warn";
|
|
9
|
+
LoggerType["INFO"] = "info";
|
|
10
|
+
})(exports.LoggerType || (exports.LoggerType = {}));
|
|
11
|
+
exports.ReportType = void 0;
|
|
12
|
+
(function (ReportType) {
|
|
13
|
+
ReportType["Manual"] = "manual";
|
|
14
|
+
ReportType["Auto"] = "auto";
|
|
15
|
+
})(exports.ReportType || (exports.ReportType = {}));
|
|
16
|
+
exports.CloudSlardarEnv = void 0;
|
|
17
|
+
(function (CloudSlardarEnv) {
|
|
18
|
+
CloudSlardarEnv["BOE"] = "boe";
|
|
19
|
+
CloudSlardarEnv["PROD"] = "production";
|
|
20
|
+
CloudSlardarEnv["STABLE"] = "stable";
|
|
21
|
+
CloudSlardarEnv["UNKNOWN"] = "unknown";
|
|
22
|
+
})(exports.CloudSlardarEnv || (exports.CloudSlardarEnv = {}));
|
|
23
|
+
const GlobalSlardarName = '_iaas_base_slardar_monitor_';
|
|
24
|
+
const GlobalSlardarBid = 'byted_iaas_scope';
|
|
25
|
+
/**
|
|
26
|
+
* 忽略的错误
|
|
27
|
+
*/
|
|
28
|
+
const ignoreErrors = [
|
|
29
|
+
/Network Error/i,
|
|
30
|
+
/Request aborted/i,
|
|
31
|
+
/Loading chunk/i,
|
|
32
|
+
/Non-Error promise rejection/i,
|
|
33
|
+
/message: "unknown error"/i,
|
|
34
|
+
/timeout of/i,
|
|
35
|
+
/Non-Error exception captured/i,
|
|
36
|
+
/Loading CSS chunk/i,
|
|
37
|
+
/TimeoutError/i,
|
|
38
|
+
];
|
|
39
|
+
/**
|
|
40
|
+
* 需要忽略的请求路径,如果匹配上,则不会上报对应的请求数据
|
|
41
|
+
* 注意:域名做转化
|
|
42
|
+
*/
|
|
43
|
+
const ignoreHttpUrls = [
|
|
44
|
+
// 火山账户接口,完整路径:api/passport/account/getUser
|
|
45
|
+
/account\/getUser/,
|
|
46
|
+
// 火山账号接口,完整路径:api/passport/account/currentUser
|
|
47
|
+
/account\/currentUser/,
|
|
48
|
+
// 火山账号接口,完整路径:api/passport/account/currentIdentity
|
|
49
|
+
/account\/currentIdentity/,
|
|
50
|
+
// 上报数据
|
|
51
|
+
/collect\/batch/,
|
|
52
|
+
// 使用 tea agent(native applog / web tea sdk) 发送的埋点,接收数据的域名
|
|
53
|
+
/mcs\.snssdk\.com/,
|
|
54
|
+
// sdk 内部 tea 数据打点域名。
|
|
55
|
+
/mcs\.zijieapi\.com/,
|
|
56
|
+
];
|
|
57
|
+
|
|
58
|
+
exports.GlobalSlardarBid = GlobalSlardarBid;
|
|
59
|
+
exports.GlobalSlardarName = GlobalSlardarName;
|
|
60
|
+
exports.REG_PATH_REGION = REG_PATH_REGION;
|
|
61
|
+
exports.ignoreErrors = ignoreErrors;
|
|
62
|
+
exports.ignoreHttpUrls = ignoreHttpUrls;
|
|
63
|
+
//# sourceMappingURL=const.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.cjs","sources":["../../../../../../../node_modules/@byted/iaas-monitor/lib/const.js"],"sourcesContent":["export const REG_PATH_REGION = /\\/region:\\w+\\+([^/?]+)/;\nexport var LoggerType;\n(function (LoggerType) {\n LoggerType[\"FATAL\"] = \"fatal\";\n LoggerType[\"ERROR\"] = \"error\";\n LoggerType[\"WARN\"] = \"warn\";\n LoggerType[\"INFO\"] = \"info\";\n})(LoggerType || (LoggerType = {}));\nexport var ReportType;\n(function (ReportType) {\n ReportType[\"Manual\"] = \"manual\";\n ReportType[\"Auto\"] = \"auto\";\n})(ReportType || (ReportType = {}));\nexport var CloudSlardarEnv;\n(function (CloudSlardarEnv) {\n CloudSlardarEnv[\"BOE\"] = \"boe\";\n CloudSlardarEnv[\"PROD\"] = \"production\";\n CloudSlardarEnv[\"STABLE\"] = \"stable\";\n CloudSlardarEnv[\"UNKNOWN\"] = \"unknown\";\n})(CloudSlardarEnv || (CloudSlardarEnv = {}));\nexport const GlobalSlardarName = '_iaas_base_slardar_monitor_';\nexport const GlobalSlardarBid = 'byted_iaas_scope';\n/**\n * 忽略的错误\n */\nexport const ignoreErrors = [\n /Network Error/i,\n /Request aborted/i,\n /Loading chunk/i,\n /Non-Error promise rejection/i,\n /message: \"unknown error\"/i,\n /timeout of/i,\n /Non-Error exception captured/i,\n /Loading CSS chunk/i,\n /TimeoutError/i,\n];\n/**\n * 需要忽略的请求路径,如果匹配上,则不会上报对应的请求数据\n * 注意:域名做转化\n */\nexport const ignoreHttpUrls = [\n // 火山账户接口,完整路径:api/passport/account/getUser\n /account\\/getUser/,\n // 火山账号接口,完整路径:api/passport/account/currentUser\n /account\\/currentUser/,\n // 火山账号接口,完整路径:api/passport/account/currentIdentity\n /account\\/currentIdentity/,\n // 上报数据\n /collect\\/batch/,\n // 使用 tea agent(native applog / web tea sdk) 发送的埋点,接收数据的域名\n /mcs\\.snssdk\\.com/,\n // sdk 内部 tea 数据打点域名。\n /mcs\\.zijieapi\\.com/,\n];\n"],"names":["LoggerType","ReportType","CloudSlardarEnv"],"mappings":";;AAAY,MAAC,eAAe,GAAG,yBAAyB;AAC7CA,4BAAW;AACtB,CAAC,UAAU,UAAU,EAAE;AACvB,IAAI,UAAU,CAAC,OAAO,CAA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I,0BAA0B;AAC9B;AACA,IAAI,gBAAgB;AACpB;AACA,IAAI,kBAAkB;AACtB;AACA,IAAI,oBAAoB;AACxB;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const REG_PATH_REGION = /\/region:\w+\+([^/?]+)/;
|
|
2
|
+
var LoggerType;
|
|
3
|
+
(function (LoggerType) {
|
|
4
|
+
LoggerType["FATAL"] = "fatal";
|
|
5
|
+
LoggerType["ERROR"] = "error";
|
|
6
|
+
LoggerType["WARN"] = "warn";
|
|
7
|
+
LoggerType["INFO"] = "info";
|
|
8
|
+
})(LoggerType || (LoggerType = {}));
|
|
9
|
+
var ReportType;
|
|
10
|
+
(function (ReportType) {
|
|
11
|
+
ReportType["Manual"] = "manual";
|
|
12
|
+
ReportType["Auto"] = "auto";
|
|
13
|
+
})(ReportType || (ReportType = {}));
|
|
14
|
+
var CloudSlardarEnv;
|
|
15
|
+
(function (CloudSlardarEnv) {
|
|
16
|
+
CloudSlardarEnv["BOE"] = "boe";
|
|
17
|
+
CloudSlardarEnv["PROD"] = "production";
|
|
18
|
+
CloudSlardarEnv["STABLE"] = "stable";
|
|
19
|
+
CloudSlardarEnv["UNKNOWN"] = "unknown";
|
|
20
|
+
})(CloudSlardarEnv || (CloudSlardarEnv = {}));
|
|
21
|
+
const GlobalSlardarName = '_iaas_base_slardar_monitor_';
|
|
22
|
+
const GlobalSlardarBid = 'byted_iaas_scope';
|
|
23
|
+
/**
|
|
24
|
+
* 忽略的错误
|
|
25
|
+
*/
|
|
26
|
+
const ignoreErrors = [
|
|
27
|
+
/Network Error/i,
|
|
28
|
+
/Request aborted/i,
|
|
29
|
+
/Loading chunk/i,
|
|
30
|
+
/Non-Error promise rejection/i,
|
|
31
|
+
/message: "unknown error"/i,
|
|
32
|
+
/timeout of/i,
|
|
33
|
+
/Non-Error exception captured/i,
|
|
34
|
+
/Loading CSS chunk/i,
|
|
35
|
+
/TimeoutError/i,
|
|
36
|
+
];
|
|
37
|
+
/**
|
|
38
|
+
* 需要忽略的请求路径,如果匹配上,则不会上报对应的请求数据
|
|
39
|
+
* 注意:域名做转化
|
|
40
|
+
*/
|
|
41
|
+
const ignoreHttpUrls = [
|
|
42
|
+
// 火山账户接口,完整路径:api/passport/account/getUser
|
|
43
|
+
/account\/getUser/,
|
|
44
|
+
// 火山账号接口,完整路径:api/passport/account/currentUser
|
|
45
|
+
/account\/currentUser/,
|
|
46
|
+
// 火山账号接口,完整路径:api/passport/account/currentIdentity
|
|
47
|
+
/account\/currentIdentity/,
|
|
48
|
+
// 上报数据
|
|
49
|
+
/collect\/batch/,
|
|
50
|
+
// 使用 tea agent(native applog / web tea sdk) 发送的埋点,接收数据的域名
|
|
51
|
+
/mcs\.snssdk\.com/,
|
|
52
|
+
// sdk 内部 tea 数据打点域名。
|
|
53
|
+
/mcs\.zijieapi\.com/,
|
|
54
|
+
];
|
|
55
|
+
|
|
56
|
+
export { CloudSlardarEnv, GlobalSlardarBid, GlobalSlardarName, LoggerType, REG_PATH_REGION, ReportType, ignoreErrors, ignoreHttpUrls };
|
|
57
|
+
//# sourceMappingURL=const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.js","sources":["../../../../../../../node_modules/@byted/iaas-monitor/lib/const.js"],"sourcesContent":["export const REG_PATH_REGION = /\\/region:\\w+\\+([^/?]+)/;\nexport var LoggerType;\n(function (LoggerType) {\n LoggerType[\"FATAL\"] = \"fatal\";\n LoggerType[\"ERROR\"] = \"error\";\n LoggerType[\"WARN\"] = \"warn\";\n LoggerType[\"INFO\"] = \"info\";\n})(LoggerType || (LoggerType = {}));\nexport var ReportType;\n(function (ReportType) {\n ReportType[\"Manual\"] = \"manual\";\n ReportType[\"Auto\"] = \"auto\";\n})(ReportType || (ReportType = {}));\nexport var CloudSlardarEnv;\n(function (CloudSlardarEnv) {\n CloudSlardarEnv[\"BOE\"] = \"boe\";\n CloudSlardarEnv[\"PROD\"] = \"production\";\n CloudSlardarEnv[\"STABLE\"] = \"stable\";\n CloudSlardarEnv[\"UNKNOWN\"] = \"unknown\";\n})(CloudSlardarEnv || (CloudSlardarEnv = {}));\nexport const GlobalSlardarName = '_iaas_base_slardar_monitor_';\nexport const GlobalSlardarBid = 'byted_iaas_scope';\n/**\n * 忽略的错误\n */\nexport const ignoreErrors = [\n /Network Error/i,\n /Request aborted/i,\n /Loading chunk/i,\n /Non-Error promise rejection/i,\n /message: \"unknown error\"/i,\n /timeout of/i,\n /Non-Error exception captured/i,\n /Loading CSS chunk/i,\n /TimeoutError/i,\n];\n/**\n * 需要忽略的请求路径,如果匹配上,则不会上报对应的请求数据\n * 注意:域名做转化\n */\nexport const ignoreHttpUrls = [\n // 火山账户接口,完整路径:api/passport/account/getUser\n /account\\/getUser/,\n // 火山账号接口,完整路径:api/passport/account/currentUser\n /account\\/currentUser/,\n // 火山账号接口,完整路径:api/passport/account/currentIdentity\n /account\\/currentIdentity/,\n // 上报数据\n /collect\\/batch/,\n // 使用 tea agent(native applog / web tea sdk) 发送的埋点,接收数据的域名\n /mcs\\.snssdk\\.com/,\n // sdk 内部 tea 数据打点域名。\n /mcs\\.zijieapi\\.com/,\n];\n"],"names":[],"mappings":"AAAY,MAAC,eAAe,GAAG,yBAAyB;AAC9C,IAAC,WAAW;AACtB,CAAC,UAAU,UAAU,EAAE;AACvB,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AAClC,IAAI,UAAU,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;AAClC,IAAI,UAAU,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAChC,IAAI,UAAU,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAChC,CAAC,EAAE,UAAU,KAAK,UAAU,GAAG,EAAE,CAAC,CAAC,CAAC;AAC1B,IAAC,WAAW;AACtB,CAAC,UAAU,UAAU,EAAE;AACvB,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;AACpC,IAAI,UAAU,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAChC,CAAC,EAAE,UAAU,KAAK,UAAU,GAAG,EAAE,CAAC,CAAC,CAAC;AAC1B,IAAC,gBAAgB;AAC3B,CAAC,UAAU,eAAe,EAAE;AAC5B,IAAI,eAAe,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC;AACnC,IAAI,eAAe,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;AAC3C,IAAI,eAAe,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;AACzC,IAAI,eAAe,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AAC3C,CAAC,EAAE,eAAe,KAAK,eAAe,GAAG,EAAE,CAAC,CAAC,CAAC;AAClC,MAAC,iBAAiB,GAAG,8BAA8B;AACnD,MAAC,gBAAgB,GAAG,mBAAmB;AACnD;AACA;AACA;AACY,MAAC,YAAY,GAAG;AAC5B,IAAI,gBAAgB;AACpB,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,8BAA8B;AAClC,IAAI,2BAA2B;AAC/B,IAAI,aAAa;AACjB,IAAI,+BAA+B;AACnC,IAAI,oBAAoB;AACxB,IAAI,eAAe;AACnB,EAAE;AACF;AACA;AACA;AACA;AACY,MAAC,cAAc,GAAG;AAC9B;AACA,IAAI,kBAAkB;AACtB;AACA,IAAI,sBAAsB;AAC1B;AACA,IAAI,0BAA0B;AAC9B;AACA,IAAI,gBAAgB;AACpB;AACA,IAAI,kBAAkB;AACtB;AACA,IAAI,oBAAoB;AACxB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('../utils.cjs');
|
|
4
|
+
var _const = require('../const.cjs');
|
|
5
|
+
var loadSlardar$1 = require('./loadSlardar.cjs');
|
|
6
|
+
|
|
7
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
9
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
10
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
11
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
13
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
// slardar 加载版本
|
|
17
|
+
const SlardarVersion = `1.12.6`;
|
|
18
|
+
const SlardarUrlHostMap = {
|
|
19
|
+
// lf3-short.ibytedapm.com
|
|
20
|
+
cn: utils.urlDecode('ExlMUgwXEA0LURYdBgsaGx4PElEcEBI='),
|
|
21
|
+
// sf16-short-sg.bytedapm.com
|
|
22
|
+
sg: utils.urlDecode('DBlOSVIMFxANC1IMGFEdBgsaGx4PElEcEBI='),
|
|
23
|
+
};
|
|
24
|
+
const SlardarUrlFile = {
|
|
25
|
+
cn: `${SlardarVersion}.cn.js`,
|
|
26
|
+
sg: `${SlardarVersion}.sg.js`,
|
|
27
|
+
};
|
|
28
|
+
const deployRegion = utils.getDeployRegion();
|
|
29
|
+
const url = SlardarUrlHostMap[deployRegion] || SlardarUrlHostMap.cn;
|
|
30
|
+
const file = SlardarUrlFile[deployRegion] || SlardarUrlFile.cn;
|
|
31
|
+
const slardarUrl = `https://${url}/slardar/fe/sdk-web/browser.${file}`;
|
|
32
|
+
/**
|
|
33
|
+
* 使用 script 标签加载 slardar, 脚本中有预收集代码,监控时间早
|
|
34
|
+
* https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7da9e9e0487030f30eb2a?x-resource-account=public
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
const loadSlardar = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
38
|
+
const interval = 100;
|
|
39
|
+
const timeout = 30000; // 设置30秒超时
|
|
40
|
+
return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {
|
|
41
|
+
// 仅加载一次 slardar 脚本,避免重复加载
|
|
42
|
+
if (!window[_const.GlobalSlardarName]) {
|
|
43
|
+
loadSlardar$1.loadSlardarScript(slardarUrl, _const.GlobalSlardarBid, _const.GlobalSlardarName);
|
|
44
|
+
// https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7e57a408cd0030bbb511e?x-resource-account=public&x-bc-region-id=bytedance#cee71520
|
|
45
|
+
// @ts-expect-error slardar 脚本加载完成后会挂载到 window 上,挂载的是一个空函数,所以不能使用.调用 手动触发init,后续所有的 slardar 初始化都监听oninit事件
|
|
46
|
+
window[_const.GlobalSlardarName]('init', { bid: _const.GlobalSlardarBid });
|
|
47
|
+
}
|
|
48
|
+
let timeoutId = null;
|
|
49
|
+
let checkId = null;
|
|
50
|
+
const check = () => {
|
|
51
|
+
var _a;
|
|
52
|
+
if ((_a = window[_const.GlobalSlardarName]) === null || _a === void 0 ? void 0 : _a.create) {
|
|
53
|
+
if (timeoutId)
|
|
54
|
+
clearTimeout(timeoutId);
|
|
55
|
+
resolve(true);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
checkId = setTimeout(check, interval);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
checkId = setTimeout(check, interval);
|
|
62
|
+
// 添加超时处理
|
|
63
|
+
timeoutId = setTimeout(() => {
|
|
64
|
+
if (checkId)
|
|
65
|
+
clearTimeout(checkId);
|
|
66
|
+
reject(new Error(`加载 Slardar 超时,URL: ${slardarUrl}`));
|
|
67
|
+
}, timeout);
|
|
68
|
+
}));
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
exports.loadSlardar = loadSlardar;
|
|
72
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../../node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js"],"sourcesContent":["var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { getDeployRegion, urlDecode } from '../utils';\nimport { GlobalSlardarBid, GlobalSlardarName } from '../const';\nimport { loadSlardarScript } from './loadSlardar';\n// slardar 加载版本\nconst SlardarVersion = `1.12.6`;\nconst SlardarUrlHostMap = {\n // lf3-short.ibytedapm.com\n cn: urlDecode('ExlMUgwXEA0LURYdBgsaGx4PElEcEBI='),\n // sf16-short-sg.bytedapm.com\n sg: urlDecode('DBlOSVIMFxANC1IMGFEdBgsaGx4PElEcEBI='),\n};\nconst SlardarUrlFile = {\n cn: `${SlardarVersion}.cn.js`,\n sg: `${SlardarVersion}.sg.js`,\n};\nconst deployRegion = getDeployRegion();\nconst url = SlardarUrlHostMap[deployRegion] || SlardarUrlHostMap.cn;\nconst file = SlardarUrlFile[deployRegion] || SlardarUrlFile.cn;\nconst slardarUrl = `https://${url}/slardar/fe/sdk-web/browser.${file}`;\n/**\n * 使用 script 标签加载 slardar, 脚本中有预收集代码,监控时间早\n * https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7da9e9e0487030f30eb2a?x-resource-account=public\n *\n */\nexport const loadSlardar = () => __awaiter(void 0, void 0, void 0, function* () {\n const interval = 100;\n const timeout = 30000; // 设置30秒超时\n return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {\n // 仅加载一次 slardar 脚本,避免重复加载\n if (!window[GlobalSlardarName]) {\n loadSlardarScript(slardarUrl, GlobalSlardarBid, GlobalSlardarName);\n // https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7e57a408cd0030bbb511e?x-resource-account=public&x-bc-region-id=bytedance#cee71520\n // @ts-expect-error slardar 脚本加载完成后会挂载到 window 上,挂载的是一个空函数,所以不能使用.调用 手动触发init,后续所有的 slardar 初始化都监听oninit事件\n window[GlobalSlardarName]('init', { bid: GlobalSlardarBid });\n }\n let timeoutId = null;\n let checkId = null;\n const check = () => {\n var _a;\n if ((_a = window[GlobalSlardarName]) === null || _a === void 0 ? void 0 : _a.create) {\n if (timeoutId)\n clearTimeout(timeoutId);\n resolve(true);\n }\n else {\n checkId = setTimeout(check, interval);\n }\n };\n checkId = setTimeout(check, interval);\n // 添加超时处理\n timeoutId = setTimeout(() => {\n if (checkId)\n clearTimeout(checkId);\n reject(new Error(`加载 Slardar 超时,URL: ${slardarUrl}`));\n }, timeout);\n }));\n});\n"],"names":["this","urlDecode","getDeployRegion","GlobalSlardarName","loadSlardarScript","GlobalSlardarBid"],"mappings":";;;;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK,UAAU,OAAO,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE;AACzF,IAAI,SAAS,KAAK,CAAC,KAAK,EAAE,EAAE,OAAO,KAAK,YAAY,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC,UAAU,OAAO,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;AAChH,IAAI,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,EAAE,UAAU,OAAO,EAAE,MAAM,EAAE;AAC/D,QAAQ,SAAS,SAAS,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,CA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QAAQ,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AAC9C;AACA,QAAQ,SAAS,GAAG,UAAU,CAAC,MAAM;AACrC,YAAY,IAAI,OAAO;AACvB,gBAAgB,YAAY,CAAC,OAAO,CAAC,CAAC;AACtC,YAAY,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAClE,SAAS,EAAE,OAAO,CAAC,CAAC;AACpB,KAAK,CAAC,CAAC,CAAC;AACR,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { urlDecode, getDeployRegion } from '../utils.js';
|
|
2
|
+
import { GlobalSlardarName, GlobalSlardarBid } from '../const.js';
|
|
3
|
+
import { loadSlardarScript } from './loadSlardar.js';
|
|
4
|
+
|
|
5
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
8
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
9
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
10
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
11
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
// slardar 加载版本
|
|
15
|
+
const SlardarVersion = `1.12.6`;
|
|
16
|
+
const SlardarUrlHostMap = {
|
|
17
|
+
// lf3-short.ibytedapm.com
|
|
18
|
+
cn: urlDecode('ExlMUgwXEA0LURYdBgsaGx4PElEcEBI='),
|
|
19
|
+
// sf16-short-sg.bytedapm.com
|
|
20
|
+
sg: urlDecode('DBlOSVIMFxANC1IMGFEdBgsaGx4PElEcEBI='),
|
|
21
|
+
};
|
|
22
|
+
const SlardarUrlFile = {
|
|
23
|
+
cn: `${SlardarVersion}.cn.js`,
|
|
24
|
+
sg: `${SlardarVersion}.sg.js`,
|
|
25
|
+
};
|
|
26
|
+
const deployRegion = getDeployRegion();
|
|
27
|
+
const url = SlardarUrlHostMap[deployRegion] || SlardarUrlHostMap.cn;
|
|
28
|
+
const file = SlardarUrlFile[deployRegion] || SlardarUrlFile.cn;
|
|
29
|
+
const slardarUrl = `https://${url}/slardar/fe/sdk-web/browser.${file}`;
|
|
30
|
+
/**
|
|
31
|
+
* 使用 script 标签加载 slardar, 脚本中有预收集代码,监控时间早
|
|
32
|
+
* https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7da9e9e0487030f30eb2a?x-resource-account=public
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
const loadSlardar = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
|
+
const interval = 100;
|
|
37
|
+
const timeout = 30000; // 设置30秒超时
|
|
38
|
+
return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {
|
|
39
|
+
// 仅加载一次 slardar 脚本,避免重复加载
|
|
40
|
+
if (!window[GlobalSlardarName]) {
|
|
41
|
+
loadSlardarScript(slardarUrl, GlobalSlardarBid, GlobalSlardarName);
|
|
42
|
+
// https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7e57a408cd0030bbb511e?x-resource-account=public&x-bc-region-id=bytedance#cee71520
|
|
43
|
+
// @ts-expect-error slardar 脚本加载完成后会挂载到 window 上,挂载的是一个空函数,所以不能使用.调用 手动触发init,后续所有的 slardar 初始化都监听oninit事件
|
|
44
|
+
window[GlobalSlardarName]('init', { bid: GlobalSlardarBid });
|
|
45
|
+
}
|
|
46
|
+
let timeoutId = null;
|
|
47
|
+
let checkId = null;
|
|
48
|
+
const check = () => {
|
|
49
|
+
var _a;
|
|
50
|
+
if ((_a = window[GlobalSlardarName]) === null || _a === void 0 ? void 0 : _a.create) {
|
|
51
|
+
if (timeoutId)
|
|
52
|
+
clearTimeout(timeoutId);
|
|
53
|
+
resolve(true);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
checkId = setTimeout(check, interval);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
checkId = setTimeout(check, interval);
|
|
60
|
+
// 添加超时处理
|
|
61
|
+
timeoutId = setTimeout(() => {
|
|
62
|
+
if (checkId)
|
|
63
|
+
clearTimeout(checkId);
|
|
64
|
+
reject(new Error(`加载 Slardar 超时,URL: ${slardarUrl}`));
|
|
65
|
+
}, timeout);
|
|
66
|
+
}));
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export { loadSlardar };
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/@byted/iaas-monitor/lib/loadSlardar/index.js"],"sourcesContent":["var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { getDeployRegion, urlDecode } from '../utils';\nimport { GlobalSlardarBid, GlobalSlardarName } from '../const';\nimport { loadSlardarScript } from './loadSlardar';\n// slardar 加载版本\nconst SlardarVersion = `1.12.6`;\nconst SlardarUrlHostMap = {\n // lf3-short.ibytedapm.com\n cn: urlDecode('ExlMUgwXEA0LURYdBgsaGx4PElEcEBI='),\n // sf16-short-sg.bytedapm.com\n sg: urlDecode('DBlOSVIMFxANC1IMGFEdBgsaGx4PElEcEBI='),\n};\nconst SlardarUrlFile = {\n cn: `${SlardarVersion}.cn.js`,\n sg: `${SlardarVersion}.sg.js`,\n};\nconst deployRegion = getDeployRegion();\nconst url = SlardarUrlHostMap[deployRegion] || SlardarUrlHostMap.cn;\nconst file = SlardarUrlFile[deployRegion] || SlardarUrlFile.cn;\nconst slardarUrl = `https://${url}/slardar/fe/sdk-web/browser.${file}`;\n/**\n * 使用 script 标签加载 slardar, 脚本中有预收集代码,监控时间早\n * https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7da9e9e0487030f30eb2a?x-resource-account=public\n *\n */\nexport const loadSlardar = () => __awaiter(void 0, void 0, void 0, function* () {\n const interval = 100;\n const timeout = 30000; // 设置30秒超时\n return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {\n // 仅加载一次 slardar 脚本,避免重复加载\n if (!window[GlobalSlardarName]) {\n loadSlardarScript(slardarUrl, GlobalSlardarBid, GlobalSlardarName);\n // https://cloud.bytedance.net/docs/slardar/docs/63c8ab7a6773b3023778be76/65f7e57a408cd0030bbb511e?x-resource-account=public&x-bc-region-id=bytedance#cee71520\n // @ts-expect-error slardar 脚本加载完成后会挂载到 window 上,挂载的是一个空函数,所以不能使用.调用 手动触发init,后续所有的 slardar 初始化都监听oninit事件\n window[GlobalSlardarName]('init', { bid: GlobalSlardarBid });\n }\n let timeoutId = null;\n let checkId = null;\n const check = () => {\n var _a;\n if ((_a = window[GlobalSlardarName]) === null || _a === void 0 ? void 0 : _a.create) {\n if (timeoutId)\n clearTimeout(timeoutId);\n resolve(true);\n }\n else {\n checkId = setTimeout(check, interval);\n }\n };\n checkId = setTimeout(check, interval);\n // 添加超时处理\n timeoutId = setTimeout(() => {\n if (checkId)\n clearTimeout(checkId);\n reject(new Error(`加载 Slardar 超时,URL: ${slardarUrl}`));\n }, timeout);\n }));\n});\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,SAAS,KAAK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