igniteui-webcomponents-grids 4.0.4 → 4.2.3-alpha
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 +2059 -1378
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- 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 +553 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +11 -11
- package/esm2015/lib/FilterCell.js +77 -61
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
- 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 +12 -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 +82 -75
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- 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 +579 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +11 -11
- package/esm5/lib/FilterCell.js +81 -61
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
- 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 +12 -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 +82 -75
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1935 -1395
- package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -90
- package/grids/index.d.ts +15 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- 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-template-context.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +3 -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-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +2 -0
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +23 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- 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-pivot-date-dimension.d.ts +1 -20
- package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- 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-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -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/BaseEditorView.d.ts +12 -8
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +105 -96
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +14 -9
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
|
@@ -720,7 +720,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
720
720
|
break;
|
|
721
721
|
case "FilterPlaceholderText":
|
|
722
722
|
if (this.n != null) {
|
|
723
|
-
this.n.
|
|
723
|
+
this.n.ce = this.b8;
|
|
724
724
|
}
|
|
725
725
|
break;
|
|
726
726
|
case "SearchInputType":
|
|
@@ -763,11 +763,11 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
763
763
|
try {
|
|
764
764
|
for (var _b = tslib_1.__values(fromEnum(this.properties)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
765
765
|
var c = _c.value;
|
|
766
|
-
var d = c.
|
|
766
|
+
var d = c.an;
|
|
767
767
|
if (this.r != null) {
|
|
768
768
|
var e = this.r.e(d, false);
|
|
769
769
|
if (e != null) {
|
|
770
|
-
if (c.
|
|
770
|
+
if (c.r(e)) {
|
|
771
771
|
b = true;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
@@ -1069,7 +1069,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1069
1069
|
PropertyEditor.prototype.ct = function (a, b) {
|
|
1070
1070
|
var c = a;
|
|
1071
1071
|
var d = this.s(c, b.cellInfo.et, b.rowObject);
|
|
1072
|
-
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.
|
|
1072
|
+
b.resolvedValue = enumGetBox(PropertyEditorValueType_$type, d != null ? d.p : 0);
|
|
1073
1073
|
};
|
|
1074
1074
|
PropertyEditor.prototype.dm = function (a, b) {
|
|
1075
1075
|
var c = a;
|
|
@@ -1078,10 +1078,10 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1078
1078
|
b.resolvedValue = null;
|
|
1079
1079
|
return;
|
|
1080
1080
|
}
|
|
1081
|
-
b.resolvedValue = d.
|
|
1081
|
+
b.resolvedValue = d.al != null ? d.al : d.an;
|
|
1082
1082
|
};
|
|
1083
1083
|
PropertyEditor.prototype.a9 = function (a) {
|
|
1084
|
-
switch (a.
|
|
1084
|
+
switch (a.p) {
|
|
1085
1085
|
case 10: return this.aw(a);
|
|
1086
1086
|
case 7: return this.ax(a);
|
|
1087
1087
|
case 4: return this.az(a);
|
|
@@ -1182,12 +1182,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1182
1182
|
return this.m.i(this.cb(a)) + 17;
|
|
1183
1183
|
};
|
|
1184
1184
|
PropertyEditor.prototype.cb = function (a) {
|
|
1185
|
-
return a.
|
|
1185
|
+
return a.al != null ? a.al : a.an;
|
|
1186
1186
|
};
|
|
1187
1187
|
PropertyEditor.prototype.cs = function (a, b) {
|
|
1188
1188
|
var c = a;
|
|
1189
1189
|
var d = this.s(c, b.cellInfo.et, b.cellInfo.g4);
|
|
1190
|
-
var e = d != null ? d.
|
|
1190
|
+
var e = d != null ? d.p : 0;
|
|
1191
1191
|
switch (e) {
|
|
1192
1192
|
case 10:
|
|
1193
1193
|
this.cu(c, b);
|
|
@@ -1283,8 +1283,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1285
1285
|
var f = c.inputs._inner[0];
|
|
1286
|
-
f.
|
|
1287
|
-
f.
|
|
1286
|
+
f.bf = e;
|
|
1287
|
+
f.cm = (e.af != null ? e.af.toString() : "");
|
|
1288
1288
|
if (d) {
|
|
1289
1289
|
f.changing = delegateCombine(f.changing, runOn(_this, _this.dj));
|
|
1290
1290
|
}
|
|
@@ -1298,9 +1298,9 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1300
1300
|
c.ez = e;
|
|
1301
|
-
var f = e.
|
|
1302
|
-
if (typeof e.
|
|
1303
|
-
f = e.
|
|
1301
|
+
var f = e.af;
|
|
1302
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1303
|
+
f = e.af.toString();
|
|
1304
1304
|
}
|
|
1305
1305
|
_this.m.ac(c, f);
|
|
1306
1306
|
if (d) {
|
|
@@ -1322,12 +1322,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1322
1322
|
c.c4 = e;
|
|
1323
1323
|
c.value = null;
|
|
1324
1324
|
c.itemsSource = _this.b(_this.a(e));
|
|
1325
|
-
if (e.
|
|
1326
|
-
if (typeof e.
|
|
1327
|
-
c.value = e.
|
|
1325
|
+
if (e.af != c.value) {
|
|
1326
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1327
|
+
c.value = e.af.toString();
|
|
1328
1328
|
}
|
|
1329
1329
|
else {
|
|
1330
|
-
c.value = e.
|
|
1330
|
+
c.value = e.af;
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
if (!d) {
|
|
@@ -1335,12 +1335,12 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
else {
|
|
1338
|
-
if (e.
|
|
1339
|
-
if (typeof e.
|
|
1340
|
-
c.value = e.
|
|
1338
|
+
if (e.af != c.value) {
|
|
1339
|
+
if (typeof e.af === 'number' || typeof e.af === 'number') {
|
|
1340
|
+
c.value = e.af.toString();
|
|
1341
1341
|
}
|
|
1342
1342
|
else {
|
|
1343
|
-
c.value = e.
|
|
1343
|
+
c.value = e.af;
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
@@ -1384,25 +1384,25 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1384
1384
|
var c = a;
|
|
1385
1385
|
var d = c.c4;
|
|
1386
1386
|
this.an = true;
|
|
1387
|
-
d.
|
|
1388
|
-
d.
|
|
1387
|
+
d.af = c.value;
|
|
1388
|
+
d.ao();
|
|
1389
1389
|
this.an = false;
|
|
1390
1390
|
this.dv(d);
|
|
1391
1391
|
};
|
|
1392
1392
|
PropertyEditor.prototype.dj = function (a, b) {
|
|
1393
1393
|
var c = a;
|
|
1394
|
-
var d = c.
|
|
1394
|
+
var d = c.bf;
|
|
1395
1395
|
this.an = true;
|
|
1396
|
-
if (d.
|
|
1396
|
+
if (d.p == 1) {
|
|
1397
1397
|
var e = 0;
|
|
1398
|
-
var f = tryParseNumber(c.
|
|
1398
|
+
var f = tryParseNumber(c.cm, e);
|
|
1399
1399
|
e = f.p1;
|
|
1400
|
-
d.
|
|
1400
|
+
d.af = e;
|
|
1401
1401
|
}
|
|
1402
1402
|
else {
|
|
1403
|
-
d.
|
|
1403
|
+
d.af = c.cm;
|
|
1404
1404
|
}
|
|
1405
|
-
d.
|
|
1405
|
+
d.ao();
|
|
1406
1406
|
this.an = false;
|
|
1407
1407
|
this.dv(d);
|
|
1408
1408
|
};
|
|
@@ -1410,7 +1410,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1410
1410
|
var c = a;
|
|
1411
1411
|
var d = c.ez;
|
|
1412
1412
|
this.an = true;
|
|
1413
|
-
d.
|
|
1413
|
+
d.ap();
|
|
1414
1414
|
this.an = false;
|
|
1415
1415
|
this.dv(d);
|
|
1416
1416
|
};
|
|
@@ -1437,9 +1437,9 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1437
1437
|
d = d.ae;
|
|
1438
1438
|
}
|
|
1439
1439
|
for (var e = 0; e < d.count; e++) {
|
|
1440
|
-
var f = d._inner[e].
|
|
1440
|
+
var f = d._inner[e].an;
|
|
1441
1441
|
if (this.as(f, a)) {
|
|
1442
|
-
d._inner[e].
|
|
1442
|
+
d._inner[e].ar(a, b, c);
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
1445
|
if (this.ap) {
|
|
@@ -1516,22 +1516,22 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1516
1516
|
PropertyEditor.prototype.c4 = function (a, b, c, d) {
|
|
1517
1517
|
for (var e = 0; e < a.count; e++) {
|
|
1518
1518
|
var f = a._inner[e];
|
|
1519
|
-
if (f.
|
|
1519
|
+
if (f.p == 20) {
|
|
1520
1520
|
continue;
|
|
1521
1521
|
}
|
|
1522
1522
|
if (f.i != null) {
|
|
1523
1523
|
for (var g = 0; g < f.i.count; g++) {
|
|
1524
1524
|
var h = f.i._inner[g];
|
|
1525
|
-
var i = b + f.
|
|
1525
|
+
var i = b + f.an + "[" + g + "]";
|
|
1526
1526
|
this.c4(h.a, i, c, h.b);
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
else if (f.g != null) {
|
|
1530
|
-
var j = b + f.
|
|
1530
|
+
var j = b + f.an;
|
|
1531
1531
|
this.c4(f.g.a, j, c, f.g.b);
|
|
1532
1532
|
}
|
|
1533
1533
|
else {
|
|
1534
|
-
c.h(b + f.
|
|
1534
|
+
c.h(b + f.an, f.af, d);
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
1537
|
};
|
|
@@ -1565,7 +1565,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1565
1565
|
c.t = true;
|
|
1566
1566
|
}
|
|
1567
1567
|
var e = _this.s(a, b.cellInfo.et, b.cellInfo.g4);
|
|
1568
|
-
var f = e.
|
|
1568
|
+
var f = e.af;
|
|
1569
1569
|
if (f == null) {
|
|
1570
1570
|
f = false;
|
|
1571
1571
|
}
|
|
@@ -1601,8 +1601,8 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1601
1601
|
var c = a;
|
|
1602
1602
|
var d = c.a5;
|
|
1603
1603
|
this.an = true;
|
|
1604
|
-
d.
|
|
1605
|
-
d.
|
|
1604
|
+
d.af = c.checked;
|
|
1605
|
+
d.ao();
|
|
1606
1606
|
this.an = false;
|
|
1607
1607
|
this.dv(d);
|
|
1608
1608
|
};
|
|
@@ -1615,7 +1615,7 @@ var PropertyEditor = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1615
1615
|
d = this.actualProperties._inner[b.rowNumber];
|
|
1616
1616
|
}
|
|
1617
1617
|
var e = this.s(c, b.rowNumber, d);
|
|
1618
|
-
var f = e != null ? e.
|
|
1618
|
+
var f = e != null ? e.p : 0;
|
|
1619
1619
|
b.styleKey = "editortype_" + enumGetBox(PropertyEditorValueType_$type, f);
|
|
1620
1620
|
};
|
|
1621
1621
|
PropertyEditor.prototype.dk = function (a, b) {
|
|
@@ -16,9 +16,9 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
16
16
|
tslib_1.__extends(TextEditorView, _super);
|
|
17
17
|
function TextEditorView(a, b, c) {
|
|
18
18
|
var _this = _super.call(this, a, c) || this;
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
19
|
+
_this.aa = null;
|
|
20
|
+
_this.z = null;
|
|
21
|
+
_this.y = null;
|
|
22
22
|
var d = a.createElement("div");
|
|
23
23
|
d.setRawStyleProperty("display", "flex");
|
|
24
24
|
d.setRawStyleProperty("width", "100%");
|
|
@@ -26,61 +26,62 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
26
26
|
d.setRawStyleProperty("height", "38px");
|
|
27
27
|
_this.container = d;
|
|
28
28
|
var e = a.getSubRenderer(d);
|
|
29
|
-
_this.
|
|
30
|
-
_this.
|
|
31
|
-
_this.
|
|
32
|
-
_this.
|
|
33
|
-
_this.
|
|
34
|
-
_this.
|
|
35
|
-
var f = e.getExternal(_this.
|
|
29
|
+
_this.z = new XInputGroup();
|
|
30
|
+
_this.z.provideContainer(e);
|
|
31
|
+
_this.z.d = 0;
|
|
32
|
+
_this.z.j = b;
|
|
33
|
+
_this.z.n = 3;
|
|
34
|
+
_this.z.disabled = !_this.isEnabled;
|
|
35
|
+
var f = e.getExternal(_this.z, e.rootWrapper, null);
|
|
36
36
|
var g = a.createElement("div");
|
|
37
37
|
g.setRawStyleProperty("width", "100%");
|
|
38
38
|
var h = a.getSubRenderer(g);
|
|
39
|
-
_this.
|
|
40
|
-
_this.
|
|
41
|
-
_this.
|
|
42
|
-
_this.
|
|
43
|
-
|
|
44
|
-
_this.
|
|
45
|
-
_this.
|
|
39
|
+
_this.y = new XInput();
|
|
40
|
+
_this.y.provideContainer(h);
|
|
41
|
+
_this.y.b6 = "text";
|
|
42
|
+
_this.y.disabled = !_this.isEnabled;
|
|
43
|
+
_this.y.d1 = _this.textColor;
|
|
44
|
+
var i = e.getExternal(_this.y, h.rootWrapper, null);
|
|
45
|
+
_this.z.appendContentChild(g);
|
|
46
|
+
_this.z.inputs.add(_this.y);
|
|
46
47
|
return _this;
|
|
47
48
|
}
|
|
48
49
|
TextEditorView.prototype.setFont = function (a) {
|
|
49
|
-
if (this.
|
|
50
|
-
this.
|
|
50
|
+
if (this.y != null) {
|
|
51
|
+
this.y.af = a;
|
|
51
52
|
}
|
|
52
53
|
};
|
|
53
54
|
TextEditorView.prototype.attachEvents = function () {
|
|
54
|
-
if (this.
|
|
55
|
-
var a = this.
|
|
56
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
57
|
-
var b = this.
|
|
55
|
+
if (this.y != null) {
|
|
56
|
+
var a = this.y;
|
|
57
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.ac));
|
|
58
|
+
var b = this.y;
|
|
58
59
|
b.keyDown = delegateCombine(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
59
|
-
var c = this.
|
|
60
|
-
c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.
|
|
61
|
-
var d = this.
|
|
62
|
-
d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.
|
|
63
|
-
var e = this.
|
|
64
|
-
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.
|
|
60
|
+
var c = this.y;
|
|
61
|
+
c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.ab));
|
|
62
|
+
var d = this.y;
|
|
63
|
+
d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.ad));
|
|
64
|
+
var e = this.y;
|
|
65
|
+
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ae));
|
|
65
66
|
}
|
|
66
67
|
};
|
|
67
68
|
TextEditorView.prototype.detachEvents = function () {
|
|
68
|
-
if (this.
|
|
69
|
-
var a = this.
|
|
70
|
-
a.changing = delegateRemove(a.changing, runOn(this, this.
|
|
71
|
-
var b = this.
|
|
69
|
+
if (this.y != null) {
|
|
70
|
+
var a = this.y;
|
|
71
|
+
a.changing = delegateRemove(a.changing, runOn(this, this.ac));
|
|
72
|
+
var b = this.y;
|
|
72
73
|
b.keyDown = delegateRemove(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
73
|
-
var c = this.
|
|
74
|
-
c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.
|
|
75
|
-
var d = this.
|
|
76
|
-
d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.
|
|
77
|
-
var e = this.
|
|
78
|
-
e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.
|
|
74
|
+
var c = this.y;
|
|
75
|
+
c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.ab));
|
|
76
|
+
var d = this.y;
|
|
77
|
+
d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.ad));
|
|
78
|
+
var e = this.y;
|
|
79
|
+
e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.ae));
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
TextEditorView.prototype.onTargetChanged = function () {
|
|
82
|
-
this.
|
|
83
|
-
if (this.
|
|
83
|
+
this.aa = null;
|
|
84
|
+
if (this.y != null) {
|
|
84
85
|
this.focus();
|
|
85
86
|
}
|
|
86
87
|
};
|
|
@@ -95,73 +96,79 @@ var TextEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
96
|
if (this.a.isEditRefocusDesired) {
|
|
96
97
|
var a = this.h.rootWrapper.getNativeElement();
|
|
97
98
|
if (a == document.activeElement || a.contains(document.activeElement)) {
|
|
98
|
-
this.
|
|
99
|
+
this.y.cp();
|
|
99
100
|
this.focus();
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
};
|
|
103
|
-
TextEditorView.prototype.
|
|
104
|
+
TextEditorView.prototype.s = function () {
|
|
104
105
|
var _this = this;
|
|
105
|
-
if (this.
|
|
106
|
-
this.
|
|
107
|
-
if (this.
|
|
108
|
-
window.setTimeout(function () { return _this.
|
|
106
|
+
if (this.y != null) {
|
|
107
|
+
this.y.focus(true);
|
|
108
|
+
if (this.y.b6 != "date") {
|
|
109
|
+
window.setTimeout(function () { return _this.y.dj(); }, 0);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
};
|
|
112
|
-
TextEditorView.prototype.
|
|
113
|
-
if (this.
|
|
113
|
+
TextEditorView.prototype.w = function () {
|
|
114
|
+
if (this.y != null) {
|
|
114
115
|
if (this.value != null) {
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
117
|
-
this.
|
|
116
|
+
this.aa = null;
|
|
117
|
+
this.y.cm = null;
|
|
118
|
+
this.y.cm = this.value.toString();
|
|
118
119
|
if (this.focusOnValueChanged) {
|
|
119
|
-
this.
|
|
120
|
+
this.s();
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
else {
|
|
123
|
-
this.
|
|
124
|
+
this.y.cm = null;
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
};
|
|
127
|
-
TextEditorView.prototype.
|
|
128
|
-
if (this.
|
|
129
|
-
this.
|
|
128
|
+
TextEditorView.prototype.r = function () {
|
|
129
|
+
if (this.z != null) {
|
|
130
|
+
this.z.disabled = !this.isEnabled;
|
|
130
131
|
}
|
|
131
|
-
if (this.
|
|
132
|
-
this.
|
|
132
|
+
if (this.y != null) {
|
|
133
|
+
this.y.disabled = !this.isEnabled;
|
|
133
134
|
}
|
|
134
135
|
};
|
|
135
|
-
TextEditorView.prototype.
|
|
136
|
-
|
|
136
|
+
TextEditorView.prototype.v = function () {
|
|
137
|
+
_super.prototype.v.call(this);
|
|
138
|
+
if (this.y != null) {
|
|
139
|
+
this.y.d1 = this.textColor;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
TextEditorView.prototype.ac = function (a, b) {
|
|
143
|
+
this.p();
|
|
137
144
|
if (b.isCompositionInProgress) {
|
|
138
145
|
return;
|
|
139
146
|
}
|
|
140
|
-
if (this.
|
|
141
|
-
this.
|
|
147
|
+
if (this.aa != null && this.aa != b.value) {
|
|
148
|
+
this.aa = null;
|
|
142
149
|
return;
|
|
143
150
|
}
|
|
144
|
-
this.
|
|
145
|
-
};
|
|
146
|
-
TextEditorView.prototype.y = function (a, b) {
|
|
147
|
-
this.x = b.value;
|
|
148
|
-
this.p(b.value, false);
|
|
151
|
+
this.q(b.value, false);
|
|
149
152
|
};
|
|
150
153
|
TextEditorView.prototype.ab = function (a, b) {
|
|
151
|
-
this.
|
|
154
|
+
this.aa = b.value;
|
|
155
|
+
this.q(b.value, false);
|
|
152
156
|
};
|
|
153
|
-
TextEditorView.prototype.
|
|
154
|
-
this.
|
|
157
|
+
TextEditorView.prototype.ae = function (a, b) {
|
|
158
|
+
this.o();
|
|
159
|
+
};
|
|
160
|
+
TextEditorView.prototype.ad = function (a, b) {
|
|
161
|
+
this.n();
|
|
155
162
|
};
|
|
156
163
|
TextEditorView.prototype.getEditorValue = function () {
|
|
157
|
-
if (this.
|
|
158
|
-
return this.
|
|
164
|
+
if (this.y != null) {
|
|
165
|
+
return this.y.cm;
|
|
159
166
|
}
|
|
160
167
|
return null;
|
|
161
168
|
};
|
|
162
169
|
TextEditorView.prototype.setEditorValue = function (a) {
|
|
163
|
-
if (this.
|
|
164
|
-
this.
|
|
170
|
+
if (this.y != null) {
|
|
171
|
+
this.y.cm = a;
|
|
165
172
|
}
|
|
166
173
|
};
|
|
167
174
|
TextEditorView.$t = markType(TextEditorView, 'TextEditorView', BaseEditorView.$);
|