qcobjects 2.5.119-beta → 2.5.122-beta
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/VERSION +1 -1
- package/build/Component.js +5 -2
- package/build/InheritClass.js +14 -0
- package/build/QCObjects.js +18 -7
- package/build/WidgetsFactory.js +5 -0
- package/build/index.cjs +4 -24
- package/build/index.js +17 -7
- package/build/index.mjs +1 -1
- package/build-esbuild.js +2 -1
- package/package.json +4 -5
- package/public/browser/QCObjects.js +22 -2
- package/public/browser/QCObjects.js.map +2 -2
- package/public/cjs/QCObjects.cjs +22 -2
- package/public/cjs/QCObjects.cjs.map +2 -2
- package/public/esm/QCObjects.mjs +22 -2
- package/public/esm/QCObjects.mjs.map +2 -2
- package/public/types/index.d.ts +30 -28
- package/src/ArrayCollection.ts +1 -1
- package/src/CONFIG.ts +1 -1
- package/src/Class.ts +1 -1
- package/src/ClassFactory.ts +1 -1
- package/src/Component.ts +71 -67
- package/src/ComponentFactory.ts +1 -1
- package/src/Controller.ts +1 -1
- package/src/Crypt.ts +1 -1
- package/src/DDO.ts +1 -1
- package/src/DOMCreateElement.ts +1 -1
- package/src/DefaultTemplateHandler.ts +1 -1
- package/src/Effect.ts +1 -1
- package/src/InheritClass.ts +18 -4
- package/src/MainProcess.ts +1 -1
- package/src/PrimaryCollections.ts +1 -1
- package/src/Processor.ts +1 -1
- package/src/QCObjects.ts +2 -2
- package/src/Service.ts +1 -1
- package/src/SourceCSS.ts +1 -1
- package/src/SourceJS.ts +1 -1
- package/src/Tag.ts +1 -1
- package/src/Timer.ts +1 -1
- package/src/TransitionEffect.ts +2 -1
- package/src/WidgetsFactory.ts +5 -1
- package/src/asyncLoad.ts +1 -1
- package/src/componentLoader.ts +1 -1
- package/src/defaultProcessors.ts +1 -1
- package/src/globalSettings.ts +1 -1
- package/src/index.cts +2 -0
- package/src/index.mts +2 -0
- package/src/routings.ts +1 -1
- package/src/serviceLoader.ts +1 -1
- package/src/top.ts +1 -1
- package/src/types/global/index.d.ts +2 -1
- package/tsconfig.d.json +4 -8
- package/tsconfig.json +2 -2
package/src/defaultProcessors.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { logger } from "./Logger";
|
|
|
2
2
|
import { GlobalProcessor as Processor } from "./Processor";
|
|
3
3
|
import { _top } from "./top";
|
|
4
4
|
import { range } from "./range";
|
|
5
|
-
import { IComponent } from "types";
|
|
5
|
+
import { IComponent } from "./types/global";
|
|
6
6
|
|
|
7
7
|
// Set Processors
|
|
8
8
|
export const setDefaultProcessors = () => {
|
package/src/globalSettings.ts
CHANGED
package/src/index.cts
ADDED
package/src/index.mts
ADDED
package/src/routings.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TComponentRouting } from "types";
|
|
1
|
+
import { TComponentRouting } from "./types/global";
|
|
2
2
|
|
|
3
3
|
export const __routing_params__ = function (routing:TComponentRouting, routingPath:string):object {
|
|
4
4
|
const standardRoutingPath = routing.path.replace(/{(.*?)}/g, "(?<$1>.*)"); // allowing {param}
|
package/src/serviceLoader.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IService, TCacheController } from "types";
|
|
1
|
+
import { IService, TCacheController } from "./types/global";
|
|
2
2
|
import { asyncLoad } from "./asyncLoad";
|
|
3
3
|
import { ComplexStorageCache } from "./ComplexStorageCache";
|
|
4
4
|
import { _DataStringify } from "./DataStringify";
|
package/src/top.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IComplexStorageCache, IComponent, IConfigService, IQCObjectsElement } from "types";
|
|
1
|
+
import { IComplexStorageCache, IComponent, IConfigService, IQCObjectsElement } from "./types/global";
|
|
2
2
|
import { buildComponents } from "./ComponentFactory";
|
|
3
3
|
import { _CastProps } from "./Cast";
|
|
4
4
|
import { GlobalSettings } from "./globalSettings";
|
|
@@ -221,9 +221,10 @@ export interface IComplexStorageCache {
|
|
|
221
221
|
new(cache: TComplexCacheParams): IComplexStorageCache;
|
|
222
222
|
|
|
223
223
|
}
|
|
224
|
+
export type I_ComponentWidget_ = HTMLElement;
|
|
225
|
+
|
|
224
226
|
|
|
225
227
|
export type TComponentURIParams = { COMPONENTS_BASE_PATH: string, COMPONENT_NAME: string, TPLEXTENSION: string, TPL_SOURCE: string };
|
|
226
|
-
export type I_ComponentWidget_ = HTMLElement;
|
|
227
228
|
|
|
228
229
|
export type TasyncLoad = (callback: Function, args: Array<any>) => any;
|
|
229
230
|
export type TRegisterClass = (_class_: any, namespace: string) => void;
|
package/tsconfig.d.json
CHANGED
|
@@ -19,17 +19,15 @@
|
|
|
19
19
|
"baseUrl": ".",
|
|
20
20
|
"typeRoots": ["./node_modules/@types"],
|
|
21
21
|
"paths": {
|
|
22
|
-
"types": ["
|
|
22
|
+
"types": ["types/global"]
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"include": [
|
|
26
26
|
"src/**/*",
|
|
27
27
|
"src/types/**/*"
|
|
28
28
|
],
|
|
29
|
-
"exclude": ["src/**/*.mts", "src/**/*.cts", "node_modules/**/*"],
|
|
30
|
-
"ts-node": {
|
|
31
|
-
// It is faster to skip typechecking.
|
|
32
|
-
// Remove if you want ts-node to do typechecking.
|
|
29
|
+
"exclude": ["src/**/*.mts", "src/**/*.cts", "node_modules", "node_modules/**/*"],
|
|
30
|
+
"ts-node": {
|
|
33
31
|
"transpileOnly": true,
|
|
34
32
|
"files": true,
|
|
35
33
|
"compilerOptions": {
|
|
@@ -37,9 +35,7 @@
|
|
|
37
35
|
"baseUrl": ".",
|
|
38
36
|
"paths": {
|
|
39
37
|
"types": ["types/global"]
|
|
40
|
-
|
|
41
38
|
}
|
|
42
|
-
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
|
-
}
|
|
41
|
+
}
|