igniteui-webcomponents-grids 1.4.2 → 3.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 +16049 -15259
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BrowserExecutionContext.js +3 -1
- package/esm2015/lib/CanvasGridCellBase.js +6 -6
- package/esm2015/lib/CanvasSummaryCell.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +31 -31
- package/esm2015/lib/ColumnChooserView_combined.js +10 -10
- package/esm2015/lib/ColumnFilterCondition_combined.js +5546 -4404
- package/esm2015/lib/ColumnGroupingView_combined.js +186 -168
- package/esm2015/lib/ColumnPinningView_combined.js +6 -6
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +13 -13
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +25 -25
- package/esm2015/lib/DataGridLocaleEn.js +1 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +294 -223
- package/esm2015/lib/DraggerView.js +8 -8
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +45 -26
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +8 -11
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +5 -5
- package/esm2015/lib/HorizontalPropertyEditorDataSource.js +2 -2
- package/esm2015/lib/{PropertyEditorDescriptionObjectCollection.js → IDataGridComponent.js} +5 -1
- package/esm2015/lib/IToolbarVisualModelExport.js +11 -0
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +314 -302
- package/esm2015/lib/MultiColumnComboVisualModelExport.js +2 -2
- package/esm2015/lib/PageChangedEventArgs.js +33 -0
- package/esm2015/lib/{PropertyEditorDataSource.js → PagedDataProvider.js} +1 -1
- package/{esm5/lib/PropertyEditorDataSource.js → esm2015/lib/Pager.js} +1 -1
- package/esm2015/lib/{PropertyEditorDescriptionObject.js → PagerDataSourceNotificationBridge.js} +1 -1
- package/{esm5/lib/PropertyEditorDescriptionObject.js → esm2015/lib/PagerGridDataSourceNotificationBridge.js} +1 -1
- package/esm2015/lib/PagerView.js +7 -0
- package/esm2015/lib/PagerVisualModelExport.js +82 -0
- package/esm2015/lib/PropertyEditorView_combined.js +145 -145
- package/esm2015/lib/TemplateCell.js +1 -1
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/{PropertyEditorPropertyDescriptionChangedEventArgs.js → ToolbarVisualModelExport.js} +9 -5
- package/esm2015/lib/VisualModelExport.js +77 -69
- package/esm2015/lib/igc-column-component.js +133 -113
- package/esm2015/lib/igc-column-grouping-component.js +33 -23
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-component.js +588 -413
- package/esm2015/lib/igc-data-grid-module.js +4 -0
- package/esm2015/lib/igc-data-grid-pager-component.js +368 -0
- package/esm2015/lib/{igc-property-editor-property-description-module.js → igc-data-grid-pager-module.js} +6 -6
- package/esm2015/lib/igc-data-grid-toolbar-component.js +94 -35
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-horizontal-property-editor-data-source.js +2 -2
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-multi-column-combo-box-component.js +146 -140
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-page-changed-event-args.js +46 -0
- package/esm2015/lib/igc-property-editor-component.js +7 -7
- package/esm2015/lib/igc-property-editor-module.js +1 -1
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/public_api.js +14 -20
- package/esm5/lib/BrowserExecutionContext.js +3 -1
- package/esm5/lib/CanvasGridCellBase.js +6 -6
- package/esm5/lib/CanvasSummaryCell.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +31 -31
- package/esm5/lib/ColumnChooserView_combined.js +10 -10
- package/esm5/lib/ColumnFilterCondition_combined.js +5514 -4226
- package/esm5/lib/ColumnGroupingView_combined.js +188 -162
- package/esm5/lib/ColumnPinningView_combined.js +6 -6
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +13 -13
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +25 -25
- package/esm5/lib/DataGridLocaleEn.js +1 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +295 -220
- package/esm5/lib/DraggerView.js +8 -8
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +45 -26
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnPinOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +8 -11
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +5 -5
- package/esm5/lib/HorizontalPropertyEditorDataSource.js +2 -2
- package/{esm2015/lib/PropertyEditorPropertyDescription.js → esm5/lib/IDataGridComponent.js} +5 -1
- package/esm5/lib/IToolbarVisualModelExport.js +11 -0
- package/esm5/lib/MultiColumnComboBoxView_combined.js +297 -285
- package/esm5/lib/MultiColumnComboVisualModelExport.js +2 -2
- package/esm5/lib/PageChangedEventArgs.js +43 -0
- package/esm5/lib/PagedDataProvider.js +7 -0
- package/esm5/lib/Pager.js +7 -0
- package/esm5/lib/PagerDataSourceNotificationBridge.js +7 -0
- package/esm5/lib/PagerGridDataSourceNotificationBridge.js +7 -0
- package/esm5/lib/PagerView.js +7 -0
- package/esm5/lib/PagerVisualModelExport.js +84 -0
- package/esm5/lib/PropertyEditorView_combined.js +144 -144
- package/esm5/lib/TemplateCell.js +1 -1
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/ToolbarVisualModelExport.js +24 -0
- package/esm5/lib/VisualModelExport.js +77 -69
- package/esm5/lib/igc-column-component.js +141 -113
- package/esm5/lib/igc-column-grouping-component.js +35 -21
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-component.js +636 -413
- package/esm5/lib/igc-data-grid-module.js +4 -0
- package/esm5/lib/igc-data-grid-pager-component.js +435 -0
- package/esm5/lib/igc-data-grid-pager-module.js +20 -0
- package/esm5/lib/igc-data-grid-toolbar-component.js +110 -35
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-horizontal-property-editor-data-source.js +2 -2
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-multi-column-combo-box-component.js +147 -141
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-page-changed-event-args.js +60 -0
- package/esm5/lib/igc-property-editor-component.js +7 -7
- package/esm5/lib/igc-property-editor-module.js +1 -1
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/public_api.js +14 -20
- package/fesm2015/igniteui-webcomponents-grids.js +17478 -16796
- package/fesm5/igniteui-webcomponents-grids.js +16939 -16142
- package/lib/ColumnFilterCondition_combined.d.ts +1025 -824
- package/lib/ColumnGroupingView_combined.d.ts +44 -41
- package/lib/DataGridLocaleEn.d.ts +1 -0
- package/lib/DataGridToolbarView_combined.d.ts +50 -41
- package/lib/GridColumnGroupOptionsView_combined.d.ts +1 -1
- package/lib/HorizontalPropertyEditorDataSource.d.ts +1 -1
- package/lib/IDataGridComponent.d.ts +12 -0
- package/lib/IToolbarVisualModelExport.d.ts +11 -0
- package/lib/MultiColumnComboBoxView_combined.d.ts +78 -76
- package/lib/PageChangedEventArgs.d.ts +11 -0
- package/lib/PagedDataProvider.d.ts +1 -0
- package/lib/Pager.d.ts +1 -0
- package/lib/PagerDataSourceNotificationBridge.d.ts +1 -0
- package/lib/PagerGridDataSourceNotificationBridge.d.ts +1 -0
- package/lib/PagerView.d.ts +1 -0
- package/lib/PagerVisualModelExport.d.ts +25 -0
- package/lib/PropertyEditorView_combined.d.ts +10 -10
- package/lib/ToolbarVisualModelExport.d.ts +9 -0
- package/lib/VisualModelExport.d.ts +21 -17
- package/lib/igc-column-component.d.ts +9 -1
- package/lib/igc-column-grouping-component.d.ts +8 -4
- package/lib/igc-data-grid-component.d.ts +56 -0
- package/lib/igc-data-grid-pager-component.d.ts +101 -0
- package/lib/igc-data-grid-pager-module.d.ts +3 -0
- package/lib/igc-data-grid-toolbar-component.d.ts +15 -0
- package/lib/igc-horizontal-property-editor-data-source.d.ts +2 -2
- package/lib/igc-multi-column-combo-box-component.d.ts +1 -0
- package/lib/igc-page-changed-event-args.d.ts +20 -0
- package/lib/igc-property-editor-component.d.ts +2 -2
- package/package.json +5 -5
- package/public_api.d.ts +14 -20
- package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -16
- package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
- package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -40
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +0 -463
- package/esm2015/lib/PropertyEditorTreeTransformer.js +0 -207
- package/esm2015/lib/PropertyEditorValueType.js +0 -35
- package/esm2015/lib/igc-property-editor-data-source.js +0 -39
- package/esm2015/lib/igc-property-editor-description-object-collection.js +0 -48
- package/esm2015/lib/igc-property-editor-description-object.js +0 -70
- package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +0 -24
- package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +0 -24
- package/esm2015/lib/igc-property-editor-property-description-collection.js +0 -48
- package/esm2015/lib/igc-property-editor-property-description-component.js +0 -372
- package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -42
- package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescription.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -20
- package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +0 -20
- package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -54
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +0 -525
- package/esm5/lib/PropertyEditorTreeTransformer.js +0 -209
- package/esm5/lib/PropertyEditorValueType.js +0 -35
- package/esm5/lib/igc-property-editor-data-source.js +0 -53
- package/esm5/lib/igc-property-editor-description-object-collection.js +0 -53
- package/esm5/lib/igc-property-editor-description-object.js +0 -84
- package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +0 -30
- package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +0 -30
- package/esm5/lib/igc-property-editor-property-description-collection.js +0 -53
- package/esm5/lib/igc-property-editor-property-description-component.js +0 -445
- package/esm5/lib/igc-property-editor-property-description-module.js +0 -20
- package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -60
- package/lib/PropertyEditorDataSource.d.ts +0 -1
- package/lib/PropertyEditorDescriptionObject.d.ts +0 -1
- package/lib/PropertyEditorDescriptionObjectCollection.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescription.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +0 -7
- package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +0 -7
- package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +0 -13
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +0 -88
- package/lib/PropertyEditorTreeTransformer.d.ts +0 -17
- package/lib/PropertyEditorValueType.d.ts +0 -28
- package/lib/igc-property-editor-data-source.d.ts +0 -16
- package/lib/igc-property-editor-description-object-collection.d.ts +0 -8
- package/lib/igc-property-editor-description-object.d.ts +0 -17
- package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +0 -12
- package/lib/igc-property-editor-property-description-changed-event-args.d.ts +0 -12
- package/lib/igc-property-editor-property-description-collection.d.ts +0 -8
- package/lib/igc-property-editor-property-description-component.d.ts +0 -65
- package/lib/igc-property-editor-property-description-module.d.ts +0 -3
- package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +0 -15
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
-
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
-
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
-
*/
|
|
7
|
-
import * as tslib_1 from "tslib";
|
|
8
|
-
import { Base, Number_$type, String_$type, typeCast, markType } from "igniteui-webcomponents-core";
|
|
9
|
-
import { DescriptionTreeNode } from "igniteui-webcomponents-core";
|
|
10
|
-
import { JsonDictionaryObject } from "igniteui-webcomponents-core";
|
|
11
|
-
import { List$1 } from "igniteui-webcomponents-core";
|
|
12
|
-
import { DescriptionSerializerBuilder } from "igniteui-webcomponents-core";
|
|
13
|
-
import { DescriptionSerializer } from "igniteui-webcomponents-core";
|
|
14
|
-
import { stringSplit } from "igniteui-webcomponents-core";
|
|
15
|
-
import { stringContains, stringReplace, stringJoin } from "igniteui-webcomponents-core";
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
var PropertyEditorTreeTransformer = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
20
|
-
tslib_1.__extends(PropertyEditorTreeTransformer, _super);
|
|
21
|
-
function PropertyEditorTreeTransformer(a, b) {
|
|
22
|
-
var _this = _super.call(this) || this;
|
|
23
|
-
_this.a = new DescriptionTreeNode();
|
|
24
|
-
_this.b = null;
|
|
25
|
-
_this.b = a;
|
|
26
|
-
_this.a = new DescriptionTreeNode();
|
|
27
|
-
_this.a.h = b;
|
|
28
|
-
var c = new JsonDictionaryObject();
|
|
29
|
-
return _this;
|
|
30
|
-
}
|
|
31
|
-
PropertyEditorTreeTransformer.prototype.h = function (a, b, c) {
|
|
32
|
-
if (a == null) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
this.c(a, b, this.a, c, null);
|
|
36
|
-
};
|
|
37
|
-
PropertyEditorTreeTransformer.prototype.c = function (a, b, c, d, e) {
|
|
38
|
-
if (a == null) {
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
var f = stringSplit(a, ['.', '['], 0);
|
|
42
|
-
var g = f[0];
|
|
43
|
-
var h = f.length > 1;
|
|
44
|
-
var i = false;
|
|
45
|
-
var j = new List$1(Number_$type, 0);
|
|
46
|
-
var k = new List$1(String_$type, 0);
|
|
47
|
-
if (stringContains(g, "]")) {
|
|
48
|
-
i = true;
|
|
49
|
-
g = stringReplace(g, "]", "");
|
|
50
|
-
var l = g.split(',');
|
|
51
|
-
for (var m = 0; m < l.length; m++) {
|
|
52
|
-
var n = l[m];
|
|
53
|
-
if (stringContains(n, "as")) {
|
|
54
|
-
var o = n.indexOf("as");
|
|
55
|
-
var p = n.substr(0, o).trim();
|
|
56
|
-
var q = n.substr(o + 2).trim();
|
|
57
|
-
j.add(parseInt(p));
|
|
58
|
-
k.add(q);
|
|
59
|
-
d = q;
|
|
60
|
-
g = p;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
var r = null;
|
|
65
|
-
if (!i) {
|
|
66
|
-
r = this.b.getMetadata(d, g);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
r = e;
|
|
70
|
-
}
|
|
71
|
-
if (h) {
|
|
72
|
-
if (i) {
|
|
73
|
-
var s = c.b;
|
|
74
|
-
for (var t = 0; t < j.count; t++) {
|
|
75
|
-
g = j._inner[t].toString();
|
|
76
|
-
var u = k._inner[t];
|
|
77
|
-
var v = parseInt(stringReplace(stringReplace(g, "[", ""), "]", ""));
|
|
78
|
-
{
|
|
79
|
-
var w = new List$1(Base.$, 0);
|
|
80
|
-
for (var x = 0; x <= v; x++) {
|
|
81
|
-
if (s != null && x < s.length) {
|
|
82
|
-
var y = s[x];
|
|
83
|
-
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
84
|
-
y.h = u;
|
|
85
|
-
}
|
|
86
|
-
w.add1(y);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
var z = this.d(e, true, u);
|
|
90
|
-
if (z != null) {
|
|
91
|
-
w.add1(z);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
s = w.toArray();
|
|
96
|
-
var aa = s[v];
|
|
97
|
-
var ab = new List$1(String_$type, 1, f);
|
|
98
|
-
ab.removeAt(0);
|
|
99
|
-
var ac = r.collectionElementType;
|
|
100
|
-
if (u != null) {
|
|
101
|
-
ac = u;
|
|
102
|
-
}
|
|
103
|
-
var ad = this.c(stringJoin.apply(void 0, tslib_1.__spread(["."], ab.toArray())), b, aa, ac, r);
|
|
104
|
-
if (ad != null) {
|
|
105
|
-
s[v] = ad;
|
|
106
|
-
}
|
|
107
|
-
c.b = s;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
var ae = c;
|
|
113
|
-
if (!ae.b(g)) {
|
|
114
|
-
ae.n(g, this.d(r, false, null), r);
|
|
115
|
-
}
|
|
116
|
-
var af = ae.a(g);
|
|
117
|
-
var ag = new List$1(String_$type, 1, f);
|
|
118
|
-
ag.removeAt(0);
|
|
119
|
-
var ah = this.c(stringJoin.apply(void 0, tslib_1.__spread(["."], ag.toArray())), b, af, r.specificExternalType, r);
|
|
120
|
-
if (ah != null) {
|
|
121
|
-
ae.n(g, ah, r);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
var ai = c;
|
|
127
|
-
ai.n(g, this.e(b, r), r);
|
|
128
|
-
}
|
|
129
|
-
return null;
|
|
130
|
-
};
|
|
131
|
-
PropertyEditorTreeTransformer.prototype.f = function (a) {
|
|
132
|
-
if (a == null) {
|
|
133
|
-
return null;
|
|
134
|
-
}
|
|
135
|
-
if (a.length < 1) {
|
|
136
|
-
return "";
|
|
137
|
-
}
|
|
138
|
-
return a.substr(0, 1).toLowerCase() + a.substr(1);
|
|
139
|
-
};
|
|
140
|
-
PropertyEditorTreeTransformer.prototype.e = function (a, b) {
|
|
141
|
-
if (a == null) {
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
if (b == null) {
|
|
145
|
-
return null;
|
|
146
|
-
}
|
|
147
|
-
switch (b.knownType) {
|
|
148
|
-
case 10: return a;
|
|
149
|
-
case 7: return a;
|
|
150
|
-
case 4: return a.toString();
|
|
151
|
-
case 6: return a;
|
|
152
|
-
case 9: return a;
|
|
153
|
-
case 5: return a.toString();
|
|
154
|
-
case 16: return a;
|
|
155
|
-
case 20: return a;
|
|
156
|
-
case 15: return a;
|
|
157
|
-
case 3: return a;
|
|
158
|
-
case 19: return a;
|
|
159
|
-
case 8: return a;
|
|
160
|
-
case 13: return a;
|
|
161
|
-
case 18: return a;
|
|
162
|
-
case 1: return a;
|
|
163
|
-
case 11: return a;
|
|
164
|
-
case 14: return a;
|
|
165
|
-
case 12: return a;
|
|
166
|
-
case 2: return a;
|
|
167
|
-
case 21: return a;
|
|
168
|
-
case 17: return a;
|
|
169
|
-
case 0: return a;
|
|
170
|
-
}
|
|
171
|
-
return null;
|
|
172
|
-
};
|
|
173
|
-
PropertyEditorTreeTransformer.prototype.d = function (a, b, c) {
|
|
174
|
-
if (!b && (a.knownType == 10 || a.knownType == 9)) {
|
|
175
|
-
return new Array(0);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
var d = new DescriptionTreeNode();
|
|
179
|
-
if (c != null) {
|
|
180
|
-
d.h = c;
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
d.h = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
184
|
-
}
|
|
185
|
-
return d;
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
PropertyEditorTreeTransformer.prototype.g = function () {
|
|
189
|
-
var a = new DescriptionSerializerBuilder();
|
|
190
|
-
var b = new DescriptionSerializer();
|
|
191
|
-
var c = "root";
|
|
192
|
-
a.f("{");
|
|
193
|
-
a.i();
|
|
194
|
-
a.f("\"descriptions\": {");
|
|
195
|
-
a.i();
|
|
196
|
-
a.e("\"" + c + "\"");
|
|
197
|
-
a.e(": ");
|
|
198
|
-
b.s(this.b, this.a, a);
|
|
199
|
-
a.f("");
|
|
200
|
-
a.h();
|
|
201
|
-
a.e("}");
|
|
202
|
-
a.h();
|
|
203
|
-
a.f("}");
|
|
204
|
-
return a.toString();
|
|
205
|
-
};
|
|
206
|
-
PropertyEditorTreeTransformer.$t = markType(PropertyEditorTreeTransformer, 'PropertyEditorTreeTransformer');
|
|
207
|
-
return PropertyEditorTreeTransformer;
|
|
208
|
-
}(Base));
|
|
209
|
-
export { PropertyEditorTreeTransformer };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
-
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
-
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
-
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
-
*/
|
|
7
|
-
import { markEnum } from "igniteui-webcomponents-core";
|
|
8
|
-
export var PropertyEditorValueType = /*@__PURE__*/ (function (PropertyEditorValueType) {
|
|
9
|
-
PropertyEditorValueType[PropertyEditorValueType["Unhandled"] = 0] = "Unhandled";
|
|
10
|
-
PropertyEditorValueType[PropertyEditorValueType["Number"] = 1] = "Number";
|
|
11
|
-
PropertyEditorValueType[PropertyEditorValueType["StringValue"] = 2] = "StringValue";
|
|
12
|
-
PropertyEditorValueType[PropertyEditorValueType["Date"] = 3] = "Date";
|
|
13
|
-
PropertyEditorValueType[PropertyEditorValueType["Brush"] = 4] = "Brush";
|
|
14
|
-
PropertyEditorValueType[PropertyEditorValueType["Color"] = 5] = "Color";
|
|
15
|
-
PropertyEditorValueType[PropertyEditorValueType["BrushCollection"] = 6] = "BrushCollection";
|
|
16
|
-
PropertyEditorValueType[PropertyEditorValueType["boolean1"] = 7] = "boolean1";
|
|
17
|
-
PropertyEditorValueType[PropertyEditorValueType["SubType"] = 8] = "SubType";
|
|
18
|
-
PropertyEditorValueType[PropertyEditorValueType["Collection"] = 9] = "Collection";
|
|
19
|
-
PropertyEditorValueType[PropertyEditorValueType["Array"] = 10] = "Array";
|
|
20
|
-
PropertyEditorValueType[PropertyEditorValueType["Point"] = 11] = "Point";
|
|
21
|
-
PropertyEditorValueType[PropertyEditorValueType["Size"] = 12] = "Size";
|
|
22
|
-
PropertyEditorValueType[PropertyEditorValueType["Rect"] = 13] = "Rect";
|
|
23
|
-
PropertyEditorValueType[PropertyEditorValueType["ColorCollection"] = 14] = "ColorCollection";
|
|
24
|
-
PropertyEditorValueType[PropertyEditorValueType["EnumValue"] = 15] = "EnumValue";
|
|
25
|
-
PropertyEditorValueType[PropertyEditorValueType["MethodRef"] = 16] = "MethodRef";
|
|
26
|
-
PropertyEditorValueType[PropertyEditorValueType["EventRef"] = 17] = "EventRef";
|
|
27
|
-
PropertyEditorValueType[PropertyEditorValueType["DataRef"] = 18] = "DataRef";
|
|
28
|
-
PropertyEditorValueType[PropertyEditorValueType["TimeSpan"] = 19] = "TimeSpan";
|
|
29
|
-
PropertyEditorValueType[PropertyEditorValueType["Button"] = 20] = "Button";
|
|
30
|
-
return PropertyEditorValueType;
|
|
31
|
-
})({});
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*/
|
|
35
|
-
export var PropertyEditorValueType_$type = /*@__PURE__*/ markEnum('PropertyEditorValueType', 'Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20');
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PropertyEditorDataSource as PropertyEditorDataSource_internal } from "./PropertyEditorDataSource";
|
|
2
|
-
var IgcPropertyEditorDataSource = /** @class */ /*@__PURE__*/ (function () {
|
|
3
|
-
function IgcPropertyEditorDataSource() {
|
|
4
|
-
this._implementation = this.createImplementation();
|
|
5
|
-
this._implementation.externalObject = this;
|
|
6
|
-
this.onImplementationCreated();
|
|
7
|
-
}
|
|
8
|
-
IgcPropertyEditorDataSource.prototype.createImplementation = function () {
|
|
9
|
-
return new PropertyEditorDataSource_internal();
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(IgcPropertyEditorDataSource.prototype, "i", {
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
get: function () {
|
|
16
|
-
return this._implementation;
|
|
17
|
-
},
|
|
18
|
-
enumerable: true,
|
|
19
|
-
configurable: true
|
|
20
|
-
});
|
|
21
|
-
IgcPropertyEditorDataSource.prototype.onImplementationCreated = function () {
|
|
22
|
-
};
|
|
23
|
-
IgcPropertyEditorDataSource.prototype._provideImplementation = function (i) {
|
|
24
|
-
this._implementation = i;
|
|
25
|
-
this._implementation.externalObject = this;
|
|
26
|
-
this.onImplementationCreated();
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(IgcPropertyEditorDataSource.prototype, "descriptionType", {
|
|
29
|
-
get: function () {
|
|
30
|
-
return this.i.l;
|
|
31
|
-
},
|
|
32
|
-
set: function (v) {
|
|
33
|
-
this.i.l = v;
|
|
34
|
-
},
|
|
35
|
-
enumerable: true,
|
|
36
|
-
configurable: true
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(IgcPropertyEditorDataSource.prototype, "context", {
|
|
39
|
-
get: function () {
|
|
40
|
-
return this.i.b;
|
|
41
|
-
},
|
|
42
|
-
set: function (v) {
|
|
43
|
-
this.i.b = v;
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
IgcPropertyEditorDataSource.prototype.findByName = function (name) {
|
|
49
|
-
return null;
|
|
50
|
-
};
|
|
51
|
-
return IgcPropertyEditorDataSource;
|
|
52
|
-
}());
|
|
53
|
-
export { IgcPropertyEditorDataSource };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as tslib_1 from "tslib";
|
|
2
|
-
import { IgCollection } from "igniteui-webcomponents-core";
|
|
3
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
4
|
-
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
5
|
-
import { PropertyEditorDescriptionObject as PropertyEditorDescriptionObject_internal } from './PropertyEditorDescriptionObject';
|
|
6
|
-
import { IgcPropertyEditorDescriptionObject as IgcPropertyEditorDescriptionObject } from './igc-property-editor-description-object';
|
|
7
|
-
var IgcPropertyEditorDescriptionObjectCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
8
|
-
tslib_1.__extends(IgcPropertyEditorDescriptionObjectCollection, _super);
|
|
9
|
-
function IgcPropertyEditorDescriptionObjectCollection(list) {
|
|
10
|
-
var _this = _super.call(this) || this;
|
|
11
|
-
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
12
|
-
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
13
|
-
}
|
|
14
|
-
if (list) {
|
|
15
|
-
for (var i = 0; i < list.length; i++) {
|
|
16
|
-
_this.add(list[i]);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return _this;
|
|
20
|
-
}
|
|
21
|
-
IgcPropertyEditorDescriptionObjectCollection.prototype._createInnerColl = function () {
|
|
22
|
-
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
23
|
-
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
24
|
-
}
|
|
25
|
-
var coll = new SyncableObservableCollection$2(IgcPropertyEditorDescriptionObject.$type, PropertyEditorDescriptionObject_internal.$type, 0);
|
|
26
|
-
coll.compare = function (ext, int) {
|
|
27
|
-
var comp = ext;
|
|
28
|
-
if (comp._implementation) {
|
|
29
|
-
comp = comp._implementation;
|
|
30
|
-
}
|
|
31
|
-
if (comp.equals) {
|
|
32
|
-
return comp.equals(int);
|
|
33
|
-
}
|
|
34
|
-
return comp === int;
|
|
35
|
-
};
|
|
36
|
-
coll.createTo = function (ext) {
|
|
37
|
-
return ext._implementation;
|
|
38
|
-
};
|
|
39
|
-
coll.createFrom = function (int) {
|
|
40
|
-
var ext = int.externalObject;
|
|
41
|
-
if (!ext) {
|
|
42
|
-
ext = new IgcPropertyEditorDescriptionObject();
|
|
43
|
-
if (ext) {
|
|
44
|
-
ext._implementation = int;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
return ext;
|
|
48
|
-
};
|
|
49
|
-
return coll;
|
|
50
|
-
};
|
|
51
|
-
return IgcPropertyEditorDescriptionObjectCollection;
|
|
52
|
-
}(IgCollection));
|
|
53
|
-
export { IgcPropertyEditorDescriptionObjectCollection };
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { IgcPropertyEditorPropertyDescriptionCollection } from "./igc-property-editor-property-description-collection";
|
|
2
|
-
import { PropertyEditorDescriptionObject as PropertyEditorDescriptionObject_internal } from "./PropertyEditorDescriptionObject";
|
|
3
|
-
import { PropertyEditorPropertyDescriptionCollection as PropertyEditorPropertyDescriptionCollection_internal } from "./PropertyEditorPropertyDescriptionCollection";
|
|
4
|
-
import { PropertyEditorPropertyDescription } from "./PropertyEditorPropertyDescription";
|
|
5
|
-
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
6
|
-
var IgcPropertyEditorDescriptionObject = /** @class */ /*@__PURE__*/ (function () {
|
|
7
|
-
function IgcPropertyEditorDescriptionObject() {
|
|
8
|
-
this._properties = null;
|
|
9
|
-
this._implementation = this.createImplementation();
|
|
10
|
-
this._implementation.externalObject = this;
|
|
11
|
-
this.onImplementationCreated();
|
|
12
|
-
}
|
|
13
|
-
IgcPropertyEditorDescriptionObject.prototype.createImplementation = function () {
|
|
14
|
-
return new PropertyEditorDescriptionObject_internal();
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(IgcPropertyEditorDescriptionObject.prototype, "i", {
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
get: function () {
|
|
21
|
-
return this._implementation;
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
IgcPropertyEditorDescriptionObject.prototype.onImplementationCreated = function () {
|
|
27
|
-
};
|
|
28
|
-
IgcPropertyEditorDescriptionObject.prototype._provideImplementation = function (i) {
|
|
29
|
-
this._implementation = i;
|
|
30
|
-
this._implementation.externalObject = this;
|
|
31
|
-
this.onImplementationCreated();
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(IgcPropertyEditorDescriptionObject.prototype, "descriptionType", {
|
|
34
|
-
get: function () {
|
|
35
|
-
return this.i.b;
|
|
36
|
-
},
|
|
37
|
-
set: function (v) {
|
|
38
|
-
this.i.b = v;
|
|
39
|
-
},
|
|
40
|
-
enumerable: true,
|
|
41
|
-
configurable: true
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(IgcPropertyEditorDescriptionObject.prototype, "properties", {
|
|
44
|
-
get: function () {
|
|
45
|
-
if (this._properties === null) {
|
|
46
|
-
var coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
47
|
-
var innerColl = this.i.a;
|
|
48
|
-
if (!innerColl) {
|
|
49
|
-
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
50
|
-
}
|
|
51
|
-
this._properties = coll._fromInner(innerColl);
|
|
52
|
-
this.i.a = innerColl;
|
|
53
|
-
}
|
|
54
|
-
return this._properties;
|
|
55
|
-
},
|
|
56
|
-
set: function (v) {
|
|
57
|
-
if (this._properties !== null) {
|
|
58
|
-
this._properties._setSyncTarget(null);
|
|
59
|
-
this._properties = null;
|
|
60
|
-
}
|
|
61
|
-
var coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
62
|
-
this._properties = coll._fromOuter(v);
|
|
63
|
-
var syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
64
|
-
var innerColl = this.i.a;
|
|
65
|
-
if (!innerColl) {
|
|
66
|
-
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
67
|
-
}
|
|
68
|
-
syncColl._inner = innerColl;
|
|
69
|
-
syncColl.clear();
|
|
70
|
-
this._properties._setSyncTarget(syncColl);
|
|
71
|
-
this.i.a = innerColl;
|
|
72
|
-
},
|
|
73
|
-
enumerable: true,
|
|
74
|
-
configurable: true
|
|
75
|
-
});
|
|
76
|
-
IgcPropertyEditorDescriptionObject.prototype.findByName = function (name) {
|
|
77
|
-
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
78
|
-
return this.properties.findByName(name);
|
|
79
|
-
}
|
|
80
|
-
return null;
|
|
81
|
-
};
|
|
82
|
-
return IgcPropertyEditorDescriptionObject;
|
|
83
|
-
}());
|
|
84
|
-
export { IgcPropertyEditorDescriptionObject };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { PropertyEditorPropertyDescriptionButtonClickEventArgs as PropertyEditorPropertyDescriptionButtonClickEventArgs_internal } from "./PropertyEditorPropertyDescriptionButtonClickEventArgs";
|
|
2
|
-
var IgcPropertyEditorPropertyDescriptionButtonClickEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
3
|
-
function IgcPropertyEditorPropertyDescriptionButtonClickEventArgs() {
|
|
4
|
-
this._implementation = this.createImplementation();
|
|
5
|
-
this._implementation.externalObject = this;
|
|
6
|
-
this.onImplementationCreated();
|
|
7
|
-
}
|
|
8
|
-
IgcPropertyEditorPropertyDescriptionButtonClickEventArgs.prototype.createImplementation = function () {
|
|
9
|
-
return new PropertyEditorPropertyDescriptionButtonClickEventArgs_internal();
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(IgcPropertyEditorPropertyDescriptionButtonClickEventArgs.prototype, "i", {
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
get: function () {
|
|
16
|
-
return this._implementation;
|
|
17
|
-
},
|
|
18
|
-
enumerable: true,
|
|
19
|
-
configurable: true
|
|
20
|
-
});
|
|
21
|
-
IgcPropertyEditorPropertyDescriptionButtonClickEventArgs.prototype.onImplementationCreated = function () {
|
|
22
|
-
};
|
|
23
|
-
IgcPropertyEditorPropertyDescriptionButtonClickEventArgs.prototype._provideImplementation = function (i) {
|
|
24
|
-
this._implementation = i;
|
|
25
|
-
this._implementation.externalObject = this;
|
|
26
|
-
this.onImplementationCreated();
|
|
27
|
-
};
|
|
28
|
-
return IgcPropertyEditorPropertyDescriptionButtonClickEventArgs;
|
|
29
|
-
}());
|
|
30
|
-
export { IgcPropertyEditorPropertyDescriptionButtonClickEventArgs };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { PropertyEditorPropertyDescriptionChangedEventArgs as PropertyEditorPropertyDescriptionChangedEventArgs_internal } from "./PropertyEditorPropertyDescriptionChangedEventArgs";
|
|
2
|
-
var IgcPropertyEditorPropertyDescriptionChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
3
|
-
function IgcPropertyEditorPropertyDescriptionChangedEventArgs() {
|
|
4
|
-
this._implementation = this.createImplementation();
|
|
5
|
-
this._implementation.externalObject = this;
|
|
6
|
-
this.onImplementationCreated();
|
|
7
|
-
}
|
|
8
|
-
IgcPropertyEditorPropertyDescriptionChangedEventArgs.prototype.createImplementation = function () {
|
|
9
|
-
return new PropertyEditorPropertyDescriptionChangedEventArgs_internal();
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(IgcPropertyEditorPropertyDescriptionChangedEventArgs.prototype, "i", {
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
get: function () {
|
|
16
|
-
return this._implementation;
|
|
17
|
-
},
|
|
18
|
-
enumerable: true,
|
|
19
|
-
configurable: true
|
|
20
|
-
});
|
|
21
|
-
IgcPropertyEditorPropertyDescriptionChangedEventArgs.prototype.onImplementationCreated = function () {
|
|
22
|
-
};
|
|
23
|
-
IgcPropertyEditorPropertyDescriptionChangedEventArgs.prototype._provideImplementation = function (i) {
|
|
24
|
-
this._implementation = i;
|
|
25
|
-
this._implementation.externalObject = this;
|
|
26
|
-
this.onImplementationCreated();
|
|
27
|
-
};
|
|
28
|
-
return IgcPropertyEditorPropertyDescriptionChangedEventArgs;
|
|
29
|
-
}());
|
|
30
|
-
export { IgcPropertyEditorPropertyDescriptionChangedEventArgs };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as tslib_1 from "tslib";
|
|
2
|
-
import { IgCollection } from "igniteui-webcomponents-core";
|
|
3
|
-
import { markType } from "igniteui-webcomponents-core";
|
|
4
|
-
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
5
|
-
import { PropertyEditorPropertyDescription as PropertyEditorPropertyDescription_internal } from './PropertyEditorPropertyDescription';
|
|
6
|
-
import { IgcPropertyEditorPropertyDescriptionComponent as IgcPropertyEditorPropertyDescriptionComponent } from './igc-property-editor-property-description-component';
|
|
7
|
-
var IgcPropertyEditorPropertyDescriptionCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
8
|
-
tslib_1.__extends(IgcPropertyEditorPropertyDescriptionCollection, _super);
|
|
9
|
-
function IgcPropertyEditorPropertyDescriptionCollection(list) {
|
|
10
|
-
var _this = _super.call(this) || this;
|
|
11
|
-
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
12
|
-
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
13
|
-
}
|
|
14
|
-
if (list) {
|
|
15
|
-
for (var i = 0; i < list.length; i++) {
|
|
16
|
-
_this.add(list[i]);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return _this;
|
|
20
|
-
}
|
|
21
|
-
IgcPropertyEditorPropertyDescriptionCollection.prototype._createInnerColl = function () {
|
|
22
|
-
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
23
|
-
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
24
|
-
}
|
|
25
|
-
var coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription_internal.$type, 0);
|
|
26
|
-
coll.compare = function (ext, int) {
|
|
27
|
-
var comp = ext;
|
|
28
|
-
if (comp._implementation) {
|
|
29
|
-
comp = comp._implementation;
|
|
30
|
-
}
|
|
31
|
-
if (comp.equals) {
|
|
32
|
-
return comp.equals(int);
|
|
33
|
-
}
|
|
34
|
-
return comp === int;
|
|
35
|
-
};
|
|
36
|
-
coll.createTo = function (ext) {
|
|
37
|
-
return ext._implementation;
|
|
38
|
-
};
|
|
39
|
-
coll.createFrom = function (int) {
|
|
40
|
-
var ext = int.externalObject;
|
|
41
|
-
if (!ext) {
|
|
42
|
-
ext = new IgcPropertyEditorPropertyDescriptionComponent();
|
|
43
|
-
if (ext) {
|
|
44
|
-
ext._implementation = int;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
return ext;
|
|
48
|
-
};
|
|
49
|
-
return coll;
|
|
50
|
-
};
|
|
51
|
-
return IgcPropertyEditorPropertyDescriptionCollection;
|
|
52
|
-
}(IgCollection));
|
|
53
|
-
export { IgcPropertyEditorPropertyDescriptionCollection };
|