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/cjs/QCObjects.cjs
CHANGED
|
@@ -616,6 +616,17 @@ var init_InheritClass = __esm({
|
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
const self2 = this;
|
|
619
|
+
if (typeof _o_ !== "undefined" && _o_ !== null) {
|
|
620
|
+
Object.keys(_o_).filter(function(k) {
|
|
621
|
+
return isNaN(k) && !["__instanceID", "__classType", "__definition"].includes(k);
|
|
622
|
+
}).forEach(function(key) {
|
|
623
|
+
if (typeof self2[key] === "function") {
|
|
624
|
+
self2[key] = _o_[key].bind(self2);
|
|
625
|
+
} else {
|
|
626
|
+
self2[key] = _o_[key];
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
}
|
|
619
630
|
IncrementInstanceID();
|
|
620
631
|
if (!self2.__instanceID) {
|
|
621
632
|
Object.defineProperty(self2, "__instanceID", {
|
|
@@ -2482,7 +2493,10 @@ var init_Component = __esm({
|
|
|
2482
2493
|
view
|
|
2483
2494
|
});
|
|
2484
2495
|
const self2 = this;
|
|
2485
|
-
if (typeof
|
|
2496
|
+
if (typeof name !== "undefined") {
|
|
2497
|
+
self2.name = name;
|
|
2498
|
+
}
|
|
2499
|
+
if (typeof self2.name === "undefined" && typeof name === "undefined") {
|
|
2486
2500
|
logger.warn("A name is not defined for " + __getType__(self2));
|
|
2487
2501
|
}
|
|
2488
2502
|
self2.routingWay = CONFIG.get("routingWay");
|
|
@@ -2501,7 +2515,7 @@ var init_Component = __esm({
|
|
|
2501
2515
|
logger.info(`Component._new_ The component ${self2.name} was built successfully!`);
|
|
2502
2516
|
}).catch(function(standardResponse) {
|
|
2503
2517
|
logger.warn(`Component._new_ Something went wrong building the component ${self2.name}`);
|
|
2504
|
-
console.error(standardResponse);
|
|
2518
|
+
console.error(`Component._new_ Something went wrong building the component ${self2.name}`, standardResponse);
|
|
2505
2519
|
});
|
|
2506
2520
|
}).catch((e) => {
|
|
2507
2521
|
throw Error(`Unexpected error ${e}`);
|
|
@@ -5119,6 +5133,7 @@ __export(QCObjects_exports, {
|
|
|
5119
5133
|
asyncLoad: () => asyncLoad,
|
|
5120
5134
|
captureFalseTouch: () => captureFalseTouch,
|
|
5121
5135
|
componentLoader: () => componentLoader,
|
|
5136
|
+
default: () => QCObjects_default,
|
|
5122
5137
|
findPackageNodePath: () => findPackageNodePath,
|
|
5123
5138
|
get: () => get,
|
|
5124
5139
|
getDocumentLayout: () => getDocumentLayout,
|
|
@@ -5617,6 +5632,10 @@ var QCObjectsWidgetNode = class {
|
|
|
5617
5632
|
static {
|
|
5618
5633
|
__name(this, "QCObjectsWidgetNode");
|
|
5619
5634
|
}
|
|
5635
|
+
writingSuggestions;
|
|
5636
|
+
currentCSSZoom;
|
|
5637
|
+
ariaColIndexText;
|
|
5638
|
+
ariaRowIndexText;
|
|
5620
5639
|
accessKey;
|
|
5621
5640
|
accessKeyLabel;
|
|
5622
5641
|
autocapitalize;
|
|
@@ -6586,6 +6605,7 @@ init_mathFunctions();
|
|
|
6586
6605
|
init_top();
|
|
6587
6606
|
init_make_global();
|
|
6588
6607
|
init_top();
|
|
6608
|
+
var QCObjects_default = {};
|
|
6589
6609
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6590
6610
|
0 && (module.exports = {
|
|
6591
6611
|
ArrayCollection,
|