@qimen-lab/core 0.1.2 → 0.1.4
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/async/package.json +1 -1
- package/dist/cache/BaseCacheProvider.js +1 -1
- package/dist/cache/CacheFactory.js +1 -1
- package/dist/cache/package.json +3 -3
- package/dist/composable/ComposableBase.d.ts +1 -1
- package/dist/composable/ComposableBase.esm.js +1 -1
- package/dist/composable/ComposableBase.js +2 -2
- package/dist/composable/package.json +3 -3
- package/dist/context/RequestContextBuilder.js +1 -1
- package/dist/context/package.json +2 -2
- package/dist/crypto/package.json +1 -1
- package/dist/data-processor/DataProcessorRegistrar.d.ts +1 -1
- package/dist/data-processor/DataProcessorRegistrar.esm.js +1 -1
- package/dist/data-processor/DataProcessorRegistrar.js +1 -1
- package/dist/data-processor/executor.d.ts +3 -3
- package/dist/data-processor/executor.esm.js +1 -1
- package/dist/data-processor/executor.js +1 -1
- package/dist/data-processor/package.json +4 -4
- package/dist/data-processor-abp/index.js +3 -3
- package/dist/data-processor-abp/package.json +3 -3
- package/dist/data-processor-abp/post.d.ts +1 -1
- package/dist/data-processor-abp/post.esm.js +1 -1
- package/dist/data-processor-abp/post.js +1 -1
- package/dist/data-processor-abp/pre.d.ts +1 -1
- package/dist/data-processor-abp/pre.esm.js +1 -1
- package/dist/data-processor-abp/pre.js +1 -1
- package/dist/data-processor-abp/register.esm.js +1 -1
- package/dist/data-processor-abp/register.js +1 -1
- package/dist/data-processor-spring/index.js +3 -3
- package/dist/data-processor-spring/package.json +3 -3
- package/dist/data-processor-spring/post.d.ts +1 -1
- package/dist/data-processor-spring/post.esm.js +1 -1
- package/dist/data-processor-spring/post.js +1 -1
- package/dist/data-processor-spring/pre.d.ts +1 -1
- package/dist/data-processor-spring/pre.esm.js +1 -1
- package/dist/data-processor-spring/pre.js +1 -1
- package/dist/data-processor-spring/register.esm.js +1 -1
- package/dist/data-processor-spring/register.js +1 -1
- package/dist/entity/abilities/SchemaAbility.d.ts +1 -1
- package/dist/entity/abilities/SchemaAbility.js +1 -1
- package/dist/entity/abilities/core/CacheAbility.d.ts +1 -1
- package/dist/entity/abilities/core/CacheAbility.js +1 -1
- package/dist/entity/abilities/core/DirtyAbility.d.ts +1 -1
- package/dist/entity/abilities/core/SchemaProxyAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalDeleteAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalMutationAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalStateAbility.d.ts +1 -1
- package/dist/entity/abilities/local/FlatLocalStateAbility.js +2 -2
- package/dist/entity/abilities/local/LocalGetAbility.d.ts +1 -1
- package/dist/entity/abilities/local/LocalListAbility.d.ts +1 -1
- package/dist/entity/abilities/mutation/LocalMutationAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteGetAllAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteListAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteQueryAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/FlatRemoteQueryAbility.js +1 -1
- package/dist/entity/abilities/remote/FlatRemoteStateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteCreateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteCreateAbility.js +1 -1
- package/dist/entity/abilities/remote/RemoteDeleteAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteDeleteAbility.js +1 -1
- package/dist/entity/abilities/remote/RemoteGetAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteToggleAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteUpdateAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/RemoteUpdateAbility.js +1 -1
- package/dist/entity/abilities/remote/TreeManagerAbility.d.ts +1 -1
- package/dist/entity/abilities/remote/TreeRemoteStateAbility.d.ts +1 -1
- package/dist/entity/abilities/search/SearchAbility.d.ts +1 -1
- package/dist/entity/abilities/search/SearchAbility.js +1 -1
- package/dist/entity/abilities/tree/TreeLifecycleAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreePathAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreeSearchAbility.d.ts +1 -1
- package/dist/entity/abilities/tree/TreeSearchAbility.js +1 -1
- package/dist/entity/abilities/tree/TreeViewAbility.d.ts +1 -1
- package/dist/entity/manager/BaseEntityManager.d.ts +4 -4
- package/dist/entity/manager/CoreEntityManager.d.ts +7 -7
- package/dist/entity/manager/CoreEntityManager.js +11 -11
- package/dist/entity/manager/managers.d.ts +3 -3
- package/dist/entity/manager/managers.js +23 -23
- package/dist/entity/package.json +11 -11
- package/dist/entity/types/index.d.ts +11 -11
- package/dist/entity/types/index.js +2 -2
- package/dist/error/package.json +1 -1
- package/dist/event-dom/adapters/dom/DomEventAdapter.js +4 -4
- package/dist/event-dom/adapters/processors/GestureProcessor.d.ts +1 -1
- package/dist/event-dom/adapters/processors/GestureProcessor.js +4 -4
- package/dist/event-dom/adapters/processors/LongPressProcessor.js +1 -1
- package/dist/event-dom/adapters/processors/factory.js +2 -2
- package/dist/event-dom/adapters/semantic-map/resolve.js +1 -1
- package/dist/event-dom/adapters/utils/validation.js +1 -1
- package/dist/event-dom/package.json +7 -7
- package/dist/events/EventBus.js +1 -1
- package/dist/events/EventScope.js +1 -1
- package/dist/events/GlobalEventBus.js +1 -1
- package/dist/events/package.json +3 -3
- package/dist/http/HttpActionRegistrar.js +1 -1
- package/dist/http/HttpClient.js +1 -1
- package/dist/http/HttpExecutor.js +1 -1
- package/dist/http/StreamClient.js +1 -1
- package/dist/http/package.json +5 -5
- package/dist/i18n/package.json +1 -1
- package/dist/logger/package.json +1 -1
- package/dist/mime/MimeTypeRegistrar.js +2 -2
- package/dist/mime/package.json +2 -2
- package/dist/oauth2/OAuth2Manager.esm.js +1 -1
- package/dist/oauth2/OAuth2Manager.js +1 -1
- package/dist/oauth2/TokenRefreshHandler.d.ts +1 -1
- package/dist/oauth2/TokenRefreshHandler.esm.js +1 -1
- package/dist/oauth2/TokenRefreshHandler.js +1 -1
- package/dist/oauth2/package.json +5 -5
- package/dist/oauth2/register.esm.js +1 -1
- package/dist/oauth2/register.js +1 -1
- package/dist/pattern/PatternRegistrar.js +2 -2
- package/dist/pattern/package.json +2 -2
- package/dist/pipeline/executor.esm.js +1 -1
- package/dist/pipeline/executor.js +1 -1
- package/dist/pipeline/package.json +3 -3
- package/dist/pipeline/types.d.ts +1 -1
- package/dist/registry/errors.js +1 -1
- package/dist/registry/package.json +2 -2
- package/dist/registry/registrars/errors.js +1 -1
- package/dist/runtime/package.json +1 -1
- package/dist/schema/SchemaRegistrar.js +1 -1
- package/dist/schema/package.json +2 -2
- package/dist/system-abilities/interfaces/index.d.ts +1 -1
- package/dist/system-abilities/package.json +5 -5
- package/dist/system-abilities/system/DomEventsAbility.d.ts +1 -1
- package/dist/system-abilities/system/DomEventsAbility.js +1 -1
- package/dist/system-abilities/system/DomainAbility.d.ts +1 -1
- package/dist/system-abilities/system/DomainAbility.js +1 -1
- package/dist/system-abilities/system/EventAbility.d.ts +1 -1
- package/dist/system-abilities/system/EventAbility.js +1 -1
- package/dist/system-abilities/system/SystemAbility.d.ts +1 -1
- package/dist/system-abilities/system/SystemAbility.js +1 -1
- package/dist/task/errors/WorkerError.js +1 -1
- package/dist/task/errors/WorkerInitializationError.js +1 -1
- package/dist/task/hash-task/errors/ResourceNotAcquiredError.js +1 -1
- package/dist/task/hash-task/errors/ResourceUnavailableError.js +1 -1
- package/dist/task/hash-task/errors/TaskStateError.js +1 -1
- package/dist/task/hash-task/factory.js +1 -1
- package/dist/task/hash-task/hash/HashTask.d.ts +1 -1
- package/dist/task/hash-task/hash/HashTaskRunner.js +1 -1
- package/dist/task/hash-task/worker/DefaultWorkerHandle.js +1 -1
- package/dist/task/package.json +5 -5
- package/dist/task/task/TaskQueue.js +2 -2
- package/dist/task/worker/WorkerManagerBase.js +1 -1
- package/dist/types/package.json +1 -1
- package/dist/utils/package.json +1 -1
- package/dist/validation/core/ValidatorRegistrar.js +1 -1
- package/dist/validation/core/executor.d.ts +2 -2
- package/dist/validation/core/executor.js +1 -1
- package/dist/validation/errors/DuplicateValidatorError.d.ts +1 -1
- package/dist/validation/errors/DuplicateValidatorError.js +1 -1
- package/dist/validation/errors/ValidationError.d.ts +1 -1
- package/dist/validation/errors/ValidationError.js +1 -1
- package/dist/validation/errors/ValidationTypeNotDefinedError.d.ts +1 -1
- package/dist/validation/errors/ValidationTypeNotDefinedError.js +1 -1
- package/dist/validation/errors/ValidatorNotFoundError.d.ts +1 -1
- package/dist/validation/errors/ValidatorNotFoundError.js +1 -1
- package/dist/validation/index.js +1 -1
- package/dist/validation/package.json +4 -4
- package/dist/validation/processors/common/rule-align.js +1 -1
- package/dist/validation/processors/file/file.js +1 -1
- package/dist/validation/processors/format/format.js +1 -1
- package/dist/validation/processors/password/entries.d.ts +2 -2
- package/dist/validation/processors/password/entries.js +1 -1
- package/dist/validation/processors/password/password.js +1 -1
- package/dist/validation/types/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ENTITY_ACTION, IBaseEntityManager, IEntity, SearchParams } from '
|
|
2
|
-
import type { FieldDefinition } from '
|
|
3
|
-
import type { HttpRequestOptions } from '
|
|
4
|
-
import type { RequestContext } from '
|
|
1
|
+
import type { ENTITY_ACTION, IBaseEntityManager, IEntity, SearchParams } from '../types.d.ts';
|
|
2
|
+
import type { FieldDefinition } from '../../schema/types/schema.d.ts';
|
|
3
|
+
import type { HttpRequestOptions } from '../../http/types/http-context.d.ts';
|
|
4
|
+
import type { RequestContext } from '../../context/index.d.ts';
|
|
5
5
|
import { CoreEntityManager } from './CoreEntityManager';
|
|
6
6
|
/**
|
|
7
7
|
* BaseEntityManager 能力接口
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ComposableBase } from '
|
|
2
|
-
import type { ENTITY_ACTION, ICoreEntityManager, ISchemaAbility } from '
|
|
3
|
-
import type { IEventScope, EventHandler } from '
|
|
4
|
-
import type { DomainConfig, SystemConfig } from '
|
|
5
|
-
import type { Schema, RegistrSchema } from '
|
|
6
|
-
import type { HttpRequestOptions, HttpRequestTask } from '
|
|
7
|
-
import type { RequestContext } from '
|
|
1
|
+
import { ComposableBase } from '../../composable/index.d.ts';
|
|
2
|
+
import type { ENTITY_ACTION, ICoreEntityManager, ISchemaAbility } from '../types.d.ts';
|
|
3
|
+
import type { IEventScope, EventHandler } from '../../events/index.d.ts';
|
|
4
|
+
import type { DomainConfig, SystemConfig } from '../../registry/index.d.ts';
|
|
5
|
+
import type { Schema, RegistrSchema } from '../../schema/index.d.ts';
|
|
6
|
+
import type { HttpRequestOptions, HttpRequestTask } from '../../http/types/http-context.d.ts';
|
|
7
|
+
import type { RequestContext } from '../../context/index.d.ts';
|
|
8
8
|
/**
|
|
9
9
|
* CoreEntityManager 能力接口
|
|
10
10
|
*
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CoreEntityManager = void 0;
|
|
4
|
-
const composable_1 = require("
|
|
5
|
-
const system_abilities_1 = require("
|
|
6
|
-
const system_abilities_2 = require("
|
|
7
|
-
const system_abilities_3 = require("
|
|
8
|
-
const SchemaAbility_1 = require("
|
|
9
|
-
const schema_1 = require("
|
|
10
|
-
const context_1 = require("
|
|
11
|
-
const data_processor_1 = require("
|
|
12
|
-
const data_processor_2 = require("
|
|
13
|
-
const registry_1 = require("
|
|
14
|
-
const http_1 = require("
|
|
4
|
+
const composable_1 = require("../../composable/index.js");
|
|
5
|
+
const system_abilities_1 = require("../../system-abilities/index.js");
|
|
6
|
+
const system_abilities_2 = require("../../system-abilities/index.js");
|
|
7
|
+
const system_abilities_3 = require("../../system-abilities/index.js");
|
|
8
|
+
const SchemaAbility_1 = require("../abilities/SchemaAbility.js");
|
|
9
|
+
const schema_1 = require("../../schema/index.js");
|
|
10
|
+
const context_1 = require("../../context/index.js");
|
|
11
|
+
const data_processor_1 = require("../../data-processor/index.js");
|
|
12
|
+
const data_processor_2 = require("../../data-processor/index.js");
|
|
13
|
+
const registry_1 = require("../../registry/index.js");
|
|
14
|
+
const http_1 = require("../../http/index.js");
|
|
15
15
|
class CoreEntityManager extends composable_1.ComposableBase {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseEntityManager } from './BaseEntityManager';
|
|
2
|
-
import type { ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, IStateSchemaAbility, IStateCacheAbility, IStateDirtyAbility, IStateLocalMutationAbility, IFlatLocalStateAbility, ILocalGetAbility, IFlatLocalMutationAbility, IFlatLocalDeleteAbility, IFlatRemoteListAbility, IFlatRemoteGetAllAbility, IRemoteGetAbility, IRemoteCreateAbility, IRemoteUpdateAbility, IRemoteDeleteAbility, IRemoteToggleAbility, IFlatRemoteStateAbility, ITreeRemoteStateAbility, ITreePathAbility, ITreeLifecycleAbility, ITreeViewAbility } from '
|
|
3
|
-
import type { IEntity } from '
|
|
4
|
-
import type { AbilityDefinition } from '
|
|
2
|
+
import type { ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, IStateSchemaAbility, IStateCacheAbility, IStateDirtyAbility, IStateLocalMutationAbility, IFlatLocalStateAbility, ILocalGetAbility, IFlatLocalMutationAbility, IFlatLocalDeleteAbility, IFlatRemoteListAbility, IFlatRemoteGetAllAbility, IRemoteGetAbility, IRemoteCreateAbility, IRemoteUpdateAbility, IRemoteDeleteAbility, IRemoteToggleAbility, IFlatRemoteStateAbility, ITreeRemoteStateAbility, ITreePathAbility, ITreeLifecycleAbility, ITreeViewAbility } from '../types.d.ts';
|
|
3
|
+
import type { IEntity } from '../../schema/index.d.ts';
|
|
4
|
+
import type { AbilityDefinition } from '../../composable/index.d.ts';
|
|
5
5
|
/**
|
|
6
6
|
* DomainPagingAbility - 域分页配置能力
|
|
7
7
|
*
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoteTreeEntityManager = exports.RemoteCrudEntityManager = exports.RemoteReadonlyEntityManager = exports.LocalCrudEntityManager = exports.LocalReadonlyEntityManager = exports.DomainPagingAbility = void 0;
|
|
4
4
|
const BaseEntityManager_1 = require("./BaseEntityManager");
|
|
5
|
-
const FlatLocalStateAbility_1 = require("
|
|
6
|
-
const LocalListAbility_1 = require("
|
|
7
|
-
const LocalGetAbility_1 = require("
|
|
8
|
-
const FlatLocalMutationAbility_1 = require("
|
|
9
|
-
const FlatLocalDeleteAbility_1 = require("
|
|
10
|
-
const FlatRemoteStateAbility_1 = require("
|
|
11
|
-
const FlatRemoteListAbility_1 = require("
|
|
12
|
-
const FlatRemoteGetAllAbility_1 = require("
|
|
13
|
-
const RemoteGetAbility_1 = require("
|
|
14
|
-
const FlatRemoteQueryAbility_1 = require("
|
|
15
|
-
const RemoteCreateAbility_1 = require("
|
|
16
|
-
const RemoteUpdateAbility_1 = require("
|
|
17
|
-
const RemoteDeleteAbility_1 = require("
|
|
18
|
-
const RemoteToggleAbility_1 = require("
|
|
19
|
-
const TreeRemoteStateAbility_1 = require("
|
|
20
|
-
const SchemaProxyAbility_1 = require("
|
|
21
|
-
const CacheAbility_1 = require("
|
|
22
|
-
const DirtyAbility_1 = require("
|
|
23
|
-
const SearchAbility_1 = require("
|
|
24
|
-
const TreePathAbility_1 = require("
|
|
25
|
-
const TreeLifecycleAbility_1 = require("
|
|
26
|
-
const TreeSearchAbility_1 = require("
|
|
27
|
-
const TreeViewAbility_1 = require("
|
|
5
|
+
const FlatLocalStateAbility_1 = require("../abilities/local/FlatLocalStateAbility.js");
|
|
6
|
+
const LocalListAbility_1 = require("../abilities/local/LocalListAbility.js");
|
|
7
|
+
const LocalGetAbility_1 = require("../abilities/local/LocalGetAbility.js");
|
|
8
|
+
const FlatLocalMutationAbility_1 = require("../abilities/local/FlatLocalMutationAbility.js");
|
|
9
|
+
const FlatLocalDeleteAbility_1 = require("../abilities/local/FlatLocalDeleteAbility.js");
|
|
10
|
+
const FlatRemoteStateAbility_1 = require("../abilities/remote/FlatRemoteStateAbility.js");
|
|
11
|
+
const FlatRemoteListAbility_1 = require("../abilities/remote/FlatRemoteListAbility.js");
|
|
12
|
+
const FlatRemoteGetAllAbility_1 = require("../abilities/remote/FlatRemoteGetAllAbility.js");
|
|
13
|
+
const RemoteGetAbility_1 = require("../abilities/remote/RemoteGetAbility.js");
|
|
14
|
+
const FlatRemoteQueryAbility_1 = require("../abilities/remote/FlatRemoteQueryAbility.js");
|
|
15
|
+
const RemoteCreateAbility_1 = require("../abilities/remote/RemoteCreateAbility.js");
|
|
16
|
+
const RemoteUpdateAbility_1 = require("../abilities/remote/RemoteUpdateAbility.js");
|
|
17
|
+
const RemoteDeleteAbility_1 = require("../abilities/remote/RemoteDeleteAbility.js");
|
|
18
|
+
const RemoteToggleAbility_1 = require("../abilities/remote/RemoteToggleAbility.js");
|
|
19
|
+
const TreeRemoteStateAbility_1 = require("../abilities/remote/TreeRemoteStateAbility.js");
|
|
20
|
+
const SchemaProxyAbility_1 = require("../abilities/core/SchemaProxyAbility.js");
|
|
21
|
+
const CacheAbility_1 = require("../abilities/core/CacheAbility.js");
|
|
22
|
+
const DirtyAbility_1 = require("../abilities/core/DirtyAbility.js");
|
|
23
|
+
const SearchAbility_1 = require("../abilities/search/SearchAbility.js");
|
|
24
|
+
const TreePathAbility_1 = require("../abilities/tree/TreePathAbility.js");
|
|
25
|
+
const TreeLifecycleAbility_1 = require("../abilities/tree/TreeLifecycleAbility.js");
|
|
26
|
+
const TreeSearchAbility_1 = require("../abilities/tree/TreeSearchAbility.js");
|
|
27
|
+
const TreeViewAbility_1 = require("../abilities/tree/TreeViewAbility.js");
|
|
28
28
|
/**
|
|
29
29
|
* DomainPagingAbility - 域分页配置能力
|
|
30
30
|
*
|
package/dist/entity/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/entity",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/composable": "0.1.
|
|
17
|
-
"@qimen-lab/schema": "0.1.
|
|
18
|
-
"@qimen-lab/context": "0.1.
|
|
19
|
-
"@qimen-lab/http": "0.1.
|
|
20
|
-
"@qimen-lab/cache": "0.1.
|
|
21
|
-
"@qimen-lab/error": "0.1.
|
|
22
|
-
"@qimen-lab/system-abilities": "0.1.
|
|
23
|
-
"@qimen-lab/data-processor": "0.1.
|
|
24
|
-
"@qimen-lab/registry": "0.1.
|
|
25
|
-
"@qimen-lab/utils": "0.1.
|
|
16
|
+
"@qimen-lab/composable": "0.1.3",
|
|
17
|
+
"@qimen-lab/schema": "0.1.3",
|
|
18
|
+
"@qimen-lab/context": "0.1.3",
|
|
19
|
+
"@qimen-lab/http": "0.1.3",
|
|
20
|
+
"@qimen-lab/cache": "0.1.3",
|
|
21
|
+
"@qimen-lab/error": "0.1.3",
|
|
22
|
+
"@qimen-lab/system-abilities": "0.1.3",
|
|
23
|
+
"@qimen-lab/data-processor": "0.1.3",
|
|
24
|
+
"@qimen-lab/registry": "0.1.3",
|
|
25
|
+
"@qimen-lab/utils": "0.1.3"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* 包含实体管理器、状态、能力相关的类型和常量
|
|
5
5
|
*/
|
|
6
|
-
import type { IEntity, SearchParams, ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, Schema, RegistrSchema } from '
|
|
7
|
-
import type { IComposableBase } from '
|
|
8
|
-
import type { RequestContext } from '
|
|
9
|
-
import type { HttpRequestOptions, HttpRequestTask } from '
|
|
10
|
-
export type { IEntity, SearchParams, ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, FlatSchema, TreeSchema, BaseSchema, } from '
|
|
11
|
-
export type { IComposableBase } from '
|
|
12
|
-
export { ComposableBase } from '
|
|
13
|
-
export type { RequestContext, RequestTask, PaginationInfo } from '
|
|
14
|
-
export type { HttpRequestOptions, HttpRequestTask, HttpContext } from '
|
|
15
|
-
export type { ICacheProvider } from '
|
|
16
|
-
export { KernelError, KernelErrorCode } from '
|
|
6
|
+
import type { IEntity, SearchParams, ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, Schema, RegistrSchema } from '../../schema/index.d.ts';
|
|
7
|
+
import type { IComposableBase } from '../../composable/index.d.ts';
|
|
8
|
+
import type { RequestContext } from '../../context/index.d.ts';
|
|
9
|
+
import type { HttpRequestOptions, HttpRequestTask } from '../../http/index.d.ts';
|
|
10
|
+
export type { IEntity, SearchParams, ILocalSearchParams, IFlatSearchParams, ITreeSearchParams, FlatSchema, TreeSchema, BaseSchema, } from '../../schema/index.d.ts';
|
|
11
|
+
export type { IComposableBase } from '../../composable/index.d.ts';
|
|
12
|
+
export { ComposableBase } from '../../composable/index.d.ts';
|
|
13
|
+
export type { RequestContext, RequestTask, PaginationInfo } from '../../context/index.d.ts';
|
|
14
|
+
export type { HttpRequestOptions, HttpRequestTask, HttpContext } from '../../http/index.d.ts';
|
|
15
|
+
export type { ICacheProvider } from '../../cache/index.d.ts';
|
|
16
|
+
export { KernelError, KernelErrorCode } from '../../error/index.d.ts';
|
|
17
17
|
/** Schema 缓存 Symbol */
|
|
18
18
|
export declare const SCHEMA_CACHE_SYMBOL: unique symbol;
|
|
19
19
|
/** 实体操作类型 */
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.ENTITY_ACTION = exports.SCHEMA_CACHE_SYMBOL = exports.KernelErrorCode = exports.KernelError = exports.ComposableBase = void 0;
|
|
9
|
-
var composable_1 = require("
|
|
9
|
+
var composable_1 = require("../../composable/index.js");
|
|
10
10
|
Object.defineProperty(exports, "ComposableBase", { enumerable: true, get: function () { return composable_1.ComposableBase; } });
|
|
11
|
-
var error_1 = require("
|
|
11
|
+
var error_1 = require("../../error/index.js");
|
|
12
12
|
Object.defineProperty(exports, "KernelError", { enumerable: true, get: function () { return error_1.KernelError; } });
|
|
13
13
|
Object.defineProperty(exports, "KernelErrorCode", { enumerable: true, get: function () { return error_1.KernelErrorCode; } });
|
|
14
14
|
// ============================================
|
package/dist/error/package.json
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
*/
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.DomEventAdapter = void 0;
|
|
33
|
-
const runtime_1 = require("
|
|
33
|
+
const runtime_1 = require("../../../runtime/index.js");
|
|
34
34
|
const processors_1 = require("../processors");
|
|
35
|
-
const logger_1 = require("
|
|
36
|
-
const utils_1 = require("
|
|
37
|
-
const async_1 = require("
|
|
35
|
+
const logger_1 = require("../../../logger/index.js");
|
|
36
|
+
const utils_1 = require("../../../utils/index.js");
|
|
37
|
+
const async_1 = require("../../../async/index.js");
|
|
38
38
|
/* ============================================
|
|
39
39
|
* DomEventAdapter
|
|
40
40
|
* ============================================ */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* 该基类还提供了日志记录功能,方便调试和监控手势处理过程。
|
|
8
8
|
*/
|
|
9
9
|
import { GestureEventDescriptor, GestureSemantic, InputSignal, GestureEmit, GestureInput } from '../../types';
|
|
10
|
-
import { LogLevel } from '
|
|
10
|
+
import { LogLevel } from '../../../logger/index.d.ts';
|
|
11
11
|
/**
|
|
12
12
|
* GestureProcessor抽象类
|
|
13
13
|
* 所有具体手势处理器的基类,提供基础的手势处理功能
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.GestureProcessor = void 0;
|
|
12
|
-
const logger_1 = require("
|
|
13
|
-
const utils_1 = require("
|
|
14
|
-
const GestureError_1 = require("
|
|
15
|
-
const codes_1 = require("
|
|
12
|
+
const logger_1 = require("../../../logger/index.js");
|
|
13
|
+
const utils_1 = require("../../../utils/index.js");
|
|
14
|
+
const GestureError_1 = require("../../../error/GestureError.js");
|
|
15
|
+
const codes_1 = require("../../../error/codes.js");
|
|
16
16
|
/**
|
|
17
17
|
* GestureProcessor抽象类
|
|
18
18
|
* 所有具体手势处理器的基类,提供基础的手势处理功能
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LongPressProcessor = void 0;
|
|
13
13
|
const GestureProcessor_1 = require("./GestureProcessor");
|
|
14
14
|
const validation_1 = require("../utils/validation");
|
|
15
|
-
const utils_1 = require("
|
|
15
|
+
const utils_1 = require("../../../utils/index.js");
|
|
16
16
|
/**
|
|
17
17
|
* LongPressProcessor类
|
|
18
18
|
* 处理长按手势事件,通过计时器和距离验证来检测长按操作
|
|
@@ -18,8 +18,8 @@ const SwipeProcessor_1 = require("./SwipeProcessor");
|
|
|
18
18
|
const HoverProcessor_1 = require("./HoverProcessor");
|
|
19
19
|
const ContextMenuProcessor_1 = require("./ContextMenuProcessor");
|
|
20
20
|
const SubmitProcessor_1 = require("./SubmitProcessor");
|
|
21
|
-
const GestureError_1 = require("
|
|
22
|
-
const codes_1 = require("
|
|
21
|
+
const GestureError_1 = require("../../../error/GestureError.js"); // 导入新错误类
|
|
22
|
+
const codes_1 = require("../../../error/codes.js"); // 导入错误代码
|
|
23
23
|
/**
|
|
24
24
|
* 处理器注册表,将处理器名称映射到对应的构造函数
|
|
25
25
|
* 包含了各种手势处理器的构造函数
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveInputEventMap = resolveInputEventMap;
|
|
4
4
|
// input/maps/resolve.ts
|
|
5
|
-
const runtime_1 = require("
|
|
5
|
+
const runtime_1 = require("../../../runtime/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 根据设备能力解析输入事件映射
|
|
8
8
|
*
|
|
@@ -4,7 +4,7 @@ exports.validateDoubleTap = validateDoubleTap;
|
|
|
4
4
|
exports.validateLongPress = validateLongPress;
|
|
5
5
|
exports.validateSwipe = validateSwipe;
|
|
6
6
|
exports.validateTap = validateTap;
|
|
7
|
-
const utils_1 = require("
|
|
7
|
+
const utils_1 = require("../../../utils/index.js");
|
|
8
8
|
/**
|
|
9
9
|
* 验证双击(double tap)手势
|
|
10
10
|
* 检查两次点击的时间间隔是否在允许范围内,且两次点击的位置是否接近
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/event-dom",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/events": "0.1.
|
|
17
|
-
"@qimen-lab/utils": "0.1.
|
|
18
|
-
"@qimen-lab/runtime": "0.1.
|
|
19
|
-
"@qimen-lab/logger": "0.1.
|
|
20
|
-
"@qimen-lab/error": "0.1.
|
|
21
|
-
"@qimen-lab/async": "0.1.
|
|
16
|
+
"@qimen-lab/events": "0.1.3",
|
|
17
|
+
"@qimen-lab/utils": "0.1.3",
|
|
18
|
+
"@qimen-lab/runtime": "0.1.3",
|
|
19
|
+
"@qimen-lab/logger": "0.1.3",
|
|
20
|
+
"@qimen-lab/error": "0.1.3",
|
|
21
|
+
"@qimen-lab/async": "0.1.3"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/dist/events/EventBus.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EventBus = void 0;
|
|
4
4
|
const EventScope_1 = require("./EventScope");
|
|
5
|
-
const utils_1 = require("
|
|
5
|
+
const utils_1 = require("../utils/index.js");
|
|
6
6
|
/**
|
|
7
7
|
* 事件总线 - 用于管理事件订阅、发布和取消订阅的核心类
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.globalEventBus = exports.GlobalEventBus = void 0;
|
|
4
|
-
const logger_1 = require("
|
|
4
|
+
const logger_1 = require("../logger/index.js");
|
|
5
5
|
const EventBus_1 = require("./EventBus");
|
|
6
6
|
/**
|
|
7
7
|
* 全局事件总线 - 提供应用级别的单例事件总线
|
package/dist/events/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/events",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/logger": "0.1.
|
|
17
|
-
"@qimen-lab/utils": "0.1.
|
|
16
|
+
"@qimen-lab/logger": "0.1.3",
|
|
17
|
+
"@qimen-lab/utils": "0.1.3"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.HttpActionRegistrar = exports.HttpActionCategory = void 0;
|
|
9
|
-
const registry_1 = require("
|
|
9
|
+
const registry_1 = require("../registry/index.js");
|
|
10
10
|
/**
|
|
11
11
|
* HTTP Action 类别
|
|
12
12
|
*/
|
package/dist/http/HttpClient.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.HttpClient = void 0;
|
|
12
|
-
const context_1 = require("
|
|
12
|
+
const context_1 = require("../context/index.js");
|
|
13
13
|
const HttpExecutor_1 = require("./HttpExecutor");
|
|
14
14
|
/**
|
|
15
15
|
* HttpClient 类
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.HttpExecutor = void 0;
|
|
14
|
-
const pipeline_1 = require("
|
|
14
|
+
const pipeline_1 = require("../pipeline/index.js");
|
|
15
15
|
const HttpActionRegistrar_1 = require("./HttpActionRegistrar");
|
|
16
16
|
/**
|
|
17
17
|
* HttpExecutor 核心类
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.StreamClient = void 0;
|
|
14
|
-
const context_1 = require("
|
|
14
|
+
const context_1 = require("../context/index.js");
|
|
15
15
|
const HttpExecutor_1 = require("./HttpExecutor");
|
|
16
16
|
/**
|
|
17
17
|
* StreamClient 类
|
package/dist/http/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/http",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/context": "0.1.
|
|
17
|
-
"@qimen-lab/pipeline": "0.1.
|
|
18
|
-
"@qimen-lab/registry": "0.1.
|
|
19
|
-
"@qimen-lab/task": "0.1.
|
|
16
|
+
"@qimen-lab/context": "0.1.3",
|
|
17
|
+
"@qimen-lab/pipeline": "0.1.3",
|
|
18
|
+
"@qimen-lab/registry": "0.1.3",
|
|
19
|
+
"@qimen-lab/task": "0.1.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/dist/i18n/package.json
CHANGED
package/dist/logger/package.json
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.MimeTypeRegistrar = exports.MimeTypeRegistrarName = void 0;
|
|
12
|
-
const registry_1 = require("
|
|
13
|
-
const registry_2 = require("
|
|
12
|
+
const registry_1 = require("../registry/index.js");
|
|
13
|
+
const registry_2 = require("../registry/index.js");
|
|
14
14
|
/**
|
|
15
15
|
* MIME 类型注册器名称
|
|
16
16
|
*/
|
package/dist/mime/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qimen-lab/mime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.esm.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@qimen-lab/registry": "0.1.
|
|
16
|
+
"@qimen-lab/registry": "0.1.3"
|
|
17
17
|
}
|
|
18
18
|
}
|