igniteui-webcomponents-grids 4.0.3 → 4.2.2
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/igniteui-webcomponents-grids.umd.js +1042 -654
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +552 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +1 -1
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/EditorCell.js +1 -1
- package/esm2015/lib/FilterCell.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +10 -10
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-column-component.js +10 -6
- package/esm2015/lib/igc-data-grid-component.js +45 -27
- package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm2015/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +578 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +1 -1
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/EditorCell.js +1 -1
- package/esm5/lib/FilterCell.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +10 -10
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-column-component.js +10 -6
- package/esm5/lib/igc-data-grid-component.js +45 -27
- package/esm5/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm5/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- package/fesm2015/igniteui-webcomponents-grids.js +974 -666
- package/fesm5/igniteui-webcomponents-grids.js +1040 -652
- package/grids/combined.js +173 -91
- package/grids/index.d.ts +30 -0
- package/grids/index.js +1 -0
- package/grids/lib/column-pinning-position.d.ts +1 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/filtering-expressions-tree-type.d.ts +1 -0
- package/grids/lib/filtering-logic.d.ts +1 -0
- package/grids/lib/grid-column-data-type.d.ts +1 -1
- package/grids/lib/grid-paging-mode.d.ts +1 -0
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -2
- package/grids/lib/igc-active-node-change-event-args.d.ts +1 -2
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-event-args.d.ts +1 -2
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-type.d.ts +6 -12
- package/grids/lib/igc-column-component.d.ts +4 -3
- package/grids/lib/igc-column-exporting-event-args.d.ts +1 -2
- package/grids/lib/igc-column-group-component.d.ts +4 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-dimensions-change.d.ts +30 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +18 -2
- package/grids/lib/igc-field-pipe-args.d.ts +6 -12
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +8 -8
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +5 -2
- package/grids/lib/igc-for-of-state.d.ts +2 -4
- package/grids/lib/igc-grid-action-button-component.d.ts +1 -1
- package/grids/lib/igc-grid-actions-base-directive.d.ts +1 -1
- package/grids/lib/igc-grid-base-directive.d.ts +34 -6
- package/grids/lib/igc-grid-component.d.ts +5 -5
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +6 -12
- package/grids/lib/igc-grid-resource-strings.d.ts +166 -326
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +2 -1
- package/grids/lib/igc-grid-validation-state.d.ts +1 -2
- package/grids/lib/igc-group-by-record.d.ts +2 -4
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-overlay-settings.d.ts +6 -12
- package/grids/lib/igc-paginator-resource-strings.d.ts +6 -12
- package/grids/lib/igc-pin-row-event-args.d.ts +2 -4
- package/grids/lib/igc-pinning-config.d.ts +2 -4
- package/grids/lib/igc-pivot-aggregator.d.ts +46 -0
- package/grids/lib/igc-pivot-configuration.d.ts +60 -0
- package/grids/lib/igc-pivot-data-selector-component.d.ts +127 -0
- package/grids/lib/igc-pivot-date-dimension-options.d.ts +34 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +88 -0
- package/grids/lib/igc-pivot-dimension-strategy.d.ts +25 -0
- package/grids/lib/igc-pivot-dimension.d.ts +69 -0
- package/grids/lib/igc-pivot-grid-component.d.ts +492 -0
- package/grids/lib/igc-pivot-grid-value-template-context.d.ts +20 -0
- package/grids/lib/igc-pivot-keys.d.ts +47 -0
- package/grids/lib/igc-pivot-value.d.ts +65 -0
- package/grids/lib/igc-position-settings.d.ts +6 -12
- package/grids/lib/igc-row-data-event-args.d.ts +0 -5
- package/grids/lib/igc-row-selection-event-args.d.ts +3 -0
- package/grids/lib/igc-row-type.d.ts +19 -38
- package/grids/lib/igc-sorting-event-args.d.ts +2 -4
- package/grids/lib/igc-sorting-expression.d.ts +2 -4
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-summary-result.d.ts +1 -2
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/igc-tree-grid-component.d.ts +3 -2
- package/grids/lib/igc-tree-grid-record.d.ts +5 -10
- package/grids/lib/igc-values-change.d.ts +23 -0
- package/grids/lib/pivot-aggregation-type.d.ts +3 -0
- package/grids/lib/pivot-dimension-type.d.ts +17 -0
- package/grids/lib/row-pinning-position.d.ts +1 -0
- package/grids/lib/sorting-direction.d.ts +1 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/package.json +4 -4
|
@@ -642,7 +642,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
642
642
|
break;
|
|
643
643
|
case "FilterPlaceholderText":
|
|
644
644
|
if (this.n != null) {
|
|
645
|
-
this.n.
|
|
645
|
+
this.n.ce = this.b8;
|
|
646
646
|
}
|
|
647
647
|
break;
|
|
648
648
|
case "SearchInputType":
|
|
@@ -682,11 +682,11 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
682
682
|
this.an = true;
|
|
683
683
|
let b = false;
|
|
684
684
|
for (let c of fromEnum(this.properties)) {
|
|
685
|
-
let d = c.
|
|
685
|
+
let d = c.an;
|
|
686
686
|
if (this.r != null) {
|
|
687
687
|
let e = this.r.e(d, false);
|
|
688
688
|
if (e != null) {
|
|
689
|
-
if (c.
|
|
689
|
+
if (c.r(e)) {
|
|
690
690
|
b = true;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
@@ -951,7 +951,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
951
951
|
ct(a, b) {
|
|
952
952
|
let c = a;
|
|
953
953
|
let d = this.s(c, b.cellInfo.et, b.rowObject);
|
|
954
|
-
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.
|
|
954
|
+
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.p : 0);
|
|
955
955
|
}
|
|
956
956
|
dm(a, b) {
|
|
957
957
|
let c = a;
|
|
@@ -960,10 +960,10 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
960
960
|
b.resolvedValue = null;
|
|
961
961
|
return;
|
|
962
962
|
}
|
|
963
|
-
b.resolvedValue = d.
|
|
963
|
+
b.resolvedValue = d.al != null ? d.al : d.an;
|
|
964
964
|
}
|
|
965
965
|
a9(a) {
|
|
966
|
-
switch (a.
|
|
966
|
+
switch (a.p) {
|
|
967
967
|
case 10: return this.aw(a);
|
|
968
968
|
case 7: return this.ax(a);
|
|
969
969
|
case 4: return this.az(a);
|
|
@@ -1064,12 +1064,12 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1064
1064
|
return this.m.i(this.cb(a)) + 17;
|
|
1065
1065
|
}
|
|
1066
1066
|
cb(a) {
|
|
1067
|
-
return a.
|
|
1067
|
+
return a.al != null ? a.al : a.an;
|
|
1068
1068
|
}
|
|
1069
1069
|
cs(a, b) {
|
|
1070
1070
|
let c = a;
|
|
1071
1071
|
let d = this.s(c, b.cellInfo.et, b.cellInfo.g4);
|
|
1072
|
-
let e = d != null ? d.
|
|
1072
|
+
let e = d != null ? d.p : 0;
|
|
1073
1073
|
switch (e) {
|
|
1074
1074
|
case 10:
|
|
1075
1075
|
this.cu(c, b);
|
|
@@ -1164,8 +1164,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
let e = this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1166
1166
|
let f = c.inputs._inner[0];
|
|
1167
|
-
f.
|
|
1168
|
-
f.
|
|
1167
|
+
f.bf = e;
|
|
1168
|
+
f.cm = (e.af != null ? e.af.toString() : "");
|
|
1169
1169
|
if (d) {
|
|
1170
1170
|
f.changing = delegateCombine(f.changing, runOn(this, this.dj));
|
|
1171
1171
|
}
|
|
@@ -1178,9 +1178,9 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
let e = this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1180
1180
|
c.ez = e;
|
|
1181
|
-
let f = e.
|
|
1182
|
-
if (typeof e.
|
|
1183
|
-
f = e.
|
|
1181
|
+
let f = e.af;
|
|
1182
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1183
|
+
f = e.af.toString();
|
|
1184
1184
|
}
|
|
1185
1185
|
this.m.ac(c, f);
|
|
1186
1186
|
if (d) {
|
|
@@ -1201,12 +1201,12 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1201
1201
|
c.c4 = e;
|
|
1202
1202
|
c.value = null;
|
|
1203
1203
|
c.itemsSource = this.b(this.a(e));
|
|
1204
|
-
if (e.
|
|
1205
|
-
if (typeof e.
|
|
1206
|
-
c.value = e.
|
|
1204
|
+
if (e.af != c.value) {
|
|
1205
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1206
|
+
c.value = e.af.toString();
|
|
1207
1207
|
}
|
|
1208
1208
|
else {
|
|
1209
|
-
c.value = e.
|
|
1209
|
+
c.value = e.af;
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
1212
|
if (!d) {
|
|
@@ -1214,12 +1214,12 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
1216
|
else {
|
|
1217
|
-
if (e.
|
|
1218
|
-
if (typeof e.
|
|
1219
|
-
c.value = e.
|
|
1217
|
+
if (e.af != c.value) {
|
|
1218
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1219
|
+
c.value = e.af.toString();
|
|
1220
1220
|
}
|
|
1221
1221
|
else {
|
|
1222
|
-
c.value = e.
|
|
1222
|
+
c.value = e.af;
|
|
1223
1223
|
}
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
@@ -1260,25 +1260,25 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1260
1260
|
let c = a;
|
|
1261
1261
|
let d = c.c4;
|
|
1262
1262
|
this.an = true;
|
|
1263
|
-
d.
|
|
1264
|
-
d.
|
|
1263
|
+
d.af = c.value;
|
|
1264
|
+
d.ao();
|
|
1265
1265
|
this.an = false;
|
|
1266
1266
|
this.dv(d);
|
|
1267
1267
|
}
|
|
1268
1268
|
dj(a, b) {
|
|
1269
1269
|
let c = a;
|
|
1270
|
-
let d = c.
|
|
1270
|
+
let d = c.bf;
|
|
1271
1271
|
this.an = true;
|
|
1272
|
-
if (d.
|
|
1272
|
+
if (d.p == 1) {
|
|
1273
1273
|
let e = 0;
|
|
1274
|
-
let f = tryParseNumber(c.
|
|
1274
|
+
let f = tryParseNumber(c.cm, e);
|
|
1275
1275
|
e = f.p1;
|
|
1276
|
-
d.
|
|
1276
|
+
d.af = e;
|
|
1277
1277
|
}
|
|
1278
1278
|
else {
|
|
1279
|
-
d.
|
|
1279
|
+
d.af = c.cm;
|
|
1280
1280
|
}
|
|
1281
|
-
d.
|
|
1281
|
+
d.ao();
|
|
1282
1282
|
this.an = false;
|
|
1283
1283
|
this.dv(d);
|
|
1284
1284
|
}
|
|
@@ -1286,7 +1286,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1286
1286
|
let c = a;
|
|
1287
1287
|
let d = c.ez;
|
|
1288
1288
|
this.an = true;
|
|
1289
|
-
d.
|
|
1289
|
+
d.ap();
|
|
1290
1290
|
this.an = false;
|
|
1291
1291
|
this.dv(d);
|
|
1292
1292
|
}
|
|
@@ -1312,9 +1312,9 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1312
1312
|
d = d.ae;
|
|
1313
1313
|
}
|
|
1314
1314
|
for (let e = 0; e < d.count; e++) {
|
|
1315
|
-
let f = d._inner[e].
|
|
1315
|
+
let f = d._inner[e].an;
|
|
1316
1316
|
if (this.as(f, a)) {
|
|
1317
|
-
d._inner[e].
|
|
1317
|
+
d._inner[e].ar(a, b, c);
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
1320
|
if (this.ap) {
|
|
@@ -1391,22 +1391,22 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1391
1391
|
c4(a, b, c, d) {
|
|
1392
1392
|
for (let e = 0; e < a.count; e++) {
|
|
1393
1393
|
let f = a._inner[e];
|
|
1394
|
-
if (f.
|
|
1394
|
+
if (f.p == 20) {
|
|
1395
1395
|
continue;
|
|
1396
1396
|
}
|
|
1397
1397
|
if (f.i != null) {
|
|
1398
1398
|
for (let g = 0; g < f.i.count; g++) {
|
|
1399
1399
|
let h = f.i._inner[g];
|
|
1400
|
-
let i = b + f.
|
|
1400
|
+
let i = b + f.an + "[" + g + "]";
|
|
1401
1401
|
this.c4(h.a, i, c, h.b);
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
1404
|
else if (f.g != null) {
|
|
1405
|
-
let j = b + f.
|
|
1405
|
+
let j = b + f.an;
|
|
1406
1406
|
this.c4(f.g.a, j, c, f.g.b);
|
|
1407
1407
|
}
|
|
1408
1408
|
else {
|
|
1409
|
-
c.h(b + f.
|
|
1409
|
+
c.h(b + f.an, f.af, d);
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
@@ -1439,7 +1439,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1439
1439
|
c.t = true;
|
|
1440
1440
|
}
|
|
1441
1441
|
let e = this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1442
|
-
let f = e.
|
|
1442
|
+
let f = e.af;
|
|
1443
1443
|
if (f == null) {
|
|
1444
1444
|
f = false;
|
|
1445
1445
|
}
|
|
@@ -1475,8 +1475,8 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1475
1475
|
let c = a;
|
|
1476
1476
|
let d = c.a5;
|
|
1477
1477
|
this.an = true;
|
|
1478
|
-
d.
|
|
1479
|
-
d.
|
|
1478
|
+
d.af = c.checked;
|
|
1479
|
+
d.ao();
|
|
1480
1480
|
this.an = false;
|
|
1481
1481
|
this.dv(d);
|
|
1482
1482
|
}
|
|
@@ -1489,7 +1489,7 @@ export let PropertyEditor = /*@__PURE__*/ (() => {
|
|
|
1489
1489
|
d = this.actualProperties._inner[b.rowNumber];
|
|
1490
1490
|
}
|
|
1491
1491
|
let e = this.s(c, b.rowNumber, d);
|
|
1492
|
-
let f = e != null ? e.
|
|
1492
|
+
let f = e != null ? e.p : 0;
|
|
1493
1493
|
b.styleKey = "editortype_" + enumGetBox(PropertyEditorValueType_$type, f);
|
|
1494
1494
|
}
|
|
1495
1495
|
dk(a, b) {
|
|
@@ -37,7 +37,7 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
37
37
|
let h = a.getSubRenderer(g);
|
|
38
38
|
this.v = new XInput();
|
|
39
39
|
this.v.provideContainer(h);
|
|
40
|
-
this.v.
|
|
40
|
+
this.v.b6 = "text";
|
|
41
41
|
this.v.disabled = !this.isEnabled;
|
|
42
42
|
let i = e.getExternal(this.v, h.rootWrapper, null);
|
|
43
43
|
this.w.appendContentChild(g);
|
|
@@ -45,7 +45,7 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
45
45
|
}
|
|
46
46
|
setFont(a) {
|
|
47
47
|
if (this.v != null) {
|
|
48
|
-
this.v.
|
|
48
|
+
this.v.af = a;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
attachEvents() {
|
|
@@ -93,7 +93,7 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
93
93
|
if (this.a.isEditRefocusDesired) {
|
|
94
94
|
let a = this.h.rootWrapper.getNativeElement();
|
|
95
95
|
if (a == document.activeElement || a.contains(document.activeElement)) {
|
|
96
|
-
this.v.
|
|
96
|
+
this.v.cp();
|
|
97
97
|
this.focus();
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -101,8 +101,8 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
101
101
|
r() {
|
|
102
102
|
if (this.v != null) {
|
|
103
103
|
this.v.focus(true);
|
|
104
|
-
if (this.v.
|
|
105
|
-
window.setTimeout(() => this.v.
|
|
104
|
+
if (this.v.b6 != "date") {
|
|
105
|
+
window.setTimeout(() => this.v.dj(), 0);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -110,14 +110,14 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
110
110
|
if (this.v != null) {
|
|
111
111
|
if (this.value != null) {
|
|
112
112
|
this.x = null;
|
|
113
|
-
this.v.
|
|
114
|
-
this.v.
|
|
113
|
+
this.v.cm = null;
|
|
114
|
+
this.v.cm = this.value.toString();
|
|
115
115
|
if (this.focusOnValueChanged) {
|
|
116
116
|
this.r();
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
|
-
this.v.
|
|
120
|
+
this.v.cm = null;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -152,13 +152,13 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
152
152
|
}
|
|
153
153
|
getEditorValue() {
|
|
154
154
|
if (this.v != null) {
|
|
155
|
-
return this.v.
|
|
155
|
+
return this.v.cm;
|
|
156
156
|
}
|
|
157
157
|
return null;
|
|
158
158
|
}
|
|
159
159
|
setEditorValue(a) {
|
|
160
160
|
if (this.v != null) {
|
|
161
|
-
this.v.
|
|
161
|
+
this.v.cm = a;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -259,28 +259,28 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
259
259
|
* Gets or Sets the property name that contains the values.
|
|
260
260
|
*/
|
|
261
261
|
get dataMemberPath() {
|
|
262
|
-
return this.i.
|
|
262
|
+
return this.i.bc;
|
|
263
263
|
}
|
|
264
264
|
set dataMemberPath(v) {
|
|
265
|
-
this.i.
|
|
265
|
+
this.i.bc = v;
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Gets or Sets the property name that contains the values.
|
|
269
269
|
*/
|
|
270
270
|
get selectedMemberPath() {
|
|
271
|
-
return this.i.
|
|
271
|
+
return this.i.b0;
|
|
272
272
|
}
|
|
273
273
|
set selectedMemberPath(v) {
|
|
274
|
-
this.i.
|
|
274
|
+
this.i.b0 = v;
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
277
|
* Gets or Sets the property name that contains the values.
|
|
278
278
|
*/
|
|
279
279
|
get filterPlaceholderText() {
|
|
280
|
-
return this.i.
|
|
280
|
+
return this.i.bg;
|
|
281
281
|
}
|
|
282
282
|
set filterPlaceholderText(v) {
|
|
283
|
-
this.i.
|
|
283
|
+
this.i.bg = v;
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
286
|
* Gets or Sets the property name that contains the values.
|
|
@@ -296,29 +296,29 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
296
296
|
* Gets or Sets the property name that contains the values.
|
|
297
297
|
*/
|
|
298
298
|
get rowHeight() {
|
|
299
|
-
return this.i.
|
|
299
|
+
return this.i.ax;
|
|
300
300
|
}
|
|
301
301
|
set rowHeight(v) {
|
|
302
|
-
this.i.
|
|
303
|
-
this._a("rowHeight", this.i.
|
|
302
|
+
this.i.ax = +v;
|
|
303
|
+
this._a("rowHeight", this.i.ax);
|
|
304
304
|
}
|
|
305
305
|
get actualRowHeight() {
|
|
306
|
-
return this.i.
|
|
306
|
+
return this.i.av;
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
309
|
* Gets or Sets the property name that contains the values.
|
|
310
310
|
*/
|
|
311
311
|
get cellTextStyle() {
|
|
312
|
-
if (this.i.
|
|
312
|
+
if (this.i.ae == null) {
|
|
313
313
|
return null;
|
|
314
314
|
}
|
|
315
|
-
return this.i.
|
|
315
|
+
return this.i.ae.fontString;
|
|
316
316
|
}
|
|
317
317
|
set cellTextStyle(v) {
|
|
318
318
|
let fi = new FontInfo();
|
|
319
319
|
fi.fontString = v;
|
|
320
|
-
this.i.
|
|
321
|
-
this._a("cellTextStyle", this.i.
|
|
320
|
+
this.i.ae = fi;
|
|
321
|
+
this._a("cellTextStyle", this.i.ae != null ? this.i.ae.fontString : "");
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
324
|
* Gets or Sets the property name that contains the values.
|
|
@@ -350,6 +350,111 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
350
350
|
this.i.aa = ensureEnum(ControlDisplayDensity_$type, v);
|
|
351
351
|
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.aa));
|
|
352
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Gets or sets the search icon color.
|
|
355
|
+
*/
|
|
356
|
+
get searchIconColor() {
|
|
357
|
+
return brushToString(this.i.du);
|
|
358
|
+
}
|
|
359
|
+
set searchIconColor(v) {
|
|
360
|
+
this.i.du = stringToBrush(v);
|
|
361
|
+
this._a("searchIconColor", brushToString(this.i.du));
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Gets or sets the search background color.
|
|
365
|
+
*/
|
|
366
|
+
get searchBackgroundColor() {
|
|
367
|
+
return brushToString(this.i.ds);
|
|
368
|
+
}
|
|
369
|
+
set searchBackgroundColor(v) {
|
|
370
|
+
this.i.ds = stringToBrush(v);
|
|
371
|
+
this._a("searchBackgroundColor", brushToString(this.i.ds));
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Gets or sets the search text color.
|
|
375
|
+
*/
|
|
376
|
+
get searchTextColor() {
|
|
377
|
+
return brushToString(this.i.dv);
|
|
378
|
+
}
|
|
379
|
+
set searchTextColor(v) {
|
|
380
|
+
this.i.dv = stringToBrush(v);
|
|
381
|
+
this._a("searchTextColor", brushToString(this.i.dv));
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Gets or sets the search border color.
|
|
385
|
+
*/
|
|
386
|
+
get searchBorderColor() {
|
|
387
|
+
return brushToString(this.i.dt);
|
|
388
|
+
}
|
|
389
|
+
set searchBorderColor(v) {
|
|
390
|
+
this.i.dt = stringToBrush(v);
|
|
391
|
+
this._a("searchBorderColor", brushToString(this.i.dt));
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Gets or sets the text style.
|
|
395
|
+
*/
|
|
396
|
+
get searchTextStyle() {
|
|
397
|
+
if (this.i.af == null) {
|
|
398
|
+
return null;
|
|
399
|
+
}
|
|
400
|
+
return this.i.af.fontString;
|
|
401
|
+
}
|
|
402
|
+
set searchTextStyle(v) {
|
|
403
|
+
let fi = new FontInfo();
|
|
404
|
+
fi.fontString = v;
|
|
405
|
+
this.i.af = fi;
|
|
406
|
+
this._a("searchTextStyle", this.i.af != null ? this.i.af.fontString : "");
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Gets or sets the checkbox tick color.
|
|
410
|
+
*/
|
|
411
|
+
get checkboxTickColor() {
|
|
412
|
+
return brushToString(this.i.dl);
|
|
413
|
+
}
|
|
414
|
+
set checkboxTickColor(v) {
|
|
415
|
+
this.i.dl = stringToBrush(v);
|
|
416
|
+
this._a("checkboxTickColor", brushToString(this.i.dl));
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Gets or sets the checkbox background color when checked.
|
|
420
|
+
*/
|
|
421
|
+
get checkboxCheckedBackgroundColor() {
|
|
422
|
+
return brushToString(this.i.dj);
|
|
423
|
+
}
|
|
424
|
+
set checkboxCheckedBackgroundColor(v) {
|
|
425
|
+
this.i.dj = stringToBrush(v);
|
|
426
|
+
this._a("checkboxCheckedBackgroundColor", brushToString(this.i.dj));
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Gets or sets the checkbox background color when unchecked.
|
|
430
|
+
*/
|
|
431
|
+
get checkboxUncheckedBackgroundColor() {
|
|
432
|
+
return brushToString(this.i.dm);
|
|
433
|
+
}
|
|
434
|
+
set checkboxUncheckedBackgroundColor(v) {
|
|
435
|
+
this.i.dm = stringToBrush(v);
|
|
436
|
+
this._a("checkboxUncheckedBackgroundColor", brushToString(this.i.dm));
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Gets or sets the checkbox border color when checked.
|
|
440
|
+
*/
|
|
441
|
+
get checkboxCheckedBorderColor() {
|
|
442
|
+
return brushToString(this.i.dk);
|
|
443
|
+
}
|
|
444
|
+
set checkboxCheckedBorderColor(v) {
|
|
445
|
+
this.i.dk = stringToBrush(v);
|
|
446
|
+
this._a("checkboxCheckedBorderColor", brushToString(this.i.dk));
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Gets or sets the checkbox border color when unchecked.
|
|
450
|
+
*/
|
|
451
|
+
get checkboxUncheckedBorderColor() {
|
|
452
|
+
return brushToString(this.i.dn);
|
|
453
|
+
}
|
|
454
|
+
set checkboxUncheckedBorderColor(v) {
|
|
455
|
+
this.i.dn = stringToBrush(v);
|
|
456
|
+
this._a("checkboxUncheckedBorderColor", brushToString(this.i.dn));
|
|
457
|
+
}
|
|
353
458
|
/**
|
|
354
459
|
* Gets or sets the style of scrollbar.
|
|
355
460
|
*/
|
|
@@ -364,90 +469,90 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
364
469
|
* Gets or sets the scrollbar background color.
|
|
365
470
|
*/
|
|
366
471
|
get scrollbarBackground() {
|
|
367
|
-
return brushToString(this.i.
|
|
472
|
+
return brushToString(this.i.dr);
|
|
368
473
|
}
|
|
369
474
|
set scrollbarBackground(v) {
|
|
370
|
-
this.i.
|
|
371
|
-
this._a("scrollbarBackground", brushToString(this.i.
|
|
475
|
+
this.i.dr = stringToBrush(v);
|
|
476
|
+
this._a("scrollbarBackground", brushToString(this.i.dr));
|
|
372
477
|
}
|
|
373
478
|
/**
|
|
374
479
|
* Gets / sets the caption of the "Select All" checkbox.
|
|
375
480
|
*/
|
|
376
481
|
get selectAllCaption() {
|
|
377
|
-
return this.i.
|
|
482
|
+
return this.i.bx;
|
|
378
483
|
}
|
|
379
484
|
set selectAllCaption(v) {
|
|
380
|
-
this.i.
|
|
485
|
+
this.i.bx = v;
|
|
381
486
|
}
|
|
382
487
|
/**
|
|
383
488
|
* Gets or sets the color to use for the "Select All" label.
|
|
384
489
|
*/
|
|
385
490
|
get selectAllCaptionTextColor() {
|
|
386
|
-
return brushToString(this.i.
|
|
491
|
+
return brushToString(this.i.dw);
|
|
387
492
|
}
|
|
388
493
|
set selectAllCaptionTextColor(v) {
|
|
389
|
-
this.i.
|
|
390
|
-
this._a("selectAllCaptionTextColor", brushToString(this.i.
|
|
494
|
+
this.i.dw = stringToBrush(v);
|
|
495
|
+
this._a("selectAllCaptionTextColor", brushToString(this.i.dw));
|
|
391
496
|
}
|
|
392
497
|
/**
|
|
393
498
|
* Gets or sets the color to use for the actual header selectAllCaption text.
|
|
394
499
|
*/
|
|
395
500
|
get actualSelectAllCaptionTextColor() {
|
|
396
|
-
return brushToString(this.i.
|
|
501
|
+
return brushToString(this.i.dh);
|
|
397
502
|
}
|
|
398
503
|
set actualSelectAllCaptionTextColor(v) {
|
|
399
|
-
this.i.
|
|
400
|
-
this._a("actualSelectAllCaptionTextColor", brushToString(this.i.
|
|
504
|
+
this.i.dh = stringToBrush(v);
|
|
505
|
+
this._a("actualSelectAllCaptionTextColor", brushToString(this.i.dh));
|
|
401
506
|
}
|
|
402
507
|
/**
|
|
403
508
|
* Gets / sets whether the "Select all" checkbox is visible.
|
|
404
509
|
*/
|
|
405
510
|
get showSelectAll() {
|
|
406
|
-
return this.i.
|
|
511
|
+
return this.i.as;
|
|
407
512
|
}
|
|
408
513
|
set showSelectAll(v) {
|
|
409
|
-
this.i.
|
|
410
|
-
this._a("showSelectAll", this.i.
|
|
514
|
+
this.i.as = ensureBool(v);
|
|
515
|
+
this._a("showSelectAll", this.i.as);
|
|
411
516
|
}
|
|
412
517
|
/**
|
|
413
518
|
* Gets or sets the color to use for the background of the component.
|
|
414
519
|
*/
|
|
415
520
|
get backgroundColor() {
|
|
416
|
-
return brushToString(this.i.
|
|
521
|
+
return brushToString(this.i.di);
|
|
417
522
|
}
|
|
418
523
|
set backgroundColor(v) {
|
|
419
|
-
this.i.
|
|
420
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
524
|
+
this.i.di = stringToBrush(v);
|
|
525
|
+
this._a("backgroundColor", brushToString(this.i.di));
|
|
421
526
|
}
|
|
422
527
|
/**
|
|
423
528
|
* Gets or sets the color to use for the text of the component.
|
|
424
529
|
*/
|
|
425
530
|
get textColor() {
|
|
426
|
-
return brushToString(this.i.
|
|
531
|
+
return brushToString(this.i.dy);
|
|
427
532
|
}
|
|
428
533
|
set textColor(v) {
|
|
429
|
-
this.i.
|
|
430
|
-
this._a("textColor", brushToString(this.i.
|
|
534
|
+
this.i.dy = stringToBrush(v);
|
|
535
|
+
this._a("textColor", brushToString(this.i.dy));
|
|
431
536
|
}
|
|
432
537
|
/**
|
|
433
538
|
* Gets or sets whether the filter input is visible.
|
|
434
539
|
*/
|
|
435
540
|
get showFilter() {
|
|
436
|
-
return this.i.
|
|
541
|
+
return this.i.aq;
|
|
437
542
|
}
|
|
438
543
|
set showFilter(v) {
|
|
439
|
-
this.i.
|
|
440
|
-
this._a("showFilter", this.i.
|
|
544
|
+
this.i.aq = ensureBool(v);
|
|
545
|
+
this._a("showFilter", this.i.aq);
|
|
441
546
|
}
|
|
442
547
|
/**
|
|
443
548
|
* Gets or sets whether row hover highlighting is enabled.
|
|
444
549
|
*/
|
|
445
550
|
get isRowHoverEnabled() {
|
|
446
|
-
return this.i.
|
|
551
|
+
return this.i.an;
|
|
447
552
|
}
|
|
448
553
|
set isRowHoverEnabled(v) {
|
|
449
|
-
this.i.
|
|
450
|
-
this._a("isRowHoverEnabled", this.i.
|
|
554
|
+
this.i.an = ensureBool(v);
|
|
555
|
+
this._a("isRowHoverEnabled", this.i.an);
|
|
451
556
|
}
|
|
452
557
|
findByName(name) {
|
|
453
558
|
if (this.findEphemera) {
|
|
@@ -518,17 +623,17 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
518
623
|
|
|
519
624
|
*/
|
|
520
625
|
selectAll() {
|
|
521
|
-
this.i.
|
|
626
|
+
this.i.cy();
|
|
522
627
|
}
|
|
523
628
|
/**
|
|
524
629
|
* Deselects all the items in the checkbox list.
|
|
525
630
|
|
|
526
631
|
*/
|
|
527
632
|
deselectAll() {
|
|
528
|
-
this.i.
|
|
633
|
+
this.i.b9();
|
|
529
634
|
}
|
|
530
635
|
notifySetItem(index, oldItem, newItem) {
|
|
531
|
-
this.i.
|
|
636
|
+
this.i.cg(index, oldItem, newItem);
|
|
532
637
|
}
|
|
533
638
|
/**
|
|
534
639
|
* Manually notifies the checkboxlist's grid that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -536,26 +641,26 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
536
641
|
|
|
537
642
|
*/
|
|
538
643
|
notifyClearItems() {
|
|
539
|
-
this.i.
|
|
644
|
+
this.i.cd();
|
|
540
645
|
}
|
|
541
646
|
notifyInsertItem(index, newItem) {
|
|
542
|
-
this.i.
|
|
647
|
+
this.i.ce(index, newItem);
|
|
543
648
|
}
|
|
544
649
|
notifyRemoveItem(index, oldItem) {
|
|
545
|
-
this.i.
|
|
650
|
+
this.i.cf(index, oldItem);
|
|
546
651
|
}
|
|
547
652
|
addKeyValue(value) {
|
|
548
|
-
this.i.
|
|
653
|
+
this.i.b6(value);
|
|
549
654
|
}
|
|
550
655
|
removeKeyValue(value) {
|
|
551
|
-
this.i.
|
|
656
|
+
this.i.cx(value);
|
|
552
657
|
}
|
|
553
658
|
/**
|
|
554
659
|
* Returns true if no items are selected / checked; otherwise false.
|
|
555
660
|
|
|
556
661
|
*/
|
|
557
662
|
isNothingSelected() {
|
|
558
|
-
let iv = this.i.
|
|
663
|
+
let iv = this.i.al();
|
|
559
664
|
return (iv);
|
|
560
665
|
}
|
|
561
666
|
/**
|
|
@@ -563,7 +668,7 @@ export let IgcCheckboxListComponent = /*@__PURE__*/ (() => {
|
|
|
563
668
|
|
|
564
669
|
*/
|
|
565
670
|
isEverythingSelected() {
|
|
566
|
-
let iv = this.i.
|
|
671
|
+
let iv = this.i.ak();
|
|
567
672
|
return (iv);
|
|
568
673
|
}
|
|
569
674
|
/**
|