qcobjects 2.5.123-beta → 2.5.124-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/Import.js +2 -2
- package/build/Processor.js +2 -2
- package/build/QCObjects.js +2 -2
- package/build/WidgetsFactory.js +3 -3
- package/build/index.cjs +2 -2
- package/build/index.js +1 -1
- package/build/index.mjs +1 -1
- package/build-esbuild.js +3 -3
- package/package.json +1 -1
- package/public/browser/QCObjects.js +9 -9
- package/public/browser/QCObjects.js.map +2 -2
- package/public/cjs/QCObjects.cjs +24 -24
- package/public/cjs/QCObjects.cjs.map +3 -3
- package/public/esm/QCObjects.mjs +20 -20
- package/public/esm/QCObjects.mjs.map +3 -3
- package/public/types/index.d.ts +53 -53
- package/src/Import.ts +2 -2
- package/src/Processor.ts +2 -2
- package/src/QCObjects.ts +1 -1
- package/src/WidgetsFactory.ts +3 -3
- package/src/index.cts +1 -1
- package/src/index.mts +1 -1
- package/src/index.ts +1 -1
package/public/cjs/QCObjects.cjs
CHANGED
|
@@ -1622,8 +1622,8 @@ var init_Processor = __esm({
|
|
|
1622
1622
|
process(template, component = null) {
|
|
1623
1623
|
const processorHandler = component !== null ? component.processorHandler : New(_Processor, { component: null });
|
|
1624
1624
|
if (typeof template === "string") {
|
|
1625
|
-
Object.keys(processorHandler.processors).map(
|
|
1626
|
-
[...template.matchAll(new RegExp("\\$" + funcName + "\\((.*)\\).*", "g"))].map(
|
|
1625
|
+
Object.keys(processorHandler.processors).map((funcName) => {
|
|
1626
|
+
return [...template.matchAll(new RegExp("\\$" + funcName + "\\((.*)\\).*", "g"))].map(
|
|
1627
1627
|
function(procesorMatch) {
|
|
1628
1628
|
const match0 = `$${funcName}(${procesorMatch[1]})`;
|
|
1629
1629
|
template = template.replace(match0, processorHandler.execute.bind(processorHandler).call(processorHandler, component, funcName, procesorMatch[1]));
|
|
@@ -4144,8 +4144,8 @@ var init_Import = __esm({
|
|
|
4144
4144
|
const readyImported = /* @__PURE__ */ __name(function(e) {
|
|
4145
4145
|
_QC_PACKAGES_IMPORTED.push(ready2);
|
|
4146
4146
|
if (allPackagesImported()) {
|
|
4147
|
-
_QC_PACKAGES_IMPORTED.map(
|
|
4148
|
-
_QC_READY_LISTENERS.push(_imported_);
|
|
4147
|
+
_QC_PACKAGES_IMPORTED.map((_imported_) => {
|
|
4148
|
+
return _QC_READY_LISTENERS.push(_imported_);
|
|
4149
4149
|
});
|
|
4150
4150
|
}
|
|
4151
4151
|
if (isBrowser && CONFIG.get("removePackageScriptAfterLoading")) {
|
|
@@ -5060,9 +5060,9 @@ var require_MainProcess = __commonJS({
|
|
|
5060
5060
|
}
|
|
5061
5061
|
});
|
|
5062
5062
|
|
|
5063
|
-
// src/
|
|
5064
|
-
var
|
|
5065
|
-
__export(
|
|
5063
|
+
// src/qcobjects.ts
|
|
5064
|
+
var qcobjects_exports = {};
|
|
5065
|
+
__export(qcobjects_exports, {
|
|
5066
5066
|
ArrayCollection: () => ArrayCollection,
|
|
5067
5067
|
ArrayList: () => ArrayList,
|
|
5068
5068
|
AssignPolyfill: () => AssignPolyfill,
|
|
@@ -5089,7 +5089,6 @@ __export(QCObjects_exports, {
|
|
|
5089
5089
|
ObjectName: () => ObjectName,
|
|
5090
5090
|
Package: () => Package,
|
|
5091
5091
|
Processor: () => Processor,
|
|
5092
|
-
QCObjects: () => QCObjects,
|
|
5093
5092
|
Ready: () => Ready,
|
|
5094
5093
|
RegisterClass: () => RegisterClass,
|
|
5095
5094
|
RegisterWidget: () => RegisterWidget,
|
|
@@ -5133,7 +5132,7 @@ __export(QCObjects_exports, {
|
|
|
5133
5132
|
asyncLoad: () => asyncLoad,
|
|
5134
5133
|
captureFalseTouch: () => captureFalseTouch,
|
|
5135
5134
|
componentLoader: () => componentLoader,
|
|
5136
|
-
default: () =>
|
|
5135
|
+
default: () => qcobjects_default,
|
|
5137
5136
|
findPackageNodePath: () => findPackageNodePath,
|
|
5138
5137
|
get: () => get,
|
|
5139
5138
|
getDocumentLayout: () => getDocumentLayout,
|
|
@@ -5145,6 +5144,7 @@ __export(QCObjects_exports, {
|
|
|
5145
5144
|
is_a: () => is_a,
|
|
5146
5145
|
is_phonegap: () => is_phonegap,
|
|
5147
5146
|
logger: () => logger,
|
|
5147
|
+
qcobjects: () => qcobjects,
|
|
5148
5148
|
range: () => range,
|
|
5149
5149
|
ready: () => ready,
|
|
5150
5150
|
resetTop: () => resetTop,
|
|
@@ -5155,10 +5155,10 @@ __export(QCObjects_exports, {
|
|
|
5155
5155
|
subelements: () => subelements,
|
|
5156
5156
|
waitUntil: () => waitUntil
|
|
5157
5157
|
});
|
|
5158
|
-
module.exports = __toCommonJS(
|
|
5158
|
+
module.exports = __toCommonJS(qcobjects_exports);
|
|
5159
5159
|
var AssignPolyfill = __toESM(require_assign());
|
|
5160
5160
|
init_top();
|
|
5161
|
-
var
|
|
5161
|
+
var qcobjects = __toESM(require_MainProcess());
|
|
5162
5162
|
init_top();
|
|
5163
5163
|
init_PrimaryCollections();
|
|
5164
5164
|
init_DataStringify();
|
|
@@ -5405,7 +5405,7 @@ Package("com.qcobjects.api", [
|
|
|
5405
5405
|
BackendMicroservice
|
|
5406
5406
|
]);
|
|
5407
5407
|
|
|
5408
|
-
// src/
|
|
5408
|
+
// src/qcobjects.ts
|
|
5409
5409
|
init_Component();
|
|
5410
5410
|
init_Crypt();
|
|
5411
5411
|
|
|
@@ -5620,7 +5620,7 @@ var SourceCSS = class extends InheritClass {
|
|
|
5620
5620
|
};
|
|
5621
5621
|
Package("com.qcobjects", [SourceCSS]);
|
|
5622
5622
|
|
|
5623
|
-
// src/
|
|
5623
|
+
// src/qcobjects.ts
|
|
5624
5624
|
init_globalSettings();
|
|
5625
5625
|
|
|
5626
5626
|
// src/WidgetsFactory.ts
|
|
@@ -6114,7 +6114,7 @@ if (isBrowser) {
|
|
|
6114
6114
|
if (!componentWidget.hasAttribute("shadowed")) {
|
|
6115
6115
|
componentBody.setAttribute("shadowed", "true");
|
|
6116
6116
|
}
|
|
6117
|
-
__enabled__atributes__.
|
|
6117
|
+
__enabled__atributes__.forEach((attributeName) => {
|
|
6118
6118
|
if (componentWidget.hasAttribute(attributeName)) {
|
|
6119
6119
|
componentBody.setAttribute(attributeName, componentWidget?.getAttribute(attributeName));
|
|
6120
6120
|
componentWidget.removeAttribute(attributeName);
|
|
@@ -6125,11 +6125,11 @@ if (isBrowser) {
|
|
|
6125
6125
|
}).map(function(a) {
|
|
6126
6126
|
return a.split("-")[1];
|
|
6127
6127
|
});
|
|
6128
|
-
data_attributenames.
|
|
6128
|
+
data_attributenames.forEach(function(_attribute_name_) {
|
|
6129
6129
|
componentBody.setAttribute("data-" + _attribute_name_, componentWidget?.getAttribute("data-" + _attribute_name_));
|
|
6130
6130
|
componentWidget.removeAttribute("data-" + _attribute_name_);
|
|
6131
6131
|
});
|
|
6132
|
-
[...componentWidget.children].
|
|
6132
|
+
[...componentWidget.children].forEach((element) => {
|
|
6133
6133
|
componentBody.appendChild(element.cloneNode(true));
|
|
6134
6134
|
element.remove();
|
|
6135
6135
|
});
|
|
@@ -6169,7 +6169,7 @@ _protected_code_(RegisterWidgets);
|
|
|
6169
6169
|
Export(RegisterWidget);
|
|
6170
6170
|
Export(RegisterWidgets);
|
|
6171
6171
|
|
|
6172
|
-
// src/
|
|
6172
|
+
// src/qcobjects.ts
|
|
6173
6173
|
init_CONFIG();
|
|
6174
6174
|
|
|
6175
6175
|
// src/Controller.ts
|
|
@@ -6271,7 +6271,7 @@ Package("com.qcobjects.views", [
|
|
|
6271
6271
|
View
|
|
6272
6272
|
]);
|
|
6273
6273
|
|
|
6274
|
-
// src/
|
|
6274
|
+
// src/qcobjects.ts
|
|
6275
6275
|
init_Service();
|
|
6276
6276
|
|
|
6277
6277
|
// src/VO.ts
|
|
@@ -6439,7 +6439,7 @@ Package("com.qcobjects.timing", [
|
|
|
6439
6439
|
Timer
|
|
6440
6440
|
]);
|
|
6441
6441
|
|
|
6442
|
-
// src/
|
|
6442
|
+
// src/qcobjects.ts
|
|
6443
6443
|
init_tag_filter();
|
|
6444
6444
|
init_range();
|
|
6445
6445
|
init_ArrayCollection();
|
|
@@ -6579,7 +6579,7 @@ Package("com.qcobjects.tools.essentials", [
|
|
|
6579
6579
|
Toggle
|
|
6580
6580
|
]);
|
|
6581
6581
|
|
|
6582
|
-
// src/
|
|
6582
|
+
// src/qcobjects.ts
|
|
6583
6583
|
init_findPackageNodePath();
|
|
6584
6584
|
|
|
6585
6585
|
// src/DocumentLayout.ts
|
|
@@ -6600,12 +6600,12 @@ var getDocumentLayout = /* @__PURE__ */ __name(function() {
|
|
|
6600
6600
|
].filter((e) => e !== null).pop();
|
|
6601
6601
|
}, "getDocumentLayout");
|
|
6602
6602
|
|
|
6603
|
-
// src/
|
|
6603
|
+
// src/qcobjects.ts
|
|
6604
6604
|
init_mathFunctions();
|
|
6605
6605
|
init_top();
|
|
6606
6606
|
init_make_global();
|
|
6607
6607
|
init_top();
|
|
6608
|
-
var
|
|
6608
|
+
var qcobjects_default = {};
|
|
6609
6609
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6610
6610
|
0 && (module.exports = {
|
|
6611
6611
|
ArrayCollection,
|
|
@@ -6634,7 +6634,6 @@ var QCObjects_default = {};
|
|
|
6634
6634
|
ObjectName,
|
|
6635
6635
|
Package,
|
|
6636
6636
|
Processor,
|
|
6637
|
-
QCObjects,
|
|
6638
6637
|
Ready,
|
|
6639
6638
|
RegisterClass,
|
|
6640
6639
|
RegisterWidget,
|
|
@@ -6689,6 +6688,7 @@ var QCObjects_default = {};
|
|
|
6689
6688
|
is_a,
|
|
6690
6689
|
is_phonegap,
|
|
6691
6690
|
logger,
|
|
6691
|
+
qcobjects,
|
|
6692
6692
|
range,
|
|
6693
6693
|
ready,
|
|
6694
6694
|
resetTop,
|
|
@@ -6699,4 +6699,4 @@ var QCObjects_default = {};
|
|
|
6699
6699
|
subelements,
|
|
6700
6700
|
waitUntil
|
|
6701
6701
|
});
|
|
6702
|
-
//# sourceMappingURL=
|
|
6702
|
+
//# sourceMappingURL=qcobjects.cjs.map
|