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.
Files changed (53) hide show
  1. package/VERSION +1 -1
  2. package/build/Component.js +5 -2
  3. package/build/InheritClass.js +14 -0
  4. package/build/QCObjects.js +18 -7
  5. package/build/WidgetsFactory.js +5 -0
  6. package/build/index.cjs +4 -24
  7. package/build/index.js +17 -7
  8. package/build/index.mjs +1 -1
  9. package/build-esbuild.js +2 -1
  10. package/package.json +4 -5
  11. package/public/browser/QCObjects.js +22 -2
  12. package/public/browser/QCObjects.js.map +2 -2
  13. package/public/cjs/QCObjects.cjs +22 -2
  14. package/public/cjs/QCObjects.cjs.map +2 -2
  15. package/public/esm/QCObjects.mjs +22 -2
  16. package/public/esm/QCObjects.mjs.map +2 -2
  17. package/public/types/index.d.ts +30 -28
  18. package/src/ArrayCollection.ts +1 -1
  19. package/src/CONFIG.ts +1 -1
  20. package/src/Class.ts +1 -1
  21. package/src/ClassFactory.ts +1 -1
  22. package/src/Component.ts +71 -67
  23. package/src/ComponentFactory.ts +1 -1
  24. package/src/Controller.ts +1 -1
  25. package/src/Crypt.ts +1 -1
  26. package/src/DDO.ts +1 -1
  27. package/src/DOMCreateElement.ts +1 -1
  28. package/src/DefaultTemplateHandler.ts +1 -1
  29. package/src/Effect.ts +1 -1
  30. package/src/InheritClass.ts +18 -4
  31. package/src/MainProcess.ts +1 -1
  32. package/src/PrimaryCollections.ts +1 -1
  33. package/src/Processor.ts +1 -1
  34. package/src/QCObjects.ts +2 -2
  35. package/src/Service.ts +1 -1
  36. package/src/SourceCSS.ts +1 -1
  37. package/src/SourceJS.ts +1 -1
  38. package/src/Tag.ts +1 -1
  39. package/src/Timer.ts +1 -1
  40. package/src/TransitionEffect.ts +2 -1
  41. package/src/WidgetsFactory.ts +5 -1
  42. package/src/asyncLoad.ts +1 -1
  43. package/src/componentLoader.ts +1 -1
  44. package/src/defaultProcessors.ts +1 -1
  45. package/src/globalSettings.ts +1 -1
  46. package/src/index.cts +2 -0
  47. package/src/index.mts +2 -0
  48. package/src/routings.ts +1 -1
  49. package/src/serviceLoader.ts +1 -1
  50. package/src/top.ts +1 -1
  51. package/src/types/global/index.d.ts +2 -1
  52. package/tsconfig.d.json +4 -8
  53. package/tsconfig.json +2 -2
@@ -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 self2.name === "undefined") {
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,