igniteui-webcomponents-grids 4.2.2 → 4.2.4-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 +1132 -799
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CheckboxListView_combined.js +1 -0
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +400 -343
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +10 -10
- package/esm2015/lib/FilterCell.js +76 -60
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +49 -23
- package/esm2015/lib/ISummaryChooserView_combined.js +1 -0
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/TextEditorView.js +82 -75
- 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/CheckboxListView_combined.js +1 -0
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +407 -342
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +10 -10
- package/esm5/lib/FilterCell.js +80 -60
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +57 -23
- package/esm5/lib/ISummaryChooserView_combined.js +1 -0
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/TextEditorView.js +82 -75
- 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 +1076 -804
- package/fesm5/igniteui-webcomponents-grids.js +1132 -799
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -160
- package/grids/index.d.ts +2 -0
- package/grids/lib/igc-grid-base-directive.d.ts +14 -0
- 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-pivot-date-dimension.d.ts +1 -1
- package/grids/lib/igc-pivot-grid-column.d.ts +32 -0
- package/grids/lib/igc-pivot-grid-record.d.ts +28 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -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/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 +104 -95
- 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 +13 -8
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- 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
|
@@ -14,6 +14,7 @@ import { runOn, markType, enumGetBox, delegateRemove, delegateCombine } from "ig
|
|
|
14
14
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
15
15
|
import { Rect } from "igniteui-webcomponents-core";
|
|
16
16
|
import { GridColumnOptionsSectionBase } from "./GridColumnOptionsSectionBase";
|
|
17
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
17
18
|
import { ColumnSummaryDescription } from "./ColumnSummaryDescription";
|
|
18
19
|
import { stringFormat } from "igniteui-webcomponents-core";
|
|
19
20
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
@@ -48,18 +49,18 @@ var GridColumnSummaryOptionsView = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
48
49
|
this.o = ((function () { var d = GridColumnOptionsUtilities.f(_this.n, _this.e, GridColumnSummaryOptionsView.r, 1, _this.n.p, _this.n.j, new Size(1, 24, 24), a_1, b_1, _this.p, c_1, false, true); a_1 = d.p7; b_1 = d.p8; _this.p = d.p9; c_1 = d.p10; return d.ret; })());
|
|
49
50
|
c_1.setStyleProperty("transform", "rotate(-90deg)");
|
|
50
51
|
this.g.append(this.o);
|
|
51
|
-
this.n.
|
|
52
|
+
this.n.ck(a_1);
|
|
52
53
|
}
|
|
53
54
|
if (this.n.bx == null) {
|
|
54
55
|
var d = new SummaryChooser();
|
|
55
56
|
d.a2(this.e);
|
|
56
|
-
this.n.
|
|
57
|
+
this.n.co(d);
|
|
57
58
|
var e = this.e.createElement("div");
|
|
58
59
|
var f = this.e.getSubRenderer(e);
|
|
59
60
|
var g = new Popup();
|
|
60
61
|
g.provideRenderer(f);
|
|
61
62
|
g.appendPopupContent(d.c.container);
|
|
62
|
-
this.n.
|
|
63
|
+
this.n.cl(g);
|
|
63
64
|
}
|
|
64
65
|
document.addEventListener("mousedown", runOn(this, this.s), false);
|
|
65
66
|
};
|
|
@@ -103,7 +104,7 @@ var GridColumnSummaryOptionsView = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
103
104
|
return (window.innerWidth);
|
|
104
105
|
};
|
|
105
106
|
GridColumnSummaryOptionsView.prototype.s = function (e_) {
|
|
106
|
-
this.n.
|
|
107
|
+
this.n.cj();
|
|
107
108
|
};
|
|
108
109
|
GridColumnSummaryOptionsView.$t = markType(GridColumnSummaryOptionsView, 'GridColumnSummaryOptionsView', GridColumnOptionsViewBase.$);
|
|
109
110
|
GridColumnSummaryOptionsView.r = "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z";
|
|
@@ -124,6 +125,8 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
124
125
|
_this.b2 = 0;
|
|
125
126
|
_this.b1 = 0;
|
|
126
127
|
_this.b6 = 0;
|
|
128
|
+
_this.ct = BrushUtil.g(255, 24, 29, 31);
|
|
129
|
+
_this.cs = BrushUtil.g(255, 248, 248, 248);
|
|
127
130
|
return _this;
|
|
128
131
|
}
|
|
129
132
|
GridColumnSummaryOptions.prototype.f = function () {
|
|
@@ -143,9 +146,11 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
143
146
|
case "ActualSummaryListDensity":
|
|
144
147
|
case "BackgroundColor":
|
|
145
148
|
case "TextColor":
|
|
146
|
-
|
|
147
|
-
|
|
149
|
+
case "SummaryListTextColor":
|
|
150
|
+
case "SummaryListBackground":
|
|
151
|
+
this.cq();
|
|
148
152
|
this.cp();
|
|
153
|
+
this.cr();
|
|
149
154
|
break;
|
|
150
155
|
case "SummaryListDensity":
|
|
151
156
|
this.b3 = this.b5 == 0 ? this.q : this.b5;
|
|
@@ -358,47 +363,76 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
358
363
|
enumerable: true,
|
|
359
364
|
configurable: true
|
|
360
365
|
});
|
|
361
|
-
GridColumnSummaryOptions.prototype
|
|
366
|
+
Object.defineProperty(GridColumnSummaryOptions.prototype, "cv", {
|
|
367
|
+
get: function () {
|
|
368
|
+
return this.ct;
|
|
369
|
+
},
|
|
370
|
+
set: function (a) {
|
|
371
|
+
var b = this.ct;
|
|
372
|
+
this.ct = a;
|
|
373
|
+
if (b != this.ct) {
|
|
374
|
+
this.bc("SummaryListTextColor", b, this.ct);
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
enumerable: true,
|
|
378
|
+
configurable: true
|
|
379
|
+
});
|
|
380
|
+
Object.defineProperty(GridColumnSummaryOptions.prototype, "cu", {
|
|
381
|
+
get: function () {
|
|
382
|
+
return this.cs;
|
|
383
|
+
},
|
|
384
|
+
set: function (a) {
|
|
385
|
+
var b = this.cs;
|
|
386
|
+
this.cs = a;
|
|
387
|
+
if (b != this.cs) {
|
|
388
|
+
this.bc("SummaryListBackground", b, this.cs);
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
enumerable: true,
|
|
392
|
+
configurable: true
|
|
393
|
+
});
|
|
394
|
+
GridColumnSummaryOptions.prototype.cj = function () {
|
|
362
395
|
if (this.b0 != null && this.b0.t) {
|
|
363
396
|
this.b0.ao();
|
|
364
397
|
}
|
|
365
398
|
};
|
|
366
|
-
GridColumnSummaryOptions.prototype.
|
|
399
|
+
GridColumnSummaryOptions.prototype.ck = function (a) {
|
|
367
400
|
if (this.by != null) {
|
|
368
401
|
var b = this.by;
|
|
369
|
-
b.clicked = delegateRemove(b.clicked, runOn(this, this.
|
|
402
|
+
b.clicked = delegateRemove(b.clicked, runOn(this, this.cm));
|
|
370
403
|
}
|
|
371
404
|
this.by = a;
|
|
372
405
|
if (this.by != null) {
|
|
373
406
|
var c = this.by;
|
|
374
|
-
c.clicked = delegateCombine(c.clicked, runOn(this, this.
|
|
407
|
+
c.clicked = delegateCombine(c.clicked, runOn(this, this.cm));
|
|
375
408
|
}
|
|
376
|
-
this.
|
|
409
|
+
this.cp();
|
|
377
410
|
};
|
|
378
|
-
GridColumnSummaryOptions.prototype.
|
|
411
|
+
GridColumnSummaryOptions.prototype.cl = function (a) {
|
|
379
412
|
this.b0 = a;
|
|
380
|
-
this.
|
|
413
|
+
this.cr();
|
|
381
414
|
};
|
|
382
|
-
GridColumnSummaryOptions.prototype.
|
|
415
|
+
GridColumnSummaryOptions.prototype.co = function (a) {
|
|
383
416
|
if (this.bw != null) {
|
|
384
417
|
var b = this.bw;
|
|
385
|
-
b.summaryChanged = delegateRemove(b.summaryChanged, runOn(this, this.
|
|
418
|
+
b.summaryChanged = delegateRemove(b.summaryChanged, runOn(this, this.cn));
|
|
386
419
|
}
|
|
387
420
|
this.bw = a;
|
|
388
421
|
if (this.bw != null) {
|
|
389
422
|
var c = this.bw;
|
|
390
|
-
c.summaryChanged = delegateCombine(c.summaryChanged, runOn(this, this.
|
|
423
|
+
c.summaryChanged = delegateCombine(c.summaryChanged, runOn(this, this.cn));
|
|
391
424
|
}
|
|
392
|
-
this.
|
|
425
|
+
this.cq();
|
|
393
426
|
};
|
|
394
|
-
GridColumnSummaryOptions.prototype.
|
|
427
|
+
GridColumnSummaryOptions.prototype.cq = function () {
|
|
395
428
|
if (this.bw != null) {
|
|
396
429
|
this.bw.j = this.i;
|
|
397
430
|
this.bw.n = this.b3;
|
|
398
|
-
this.bw.ba = this.
|
|
431
|
+
this.bw.ba = this.cv;
|
|
432
|
+
this.bw.a9 = this.cu;
|
|
399
433
|
}
|
|
400
434
|
};
|
|
401
|
-
GridColumnSummaryOptions.prototype.
|
|
435
|
+
GridColumnSummaryOptions.prototype.cp = function () {
|
|
402
436
|
if (this.by != null) {
|
|
403
437
|
this.by.ef = 0;
|
|
404
438
|
this.by.ak = false;
|
|
@@ -406,13 +440,13 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
406
440
|
this.bh(this.by);
|
|
407
441
|
}
|
|
408
442
|
};
|
|
409
|
-
GridColumnSummaryOptions.prototype.
|
|
443
|
+
GridColumnSummaryOptions.prototype.cr = function () {
|
|
410
444
|
if (this.b0 != null) {
|
|
411
445
|
this.b0.a8 = this.bo;
|
|
412
446
|
this.b0.q = false;
|
|
413
447
|
}
|
|
414
448
|
};
|
|
415
|
-
GridColumnSummaryOptions.prototype.
|
|
449
|
+
GridColumnSummaryOptions.prototype.cm = function (a, b) {
|
|
416
450
|
if (this.b0 == null) {
|
|
417
451
|
return;
|
|
418
452
|
}
|
|
@@ -435,7 +469,7 @@ var GridColumnSummaryOptions = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
435
469
|
this.b0.showRelativeToExclusionRect(d, 1, 0);
|
|
436
470
|
}
|
|
437
471
|
};
|
|
438
|
-
GridColumnSummaryOptions.prototype.
|
|
472
|
+
GridColumnSummaryOptions.prototype.cn = function (a, b) {
|
|
439
473
|
if (b.a) {
|
|
440
474
|
this.b7++;
|
|
441
475
|
}
|
|
@@ -15,15 +15,15 @@ var NumericEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
15
15
|
tslib_1.__extends(NumericEditorView, _super);
|
|
16
16
|
function NumericEditorView(a, b, c) {
|
|
17
17
|
var _this = _super.call(this, a, b, c) || this;
|
|
18
|
-
_this.
|
|
18
|
+
_this.y.b6 = "number";
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
21
|
NumericEditorView.prototype.getEditorValue = function () {
|
|
22
|
-
if (this.
|
|
22
|
+
if (this.y == null || this.y.cm == null) {
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
25
|
var a = NaN;
|
|
26
|
-
var b = tryParseNumber(this.
|
|
26
|
+
var b = tryParseNumber(this.y.cm, a);
|
|
27
27
|
a = b.p1;
|
|
28
28
|
return a;
|
|
29
29
|
};
|
|
@@ -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.$);
|