qcobjects 2.5.113-beta → 2.5.114-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/QCObjects.js +3 -2
- package/build/make_global.js +7 -13
- package/build/top.js +1 -1
- package/package.json +1 -1
- package/public/browser/QCObjects.js +49 -42
- package/public/browser/QCObjects.js.map +3 -3
- package/public/cjs/QCObjects.cjs +50 -42
- package/public/cjs/QCObjects.cjs.map +3 -3
- package/public/esm/QCObjects.mjs +53 -42
- package/public/esm/QCObjects.mjs.map +3 -3
- package/public/types/index.d.ts +13 -12
- package/src/QCObjects.ts +2 -1
- package/src/make_global.ts +11 -13
- package/src/top.ts +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.
|
|
1
|
+
2.5.114-beta
|
package/build/QCObjects.js
CHANGED
|
@@ -52,9 +52,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
52
52
|
return result;
|
|
53
53
|
};
|
|
54
54
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
-
exports.
|
|
56
|
-
exports.QCObjects = exports.set = exports.get = exports.__make_global__ = exports.global = exports.__to_number = exports.getDocumentLayout = exports.findPackageNodePath = exports.Toggle = exports.DDO = exports.ArrayList = exports.ArrayCollection = exports.range = exports._tag_filter_ = exports.Timer = exports.TransitionEffect = exports.Effect = exports.VO = exports.Service = exports.JSONService = exports.ConfigService = exports.View = exports.Controller = exports.CONFIG = exports.RegisterWidgets = exports.RegisterWidget = exports._ComponentWidget_ = exports.RegisterClass = exports.GlobalSettings = exports.SourceCSS = exports.SourceJS = exports.DefaultTemplateHandler = exports._Crypt = exports.Component = exports.BackendMicroservice = exports.Import = exports.TagElements = exports.Tag = exports.setDefaultProcessors = void 0;
|
|
55
|
+
exports.ComponentURI = exports._buildComponentsFromElements_ = exports.componentLoader = exports.serviceLoader = exports.captureFalseTouch = exports.Ready = exports.ready = exports._Ready = exports.New = exports.Processor = exports.shortCode = exports._super_ = exports.InheritClass = exports.Class = exports.Export = exports.ClassFactory = exports.Package = exports.isQCObjects_Object = exports.isQCObjects_Class = exports._CastProps = exports._Cast = exports.waitUntil = exports.ComplexStorageCache = exports.is_a = exports.__getType__ = exports.ObjectName = exports.__instanceID = exports.asyncLoad = exports._fireAsyncLoad = exports._LegacyCopy = exports.__is_raw_class__ = exports.subelements = exports.isNodeCommonJS = exports.isBrowser = exports.is_phonegap = exports._require_ = exports.Logger = exports.logger = exports._protected_code_ = exports._methods_ = exports._DOMCreateElement = exports._DataStringify = exports._QC_READY_LISTENERS = exports._QC_PACKAGES_IMPORTED = exports._QC_PACKAGES = exports._QC_CLASSES = exports.resetTop = exports._top = exports.__top__ = exports.AssignPolyfill = void 0;
|
|
56
|
+
exports.QCObjects = exports.set = exports.get = exports.__make_global__ = exports.global = exports.__to_number = exports.getDocumentLayout = exports.findPackageNodePath = exports.Toggle = exports.DDO = exports.ArrayList = exports.ArrayCollection = exports.range = exports._tag_filter_ = exports.Timer = exports.TransitionEffect = exports.Effect = exports.VO = exports.Service = exports.JSONService = exports.ConfigService = exports.View = exports.Controller = exports.CONFIG = exports.RegisterWidgets = exports.RegisterWidget = exports._ComponentWidget_ = exports.RegisterClass = exports.GlobalSettings = exports.SourceCSS = exports.SourceJS = exports.DefaultTemplateHandler = exports._Crypt = exports.Component = exports.BackendMicroservice = exports.Import = exports.TagElements = exports.Tag = exports.setDefaultProcessors = exports.NamespaceRef = void 0;
|
|
57
57
|
exports.AssignPolyfill = __importStar(require("./assign"));
|
|
58
|
+
exports.__top__ = __importStar(require("./top"));
|
|
58
59
|
var top_1 = require("./top");
|
|
59
60
|
Object.defineProperty(exports, "_top", { enumerable: true, get: function () { return top_1._top; } });
|
|
60
61
|
Object.defineProperty(exports, "resetTop", { enumerable: true, get: function () { return top_1.resetTop; } });
|
package/build/make_global.js
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.__make_global__ = void 0;
|
|
4
|
-
const platform_1 = require("./platform");
|
|
5
4
|
const top_1 = require("./top");
|
|
6
5
|
const __make_global__ = function (f) {
|
|
7
|
-
if (
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
top_1._top[f.name] = f;
|
|
11
|
-
window[f.name] = f;
|
|
12
|
-
}
|
|
13
|
-
catch (e) {
|
|
14
|
-
throw Error(`An error ocurred: ${e}`);
|
|
15
|
-
}
|
|
6
|
+
if (!!f && !!f.name) {
|
|
7
|
+
if (typeof top_1._top !== "undefined" && typeof f !== "undefined" && top_1._top !== null && !Object.hasOwn(top_1._top, f.name)) {
|
|
8
|
+
(0, top_1.set)(f.name, f);
|
|
16
9
|
}
|
|
17
10
|
else if (typeof global !== "undefined") {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
global[f.name] = f;
|
|
12
|
+
}
|
|
13
|
+
else if (typeof globalThis !== "undefined") {
|
|
14
|
+
globalThis[f.name] = f;
|
|
21
15
|
}
|
|
22
16
|
}
|
|
23
17
|
};
|
package/build/top.js
CHANGED
|
@@ -8,7 +8,7 @@ exports._top = ((typeof module !== "undefined" && typeof module.exports !== "und
|
|
|
8
8
|
(typeof global !== "undefined" && global) ||
|
|
9
9
|
(typeof globalThis !== "undefined" && globalThis) ||
|
|
10
10
|
(typeof window !== "undefined" && window) ||
|
|
11
|
-
(typeof self !== "undefined" && self) ||
|
|
11
|
+
(typeof self !== "undefined" && self !== null && self) ||
|
|
12
12
|
this);
|
|
13
13
|
exports._top.lastCache = undefined;
|
|
14
14
|
exports.componentsStack = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.114-beta",
|
|
4
4
|
"description": "QCObjects is an Open-source framework that empowers full-stack developers to make micro-services and micro-frontends into an N-Tier architecture.",
|
|
5
5
|
"main": "public/cjs/QCObjects.cjs",
|
|
6
6
|
"module": "public/esm/QCObjects.mjs",
|
|
@@ -85,6 +85,41 @@ var global = (() => {
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
|
|
88
|
+
// src/make_global.ts
|
|
89
|
+
var __make_global__;
|
|
90
|
+
var init_make_global = __esm({
|
|
91
|
+
"src/make_global.ts"() {
|
|
92
|
+
"use strict";
|
|
93
|
+
init_top();
|
|
94
|
+
__make_global__ = /* @__PURE__ */ __name(function(f) {
|
|
95
|
+
if (!!f && !!f.name) {
|
|
96
|
+
if (typeof _top !== "undefined" && typeof f !== "undefined" && _top !== null && !Object.hasOwn(_top, f.name)) {
|
|
97
|
+
set(f.name, f);
|
|
98
|
+
} else if (typeof global !== "undefined") {
|
|
99
|
+
global[f.name] = f;
|
|
100
|
+
} else if (typeof globalThis !== "undefined") {
|
|
101
|
+
globalThis[f.name] = f;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}, "__make_global__");
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
// src/Export.ts
|
|
109
|
+
var Export;
|
|
110
|
+
var init_Export = __esm({
|
|
111
|
+
"src/Export.ts"() {
|
|
112
|
+
"use strict";
|
|
113
|
+
init_make_global();
|
|
114
|
+
Export = /* @__PURE__ */ __name(function(f) {
|
|
115
|
+
return __make_global__(f);
|
|
116
|
+
}, "Export");
|
|
117
|
+
Export.prototype.toString = function() {
|
|
118
|
+
return "Export(function or symbol) { [QCObjects native code] }";
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
88
123
|
// src/_import_.ts
|
|
89
124
|
async function _import_(name) {
|
|
90
125
|
logger.debug(`Importing ${name}...`);
|
|
@@ -149,47 +184,6 @@ var global = (() => {
|
|
|
149
184
|
}
|
|
150
185
|
});
|
|
151
186
|
|
|
152
|
-
// src/make_global.ts
|
|
153
|
-
var __make_global__;
|
|
154
|
-
var init_make_global = __esm({
|
|
155
|
-
"src/make_global.ts"() {
|
|
156
|
-
"use strict";
|
|
157
|
-
init_platform();
|
|
158
|
-
init_top();
|
|
159
|
-
__make_global__ = /* @__PURE__ */ __name(function(f) {
|
|
160
|
-
if (typeof f !== "undefined") {
|
|
161
|
-
if (isBrowser) {
|
|
162
|
-
try {
|
|
163
|
-
_top[f.name] = f;
|
|
164
|
-
window[f.name] = f;
|
|
165
|
-
} catch (e) {
|
|
166
|
-
throw Error(`An error ocurred: ${e}`);
|
|
167
|
-
}
|
|
168
|
-
} else if (typeof global !== "undefined") {
|
|
169
|
-
if (!Object.hasOwn(global, f.name)) {
|
|
170
|
-
global[f.name] = f;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}, "__make_global__");
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
// src/Export.ts
|
|
179
|
-
var Export;
|
|
180
|
-
var init_Export = __esm({
|
|
181
|
-
"src/Export.ts"() {
|
|
182
|
-
"use strict";
|
|
183
|
-
init_make_global();
|
|
184
|
-
Export = /* @__PURE__ */ __name(function(f) {
|
|
185
|
-
return __make_global__(f);
|
|
186
|
-
}, "Export");
|
|
187
|
-
Export.prototype.toString = function() {
|
|
188
|
-
return "Export(function or symbol) { [QCObjects native code] }";
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
|
|
193
187
|
// src/Logger.ts
|
|
194
188
|
var Logger, logger;
|
|
195
189
|
var init_Logger = __esm({
|
|
@@ -3778,6 +3772,17 @@ var global = (() => {
|
|
|
3778
3772
|
});
|
|
3779
3773
|
|
|
3780
3774
|
// src/top.ts
|
|
3775
|
+
var top_exports = {};
|
|
3776
|
+
__export(top_exports, {
|
|
3777
|
+
_top: () => _top,
|
|
3778
|
+
buildComponentsStack: () => buildComponentsStack,
|
|
3779
|
+
componentsStack: () => componentsStack,
|
|
3780
|
+
configService: () => configService,
|
|
3781
|
+
get: () => get,
|
|
3782
|
+
resetTop: () => resetTop,
|
|
3783
|
+
set: () => set,
|
|
3784
|
+
setConfigService: () => setConfigService
|
|
3785
|
+
});
|
|
3781
3786
|
var _top, componentsStack, resetTop, buildComponentsStack, configService, setConfigService, set, get;
|
|
3782
3787
|
var init_top = __esm({
|
|
3783
3788
|
"src/top.ts"() {
|
|
@@ -3785,7 +3790,7 @@ var global = (() => {
|
|
|
3785
3790
|
init_ComponentFactory();
|
|
3786
3791
|
init_Cast();
|
|
3787
3792
|
init_globalSettings();
|
|
3788
|
-
_top = typeof module !== "undefined" && typeof module.exports !== "undefined" && module.exports || typeof global !== "undefined" && global || typeof globalThis !== "undefined" && globalThis || typeof window !== "undefined" && window || typeof self !== "undefined" && self || void 0;
|
|
3793
|
+
_top = typeof module !== "undefined" && typeof module.exports !== "undefined" && module.exports || typeof global !== "undefined" && global || typeof globalThis !== "undefined" && globalThis || typeof window !== "undefined" && window || typeof self !== "undefined" && self !== null && self || void 0;
|
|
3789
3794
|
_top.lastCache = void 0;
|
|
3790
3795
|
componentsStack = [];
|
|
3791
3796
|
resetTop = /* @__PURE__ */ __name(() => {
|
|
@@ -5113,6 +5118,7 @@ var global = (() => {
|
|
|
5113
5118
|
__is_raw_class__: () => __is_raw_class__,
|
|
5114
5119
|
__make_global__: () => __make_global__,
|
|
5115
5120
|
__to_number: () => __to_number,
|
|
5121
|
+
__top__: () => top_exports,
|
|
5116
5122
|
_buildComponentsFromElements_: () => _buildComponentsFromElements_,
|
|
5117
5123
|
_fireAsyncLoad: () => _fireAsyncLoad,
|
|
5118
5124
|
_methods_: () => _methods_,
|
|
@@ -5147,6 +5153,7 @@ var global = (() => {
|
|
|
5147
5153
|
});
|
|
5148
5154
|
var AssignPolyfill = __toESM(require_assign());
|
|
5149
5155
|
init_top();
|
|
5156
|
+
init_top();
|
|
5150
5157
|
init_PrimaryCollections();
|
|
5151
5158
|
init_DataStringify();
|
|
5152
5159
|
init_DOMCreateElement();
|