ngx-rs-ant 1.8.2 → 1.8.3
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/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -1845,35 +1845,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1845
1845
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
1846
1846
|
|
|
1847
1847
|
function notify_error(message) {
|
|
1848
|
-
|
|
1849
|
-
displayTime: 12000,
|
|
1850
|
-
message,
|
|
1851
|
-
type: 'warning',
|
|
1852
|
-
width: '300px'
|
|
1853
|
-
}, {
|
|
1854
|
-
direction: 'up-push',
|
|
1855
|
-
position: 'bottom right'
|
|
1856
|
-
});
|
|
1848
|
+
_notify(message, 12000, 'warning');
|
|
1857
1849
|
}
|
|
1858
1850
|
function notify_warning(message) {
|
|
1859
|
-
|
|
1860
|
-
displayTime: 8000,
|
|
1861
|
-
message,
|
|
1862
|
-
type: 'warning',
|
|
1863
|
-
width: '300px'
|
|
1864
|
-
}, {
|
|
1865
|
-
direction: 'up-push',
|
|
1866
|
-
position: 'bottom right'
|
|
1867
|
-
});
|
|
1851
|
+
_notify(message, 8000, 'warning');
|
|
1868
1852
|
}
|
|
1869
1853
|
function notify_success(message) {
|
|
1854
|
+
_notify(message, 4000, 'success');
|
|
1855
|
+
}
|
|
1856
|
+
function _notify(message, time, type) {
|
|
1870
1857
|
notify({
|
|
1871
|
-
displayTime:
|
|
1858
|
+
displayTime: time,
|
|
1872
1859
|
message,
|
|
1873
|
-
type:
|
|
1874
|
-
|
|
1860
|
+
type: type,
|
|
1861
|
+
closeOnSwipe: false,
|
|
1862
|
+
minWidth: 200,
|
|
1863
|
+
maxWidth: 500,
|
|
1864
|
+
wrapperAttr: { class: 'global-toast-message' }
|
|
1875
1865
|
}, {
|
|
1876
|
-
direction: '
|
|
1866
|
+
direction: 'up-push',
|
|
1877
1867
|
position: 'bottom right'
|
|
1878
1868
|
});
|
|
1879
1869
|
}
|
|
@@ -3049,6 +3039,7 @@ class DataGridComponent {
|
|
|
3049
3039
|
if (this.instanceLinkType === 'tab' || this.instanceLinkType === 'drawer') {
|
|
3050
3040
|
columns.unshift({
|
|
3051
3041
|
fixed: true,
|
|
3042
|
+
caption: '详情',
|
|
3052
3043
|
width: 48,
|
|
3053
3044
|
cellTemplate: 'instanceLinkTemplate',
|
|
3054
3045
|
alignment: 'center',
|