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/public/esm/QCObjects.mjs
CHANGED
|
@@ -620,6 +620,17 @@ var init_InheritClass = __esm({
|
|
|
620
620
|
};
|
|
621
621
|
}
|
|
622
622
|
const self2 = this;
|
|
623
|
+
if (typeof _o_ !== "undefined" && _o_ !== null) {
|
|
624
|
+
Object.keys(_o_).filter(function(k) {
|
|
625
|
+
return isNaN(k) && !["__instanceID", "__classType", "__definition"].includes(k);
|
|
626
|
+
}).forEach(function(key) {
|
|
627
|
+
if (typeof self2[key] === "function") {
|
|
628
|
+
self2[key] = _o_[key].bind(self2);
|
|
629
|
+
} else {
|
|
630
|
+
self2[key] = _o_[key];
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
}
|
|
623
634
|
IncrementInstanceID();
|
|
624
635
|
if (!self2.__instanceID) {
|
|
625
636
|
Object.defineProperty(self2, "__instanceID", {
|
|
@@ -2486,7 +2497,10 @@ var init_Component = __esm({
|
|
|
2486
2497
|
view
|
|
2487
2498
|
});
|
|
2488
2499
|
const self2 = this;
|
|
2489
|
-
if (typeof
|
|
2500
|
+
if (typeof name !== "undefined") {
|
|
2501
|
+
self2.name = name;
|
|
2502
|
+
}
|
|
2503
|
+
if (typeof self2.name === "undefined" && typeof name === "undefined") {
|
|
2490
2504
|
logger.warn("A name is not defined for " + __getType__(self2));
|
|
2491
2505
|
}
|
|
2492
2506
|
self2.routingWay = CONFIG.get("routingWay");
|
|
@@ -2505,7 +2519,7 @@ var init_Component = __esm({
|
|
|
2505
2519
|
logger.info(`Component._new_ The component ${self2.name} was built successfully!`);
|
|
2506
2520
|
}).catch(function(standardResponse) {
|
|
2507
2521
|
logger.warn(`Component._new_ Something went wrong building the component ${self2.name}`);
|
|
2508
|
-
console.error(standardResponse);
|
|
2522
|
+
console.error(`Component._new_ Something went wrong building the component ${self2.name}`, standardResponse);
|
|
2509
2523
|
});
|
|
2510
2524
|
}).catch((e) => {
|
|
2511
2525
|
throw Error(`Unexpected error ${e}`);
|
|
@@ -5527,6 +5541,10 @@ var QCObjectsWidgetNode = class {
|
|
|
5527
5541
|
static {
|
|
5528
5542
|
__name(this, "QCObjectsWidgetNode");
|
|
5529
5543
|
}
|
|
5544
|
+
writingSuggestions;
|
|
5545
|
+
currentCSSZoom;
|
|
5546
|
+
ariaColIndexText;
|
|
5547
|
+
ariaRowIndexText;
|
|
5530
5548
|
accessKey;
|
|
5531
5549
|
accessKeyLabel;
|
|
5532
5550
|
autocapitalize;
|
|
@@ -6496,6 +6514,7 @@ init_mathFunctions();
|
|
|
6496
6514
|
init_top();
|
|
6497
6515
|
init_make_global();
|
|
6498
6516
|
init_top();
|
|
6517
|
+
var QCObjects_default = {};
|
|
6499
6518
|
export {
|
|
6500
6519
|
ArrayCollection,
|
|
6501
6520
|
ArrayList,
|
|
@@ -6567,6 +6586,7 @@ export {
|
|
|
6567
6586
|
asyncLoad,
|
|
6568
6587
|
captureFalseTouch,
|
|
6569
6588
|
componentLoader,
|
|
6589
|
+
QCObjects_default as default,
|
|
6570
6590
|
findPackageNodePath,
|
|
6571
6591
|
get,
|
|
6572
6592
|
getDocumentLayout,
|