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/esm/QCObjects.mjs
CHANGED
|
@@ -1626,8 +1626,8 @@ var init_Processor = __esm({
|
|
|
1626
1626
|
process(template, component = null) {
|
|
1627
1627
|
const processorHandler = component !== null ? component.processorHandler : New(_Processor, { component: null });
|
|
1628
1628
|
if (typeof template === "string") {
|
|
1629
|
-
Object.keys(processorHandler.processors).map(
|
|
1630
|
-
[...template.matchAll(new RegExp("\\$" + funcName + "\\((.*)\\).*", "g"))].map(
|
|
1629
|
+
Object.keys(processorHandler.processors).map((funcName) => {
|
|
1630
|
+
return [...template.matchAll(new RegExp("\\$" + funcName + "\\((.*)\\).*", "g"))].map(
|
|
1631
1631
|
function(procesorMatch) {
|
|
1632
1632
|
const match0 = `$${funcName}(${procesorMatch[1]})`;
|
|
1633
1633
|
template = template.replace(match0, processorHandler.execute.bind(processorHandler).call(processorHandler, component, funcName, procesorMatch[1]));
|
|
@@ -4148,8 +4148,8 @@ var init_Import = __esm({
|
|
|
4148
4148
|
const readyImported = /* @__PURE__ */ __name(function(e) {
|
|
4149
4149
|
_QC_PACKAGES_IMPORTED.push(ready2);
|
|
4150
4150
|
if (allPackagesImported()) {
|
|
4151
|
-
_QC_PACKAGES_IMPORTED.map(
|
|
4152
|
-
_QC_READY_LISTENERS.push(_imported_);
|
|
4151
|
+
_QC_PACKAGES_IMPORTED.map((_imported_) => {
|
|
4152
|
+
return _QC_READY_LISTENERS.push(_imported_);
|
|
4153
4153
|
});
|
|
4154
4154
|
}
|
|
4155
4155
|
if (isBrowser && CONFIG.get("removePackageScriptAfterLoading")) {
|
|
@@ -5064,10 +5064,10 @@ var require_MainProcess = __commonJS({
|
|
|
5064
5064
|
}
|
|
5065
5065
|
});
|
|
5066
5066
|
|
|
5067
|
-
// src/
|
|
5067
|
+
// src/qcobjects.ts
|
|
5068
5068
|
var AssignPolyfill = __toESM(require_assign());
|
|
5069
5069
|
init_top();
|
|
5070
|
-
var
|
|
5070
|
+
var qcobjects = __toESM(require_MainProcess());
|
|
5071
5071
|
init_top();
|
|
5072
5072
|
init_PrimaryCollections();
|
|
5073
5073
|
init_DataStringify();
|
|
@@ -5314,7 +5314,7 @@ Package("com.qcobjects.api", [
|
|
|
5314
5314
|
BackendMicroservice
|
|
5315
5315
|
]);
|
|
5316
5316
|
|
|
5317
|
-
// src/
|
|
5317
|
+
// src/qcobjects.ts
|
|
5318
5318
|
init_Component();
|
|
5319
5319
|
init_Crypt();
|
|
5320
5320
|
|
|
@@ -5529,7 +5529,7 @@ var SourceCSS = class extends InheritClass {
|
|
|
5529
5529
|
};
|
|
5530
5530
|
Package("com.qcobjects", [SourceCSS]);
|
|
5531
5531
|
|
|
5532
|
-
// src/
|
|
5532
|
+
// src/qcobjects.ts
|
|
5533
5533
|
init_globalSettings();
|
|
5534
5534
|
|
|
5535
5535
|
// src/WidgetsFactory.ts
|
|
@@ -6023,7 +6023,7 @@ if (isBrowser) {
|
|
|
6023
6023
|
if (!componentWidget.hasAttribute("shadowed")) {
|
|
6024
6024
|
componentBody.setAttribute("shadowed", "true");
|
|
6025
6025
|
}
|
|
6026
|
-
__enabled__atributes__.
|
|
6026
|
+
__enabled__atributes__.forEach((attributeName) => {
|
|
6027
6027
|
if (componentWidget.hasAttribute(attributeName)) {
|
|
6028
6028
|
componentBody.setAttribute(attributeName, componentWidget?.getAttribute(attributeName));
|
|
6029
6029
|
componentWidget.removeAttribute(attributeName);
|
|
@@ -6034,11 +6034,11 @@ if (isBrowser) {
|
|
|
6034
6034
|
}).map(function(a) {
|
|
6035
6035
|
return a.split("-")[1];
|
|
6036
6036
|
});
|
|
6037
|
-
data_attributenames.
|
|
6037
|
+
data_attributenames.forEach(function(_attribute_name_) {
|
|
6038
6038
|
componentBody.setAttribute("data-" + _attribute_name_, componentWidget?.getAttribute("data-" + _attribute_name_));
|
|
6039
6039
|
componentWidget.removeAttribute("data-" + _attribute_name_);
|
|
6040
6040
|
});
|
|
6041
|
-
[...componentWidget.children].
|
|
6041
|
+
[...componentWidget.children].forEach((element) => {
|
|
6042
6042
|
componentBody.appendChild(element.cloneNode(true));
|
|
6043
6043
|
element.remove();
|
|
6044
6044
|
});
|
|
@@ -6078,7 +6078,7 @@ _protected_code_(RegisterWidgets);
|
|
|
6078
6078
|
Export(RegisterWidget);
|
|
6079
6079
|
Export(RegisterWidgets);
|
|
6080
6080
|
|
|
6081
|
-
// src/
|
|
6081
|
+
// src/qcobjects.ts
|
|
6082
6082
|
init_CONFIG();
|
|
6083
6083
|
|
|
6084
6084
|
// src/Controller.ts
|
|
@@ -6180,7 +6180,7 @@ Package("com.qcobjects.views", [
|
|
|
6180
6180
|
View
|
|
6181
6181
|
]);
|
|
6182
6182
|
|
|
6183
|
-
// src/
|
|
6183
|
+
// src/qcobjects.ts
|
|
6184
6184
|
init_Service();
|
|
6185
6185
|
|
|
6186
6186
|
// src/VO.ts
|
|
@@ -6348,7 +6348,7 @@ Package("com.qcobjects.timing", [
|
|
|
6348
6348
|
Timer
|
|
6349
6349
|
]);
|
|
6350
6350
|
|
|
6351
|
-
// src/
|
|
6351
|
+
// src/qcobjects.ts
|
|
6352
6352
|
init_tag_filter();
|
|
6353
6353
|
init_range();
|
|
6354
6354
|
init_ArrayCollection();
|
|
@@ -6488,7 +6488,7 @@ Package("com.qcobjects.tools.essentials", [
|
|
|
6488
6488
|
Toggle
|
|
6489
6489
|
]);
|
|
6490
6490
|
|
|
6491
|
-
// src/
|
|
6491
|
+
// src/qcobjects.ts
|
|
6492
6492
|
init_findPackageNodePath();
|
|
6493
6493
|
|
|
6494
6494
|
// src/DocumentLayout.ts
|
|
@@ -6509,12 +6509,12 @@ var getDocumentLayout = /* @__PURE__ */ __name(function() {
|
|
|
6509
6509
|
].filter((e) => e !== null).pop();
|
|
6510
6510
|
}, "getDocumentLayout");
|
|
6511
6511
|
|
|
6512
|
-
// src/
|
|
6512
|
+
// src/qcobjects.ts
|
|
6513
6513
|
init_mathFunctions();
|
|
6514
6514
|
init_top();
|
|
6515
6515
|
init_make_global();
|
|
6516
6516
|
init_top();
|
|
6517
|
-
var
|
|
6517
|
+
var qcobjects_default = {};
|
|
6518
6518
|
export {
|
|
6519
6519
|
ArrayCollection,
|
|
6520
6520
|
ArrayList,
|
|
@@ -6542,7 +6542,6 @@ export {
|
|
|
6542
6542
|
ObjectName,
|
|
6543
6543
|
Package,
|
|
6544
6544
|
Processor,
|
|
6545
|
-
QCObjects,
|
|
6546
6545
|
Ready,
|
|
6547
6546
|
RegisterClass,
|
|
6548
6547
|
RegisterWidget,
|
|
@@ -6586,7 +6585,7 @@ export {
|
|
|
6586
6585
|
asyncLoad,
|
|
6587
6586
|
captureFalseTouch,
|
|
6588
6587
|
componentLoader,
|
|
6589
|
-
|
|
6588
|
+
qcobjects_default as default,
|
|
6590
6589
|
findPackageNodePath,
|
|
6591
6590
|
get,
|
|
6592
6591
|
getDocumentLayout,
|
|
@@ -6598,6 +6597,7 @@ export {
|
|
|
6598
6597
|
is_a,
|
|
6599
6598
|
is_phonegap,
|
|
6600
6599
|
logger,
|
|
6600
|
+
qcobjects,
|
|
6601
6601
|
range,
|
|
6602
6602
|
ready,
|
|
6603
6603
|
resetTop,
|
|
@@ -6608,4 +6608,4 @@ export {
|
|
|
6608
6608
|
subelements,
|
|
6609
6609
|
waitUntil
|
|
6610
6610
|
};
|
|
6611
|
-
//# sourceMappingURL=
|
|
6611
|
+
//# sourceMappingURL=qcobjects.mjs.map
|