tnx-shared 5.3.374 → 5.3.375
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/tnx-shared.umd.js +348 -315
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/crud/crud-form/crud-form.component.d.ts.map +1 -1
- package/esm2015/components/crud/crud-form/crud-form.component.js +29 -5
- package/fesm2015/tnx-shared.js +28 -4
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
package/fesm2015/tnx-shared.js
CHANGED
|
@@ -14629,6 +14629,30 @@ class CrudFormComponent extends ComponentBase {
|
|
|
14629
14629
|
if (this.tableFormCurrentRow > -1) {
|
|
14630
14630
|
tableNode.model[this.tableFormCurrentRow] = Object.assign(Object.assign({}, tableNode.model[this.tableFormCurrentRow]), data);
|
|
14631
14631
|
this.fireModelChanged();
|
|
14632
|
+
if (control.onChanged) {
|
|
14633
|
+
try {
|
|
14634
|
+
yield control.onChanged(new EventData({
|
|
14635
|
+
currentNode: tableNode,
|
|
14636
|
+
sourceNode: null,
|
|
14637
|
+
eventType: eventType || this.eventType.TABLE_CHANGED,
|
|
14638
|
+
crudForm: this
|
|
14639
|
+
}));
|
|
14640
|
+
}
|
|
14641
|
+
catch (_a) {
|
|
14642
|
+
}
|
|
14643
|
+
}
|
|
14644
|
+
if (control.onAfterChanged) {
|
|
14645
|
+
try {
|
|
14646
|
+
yield control.onAfterChanged(new EventData({
|
|
14647
|
+
currentNode: tableNode,
|
|
14648
|
+
sourceNode: null,
|
|
14649
|
+
eventType: eventType || this.eventType.TABLE_CHANGED,
|
|
14650
|
+
crudForm: this
|
|
14651
|
+
}));
|
|
14652
|
+
}
|
|
14653
|
+
catch (_b) {
|
|
14654
|
+
}
|
|
14655
|
+
}
|
|
14632
14656
|
}
|
|
14633
14657
|
else {
|
|
14634
14658
|
const index = tableNode.childNodes.length;
|
|
@@ -14646,7 +14670,7 @@ class CrudFormComponent extends ComponentBase {
|
|
|
14646
14670
|
crudForm: this
|
|
14647
14671
|
}));
|
|
14648
14672
|
}
|
|
14649
|
-
catch (
|
|
14673
|
+
catch (_c) {
|
|
14650
14674
|
toAdd = false;
|
|
14651
14675
|
}
|
|
14652
14676
|
}
|
|
@@ -14666,7 +14690,7 @@ class CrudFormComponent extends ComponentBase {
|
|
|
14666
14690
|
crudForm: this
|
|
14667
14691
|
}));
|
|
14668
14692
|
}
|
|
14669
|
-
catch (
|
|
14693
|
+
catch (_d) {
|
|
14670
14694
|
}
|
|
14671
14695
|
}
|
|
14672
14696
|
if (control.onAfterChanged) {
|
|
@@ -14678,7 +14702,7 @@ class CrudFormComponent extends ComponentBase {
|
|
|
14678
14702
|
crudForm: this
|
|
14679
14703
|
}));
|
|
14680
14704
|
}
|
|
14681
|
-
catch (
|
|
14705
|
+
catch (_e) {
|
|
14682
14706
|
}
|
|
14683
14707
|
}
|
|
14684
14708
|
if (control.onAdded) {
|
|
@@ -14690,7 +14714,7 @@ class CrudFormComponent extends ComponentBase {
|
|
|
14690
14714
|
crudForm: this
|
|
14691
14715
|
}));
|
|
14692
14716
|
}
|
|
14693
|
-
catch (
|
|
14717
|
+
catch (_f) {
|
|
14694
14718
|
}
|
|
14695
14719
|
}
|
|
14696
14720
|
}
|