targetj 1.0.101 → 1.0.103
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/README.md +1 -1
- package/build/App.js +2 -1
- package/build/LocationManager.js +1 -1
- package/build/PageManager.js +2 -3
- package/build/TModel.js +1 -1
- package/build/TargetUtil.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install targetj
|
|
|
14
14
|
|
|
15
15
|
## Why TargetJ?
|
|
16
16
|
|
|
17
|
-
Imagine
|
|
17
|
+
Imagine building a front-end project using a single approach for API integration, animations, event handling, and more—without having to manage asynchronous calls, loops, callbacks, promises, timeouts, CSS, HTML attributes, tags, or HTML nesting. That’s exactly what TargetJ offers: it simplifies the entire development process with a new paradigm.
|
|
18
18
|
|
|
19
19
|
## What are targets?
|
|
20
20
|
|
package/build/App.js
CHANGED
package/build/LocationManager.js
CHANGED
|
@@ -70,7 +70,7 @@ var LocationManager = exports.LocationManager = /*#__PURE__*/function () {
|
|
|
70
70
|
container.visibleChildren.length = 0;
|
|
71
71
|
var i = 0;
|
|
72
72
|
var childrenLength = allChildren.length;
|
|
73
|
-
while (i < childrenLength
|
|
73
|
+
while (i < childrenLength) {
|
|
74
74
|
var child = allChildren[i++];
|
|
75
75
|
if (!child) {
|
|
76
76
|
continue;
|
package/build/PageManager.js
CHANGED
|
@@ -84,9 +84,8 @@ var PageManager = exports.PageManager = /*#__PURE__*/function () {
|
|
|
84
84
|
key: "onPageClose",
|
|
85
85
|
value: function onPageClose(visibles) {
|
|
86
86
|
visibles.forEach(function (tmodel) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
87
|
+
var activateTargets = [].concat(tmodel.targets['onPageClose'], tmodel.targets['onResize']);
|
|
88
|
+
(0, _App.getLocationManager)().activateTargets(tmodel, activateTargets);
|
|
90
89
|
});
|
|
91
90
|
}
|
|
92
91
|
}, {
|
package/build/TModel.js
CHANGED
|
@@ -373,7 +373,7 @@ var TModel = exports.TModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
373
373
|
key: "getXOverflow",
|
|
374
374
|
value: function getXOverflow() {
|
|
375
375
|
var _this$actualValues$xO;
|
|
376
|
-
return (_this$actualValues$xO = this.actualValues.xOverflow) !== null && _this$actualValues$xO !== void 0 ? _this$actualValues$xO :
|
|
376
|
+
return (_this$actualValues$xO = this.actualValues.xOverflow) !== null && _this$actualValues$xO !== void 0 ? _this$actualValues$xO : -this.getScrollLeft();
|
|
377
377
|
}
|
|
378
378
|
}, {
|
|
379
379
|
key: "getUIDepth",
|
package/build/TargetUtil.js
CHANGED
|
@@ -368,10 +368,19 @@ _defineProperty(TargetUtil, "attributeTargetMap", {
|
|
|
368
368
|
size: true,
|
|
369
369
|
value: true,
|
|
370
370
|
maxlength: true,
|
|
371
|
+
minlength: true,
|
|
371
372
|
max: true,
|
|
372
373
|
min: true,
|
|
373
374
|
readonly: true,
|
|
374
|
-
required: true
|
|
375
|
+
required: true,
|
|
376
|
+
alt: true,
|
|
377
|
+
disabled: true,
|
|
378
|
+
action: true,
|
|
379
|
+
accept: true,
|
|
380
|
+
selected: true,
|
|
381
|
+
rows: true,
|
|
382
|
+
cols: true,
|
|
383
|
+
tabindex: true
|
|
375
384
|
});
|
|
376
385
|
_defineProperty(TargetUtil, "cssFunctionMap", {
|
|
377
386
|
skew: {
|