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
@@ -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 self2.name === "undefined") {
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,