ps-toolkit-ui 1.8.31 → 1.8.34
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 +10 -5
- 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/chart.class.js +9 -5
- package/esm2015/lib/classes/table.class.js +2 -1
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +10 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/table.class.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2980,7 +2980,7 @@
|
|
|
2980
2980
|
console.log('getCell');
|
|
2981
2981
|
var cv = _.get(this.row.Data, col.name);
|
|
2982
2982
|
if (cv === null) {
|
|
2983
|
-
return '';
|
|
2983
|
+
return col.default ? col.default : '';
|
|
2984
2984
|
}
|
|
2985
2985
|
else if (col.fun != null) {
|
|
2986
2986
|
return col.fun(this.row.Data);
|
|
@@ -8102,6 +8102,7 @@
|
|
|
8102
8102
|
if (withSearch === void 0) { withSearch = true; }
|
|
8103
8103
|
if (sort === void 0) { sort = true; }
|
|
8104
8104
|
this.enum = null;
|
|
8105
|
+
this.default = null;
|
|
8105
8106
|
this.sort = true;
|
|
8106
8107
|
this.search = null;
|
|
8107
8108
|
this.fun = null;
|
|
@@ -8155,7 +8156,8 @@
|
|
|
8155
8156
|
labels: {
|
|
8156
8157
|
useHTML: true,
|
|
8157
8158
|
style: {
|
|
8158
|
-
fontFamily: '
|
|
8159
|
+
fontFamily: 'Vazir',
|
|
8160
|
+
fontWeight: '700',
|
|
8159
8161
|
direction: 'rtl',
|
|
8160
8162
|
textAlign: 'center'
|
|
8161
8163
|
},
|
|
@@ -8177,7 +8179,8 @@
|
|
|
8177
8179
|
labels: {
|
|
8178
8180
|
useHTML: true,
|
|
8179
8181
|
style: {
|
|
8180
|
-
fontFamily: '
|
|
8182
|
+
fontFamily: 'Vazir',
|
|
8183
|
+
fontWeight: '700',
|
|
8181
8184
|
direction: 'rtl',
|
|
8182
8185
|
textAlign: 'center'
|
|
8183
8186
|
},
|
|
@@ -8193,7 +8196,8 @@
|
|
|
8193
8196
|
itemMarginRight: 50,
|
|
8194
8197
|
itemMarginLeft: 50,
|
|
8195
8198
|
itemStyle: {
|
|
8196
|
-
fontFamily: '
|
|
8199
|
+
fontFamily: 'Vazir',
|
|
8200
|
+
fontWeight: '700',
|
|
8197
8201
|
direction: 'rtl'
|
|
8198
8202
|
}
|
|
8199
8203
|
},
|
|
@@ -8202,7 +8206,8 @@
|
|
|
8202
8206
|
crosshairs: true,
|
|
8203
8207
|
useHTML: true,
|
|
8204
8208
|
style: {
|
|
8205
|
-
fontFamily: '
|
|
8209
|
+
fontFamily: 'Vazir',
|
|
8210
|
+
fontWeight: '700',
|
|
8206
8211
|
direction: 'rtl',
|
|
8207
8212
|
textAlign: 'center'
|
|
8208
8213
|
},
|