qcobjects 2.5.123-beta → 2.5.125-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 -3
- package/build/WidgetsFactory.js +3 -3
- package/build/index.cjs +35 -5
- package/build/index.js +1 -1
- package/build/index.mjs +1 -1
- package/build-esbuild.js +4 -4
- package/package.json +1 -1
- package/public/browser/QCObjects.js +21 -23
- package/public/browser/QCObjects.js.map +3 -3
- package/public/cjs/QCObjects.cjs +22 -24
- package/public/cjs/QCObjects.cjs.map +3 -3
- package/public/esm/QCObjects.mjs +18 -20
- package/public/esm/QCObjects.mjs.map +3 -3
- package/public/types/index.d.ts +53 -55
- package/src/Import.ts +2 -2
- package/src/Processor.ts +2 -2
- package/src/QCObjects.ts +1 -2
- 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,6 @@ __export(QCObjects_exports, {
|
|
|
5133
5132
|
asyncLoad: () => asyncLoad,
|
|
5134
5133
|
captureFalseTouch: () => captureFalseTouch,
|
|
5135
5134
|
componentLoader: () => componentLoader,
|
|
5136
|
-
default: () => QCObjects_default,
|
|
5137
5135
|
findPackageNodePath: () => findPackageNodePath,
|
|
5138
5136
|
get: () => get,
|
|
5139
5137
|
getDocumentLayout: () => getDocumentLayout,
|
|
@@ -5145,6 +5143,7 @@ __export(QCObjects_exports, {
|
|
|
5145
5143
|
is_a: () => is_a,
|
|
5146
5144
|
is_phonegap: () => is_phonegap,
|
|
5147
5145
|
logger: () => logger,
|
|
5146
|
+
qcobjects: () => qcobjects,
|
|
5148
5147
|
range: () => range,
|
|
5149
5148
|
ready: () => ready,
|
|
5150
5149
|
resetTop: () => resetTop,
|
|
@@ -5155,10 +5154,10 @@ __export(QCObjects_exports, {
|
|
|
5155
5154
|
subelements: () => subelements,
|
|
5156
5155
|
waitUntil: () => waitUntil
|
|
5157
5156
|
});
|
|
5158
|
-
module.exports = __toCommonJS(
|
|
5157
|
+
module.exports = __toCommonJS(qcobjects_exports);
|
|
5159
5158
|
var AssignPolyfill = __toESM(require_assign());
|
|
5160
5159
|
init_top();
|
|
5161
|
-
var
|
|
5160
|
+
var qcobjects = __toESM(require_MainProcess());
|
|
5162
5161
|
init_top();
|
|
5163
5162
|
init_PrimaryCollections();
|
|
5164
5163
|
init_DataStringify();
|
|
@@ -5405,7 +5404,7 @@ Package("com.qcobjects.api", [
|
|
|
5405
5404
|
BackendMicroservice
|
|
5406
5405
|
]);
|
|
5407
5406
|
|
|
5408
|
-
// src/
|
|
5407
|
+
// src/qcobjects.ts
|
|
5409
5408
|
init_Component();
|
|
5410
5409
|
init_Crypt();
|
|
5411
5410
|
|
|
@@ -5620,7 +5619,7 @@ var SourceCSS = class extends InheritClass {
|
|
|
5620
5619
|
};
|
|
5621
5620
|
Package("com.qcobjects", [SourceCSS]);
|
|
5622
5621
|
|
|
5623
|
-
// src/
|
|
5622
|
+
// src/qcobjects.ts
|
|
5624
5623
|
init_globalSettings();
|
|
5625
5624
|
|
|
5626
5625
|
// src/WidgetsFactory.ts
|
|
@@ -6114,7 +6113,7 @@ if (isBrowser) {
|
|
|
6114
6113
|
if (!componentWidget.hasAttribute("shadowed")) {
|
|
6115
6114
|
componentBody.setAttribute("shadowed", "true");
|
|
6116
6115
|
}
|
|
6117
|
-
__enabled__atributes__.
|
|
6116
|
+
__enabled__atributes__.forEach((attributeName) => {
|
|
6118
6117
|
if (componentWidget.hasAttribute(attributeName)) {
|
|
6119
6118
|
componentBody.setAttribute(attributeName, componentWidget?.getAttribute(attributeName));
|
|
6120
6119
|
componentWidget.removeAttribute(attributeName);
|
|
@@ -6125,11 +6124,11 @@ if (isBrowser) {
|
|
|
6125
6124
|
}).map(function(a) {
|
|
6126
6125
|
return a.split("-")[1];
|
|
6127
6126
|
});
|
|
6128
|
-
data_attributenames.
|
|
6127
|
+
data_attributenames.forEach(function(_attribute_name_) {
|
|
6129
6128
|
componentBody.setAttribute("data-" + _attribute_name_, componentWidget?.getAttribute("data-" + _attribute_name_));
|
|
6130
6129
|
componentWidget.removeAttribute("data-" + _attribute_name_);
|
|
6131
6130
|
});
|
|
6132
|
-
[...componentWidget.children].
|
|
6131
|
+
[...componentWidget.children].forEach((element) => {
|
|
6133
6132
|
componentBody.appendChild(element.cloneNode(true));
|
|
6134
6133
|
element.remove();
|
|
6135
6134
|
});
|
|
@@ -6169,7 +6168,7 @@ _protected_code_(RegisterWidgets);
|
|
|
6169
6168
|
Export(RegisterWidget);
|
|
6170
6169
|
Export(RegisterWidgets);
|
|
6171
6170
|
|
|
6172
|
-
// src/
|
|
6171
|
+
// src/qcobjects.ts
|
|
6173
6172
|
init_CONFIG();
|
|
6174
6173
|
|
|
6175
6174
|
// src/Controller.ts
|
|
@@ -6271,7 +6270,7 @@ Package("com.qcobjects.views", [
|
|
|
6271
6270
|
View
|
|
6272
6271
|
]);
|
|
6273
6272
|
|
|
6274
|
-
// src/
|
|
6273
|
+
// src/qcobjects.ts
|
|
6275
6274
|
init_Service();
|
|
6276
6275
|
|
|
6277
6276
|
// src/VO.ts
|
|
@@ -6439,7 +6438,7 @@ Package("com.qcobjects.timing", [
|
|
|
6439
6438
|
Timer
|
|
6440
6439
|
]);
|
|
6441
6440
|
|
|
6442
|
-
// src/
|
|
6441
|
+
// src/qcobjects.ts
|
|
6443
6442
|
init_tag_filter();
|
|
6444
6443
|
init_range();
|
|
6445
6444
|
init_ArrayCollection();
|
|
@@ -6579,7 +6578,7 @@ Package("com.qcobjects.tools.essentials", [
|
|
|
6579
6578
|
Toggle
|
|
6580
6579
|
]);
|
|
6581
6580
|
|
|
6582
|
-
// src/
|
|
6581
|
+
// src/qcobjects.ts
|
|
6583
6582
|
init_findPackageNodePath();
|
|
6584
6583
|
|
|
6585
6584
|
// src/DocumentLayout.ts
|
|
@@ -6600,12 +6599,11 @@ var getDocumentLayout = /* @__PURE__ */ __name(function() {
|
|
|
6600
6599
|
].filter((e) => e !== null).pop();
|
|
6601
6600
|
}, "getDocumentLayout");
|
|
6602
6601
|
|
|
6603
|
-
// src/
|
|
6602
|
+
// src/qcobjects.ts
|
|
6604
6603
|
init_mathFunctions();
|
|
6605
6604
|
init_top();
|
|
6606
6605
|
init_make_global();
|
|
6607
6606
|
init_top();
|
|
6608
|
-
var QCObjects_default = {};
|
|
6609
6607
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6610
6608
|
0 && (module.exports = {
|
|
6611
6609
|
ArrayCollection,
|
|
@@ -6634,7 +6632,6 @@ var QCObjects_default = {};
|
|
|
6634
6632
|
ObjectName,
|
|
6635
6633
|
Package,
|
|
6636
6634
|
Processor,
|
|
6637
|
-
QCObjects,
|
|
6638
6635
|
Ready,
|
|
6639
6636
|
RegisterClass,
|
|
6640
6637
|
RegisterWidget,
|
|
@@ -6689,6 +6686,7 @@ var QCObjects_default = {};
|
|
|
6689
6686
|
is_a,
|
|
6690
6687
|
is_phonegap,
|
|
6691
6688
|
logger,
|
|
6689
|
+
qcobjects,
|
|
6692
6690
|
range,
|
|
6693
6691
|
ready,
|
|
6694
6692
|
resetTop,
|
|
@@ -6699,4 +6697,4 @@ var QCObjects_default = {};
|
|
|
6699
6697
|
subelements,
|
|
6700
6698
|
waitUntil
|
|
6701
6699
|
});
|
|
6702
|
-
//# sourceMappingURL=
|
|
6700
|
+
//# sourceMappingURL=qcobjects.cjs.map
|