11.26 修改K线图样式

This commit is contained in:
尚政杰
2025-11-26 17:19:38 +08:00
parent 48f49c6cf0
commit 4e64455b9b
4803 changed files with 146408 additions and 648 deletions

4
node_modules/@posthog/core/dist/process/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
export * from './spawn-local';
export { resolveBinaryPath } from './utils';
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/process/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA"}

73
node_modules/@posthog/core/dist/process/index.js generated vendored Normal file
View File

@@ -0,0 +1,73 @@
"use strict";
var __webpack_modules__ = {
"./spawn-local": function(module) {
module.exports = require("./spawn-local.js");
},
"./utils?198b": function(module) {
module.exports = require("./utils.js");
}
};
var __webpack_module_cache__ = {};
function __webpack_require__(moduleId) {
var cachedModule = __webpack_module_cache__[moduleId];
if (void 0 !== cachedModule) return cachedModule.exports;
var module = __webpack_module_cache__[moduleId] = {
exports: {}
};
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
return module.exports;
}
(()=>{
__webpack_require__.n = (module)=>{
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
__webpack_require__.d(getter, {
a: getter
});
return getter;
};
})();
(()=>{
__webpack_require__.d = (exports1, definition)=>{
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
enumerable: true,
get: definition[key]
});
};
})();
(()=>{
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
__webpack_require__.r = (exports1)=>{
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
value: 'Module'
});
Object.defineProperty(exports1, '__esModule', {
value: true
});
};
})();
var __webpack_exports__ = {};
(()=>{
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
resolveBinaryPath: ()=>_utils__WEBPACK_IMPORTED_MODULE_1__.resolveBinaryPath
});
var _spawn_local__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./spawn-local");
var __WEBPACK_REEXPORT_OBJECT__ = {};
for(var __WEBPACK_IMPORT_KEY__ in _spawn_local__WEBPACK_IMPORTED_MODULE_0__)if ([
"resolveBinaryPath",
"default"
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
return _spawn_local__WEBPACK_IMPORTED_MODULE_0__[key];
}).bind(0, __WEBPACK_IMPORT_KEY__);
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./utils?198b");
})();
exports.resolveBinaryPath = __webpack_exports__.resolveBinaryPath;
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
"resolveBinaryPath"
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
Object.defineProperty(exports, '__esModule', {
value: true
});

3
node_modules/@posthog/core/dist/process/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,3 @@
import { resolveBinaryPath } from "./utils.mjs";
export * from "./spawn-local.mjs";
export { resolveBinaryPath };

View File

@@ -0,0 +1,6 @@
export declare function spawnLocal(executable: string, args: string[], options: {
env: NodeJS.ProcessEnv;
stdio: 'inherit' | 'ignore';
cwd: string;
}): Promise<void>;
//# sourceMappingURL=spawn-local.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"spawn-local.d.ts","sourceRoot":"","sources":["../../src/process/spawn-local.ts"],"names":[],"mappings":"AAEA,wBAAsB,UAAU,CAC9B,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE;IACP,GAAG,EAAE,MAAM,CAAC,UAAU,CAAA;IACtB,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ,GACA,OAAO,CAAC,IAAI,CAAC,CAoBf"}

54
node_modules/@posthog/core/dist/process/spawn-local.js generated vendored Normal file
View File

@@ -0,0 +1,54 @@
"use strict";
var __webpack_require__ = {};
(()=>{
__webpack_require__.d = (exports1, definition)=>{
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
enumerable: true,
get: definition[key]
});
};
})();
(()=>{
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
__webpack_require__.r = (exports1)=>{
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
value: 'Module'
});
Object.defineProperty(exports1, '__esModule', {
value: true
});
};
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
spawnLocal: ()=>spawnLocal
});
const external_cross_spawn_namespaceObject = require("cross-spawn");
async function spawnLocal(executable, args, options) {
const child = (0, external_cross_spawn_namespaceObject.spawn)(executable, [
...args
], {
stdio: options.stdio ?? 'inherit',
env: options.env,
cwd: options.cwd
});
await new Promise((resolve, reject)=>{
child.on('close', (code)=>{
if (0 === code) resolve();
else reject(new Error(`Command failed with code ${code}`));
});
child.on('error', (error)=>{
reject(error);
});
});
}
exports.spawnLocal = __webpack_exports__.spawnLocal;
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
"spawnLocal"
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
Object.defineProperty(exports, '__esModule', {
value: true
});

View File

@@ -0,0 +1,20 @@
import { spawn } from "cross-spawn";
async function spawnLocal(executable, args, options) {
const child = spawn(executable, [
...args
], {
stdio: options.stdio ?? 'inherit',
env: options.env,
cwd: options.cwd
});
await new Promise((resolve, reject)=>{
child.on('close', (code)=>{
if (0 === code) resolve();
else reject(new Error(`Command failed with code ${code}`));
});
child.on('error', (error)=>{
reject(error);
});
});
}
export { spawnLocal };

6
node_modules/@posthog/core/dist/process/utils.d.ts generated vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare const buildLocalBinaryPaths: (cwd: string) => string[];
export declare function resolveBinaryPath(binName: string, options: {
path: string;
cwd: string;
}): string;
//# sourceMappingURL=utils.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/process/utils.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,KAAG,MAAM,EAKzD,CAAA;AAED,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE;IACP,IAAI,EAAE,MAAM,CAAA;IAEZ,GAAG,EAAE,MAAM,CAAA;CACZ,GACA,MAAM,CAWR"}

81
node_modules/@posthog/core/dist/process/utils.js generated vendored Normal file
View File

@@ -0,0 +1,81 @@
"use strict";
var __webpack_require__ = {};
(()=>{
__webpack_require__.n = (module)=>{
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
__webpack_require__.d(getter, {
a: getter
});
return getter;
};
})();
(()=>{
__webpack_require__.d = (exports1, definition)=>{
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
enumerable: true,
get: definition[key]
});
};
})();
(()=>{
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
__webpack_require__.r = (exports1)=>{
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
value: 'Module'
});
Object.defineProperty(exports1, '__esModule', {
value: true
});
};
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
buildLocalBinaryPaths: ()=>buildLocalBinaryPaths,
resolveBinaryPath: ()=>resolveBinaryPath
});
const external_node_path_namespaceObject = require("node:path");
var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
const external_node_fs_namespaceObject = require("node:fs");
var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
const getLocalPaths = (startPath)=>{
const paths = [];
let currentPath = startPath;
while(true){
paths.push(currentPath);
const parentPath = external_node_path_default().resolve(currentPath, '..');
if (parentPath === currentPath) break;
currentPath = parentPath;
}
return paths;
};
const buildLocalBinaryPaths = (cwd)=>{
const localPaths = getLocalPaths(external_node_path_default().resolve(cwd)).map((localPath)=>external_node_path_default().join(localPath, 'node_modules/.bin'));
return localPaths;
};
function resolveBinaryPath(binName, options) {
const envLocations = options.path.split(external_node_path_default().delimiter);
const localLocations = buildLocalBinaryPaths(options.cwd);
const directories = [
...new Set([
...localLocations,
...envLocations
])
];
for (const directory of directories){
const binaryPath = external_node_path_default().join(directory, binName);
if (external_node_fs_default().existsSync(binaryPath)) return binaryPath;
}
throw new Error(`Binary ${binName} not found`);
}
exports.buildLocalBinaryPaths = __webpack_exports__.buildLocalBinaryPaths;
exports.resolveBinaryPath = __webpack_exports__.resolveBinaryPath;
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
"buildLocalBinaryPaths",
"resolveBinaryPath"
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
Object.defineProperty(exports, '__esModule', {
value: true
});

33
node_modules/@posthog/core/dist/process/utils.mjs generated vendored Normal file
View File

@@ -0,0 +1,33 @@
import node_path from "node:path";
import node_fs from "node:fs";
const getLocalPaths = (startPath)=>{
const paths = [];
let currentPath = startPath;
while(true){
paths.push(currentPath);
const parentPath = node_path.resolve(currentPath, '..');
if (parentPath === currentPath) break;
currentPath = parentPath;
}
return paths;
};
const buildLocalBinaryPaths = (cwd)=>{
const localPaths = getLocalPaths(node_path.resolve(cwd)).map((localPath)=>node_path.join(localPath, 'node_modules/.bin'));
return localPaths;
};
function resolveBinaryPath(binName, options) {
const envLocations = options.path.split(node_path.delimiter);
const localLocations = buildLocalBinaryPaths(options.cwd);
const directories = [
...new Set([
...localLocations,
...envLocations
])
];
for (const directory of directories){
const binaryPath = node_path.join(directory, binName);
if (node_fs.existsSync(binaryPath)) return binaryPath;
}
throw new Error(`Binary ${binName} not found`);
}
export { buildLocalBinaryPaths, resolveBinaryPath };