ps-toolkit-ui 1.11.60 → 1.11.63
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/bundles/ps-toolkit-ui.umd.js +7 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/steps.class.js +8 -2
- package/fesm2015/ps-toolkit-ui.js +7 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/steps.class.d.ts +2 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -8082,9 +8082,14 @@
|
|
|
8082
8082
|
function StepsClass(l) {
|
|
8083
8083
|
this.items = [];
|
|
8084
8084
|
this.activeAll = false;
|
|
8085
|
-
this.onDone =
|
|
8085
|
+
this.onDone = function () { };
|
|
8086
8086
|
this.l = l;
|
|
8087
8087
|
}
|
|
8088
|
+
StepsClass.prototype.loadStep = function (s) {
|
|
8089
|
+
this.items.find(function (x) { return x.active; }).active = false;
|
|
8090
|
+
s.active = true;
|
|
8091
|
+
s.form.loadData(s.form.url.replace('-update', '-get'));
|
|
8092
|
+
};
|
|
8088
8093
|
return StepsClass;
|
|
8089
8094
|
}());
|
|
8090
8095
|
var StepsItemClass = /** @class */ (function () {
|
|
@@ -8098,6 +8103,7 @@
|
|
|
8098
8103
|
this.url = url;
|
|
8099
8104
|
this.active = active;
|
|
8100
8105
|
this.current = false;
|
|
8106
|
+
this.isDone = false;
|
|
8101
8107
|
this.description = null;
|
|
8102
8108
|
this.form = null;
|
|
8103
8109
|
this.onClick = null;
|