@chatbi-v/core 2.0.5 → 2.1.1
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/chunk-4AJ6VW5G.mjs +50 -0
- package/dist/config-manager-F3GYW4BE.mjs +8 -0
- package/dist/index.js +2805 -0
- package/dist/index.mjs +2658 -7
- package/package.json +3 -3
- package/dist/adapters/local-storage-adapter.d.ts +0 -61
- package/dist/adapters/scoped-storage-adapter.d.ts +0 -61
- package/dist/api/adapters/axios-adapter.d.ts +0 -10
- package/dist/api/engine.d.ts +0 -87
- package/dist/api/index.d.ts +0 -6
- package/dist/api/utils.d.ts +0 -14
- package/dist/api-context.d.ts +0 -8
- package/dist/application/service-registry.d.ts +0 -57
- package/dist/chunk-O74KYN5N.mjs +0 -1
- package/dist/components/PluginErrorBoundary.d.ts +0 -44
- package/dist/components/PluginSlot.d.ts +0 -35
- package/dist/components/SlotSkeletons.d.ts +0 -27
- package/dist/config-manager-LQITPSUA.mjs +0 -1
- package/dist/config-manager.d.ts +0 -34
- package/dist/domain/auto-loader.d.ts +0 -36
- package/dist/domain/models.d.ts +0 -42
- package/dist/domain/plugin-manager.d.ts +0 -215
- package/dist/domain/plugin-runtime.d.ts +0 -70
- package/dist/domain/plugin-sandbox.d.ts +0 -40
- package/dist/domain/storage-manager.d.ts +0 -74
- package/dist/event-bus.d.ts +0 -38
- package/dist/hooks/use-plugin-loader.d.ts +0 -35
- package/dist/hooks/use-storage-state.d.ts +0 -15
- package/dist/index.cjs +0 -12
- package/dist/index.d.ts +0 -30
- package/dist/plugin-context.d.ts +0 -8
- package/dist/ports/api-port.d.ts +0 -132
- package/dist/ports/event-bus-port.d.ts +0 -32
- package/dist/ports/plugin-port.d.ts +0 -302
- package/dist/ports/storage-port.d.ts +0 -37
- package/dist/sandbox/proxy-sandbox.d.ts +0 -45
- package/dist/sandbox/style-isolation.d.ts +0 -13
- package/dist/utils/date.d.ts +0 -32
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/logger.d.ts +0 -79
- package/dist/utils/url.d.ts +0 -16
package/dist/utils/url.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type KeepStrategy = 'first' | 'last' | 'search' | 'hash';
|
|
2
|
-
/**
|
|
3
|
-
* 把当前地址中所有出现的参数合并成一份。
|
|
4
|
-
* 重复 key 的处理策略:
|
|
5
|
-
* - 'first' : 按出现顺序,第一次的值生效
|
|
6
|
-
* - 'last' : 按出现顺序,最后一次的值生效(默认,最直观)
|
|
7
|
-
* - 'search' : 只要 search 里出现过,就用 search 的
|
|
8
|
-
* - 'hash' : 只要 hash 里出现过,就用 hash 的
|
|
9
|
-
*/
|
|
10
|
-
export declare function normalizeParams(strategy?: KeepStrategy): URLSearchParams;
|
|
11
|
-
/**
|
|
12
|
-
* 清除 URL 中的特定参数并返回新的 URL
|
|
13
|
-
* @description 同时处理 search 和 hash 中的参数
|
|
14
|
-
*/
|
|
15
|
-
export declare function cleanUrlParams(keysToRemove: string[]): string;
|
|
16
|
-
export {};
|