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
|
@@ -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) {
|
|
@@ -15,9 +15,9 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class TextEditorView extends BaseEditorView {
|
|
16
16
|
constructor(a, b, c) {
|
|
17
17
|
super(a, c);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
18
|
+
this.aa = null;
|
|
19
|
+
this.z = null;
|
|
20
|
+
this.y = null;
|
|
21
21
|
let d = a.createElement("div");
|
|
22
22
|
d.setRawStyleProperty("display", "flex");
|
|
23
23
|
d.setRawStyleProperty("width", "100%");
|
|
@@ -25,60 +25,61 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
25
25
|
d.setRawStyleProperty("height", "38px");
|
|
26
26
|
this.container = d;
|
|
27
27
|
let e = a.getSubRenderer(d);
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
let f = e.getExternal(this.
|
|
28
|
+
this.z = new XInputGroup();
|
|
29
|
+
this.z.provideContainer(e);
|
|
30
|
+
this.z.d = 0;
|
|
31
|
+
this.z.j = b;
|
|
32
|
+
this.z.n = 3;
|
|
33
|
+
this.z.disabled = !this.isEnabled;
|
|
34
|
+
let f = e.getExternal(this.z, e.rootWrapper, null);
|
|
35
35
|
let g = a.createElement("div");
|
|
36
36
|
g.setRawStyleProperty("width", "100%");
|
|
37
37
|
let h = a.getSubRenderer(g);
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
42
|
-
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
38
|
+
this.y = new XInput();
|
|
39
|
+
this.y.provideContainer(h);
|
|
40
|
+
this.y.b6 = "text";
|
|
41
|
+
this.y.disabled = !this.isEnabled;
|
|
42
|
+
this.y.d1 = this.textColor;
|
|
43
|
+
let i = e.getExternal(this.y, h.rootWrapper, null);
|
|
44
|
+
this.z.appendContentChild(g);
|
|
45
|
+
this.z.inputs.add(this.y);
|
|
45
46
|
}
|
|
46
47
|
setFont(a) {
|
|
47
|
-
if (this.
|
|
48
|
-
this.
|
|
48
|
+
if (this.y != null) {
|
|
49
|
+
this.y.af = a;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
attachEvents() {
|
|
52
|
-
if (this.
|
|
53
|
-
let a = this.
|
|
54
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
55
|
-
let b = this.
|
|
53
|
+
if (this.y != null) {
|
|
54
|
+
let a = this.y;
|
|
55
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.ac));
|
|
56
|
+
let b = this.y;
|
|
56
57
|
b.keyDown = delegateCombine(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
57
|
-
let c = this.
|
|
58
|
-
c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.
|
|
59
|
-
let d = this.
|
|
60
|
-
d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.
|
|
61
|
-
let e = this.
|
|
62
|
-
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.
|
|
58
|
+
let c = this.y;
|
|
59
|
+
c.compositionEnd = delegateCombine(c.compositionEnd, runOn(this, this.ab));
|
|
60
|
+
let d = this.y;
|
|
61
|
+
d.gotFocus = delegateCombine(d.gotFocus, runOn(this, this.ad));
|
|
62
|
+
let e = this.y;
|
|
63
|
+
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ae));
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
detachEvents() {
|
|
66
|
-
if (this.
|
|
67
|
-
let a = this.
|
|
68
|
-
a.changing = delegateRemove(a.changing, runOn(this, this.
|
|
69
|
-
let b = this.
|
|
67
|
+
if (this.y != null) {
|
|
68
|
+
let a = this.y;
|
|
69
|
+
a.changing = delegateRemove(a.changing, runOn(this, this.ac));
|
|
70
|
+
let b = this.y;
|
|
70
71
|
b.keyDown = delegateRemove(b.keyDown, runOn(this, this.onInputKeyDown));
|
|
71
|
-
let c = this.
|
|
72
|
-
c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.
|
|
73
|
-
let d = this.
|
|
74
|
-
d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.
|
|
75
|
-
let e = this.
|
|
76
|
-
e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.
|
|
72
|
+
let c = this.y;
|
|
73
|
+
c.compositionEnd = delegateRemove(c.compositionEnd, runOn(this, this.ab));
|
|
74
|
+
let d = this.y;
|
|
75
|
+
d.gotFocus = delegateRemove(d.gotFocus, runOn(this, this.ad));
|
|
76
|
+
let e = this.y;
|
|
77
|
+
e.lostFocus = delegateRemove(e.lostFocus, runOn(this, this.ae));
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
onTargetChanged() {
|
|
80
|
-
this.
|
|
81
|
-
if (this.
|
|
81
|
+
this.aa = null;
|
|
82
|
+
if (this.y != null) {
|
|
82
83
|
this.focus();
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -93,72 +94,78 @@ export let TextEditorView = /*@__PURE__*/ (() => {
|
|
|
93
94
|
if (this.a.isEditRefocusDesired) {
|
|
94
95
|
let a = this.h.rootWrapper.getNativeElement();
|
|
95
96
|
if (a == document.activeElement || a.contains(document.activeElement)) {
|
|
96
|
-
this.
|
|
97
|
+
this.y.cp();
|
|
97
98
|
this.focus();
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
|
-
|
|
102
|
-
if (this.
|
|
103
|
-
this.
|
|
104
|
-
if (this.
|
|
105
|
-
window.setTimeout(() => this.
|
|
102
|
+
s() {
|
|
103
|
+
if (this.y != null) {
|
|
104
|
+
this.y.focus(true);
|
|
105
|
+
if (this.y.b6 != "date") {
|
|
106
|
+
window.setTimeout(() => this.y.dj(), 0);
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
|
-
|
|
110
|
-
if (this.
|
|
110
|
+
w() {
|
|
111
|
+
if (this.y != null) {
|
|
111
112
|
if (this.value != null) {
|
|
112
|
-
this.
|
|
113
|
-
this.
|
|
114
|
-
this.
|
|
113
|
+
this.aa = null;
|
|
114
|
+
this.y.cm = null;
|
|
115
|
+
this.y.cm = this.value.toString();
|
|
115
116
|
if (this.focusOnValueChanged) {
|
|
116
|
-
this.
|
|
117
|
+
this.s();
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
120
|
else {
|
|
120
|
-
this.
|
|
121
|
+
this.y.cm = null;
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
if (this.
|
|
126
|
-
this.
|
|
125
|
+
r() {
|
|
126
|
+
if (this.z != null) {
|
|
127
|
+
this.z.disabled = !this.isEnabled;
|
|
127
128
|
}
|
|
128
|
-
if (this.
|
|
129
|
-
this.
|
|
129
|
+
if (this.y != null) {
|
|
130
|
+
this.y.disabled = !this.isEnabled;
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
v() {
|
|
134
|
+
super.v();
|
|
135
|
+
if (this.y != null) {
|
|
136
|
+
this.y.d1 = this.textColor;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
ac(a, b) {
|
|
140
|
+
this.p();
|
|
134
141
|
if (b.isCompositionInProgress) {
|
|
135
142
|
return;
|
|
136
143
|
}
|
|
137
|
-
if (this.
|
|
138
|
-
this.
|
|
144
|
+
if (this.aa != null && this.aa != b.value) {
|
|
145
|
+
this.aa = null;
|
|
139
146
|
return;
|
|
140
147
|
}
|
|
141
|
-
this.
|
|
142
|
-
}
|
|
143
|
-
y(a, b) {
|
|
144
|
-
this.x = b.value;
|
|
145
|
-
this.p(b.value, false);
|
|
148
|
+
this.q(b.value, false);
|
|
146
149
|
}
|
|
147
150
|
ab(a, b) {
|
|
148
|
-
this.
|
|
151
|
+
this.aa = b.value;
|
|
152
|
+
this.q(b.value, false);
|
|
149
153
|
}
|
|
150
|
-
|
|
151
|
-
this.
|
|
154
|
+
ae(a, b) {
|
|
155
|
+
this.o();
|
|
156
|
+
}
|
|
157
|
+
ad(a, b) {
|
|
158
|
+
this.n();
|
|
152
159
|
}
|
|
153
160
|
getEditorValue() {
|
|
154
|
-
if (this.
|
|
155
|
-
return this.
|
|
161
|
+
if (this.y != null) {
|
|
162
|
+
return this.y.cm;
|
|
156
163
|
}
|
|
157
164
|
return null;
|
|
158
165
|
}
|
|
159
166
|
setEditorValue(a) {
|
|
160
|
-
if (this.
|
|
161
|
-
this.
|
|
167
|
+
if (this.y != null) {
|
|
168
|
+
this.y.cm = a;
|
|
162
169
|
}
|
|
163
170
|
}
|
|
164
171
|
}
|