qcobjects 2.5.102-beta → 2.5.104-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/Class.js +1 -1
- package/build/InheritClass.js +1 -1
- package/build-esbuild.js +6 -5
- package/package.json +6 -6
- package/public/browser/{index.js → QCObjects.js} +4 -13
- package/public/browser/QCObjects.js.map +7 -0
- package/public/{esm/index.mjs → cjs/QCObjects.cjs} +99 -18
- package/public/cjs/QCObjects.cjs.map +7 -0
- package/public/{cjs/index.cjs → esm/QCObjects.mjs} +1714 -1817
- package/public/esm/QCObjects.mjs.map +7 -0
- package/src/Class.ts +1 -1
- package/src/InheritClass.ts +1 -1
- package/public/browser/index.js.map +0 -7
- package/public/cjs/index.cjs.map +0 -7
- package/public/esm/index.mjs.map +0 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -5,16 +6,10 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
9
|
var __esm = (fn, res) => function __init() {
|
|
15
10
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
11
|
};
|
|
17
|
-
var __commonJS = (cb, mod) => function
|
|
12
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
18
13
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
14
|
};
|
|
20
15
|
var __export = (target, all) => {
|
|
@@ -37,6 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
37
32
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
38
33
|
mod
|
|
39
34
|
));
|
|
35
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
40
36
|
|
|
41
37
|
// src/assign.ts
|
|
42
38
|
var require_assign = __commonJS({
|
|
@@ -97,7 +93,7 @@ var init_platform = __esm({
|
|
|
97
93
|
return isDeno ? deno_require(name) : ((name2) => {
|
|
98
94
|
let r;
|
|
99
95
|
try {
|
|
100
|
-
r =
|
|
96
|
+
r = require(name2);
|
|
101
97
|
} catch (e) {
|
|
102
98
|
logger.debug(`An error ocurred importing module. ${e}`);
|
|
103
99
|
r = { export: {} };
|
|
@@ -633,7 +629,7 @@ var init_InheritClass = __esm({
|
|
|
633
629
|
}
|
|
634
630
|
hierarchy() {
|
|
635
631
|
const __instance__ = this;
|
|
636
|
-
return this.
|
|
632
|
+
return this.constructor.hierarchy(__instance__);
|
|
637
633
|
}
|
|
638
634
|
append(_child) {
|
|
639
635
|
const child = _child || this.body;
|
|
@@ -951,7 +947,7 @@ var init_Class = __esm({
|
|
|
951
947
|
}
|
|
952
948
|
hierarchy() {
|
|
953
949
|
const __instance__ = this;
|
|
954
|
-
return this.getClass()
|
|
950
|
+
return this.getClass()?.hierarchy(__instance__);
|
|
955
951
|
}
|
|
956
952
|
append(_child) {
|
|
957
953
|
const child = _child || this.body;
|
|
@@ -4446,7 +4442,7 @@ function loadSDK() {
|
|
|
4446
4442
|
}
|
|
4447
4443
|
if (tryImportingSDK) {
|
|
4448
4444
|
logger.info("Importing SDK... " + sdkName);
|
|
4449
|
-
if (isNodeCommonJS && typeof
|
|
4445
|
+
if (isNodeCommonJS && typeof require !== "undefined") {
|
|
4450
4446
|
const sdk = _require_("qcobjects-sdk");
|
|
4451
4447
|
if (sdk) {
|
|
4452
4448
|
logger.debug("QCObjects SDK was loaded OK.");
|
|
@@ -5056,6 +5052,7 @@ __export(QCObjects_exports, {
|
|
|
5056
5052
|
subelements: () => subelements,
|
|
5057
5053
|
waitUntil: () => waitUntil
|
|
5058
5054
|
});
|
|
5055
|
+
module.exports = __toCommonJS(QCObjects_exports);
|
|
5059
5056
|
var AssignPolyfill = __toESM(require_assign());
|
|
5060
5057
|
init_top();
|
|
5061
5058
|
init_PrimaryCollections();
|
|
@@ -6485,10 +6482,94 @@ init_mathFunctions();
|
|
|
6485
6482
|
init_top();
|
|
6486
6483
|
init_make_global();
|
|
6487
6484
|
var QCObjects = __toESM(require_MainProcess());
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6485
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
6486
|
+
0 && (module.exports = {
|
|
6487
|
+
ArrayCollection,
|
|
6488
|
+
ArrayList,
|
|
6489
|
+
AssignPolyfill,
|
|
6490
|
+
BackendMicroservice,
|
|
6491
|
+
CONFIG,
|
|
6492
|
+
Class,
|
|
6493
|
+
ClassFactory,
|
|
6494
|
+
ComplexStorageCache,
|
|
6495
|
+
Component,
|
|
6496
|
+
ComponentURI,
|
|
6497
|
+
ConfigService,
|
|
6498
|
+
Controller,
|
|
6499
|
+
DDO,
|
|
6500
|
+
DefaultTemplateHandler,
|
|
6501
|
+
Effect,
|
|
6502
|
+
Export,
|
|
6503
|
+
GlobalSettings,
|
|
6504
|
+
Import,
|
|
6505
|
+
InheritClass,
|
|
6506
|
+
JSONService,
|
|
6507
|
+
Logger,
|
|
6508
|
+
NamespaceRef,
|
|
6509
|
+
New,
|
|
6510
|
+
ObjectName,
|
|
6511
|
+
Package,
|
|
6512
|
+
Processor,
|
|
6513
|
+
QCObjects,
|
|
6514
|
+
Ready,
|
|
6515
|
+
RegisterClass,
|
|
6516
|
+
RegisterWidget,
|
|
6517
|
+
RegisterWidgets,
|
|
6518
|
+
Service,
|
|
6519
|
+
SourceCSS,
|
|
6520
|
+
SourceJS,
|
|
6521
|
+
Tag,
|
|
6522
|
+
TagElements,
|
|
6523
|
+
Timer,
|
|
6524
|
+
Toggle,
|
|
6525
|
+
TransitionEffect,
|
|
6526
|
+
VO,
|
|
6527
|
+
View,
|
|
6528
|
+
_Cast,
|
|
6529
|
+
_CastProps,
|
|
6530
|
+
_ComponentWidget_,
|
|
6531
|
+
_Crypt,
|
|
6532
|
+
_DOMCreateElement,
|
|
6533
|
+
_DataStringify,
|
|
6534
|
+
_LegacyCopy,
|
|
6535
|
+
_QC_CLASSES,
|
|
6536
|
+
_QC_PACKAGES,
|
|
6537
|
+
_QC_PACKAGES_IMPORTED,
|
|
6538
|
+
_QC_READY_LISTENERS,
|
|
6539
|
+
_Ready,
|
|
6540
|
+
__getType__,
|
|
6541
|
+
__instanceID,
|
|
6542
|
+
__is_raw_class__,
|
|
6543
|
+
__make_global__,
|
|
6544
|
+
__to_number,
|
|
6545
|
+
_buildComponentsFromElements_,
|
|
6546
|
+
_fireAsyncLoad,
|
|
6547
|
+
_methods_,
|
|
6548
|
+
_protected_code_,
|
|
6549
|
+
_require_,
|
|
6550
|
+
_super_,
|
|
6551
|
+
_tag_filter_,
|
|
6552
|
+
_top,
|
|
6553
|
+
asyncLoad,
|
|
6554
|
+
captureFalseTouch,
|
|
6555
|
+
componentLoader,
|
|
6556
|
+
findPackageNodePath,
|
|
6557
|
+
getDocumentLayout,
|
|
6558
|
+
global,
|
|
6559
|
+
isBrowser,
|
|
6560
|
+
isNodeCommonJS,
|
|
6561
|
+
isQCObjects_Class,
|
|
6562
|
+
isQCObjects_Object,
|
|
6563
|
+
is_a,
|
|
6564
|
+
is_phonegap,
|
|
6565
|
+
logger,
|
|
6566
|
+
range,
|
|
6567
|
+
ready,
|
|
6568
|
+
resetTop,
|
|
6569
|
+
serviceLoader,
|
|
6570
|
+
setDefaultProcessors,
|
|
6571
|
+
shortCode,
|
|
6572
|
+
subelements,
|
|
6573
|
+
waitUntil
|
|
6574
|
+
});
|
|
6575
|
+
//# sourceMappingURL=QCObjects.cjs.map
|