igniteui-webcomponents-layouts 1.4.1 → 3.2.1
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-layouts.umd.js +4646 -235
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +7 -2
- package/esm2015/igniteui-webcomponents-layouts.js +0 -1
- package/esm2015/lib/ExpansionPanelUtilities.js +0 -1
- package/esm2015/lib/ExpansionPanelView.js +0 -1
- package/esm2015/lib/ExpansionPanelView_combined.js +80 -81
- package/esm2015/lib/HorizontalPropertyEditorPanelDataSource.js +24 -0
- package/esm2015/lib/OnClosedEventArgs.js +0 -1
- package/esm2015/lib/OnCollapsedEventArgs.js +0 -1
- package/esm2015/lib/OnExpandedEventArgs.js +0 -1
- package/esm2015/lib/OnPopupEventArgs.js +0 -1
- package/esm2015/lib/Popup.js +0 -1
- package/esm2015/lib/PopupAlignment.js +0 -1
- package/esm2015/lib/PopupDirection.js +0 -1
- package/esm2015/lib/PopupView.js +0 -1
- package/esm2015/lib/PopupView_combined.js +0 -1
- package/esm2015/lib/PopupVisualModelExport.js +0 -1
- package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -1
- package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -1
- package/{esm5/lib/ExpansionPanel.js → esm2015/lib/PropertyEditorDataSource.js} +1 -2
- package/esm2015/lib/{ExpansionPanel.js → PropertyEditorDescriptionObject.js} +1 -2
- package/esm2015/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
- package/esm2015/lib/PropertyEditorPanel.js +7 -0
- package/esm2015/lib/PropertyEditorPanelColumnDefinition.js +55 -0
- package/esm2015/lib/PropertyEditorPanelColumnFieldType.js +11 -0
- package/esm2015/lib/PropertyEditorPanelColumnType.js +11 -0
- package/esm2015/lib/PropertyEditorPanelDataBindingEventArgs.js +22 -0
- package/esm2015/lib/PropertyEditorPanelDropDownDataListItem.js +21 -0
- package/esm2015/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +22 -0
- package/esm2015/lib/PropertyEditorPanelView.js +7 -0
- package/esm2015/lib/PropertyEditorPanelView_combined.js +1667 -0
- package/esm2015/lib/PropertyEditorPropertyDescription.js +7 -0
- package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +16 -0
- package/esm2015/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +26 -0
- package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
- package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +40 -0
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +522 -0
- package/esm2015/lib/PropertyEditorTreeTransformer.js +207 -0
- package/esm2015/lib/PropertyEditorValueType.js +36 -0
- package/esm2015/lib/XExpansionPanel.js +7 -0
- package/esm2015/lib/igc-horizontal-property-editor-panel-data-source.js +48 -0
- package/esm2015/lib/igc-on-closed-event-args.js +0 -1
- package/esm2015/lib/igc-on-collapsed-event-args.js +0 -1
- package/esm2015/lib/igc-on-expanded-event-args.js +0 -1
- package/esm2015/lib/igc-on-popup-event-args.js +0 -1
- package/esm2015/lib/igc-popup-component.js +0 -1
- package/esm2015/lib/igc-popup-module.js +0 -1
- package/esm2015/lib/igc-property-editor-data-source.js +39 -0
- package/esm2015/lib/igc-property-editor-description-object-collection.js +48 -0
- package/esm2015/lib/igc-property-editor-description-object.js +70 -0
- package/esm2015/lib/igc-property-editor-panel-component.js +446 -0
- package/esm2015/lib/igc-property-editor-panel-module.js +19 -0
- package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +24 -0
- package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +30 -0
- package/esm2015/lib/igc-property-editor-property-description-collection.js +48 -0
- package/esm2015/lib/igc-property-editor-property-description-component.js +407 -0
- package/esm2015/lib/igc-property-editor-property-description-module.js +16 -0
- package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +42 -0
- package/esm2015/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +16 -17
- package/esm2015/lib/{igc-expansion-panel-module.js → igc-x-expansion-panel-module.js} +7 -8
- package/esm2015/public_api.js +34 -4
- package/esm5/igniteui-webcomponents-layouts.js +0 -1
- package/esm5/lib/ExpansionPanelUtilities.js +0 -1
- package/esm5/lib/ExpansionPanelView.js +0 -1
- package/esm5/lib/ExpansionPanelView_combined.js +128 -129
- package/esm5/lib/HorizontalPropertyEditorPanelDataSource.js +26 -0
- package/esm5/lib/OnClosedEventArgs.js +0 -1
- package/esm5/lib/OnCollapsedEventArgs.js +0 -1
- package/esm5/lib/OnExpandedEventArgs.js +0 -1
- package/esm5/lib/OnPopupEventArgs.js +0 -1
- package/esm5/lib/Popup.js +0 -1
- package/esm5/lib/PopupAlignment.js +0 -1
- package/esm5/lib/PopupDirection.js +0 -1
- package/esm5/lib/PopupView.js +0 -1
- package/esm5/lib/PopupView_combined.js +0 -1
- package/esm5/lib/PopupVisualModelExport.js +0 -1
- package/esm5/lib/Popup_InnerAnimationInfo.js +0 -1
- package/esm5/lib/Popup_OuterAnimationInfo.js +0 -1
- package/esm5/lib/PropertyEditorDataSource.js +7 -0
- package/esm5/lib/PropertyEditorDescriptionObject.js +7 -0
- package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +7 -0
- package/esm5/lib/PropertyEditorPanel.js +7 -0
- package/esm5/lib/PropertyEditorPanelColumnDefinition.js +57 -0
- package/esm5/lib/PropertyEditorPanelColumnFieldType.js +11 -0
- package/esm5/lib/PropertyEditorPanelColumnType.js +11 -0
- package/esm5/lib/PropertyEditorPanelDataBindingEventArgs.js +24 -0
- package/esm5/lib/PropertyEditorPanelDropDownDataListItem.js +23 -0
- package/esm5/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.js +24 -0
- package/esm5/lib/PropertyEditorPanelView.js +7 -0
- package/esm5/lib/PropertyEditorPanelView_combined.js +1817 -0
- package/esm5/lib/PropertyEditorPropertyDescription.js +7 -0
- package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +20 -0
- package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +32 -0
- package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +7 -0
- package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +54 -0
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +605 -0
- package/esm5/lib/PropertyEditorTreeTransformer.js +209 -0
- package/esm5/lib/PropertyEditorValueType.js +36 -0
- package/esm5/lib/XExpansionPanel.js +7 -0
- package/esm5/lib/igc-horizontal-property-editor-panel-data-source.js +53 -0
- package/esm5/lib/igc-on-closed-event-args.js +0 -1
- package/esm5/lib/igc-on-collapsed-event-args.js +0 -1
- package/esm5/lib/igc-on-expanded-event-args.js +0 -1
- package/esm5/lib/igc-on-popup-event-args.js +0 -1
- package/esm5/lib/igc-popup-component.js +0 -1
- package/esm5/lib/igc-popup-module.js +0 -1
- package/esm5/lib/igc-property-editor-data-source.js +53 -0
- package/esm5/lib/igc-property-editor-description-object-collection.js +53 -0
- package/esm5/lib/igc-property-editor-description-object.js +84 -0
- package/esm5/lib/igc-property-editor-panel-component.js +546 -0
- package/esm5/lib/igc-property-editor-panel-module.js +23 -0
- package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +30 -0
- package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +40 -0
- package/esm5/lib/igc-property-editor-property-description-collection.js +53 -0
- package/esm5/lib/igc-property-editor-property-description-component.js +500 -0
- package/esm5/lib/igc-property-editor-property-description-module.js +20 -0
- package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +60 -0
- package/esm5/lib/{igc-expansion-panel-component.js → igc-x-expansion-panel-component.js} +62 -63
- package/esm5/lib/igc-x-expansion-panel-module.js +21 -0
- package/esm5/public_api.js +34 -4
- package/fesm2015/igniteui-webcomponents-layouts.js +4013 -137
- package/fesm5/igniteui-webcomponents-layouts.js +4613 -234
- package/lib/ExpansionPanelView_combined.d.ts +10 -10
- package/lib/HorizontalPropertyEditorPanelDataSource.d.ts +10 -0
- package/lib/PropertyEditorDataSource.d.ts +1 -0
- package/lib/PropertyEditorDescriptionObject.d.ts +1 -0
- package/lib/PropertyEditorDescriptionObjectCollection.d.ts +1 -0
- package/lib/PropertyEditorPanel.d.ts +1 -0
- package/lib/PropertyEditorPanelColumnDefinition.d.ts +22 -0
- package/lib/PropertyEditorPanelColumnFieldType.d.ts +12 -0
- package/lib/PropertyEditorPanelColumnType.d.ts +12 -0
- package/lib/PropertyEditorPanelDataBindingEventArgs.d.ts +10 -0
- package/lib/PropertyEditorPanelDropDownDataListItem.d.ts +9 -0
- package/lib/PropertyEditorPanelTemplateCellUpdatingEventArgs.d.ts +11 -0
- package/lib/PropertyEditorPanelView.d.ts +1 -0
- package/lib/PropertyEditorPanelView_combined.d.ts +211 -0
- package/lib/PropertyEditorPropertyDescription.d.ts +1 -0
- package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +7 -0
- package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +9 -0
- package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +1 -0
- package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +13 -0
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +98 -0
- package/lib/PropertyEditorTreeTransformer.d.ts +17 -0
- package/lib/PropertyEditorValueType.d.ts +29 -0
- package/lib/XExpansionPanel.d.ts +1 -0
- package/lib/igc-horizontal-property-editor-panel-data-source.d.ts +8 -0
- package/lib/igc-property-editor-data-source.d.ts +16 -0
- package/lib/igc-property-editor-description-object-collection.d.ts +8 -0
- package/lib/igc-property-editor-description-object.d.ts +17 -0
- package/lib/igc-property-editor-panel-component.d.ts +101 -0
- package/lib/igc-property-editor-panel-module.d.ts +3 -0
- package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +12 -0
- package/lib/igc-property-editor-property-description-changed-event-args.d.ts +13 -0
- package/lib/igc-property-editor-property-description-collection.d.ts +8 -0
- package/lib/igc-property-editor-property-description-component.d.ts +70 -0
- package/lib/igc-property-editor-property-description-module.d.ts +3 -0
- package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +15 -0
- package/lib/{igc-expansion-panel-component.d.ts → igc-x-expansion-panel-component.d.ts} +7 -7
- package/lib/igc-x-expansion-panel-module.d.ts +3 -0
- package/package.json +4 -4
- package/public_api.d.ts +34 -3
- package/bundles/igniteui-webcomponents-layouts.umd.js.map +0 -1
- package/bundles/igniteui-webcomponents-layouts.umd.min.js.map +0 -1
- package/esm2015/igniteui-webcomponents-layouts.js.map +0 -1
- package/esm2015/lib/ExpansionPanel.js.map +0 -1
- package/esm2015/lib/ExpansionPanelUtilities.js.map +0 -1
- package/esm2015/lib/ExpansionPanelView.js.map +0 -1
- package/esm2015/lib/ExpansionPanelView_combined.js.map +0 -1
- package/esm2015/lib/OnClosedEventArgs.js.map +0 -1
- package/esm2015/lib/OnCollapsedEventArgs.js.map +0 -1
- package/esm2015/lib/OnExpandedEventArgs.js.map +0 -1
- package/esm2015/lib/OnPopupEventArgs.js.map +0 -1
- package/esm2015/lib/Popup.js.map +0 -1
- package/esm2015/lib/PopupAlignment.js.map +0 -1
- package/esm2015/lib/PopupDirection.js.map +0 -1
- package/esm2015/lib/PopupView.js.map +0 -1
- package/esm2015/lib/PopupView_combined.js.map +0 -1
- package/esm2015/lib/PopupVisualModelExport.js.map +0 -1
- package/esm2015/lib/Popup_InnerAnimationInfo.js.map +0 -1
- package/esm2015/lib/Popup_OuterAnimationInfo.js.map +0 -1
- package/esm2015/lib/igc-expansion-panel-component.js.map +0 -1
- package/esm2015/lib/igc-expansion-panel-module.js.map +0 -1
- package/esm2015/lib/igc-on-closed-event-args.js.map +0 -1
- package/esm2015/lib/igc-on-collapsed-event-args.js.map +0 -1
- package/esm2015/lib/igc-on-expanded-event-args.js.map +0 -1
- package/esm2015/lib/igc-on-popup-event-args.js.map +0 -1
- package/esm2015/lib/igc-popup-component.js.map +0 -1
- package/esm2015/lib/igc-popup-module.js.map +0 -1
- package/esm2015/public_api.js.map +0 -1
- package/esm5/igniteui-webcomponents-layouts.js.map +0 -1
- package/esm5/lib/ExpansionPanel.js.map +0 -1
- package/esm5/lib/ExpansionPanelUtilities.js.map +0 -1
- package/esm5/lib/ExpansionPanelView.js.map +0 -1
- package/esm5/lib/ExpansionPanelView_combined.js.map +0 -1
- package/esm5/lib/OnClosedEventArgs.js.map +0 -1
- package/esm5/lib/OnCollapsedEventArgs.js.map +0 -1
- package/esm5/lib/OnExpandedEventArgs.js.map +0 -1
- package/esm5/lib/OnPopupEventArgs.js.map +0 -1
- package/esm5/lib/Popup.js.map +0 -1
- package/esm5/lib/PopupAlignment.js.map +0 -1
- package/esm5/lib/PopupDirection.js.map +0 -1
- package/esm5/lib/PopupView.js.map +0 -1
- package/esm5/lib/PopupView_combined.js.map +0 -1
- package/esm5/lib/PopupVisualModelExport.js.map +0 -1
- package/esm5/lib/Popup_InnerAnimationInfo.js.map +0 -1
- package/esm5/lib/Popup_OuterAnimationInfo.js.map +0 -1
- package/esm5/lib/igc-expansion-panel-component.js.map +0 -1
- package/esm5/lib/igc-expansion-panel-module.js +0 -22
- package/esm5/lib/igc-expansion-panel-module.js.map +0 -1
- package/esm5/lib/igc-on-closed-event-args.js.map +0 -1
- package/esm5/lib/igc-on-collapsed-event-args.js.map +0 -1
- package/esm5/lib/igc-on-expanded-event-args.js.map +0 -1
- package/esm5/lib/igc-on-popup-event-args.js.map +0 -1
- package/esm5/lib/igc-popup-component.js.map +0 -1
- package/esm5/lib/igc-popup-module.js.map +0 -1
- package/esm5/public_api.js.map +0 -1
- package/fesm2015/igniteui-webcomponents-layouts.js.map +0 -1
- package/fesm5/igniteui-webcomponents-layouts.js.map +0 -1
- package/lib/ExpansionPanel.d.ts +0 -1
- package/lib/igc-expansion-panel-module.d.ts +0 -3
|
@@ -0,0 +1,207 @@
|
|
|
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 { Base, Number_$type, String_$type, typeCast, markType } from "igniteui-webcomponents-core";
|
|
8
|
+
import { DescriptionTreeNode } from "igniteui-webcomponents-core";
|
|
9
|
+
import { JsonDictionaryObject } from "igniteui-webcomponents-core";
|
|
10
|
+
import { List$1 } from "igniteui-webcomponents-core";
|
|
11
|
+
import { DescriptionSerializerBuilder } from "igniteui-webcomponents-core";
|
|
12
|
+
import { DescriptionSerializer } from "igniteui-webcomponents-core";
|
|
13
|
+
import { stringSplit } from "igniteui-webcomponents-core";
|
|
14
|
+
import { stringContains, stringReplace, stringJoin } from "igniteui-webcomponents-core";
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
export let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
19
|
+
class PropertyEditorTreeTransformer extends Base {
|
|
20
|
+
constructor(a, b) {
|
|
21
|
+
super();
|
|
22
|
+
this.a = new DescriptionTreeNode();
|
|
23
|
+
this.b = null;
|
|
24
|
+
this.b = a;
|
|
25
|
+
this.a = new DescriptionTreeNode();
|
|
26
|
+
this.a.h = b;
|
|
27
|
+
let c = new JsonDictionaryObject();
|
|
28
|
+
}
|
|
29
|
+
h(a, b, c) {
|
|
30
|
+
if (a == null) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
this.c(a, b, this.a, c, null);
|
|
34
|
+
}
|
|
35
|
+
c(a, b, c, d, e) {
|
|
36
|
+
if (a == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
let f = stringSplit(a, ['.', '['], 0);
|
|
40
|
+
let g = f[0];
|
|
41
|
+
let h = f.length > 1;
|
|
42
|
+
let i = false;
|
|
43
|
+
let j = new List$1(Number_$type, 0);
|
|
44
|
+
let k = new List$1(String_$type, 0);
|
|
45
|
+
if (stringContains(g, "]")) {
|
|
46
|
+
i = true;
|
|
47
|
+
g = stringReplace(g, "]", "");
|
|
48
|
+
let l = g.split(',');
|
|
49
|
+
for (let m = 0; m < l.length; m++) {
|
|
50
|
+
let n = l[m];
|
|
51
|
+
if (stringContains(n, "as")) {
|
|
52
|
+
let o = n.indexOf("as");
|
|
53
|
+
let p = n.substr(0, o).trim();
|
|
54
|
+
let q = n.substr(o + 2).trim();
|
|
55
|
+
j.add(parseInt(p));
|
|
56
|
+
k.add(q);
|
|
57
|
+
d = q;
|
|
58
|
+
g = p;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
let r = null;
|
|
63
|
+
if (!i) {
|
|
64
|
+
r = this.b.getMetadata(d, g);
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
r = e;
|
|
68
|
+
}
|
|
69
|
+
if (h) {
|
|
70
|
+
if (i) {
|
|
71
|
+
let s = c.b;
|
|
72
|
+
for (let t = 0; t < j.count; t++) {
|
|
73
|
+
g = j._inner[t].toString();
|
|
74
|
+
let u = k._inner[t];
|
|
75
|
+
let v = parseInt(stringReplace(stringReplace(g, "[", ""), "]", ""));
|
|
76
|
+
{
|
|
77
|
+
let w = new List$1(Base.$, 0);
|
|
78
|
+
for (let x = 0; x <= v; x++) {
|
|
79
|
+
if (s != null && x < s.length) {
|
|
80
|
+
let y = s[x];
|
|
81
|
+
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
82
|
+
y.h = u;
|
|
83
|
+
}
|
|
84
|
+
w.add1(y);
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
let z = this.d(e, true, u);
|
|
88
|
+
if (z != null) {
|
|
89
|
+
w.add1(z);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
s = w.toArray();
|
|
94
|
+
let aa = s[v];
|
|
95
|
+
let ab = new List$1(String_$type, 1, f);
|
|
96
|
+
ab.removeAt(0);
|
|
97
|
+
let ac = r.collectionElementType;
|
|
98
|
+
if (u != null) {
|
|
99
|
+
ac = u;
|
|
100
|
+
}
|
|
101
|
+
let ad = this.c(stringJoin(".", ...ab.toArray()), b, aa, ac, r);
|
|
102
|
+
if (ad != null) {
|
|
103
|
+
s[v] = ad;
|
|
104
|
+
}
|
|
105
|
+
c.b = s;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
let ae = c;
|
|
111
|
+
if (!ae.b(g)) {
|
|
112
|
+
ae.n(g, this.d(r, false, null), r);
|
|
113
|
+
}
|
|
114
|
+
let af = ae.a(g);
|
|
115
|
+
let ag = new List$1(String_$type, 1, f);
|
|
116
|
+
ag.removeAt(0);
|
|
117
|
+
let ah = this.c(stringJoin(".", ...ag.toArray()), b, af, r.specificExternalType, r);
|
|
118
|
+
if (ah != null) {
|
|
119
|
+
ae.n(g, ah, r);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
let ai = c;
|
|
125
|
+
ai.n(g, this.e(b, r), r);
|
|
126
|
+
}
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
f(a) {
|
|
130
|
+
if (a == null) {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
if (a.length < 1) {
|
|
134
|
+
return "";
|
|
135
|
+
}
|
|
136
|
+
return a.substr(0, 1).toLowerCase() + a.substr(1);
|
|
137
|
+
}
|
|
138
|
+
e(a, b) {
|
|
139
|
+
if (a == null) {
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
if (b == null) {
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
switch (b.knownType) {
|
|
146
|
+
case 10: return a;
|
|
147
|
+
case 7: return a;
|
|
148
|
+
case 4: return a.toString();
|
|
149
|
+
case 6: return a;
|
|
150
|
+
case 9: return a;
|
|
151
|
+
case 5: return a.toString();
|
|
152
|
+
case 16: return a;
|
|
153
|
+
case 20: return a;
|
|
154
|
+
case 15: return a;
|
|
155
|
+
case 3: return a;
|
|
156
|
+
case 19: return a;
|
|
157
|
+
case 8: return a;
|
|
158
|
+
case 13: return a;
|
|
159
|
+
case 18: return a;
|
|
160
|
+
case 1: return a;
|
|
161
|
+
case 11: return a;
|
|
162
|
+
case 14: return a;
|
|
163
|
+
case 12: return a;
|
|
164
|
+
case 2: return a;
|
|
165
|
+
case 21: return a;
|
|
166
|
+
case 17: return a;
|
|
167
|
+
case 0: return a;
|
|
168
|
+
}
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
d(a, b, c) {
|
|
172
|
+
if (!b && (a.knownType == 10 || a.knownType == 9)) {
|
|
173
|
+
return new Array(0);
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
let d = new DescriptionTreeNode();
|
|
177
|
+
if (c != null) {
|
|
178
|
+
d.h = c;
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
d.h = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
182
|
+
}
|
|
183
|
+
return d;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
g() {
|
|
187
|
+
let a = new DescriptionSerializerBuilder();
|
|
188
|
+
let b = new DescriptionSerializer();
|
|
189
|
+
let c = "root";
|
|
190
|
+
a.f("{");
|
|
191
|
+
a.i();
|
|
192
|
+
a.f("\"descriptions\": {");
|
|
193
|
+
a.i();
|
|
194
|
+
a.e("\"" + c + "\"");
|
|
195
|
+
a.e(": ");
|
|
196
|
+
b.s(this.b, this.a, a);
|
|
197
|
+
a.f("");
|
|
198
|
+
a.h();
|
|
199
|
+
a.e("}");
|
|
200
|
+
a.h();
|
|
201
|
+
a.f("}");
|
|
202
|
+
return a.toString();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
PropertyEditorTreeTransformer.$t = /*@__PURE__*/ markType(PropertyEditorTreeTransformer, 'PropertyEditorTreeTransformer');
|
|
206
|
+
return PropertyEditorTreeTransformer;
|
|
207
|
+
})();
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
PropertyEditorValueType[PropertyEditorValueType["Slider"] = 21] = "Slider";
|
|
31
|
+
return PropertyEditorValueType;
|
|
32
|
+
})({});
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export let 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|Slider,21');
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export { XExpansionPanel } from "./ExpansionPanelView_combined";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
2
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
3
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
4
|
+
import { PropertyEditorPropertyDescription as PropertyEditorPropertyDescription_internal } from './PropertyEditorPropertyDescription';
|
|
5
|
+
import { IgcPropertyEditorPropertyDescriptionComponent as IgcPropertyEditorPropertyDescriptionComponent } from './igc-property-editor-property-description-component';
|
|
6
|
+
export class IgcHorizontalPropertyEditorPanelDataSource extends IgCollection {
|
|
7
|
+
constructor(list) {
|
|
8
|
+
super();
|
|
9
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
10
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
11
|
+
}
|
|
12
|
+
if (list) {
|
|
13
|
+
for (let i = 0; i < list.length; i++) {
|
|
14
|
+
this.add(list[i]);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_createInnerColl() {
|
|
19
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
20
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
21
|
+
}
|
|
22
|
+
let coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription_internal.$type, 0);
|
|
23
|
+
coll.compare = (ext, int) => {
|
|
24
|
+
let comp = ext;
|
|
25
|
+
if (comp._implementation) {
|
|
26
|
+
comp = comp._implementation;
|
|
27
|
+
}
|
|
28
|
+
if (comp.equals) {
|
|
29
|
+
return comp.equals(int);
|
|
30
|
+
}
|
|
31
|
+
return comp === int;
|
|
32
|
+
};
|
|
33
|
+
coll.createTo = (ext) => {
|
|
34
|
+
return ext._implementation;
|
|
35
|
+
};
|
|
36
|
+
coll.createFrom = (int) => {
|
|
37
|
+
let ext = int.externalObject;
|
|
38
|
+
if (!ext) {
|
|
39
|
+
ext = new IgcPropertyEditorPropertyDescriptionComponent();
|
|
40
|
+
if (ext) {
|
|
41
|
+
ext._implementation = int;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return ext;
|
|
45
|
+
};
|
|
46
|
+
return coll;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { PropertyEditorDataSource as PropertyEditorDataSource_internal } from "./PropertyEditorDataSource";
|
|
2
|
+
export class IgcPropertyEditorDataSource {
|
|
3
|
+
createImplementation() {
|
|
4
|
+
return new PropertyEditorDataSource_internal();
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
get i() {
|
|
10
|
+
return this._implementation;
|
|
11
|
+
}
|
|
12
|
+
onImplementationCreated() {
|
|
13
|
+
}
|
|
14
|
+
constructor() {
|
|
15
|
+
this._implementation = this.createImplementation();
|
|
16
|
+
this._implementation.externalObject = this;
|
|
17
|
+
this.onImplementationCreated();
|
|
18
|
+
}
|
|
19
|
+
_provideImplementation(i) {
|
|
20
|
+
this._implementation = i;
|
|
21
|
+
this._implementation.externalObject = this;
|
|
22
|
+
this.onImplementationCreated();
|
|
23
|
+
}
|
|
24
|
+
get descriptionType() {
|
|
25
|
+
return this.i.l;
|
|
26
|
+
}
|
|
27
|
+
set descriptionType(v) {
|
|
28
|
+
this.i.l = v;
|
|
29
|
+
}
|
|
30
|
+
get context() {
|
|
31
|
+
return this.i.b;
|
|
32
|
+
}
|
|
33
|
+
set context(v) {
|
|
34
|
+
this.i.b = v;
|
|
35
|
+
}
|
|
36
|
+
findByName(name) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IgCollection } from "igniteui-webcomponents-core";
|
|
2
|
+
import { markType } from "igniteui-webcomponents-core";
|
|
3
|
+
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
4
|
+
import { PropertyEditorDescriptionObject as PropertyEditorDescriptionObject_internal } from './PropertyEditorDescriptionObject';
|
|
5
|
+
import { IgcPropertyEditorDescriptionObject as IgcPropertyEditorDescriptionObject } from './igc-property-editor-description-object';
|
|
6
|
+
export class IgcPropertyEditorDescriptionObjectCollection extends IgCollection {
|
|
7
|
+
constructor(list) {
|
|
8
|
+
super();
|
|
9
|
+
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
10
|
+
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
11
|
+
}
|
|
12
|
+
if (list) {
|
|
13
|
+
for (let i = 0; i < list.length; i++) {
|
|
14
|
+
this.add(list[i]);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_createInnerColl() {
|
|
19
|
+
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
20
|
+
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
21
|
+
}
|
|
22
|
+
let coll = new SyncableObservableCollection$2(IgcPropertyEditorDescriptionObject.$type, PropertyEditorDescriptionObject_internal.$type, 0);
|
|
23
|
+
coll.compare = (ext, int) => {
|
|
24
|
+
let comp = ext;
|
|
25
|
+
if (comp._implementation) {
|
|
26
|
+
comp = comp._implementation;
|
|
27
|
+
}
|
|
28
|
+
if (comp.equals) {
|
|
29
|
+
return comp.equals(int);
|
|
30
|
+
}
|
|
31
|
+
return comp === int;
|
|
32
|
+
};
|
|
33
|
+
coll.createTo = (ext) => {
|
|
34
|
+
return ext._implementation;
|
|
35
|
+
};
|
|
36
|
+
coll.createFrom = (int) => {
|
|
37
|
+
let ext = int.externalObject;
|
|
38
|
+
if (!ext) {
|
|
39
|
+
ext = new IgcPropertyEditorDescriptionObject();
|
|
40
|
+
if (ext) {
|
|
41
|
+
ext._implementation = int;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return ext;
|
|
45
|
+
};
|
|
46
|
+
return coll;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
export class IgcPropertyEditorDescriptionObject {
|
|
7
|
+
constructor() {
|
|
8
|
+
this._properties = null;
|
|
9
|
+
this._implementation = this.createImplementation();
|
|
10
|
+
this._implementation.externalObject = this;
|
|
11
|
+
this.onImplementationCreated();
|
|
12
|
+
}
|
|
13
|
+
createImplementation() {
|
|
14
|
+
return new PropertyEditorDescriptionObject_internal();
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
get i() {
|
|
20
|
+
return this._implementation;
|
|
21
|
+
}
|
|
22
|
+
onImplementationCreated() {
|
|
23
|
+
}
|
|
24
|
+
_provideImplementation(i) {
|
|
25
|
+
this._implementation = i;
|
|
26
|
+
this._implementation.externalObject = this;
|
|
27
|
+
this.onImplementationCreated();
|
|
28
|
+
}
|
|
29
|
+
get descriptionType() {
|
|
30
|
+
return this.i.b;
|
|
31
|
+
}
|
|
32
|
+
set descriptionType(v) {
|
|
33
|
+
this.i.b = v;
|
|
34
|
+
}
|
|
35
|
+
get properties() {
|
|
36
|
+
if (this._properties === null) {
|
|
37
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
38
|
+
let innerColl = this.i.a;
|
|
39
|
+
if (!innerColl) {
|
|
40
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
41
|
+
}
|
|
42
|
+
this._properties = coll._fromInner(innerColl);
|
|
43
|
+
this.i.a = innerColl;
|
|
44
|
+
}
|
|
45
|
+
return this._properties;
|
|
46
|
+
}
|
|
47
|
+
set properties(v) {
|
|
48
|
+
if (this._properties !== null) {
|
|
49
|
+
this._properties._setSyncTarget(null);
|
|
50
|
+
this._properties = null;
|
|
51
|
+
}
|
|
52
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
53
|
+
this._properties = coll._fromOuter(v);
|
|
54
|
+
let syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
55
|
+
let innerColl = this.i.a;
|
|
56
|
+
if (!innerColl) {
|
|
57
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
58
|
+
}
|
|
59
|
+
syncColl._inner = innerColl;
|
|
60
|
+
syncColl.clear();
|
|
61
|
+
this._properties._setSyncTarget(syncColl);
|
|
62
|
+
this.i.a = innerColl;
|
|
63
|
+
}
|
|
64
|
+
findByName(name) {
|
|
65
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
66
|
+
return this.properties.findByName(name);
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
}
|