igniteui-webcomponents-layouts 1.4.0 → 3.2.0
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 +4643 -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 +1664 -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 +1814 -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 +4010 -137
- package/fesm5/igniteui-webcomponents-layouts.js +4610 -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 +210 -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
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
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
|
+
|
|
8
|
+
import { Base, markType, EventArgs, ElevationHelper, NativeUI, AnimationKeyFrameEffect, KeyFrameAnimationFactory, runOn, BaseDOMEventProxy, BrushUtil, stringEmpty, PropertyChangedEventArgs, AnimationKeyFrameProperty, TranslateTransform, AnimationKeyFrameEffectTiming, INotifyPropertyChanged_$type, IgcHTMLElement, NamePatcher, PortalManager, WebComponentRenderer, toSpinal, getAllPropertyNames, fromSpinal, RegisterElementHelper, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, delegateRemove, delegateCombine, TypeRegistrar, ValueType, markStruct, StringBuilder, Size, stringFormat, Rect, List$1, truncate, AppearanceHelper, toRect, IgcChildContentModule, markEnum, enumGetBox, ObservableCollection$1, stringEndsWith, stringSplit, String_$type, stringContains, stringReplace, typeCast, IgCollection, SyncableObservableCollection$2, SyncableObservableCollection$1, ensureEnum, enumToString, DescriptionTreeNode, JsonDictionaryObject, Number_$type, stringJoin, DescriptionSerializerBuilder, DescriptionSerializer, FontInfo, DOMExecutionContext, RenderingContext, CanvasViewRenderer, NativeUIComponent, FontUtil, DeviceUtils, Dictionary$2, NativeUIInputsFactory, SRProvider, fromEn, LocalDataSource, ComponentRenderer, fromEnum, Thickness, HashSet$1, isNaN_, tryParseNumber, tryParseBool, typeGetValue, CollectionAdapter, NotifyCollectionChangedAction, fromSize } from 'igniteui-webcomponents-core';
|
|
2
9
|
|
|
3
10
|
/*
|
|
4
11
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -82,83 +89,83 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
82
89
|
class ExpansionPanelView extends Base {
|
|
83
90
|
constructor() {
|
|
84
91
|
super(...arguments);
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
92
|
+
this.j = null;
|
|
93
|
+
this.q = null;
|
|
87
94
|
this.g = null;
|
|
88
95
|
this.f = null;
|
|
96
|
+
this.p = null;
|
|
97
|
+
this.l = null;
|
|
89
98
|
this.o = null;
|
|
90
|
-
this.k = null;
|
|
91
99
|
this.n = null;
|
|
92
100
|
this.m = null;
|
|
93
|
-
this.l = null;
|
|
94
101
|
}
|
|
95
|
-
get
|
|
96
|
-
return this.
|
|
102
|
+
get r() {
|
|
103
|
+
return this.q;
|
|
97
104
|
}
|
|
98
105
|
get h() {
|
|
99
106
|
return this.g;
|
|
100
107
|
}
|
|
101
|
-
get
|
|
102
|
-
return this.
|
|
108
|
+
get k() {
|
|
109
|
+
return this.j;
|
|
103
110
|
}
|
|
104
111
|
ab() {
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
112
|
+
this.r.setStyleProperty("display", "flex");
|
|
113
|
+
this.r.setStyleProperty("flexDirection", "column");
|
|
114
|
+
this.r.setStyleProperty("flexWrap", "no-wrap");
|
|
115
|
+
this.r.setStyleProperty("alignItems", "left");
|
|
109
116
|
}
|
|
110
117
|
aj() {
|
|
111
118
|
let a = this.h;
|
|
112
119
|
let b = ElevationHelper.e(a.q, a.bn, a.bm, a.bi);
|
|
113
|
-
this.
|
|
120
|
+
this.r.setStyleProperty("box-shadow", b);
|
|
114
121
|
}
|
|
115
122
|
ak() {
|
|
116
|
-
if (null == this.
|
|
123
|
+
if (null == this.r) {
|
|
117
124
|
return;
|
|
118
125
|
}
|
|
119
126
|
this.aj();
|
|
120
127
|
this.ah();
|
|
121
128
|
this.ai();
|
|
122
129
|
this.ag();
|
|
123
|
-
if (null != this.
|
|
124
|
-
NativeUI.k(this.
|
|
130
|
+
if (null != this.p) {
|
|
131
|
+
NativeUI.k(this.p, this.h.bl);
|
|
125
132
|
}
|
|
126
|
-
if (null != this.
|
|
127
|
-
NativeUI.o(this.
|
|
133
|
+
if (null != this.l) {
|
|
134
|
+
NativeUI.o(this.l, this.h.bj);
|
|
128
135
|
}
|
|
129
|
-
if (null != this.
|
|
130
|
-
NativeUI.o(this.
|
|
136
|
+
if (null != this.o) {
|
|
137
|
+
NativeUI.o(this.o, this.h.bk);
|
|
131
138
|
}
|
|
132
139
|
}
|
|
133
140
|
a(a) {
|
|
134
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
141
|
+
return new AnimationKeyFrameEffect(0, this.l, 0, null, a);
|
|
135
142
|
}
|
|
136
143
|
b(a) {
|
|
137
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
144
|
+
return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
|
|
138
145
|
}
|
|
139
146
|
c(a) {
|
|
140
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
147
|
+
return new AnimationKeyFrameEffect(0, this.p, 0, null, a);
|
|
141
148
|
}
|
|
142
149
|
d(a) {
|
|
143
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
150
|
+
return new AnimationKeyFrameEffect(0, this.m, 0, null, a);
|
|
144
151
|
}
|
|
145
152
|
e(a) {
|
|
146
|
-
return new AnimationKeyFrameEffect(0, this.
|
|
153
|
+
return new AnimationKeyFrameEffect(0, this.n, 0, null, a);
|
|
147
154
|
}
|
|
148
155
|
u() {
|
|
149
156
|
if (KeyFrameAnimationFactory.h == null) {
|
|
150
|
-
KeyFrameAnimationFactory.h = this.
|
|
157
|
+
KeyFrameAnimationFactory.h = this.k;
|
|
151
158
|
}
|
|
152
159
|
}
|
|
153
|
-
|
|
154
|
-
return this.
|
|
160
|
+
i() {
|
|
161
|
+
return this.m.outerHeight();
|
|
155
162
|
}
|
|
156
163
|
ac(a) {
|
|
157
164
|
if (a == null) {
|
|
158
|
-
this.
|
|
165
|
+
this.j = null;
|
|
159
166
|
return;
|
|
160
167
|
}
|
|
161
|
-
this.
|
|
168
|
+
this.j = a;
|
|
162
169
|
let b = a.rootWrapper;
|
|
163
170
|
this.y(b);
|
|
164
171
|
}
|
|
@@ -175,19 +182,19 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
175
182
|
}
|
|
176
183
|
}
|
|
177
184
|
ah() {
|
|
178
|
-
if (null != this.
|
|
185
|
+
if (null != this.l) {
|
|
179
186
|
let a = this.h.ab;
|
|
180
|
-
this.
|
|
187
|
+
this.l.setRawText(a);
|
|
181
188
|
}
|
|
182
189
|
}
|
|
183
190
|
ai() {
|
|
184
|
-
if (null != this.
|
|
191
|
+
if (null != this.o) {
|
|
185
192
|
let a = this.h.ah;
|
|
186
|
-
this.
|
|
193
|
+
this.o.setRawText(a);
|
|
187
194
|
}
|
|
188
195
|
}
|
|
189
196
|
y(a) {
|
|
190
|
-
this.
|
|
197
|
+
this.q = a;
|
|
191
198
|
this.ab();
|
|
192
199
|
}
|
|
193
200
|
z(a) {
|
|
@@ -196,42 +203,42 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
196
203
|
aa() {
|
|
197
204
|
}
|
|
198
205
|
af(a) {
|
|
199
|
-
let b = this.
|
|
200
|
-
this.
|
|
206
|
+
let b = this.k;
|
|
207
|
+
this.p = a;
|
|
201
208
|
let c = b.createElement("div");
|
|
202
|
-
this.
|
|
209
|
+
this.p.append(c);
|
|
203
210
|
this.v(c);
|
|
204
211
|
let d = b.createElement("div");
|
|
205
212
|
d.setStyleProperty("display", "flex");
|
|
206
213
|
d.setStyleProperty("flex-direction", "column");
|
|
207
214
|
d.setStyleProperty("justify-content", "space-evenly");
|
|
208
215
|
d.setStyleProperty("align-items", "flex-start");
|
|
209
|
-
this.
|
|
216
|
+
this.p.append(d);
|
|
210
217
|
let e = b.createElement("div");
|
|
211
218
|
d.append(e);
|
|
212
|
-
this.
|
|
213
|
-
e.append(this.
|
|
219
|
+
this.l = b.createElement("label");
|
|
220
|
+
e.append(this.l);
|
|
214
221
|
let f = b.createElement("div");
|
|
215
222
|
d.append(f);
|
|
216
|
-
this.
|
|
217
|
-
f.append(this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
223
|
+
this.o = b.createElement("label");
|
|
224
|
+
f.append(this.o);
|
|
225
|
+
this.p.setAttribute("tabindex", "0");
|
|
226
|
+
this.p.setStyleProperty("display", "flex");
|
|
227
|
+
this.p.setStyleProperty("flex-direction", "row");
|
|
221
228
|
c.setStyleProperty("display", "flex");
|
|
222
229
|
c.setStyleProperty("justify-content", "center");
|
|
223
230
|
c.setStyleProperty("flex-direction", "column");
|
|
224
231
|
c.setStyleProperty("margin", "0px 10px 0px 10px");
|
|
225
232
|
c.setStyleProperty("flex", "none | 0 | content");
|
|
226
233
|
this.ak();
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
234
|
+
this.p.listen("click", runOn(this, this.w));
|
|
235
|
+
this.p.listen("keydown", runOn(this, this.x));
|
|
229
236
|
}
|
|
230
237
|
v(a) {
|
|
231
238
|
if (this.f != null) {
|
|
232
239
|
return;
|
|
233
240
|
}
|
|
234
|
-
this.
|
|
241
|
+
this.j.getPortal(a, "XIcon", (b) => {
|
|
235
242
|
let c = b.componentRef;
|
|
236
243
|
this.f = (c.i);
|
|
237
244
|
this.f.fill = ExpansionPanelView.al;
|
|
@@ -239,14 +246,14 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
239
246
|
}, false);
|
|
240
247
|
}
|
|
241
248
|
ae(a) {
|
|
242
|
-
let b = this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
249
|
+
let b = this.k;
|
|
250
|
+
this.n = a;
|
|
251
|
+
this.n.setAttribute("tabindex", "1");
|
|
252
|
+
this.n.setStyleProperty("overflow", "hidden");
|
|
246
253
|
}
|
|
247
254
|
ad(a) {
|
|
248
|
-
let b = this.
|
|
249
|
-
this.
|
|
255
|
+
let b = this.k;
|
|
256
|
+
this.m = a;
|
|
250
257
|
}
|
|
251
258
|
w(a) {
|
|
252
259
|
let b = a.originalEvent;
|
|
@@ -254,7 +261,7 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
254
261
|
this.h.a2();
|
|
255
262
|
}
|
|
256
263
|
x(a) {
|
|
257
|
-
let b = BaseDOMEventProxy.
|
|
264
|
+
let b = BaseDOMEventProxy.c0(a);
|
|
258
265
|
let c = ExpansionPanelUtilities.c(a);
|
|
259
266
|
switch (b) {
|
|
260
267
|
case 9:
|
|
@@ -286,8 +293,8 @@ let ExpansionPanelView = /*@__PURE__*/ (() => {
|
|
|
286
293
|
/**
|
|
287
294
|
* @hidden
|
|
288
295
|
*/
|
|
289
|
-
let
|
|
290
|
-
class
|
|
296
|
+
let XExpansionPanel = /*@__PURE__*/ (() => {
|
|
297
|
+
class XExpansionPanel extends Base {
|
|
291
298
|
constructor() {
|
|
292
299
|
super();
|
|
293
300
|
this.c = null;
|
|
@@ -297,24 +304,24 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
297
304
|
this.g = null;
|
|
298
305
|
this.aa = "Caption";
|
|
299
306
|
this.bb = null;
|
|
300
|
-
this.a4 =
|
|
307
|
+
this.a4 = XExpansionPanel.bs;
|
|
301
308
|
this.a9 = null;
|
|
302
309
|
this.ba = null;
|
|
303
310
|
this.ag = stringEmpty();
|
|
304
311
|
this.be = null;
|
|
305
|
-
this.a5 =
|
|
312
|
+
this.a5 = XExpansionPanel.bt;
|
|
306
313
|
this.bc = null;
|
|
307
314
|
this.bd = null;
|
|
308
315
|
this.p = -1;
|
|
309
|
-
this.o =
|
|
316
|
+
this.o = XExpansionPanel.r;
|
|
310
317
|
this.m = true;
|
|
311
318
|
this.bf = null;
|
|
312
|
-
this.a6 =
|
|
319
|
+
this.a6 = XExpansionPanel.bu;
|
|
313
320
|
this.bg = null;
|
|
314
321
|
this.bh = null;
|
|
315
|
-
this.a8 =
|
|
316
|
-
this.a7 =
|
|
317
|
-
this.a3 =
|
|
322
|
+
this.a8 = XExpansionPanel.bw;
|
|
323
|
+
this.a7 = XExpansionPanel.bv;
|
|
324
|
+
this.a3 = XExpansionPanel.br;
|
|
318
325
|
let a = this.f();
|
|
319
326
|
this.g = a;
|
|
320
327
|
a.z(this);
|
|
@@ -586,7 +593,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
586
593
|
}
|
|
587
594
|
break;
|
|
588
595
|
case "Elevation":
|
|
589
|
-
this.q = this.s == -1 ?
|
|
596
|
+
this.q = this.s == -1 ? XExpansionPanel.r : this.s;
|
|
590
597
|
break;
|
|
591
598
|
case "ActualElevation":
|
|
592
599
|
case "ActualHeaderBackgroundColor":
|
|
@@ -635,7 +642,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
635
642
|
return KeyFrameAnimationFactory.f.c(e);
|
|
636
643
|
}
|
|
637
644
|
k(a) {
|
|
638
|
-
let b = this.g.
|
|
645
|
+
let b = this.g.i();
|
|
639
646
|
if (b <= 0) {
|
|
640
647
|
b = 500;
|
|
641
648
|
}
|
|
@@ -656,7 +663,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
656
663
|
return KeyFrameAnimationFactory.f.c(j);
|
|
657
664
|
}
|
|
658
665
|
l(a) {
|
|
659
|
-
let b = this.g.
|
|
666
|
+
let b = this.g.i();
|
|
660
667
|
if (b <= 0) {
|
|
661
668
|
b = 500;
|
|
662
669
|
}
|
|
@@ -696,7 +703,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
696
703
|
b = c;
|
|
697
704
|
}
|
|
698
705
|
else {
|
|
699
|
-
b = null != this.bq ? this.bq :
|
|
706
|
+
b = null != this.bq ? this.bq : XExpansionPanel.bs;
|
|
700
707
|
}
|
|
701
708
|
return b;
|
|
702
709
|
}
|
|
@@ -711,7 +718,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
711
718
|
b = c;
|
|
712
719
|
}
|
|
713
720
|
else {
|
|
714
|
-
b = null != this.bz ? this.bz :
|
|
721
|
+
b = null != this.bz ? this.bz : XExpansionPanel.bt;
|
|
715
722
|
}
|
|
716
723
|
return b;
|
|
717
724
|
}
|
|
@@ -726,7 +733,7 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
726
733
|
b = c;
|
|
727
734
|
}
|
|
728
735
|
else {
|
|
729
|
-
b = null != this.b6 ? this.b6 :
|
|
736
|
+
b = null != this.b6 ? this.b6 : XExpansionPanel.bu;
|
|
730
737
|
}
|
|
731
738
|
return b;
|
|
732
739
|
}
|
|
@@ -757,15 +764,15 @@ let ExpansionPanel = /*@__PURE__*/ (() => {
|
|
|
757
764
|
this.n = !this.n;
|
|
758
765
|
}
|
|
759
766
|
}
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
return
|
|
767
|
+
XExpansionPanel.$t = /*@__PURE__*/ markType(XExpansionPanel, 'XExpansionPanel', Base.$, [INotifyPropertyChanged_$type]);
|
|
768
|
+
XExpansionPanel.bs = /*@__PURE__*/ BrushUtil.g(188, 0, 0, 0);
|
|
769
|
+
XExpansionPanel.bt = /*@__PURE__*/ BrushUtil.g(188, 0, 0, 0);
|
|
770
|
+
XExpansionPanel.r = 2;
|
|
771
|
+
XExpansionPanel.bu = /*@__PURE__*/ BrushUtil.g(255, 245, 245, 245);
|
|
772
|
+
XExpansionPanel.bw = /*@__PURE__*/ BrushUtil.g(66, 0, 0, 0);
|
|
773
|
+
XExpansionPanel.bv = /*@__PURE__*/ BrushUtil.g(30, 0, 0, 0);
|
|
774
|
+
XExpansionPanel.br = /*@__PURE__*/ BrushUtil.g(20, 0, 0, 0);
|
|
775
|
+
return XExpansionPanel;
|
|
769
776
|
})();
|
|
770
777
|
|
|
771
778
|
/*
|
|
@@ -823,8 +830,8 @@ class IgcOnCollapsedEventArgs {
|
|
|
823
830
|
}
|
|
824
831
|
}
|
|
825
832
|
|
|
826
|
-
let
|
|
827
|
-
class
|
|
833
|
+
let IgcXExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
834
|
+
class IgcXExpansionPanelComponent extends IgcHTMLElement {
|
|
828
835
|
constructor() {
|
|
829
836
|
super();
|
|
830
837
|
this._implementation = null;
|
|
@@ -907,7 +914,7 @@ let IgcExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
|
907
914
|
this._webComponentRenderer.destroy();
|
|
908
915
|
}
|
|
909
916
|
createImplementation() {
|
|
910
|
-
return new
|
|
917
|
+
return new XExpansionPanel();
|
|
911
918
|
}
|
|
912
919
|
get i() {
|
|
913
920
|
return this._implementation;
|
|
@@ -963,14 +970,14 @@ let IgcExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
|
963
970
|
this._settingAttributes = false;
|
|
964
971
|
}
|
|
965
972
|
static get observedAttributes() {
|
|
966
|
-
if (
|
|
967
|
-
let names = getAllPropertyNames(
|
|
973
|
+
if (IgcXExpansionPanelComponent._observedAttributesIgcXExpansionPanelComponent == null) {
|
|
974
|
+
let names = getAllPropertyNames(IgcXExpansionPanelComponent);
|
|
968
975
|
for (let i = 0; i < names.length; i++) {
|
|
969
976
|
names[i] = toSpinal(names[i]);
|
|
970
977
|
}
|
|
971
|
-
|
|
978
|
+
IgcXExpansionPanelComponent._observedAttributesIgcXExpansionPanelComponent = names;
|
|
972
979
|
}
|
|
973
|
-
return
|
|
980
|
+
return IgcXExpansionPanelComponent._observedAttributesIgcXExpansionPanelComponent;
|
|
974
981
|
}
|
|
975
982
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
976
983
|
if (this._settingAttributes) {
|
|
@@ -982,9 +989,9 @@ let IgcExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
|
982
989
|
this._updatingFromAttribute = false;
|
|
983
990
|
}
|
|
984
991
|
static register() {
|
|
985
|
-
if (!
|
|
986
|
-
|
|
987
|
-
RegisterElementHelper.registerElement(
|
|
992
|
+
if (!IgcXExpansionPanelComponent._isElementRegistered) {
|
|
993
|
+
IgcXExpansionPanelComponent._isElementRegistered = true;
|
|
994
|
+
RegisterElementHelper.registerElement(IgcXExpansionPanelComponent.htmlTagName, IgcXExpansionPanelComponent);
|
|
988
995
|
}
|
|
989
996
|
}
|
|
990
997
|
/**
|
|
@@ -1208,7 +1215,7 @@ let IgcExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
|
1208
1215
|
if (typeName.indexOf("Xam") === 0) {
|
|
1209
1216
|
typeName = typeName.substring(3);
|
|
1210
1217
|
}
|
|
1211
|
-
genericPrefix = toSpinal("
|
|
1218
|
+
genericPrefix = toSpinal("XExpansionPanelComponent");
|
|
1212
1219
|
let additionalPrefixes = [];
|
|
1213
1220
|
let prefix = toSpinal(typeName);
|
|
1214
1221
|
additionalPrefixes.push(prefix + "-");
|
|
@@ -1310,10 +1317,10 @@ let IgcExpansionPanelComponent = /*@__PURE__*/ (() => {
|
|
|
1310
1317
|
this.i.onExpanded = delegateCombine(this.i.onExpanded, this._onExpanded_wrapped);
|
|
1311
1318
|
}
|
|
1312
1319
|
}
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
return
|
|
1320
|
+
IgcXExpansionPanelComponent._observedAttributesIgcXExpansionPanelComponent = null;
|
|
1321
|
+
IgcXExpansionPanelComponent.htmlTagName = "igc-x-expansion-panel";
|
|
1322
|
+
IgcXExpansionPanelComponent._isElementRegistered = false;
|
|
1323
|
+
return IgcXExpansionPanelComponent;
|
|
1317
1324
|
})();
|
|
1318
1325
|
|
|
1319
1326
|
/*
|
|
@@ -1322,12 +1329,12 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
1322
1329
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
1323
1330
|
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.
|
|
1324
1331
|
*/
|
|
1325
|
-
class
|
|
1332
|
+
class IgcXExpansionPanelModule {
|
|
1326
1333
|
static register() {
|
|
1327
|
-
|
|
1328
|
-
TypeRegistrar.registerCons('
|
|
1329
|
-
TypeRegistrar.registerCons('
|
|
1330
|
-
TypeRegistrar.register('
|
|
1334
|
+
IgcXExpansionPanelComponent.register();
|
|
1335
|
+
TypeRegistrar.registerCons('IgcXExpansionPanelComponent', IgcXExpansionPanelComponent);
|
|
1336
|
+
TypeRegistrar.registerCons('IgcXExpansionPanelComponent', IgcXExpansionPanelComponent);
|
|
1337
|
+
TypeRegistrar.register('XExpansionPanel', XExpansionPanel.$type);
|
|
1331
1338
|
}
|
|
1332
1339
|
}
|
|
1333
1340
|
|
|
@@ -2521,6 +2528,35 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
2521
2528
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
2522
2529
|
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.
|
|
2523
2530
|
*/
|
|
2531
|
+
var PropertyEditorValueType = /*@__PURE__*/ (function (PropertyEditorValueType) {
|
|
2532
|
+
PropertyEditorValueType[PropertyEditorValueType["Unhandled"] = 0] = "Unhandled";
|
|
2533
|
+
PropertyEditorValueType[PropertyEditorValueType["Number"] = 1] = "Number";
|
|
2534
|
+
PropertyEditorValueType[PropertyEditorValueType["StringValue"] = 2] = "StringValue";
|
|
2535
|
+
PropertyEditorValueType[PropertyEditorValueType["Date"] = 3] = "Date";
|
|
2536
|
+
PropertyEditorValueType[PropertyEditorValueType["Brush"] = 4] = "Brush";
|
|
2537
|
+
PropertyEditorValueType[PropertyEditorValueType["Color"] = 5] = "Color";
|
|
2538
|
+
PropertyEditorValueType[PropertyEditorValueType["BrushCollection"] = 6] = "BrushCollection";
|
|
2539
|
+
PropertyEditorValueType[PropertyEditorValueType["boolean1"] = 7] = "boolean1";
|
|
2540
|
+
PropertyEditorValueType[PropertyEditorValueType["SubType"] = 8] = "SubType";
|
|
2541
|
+
PropertyEditorValueType[PropertyEditorValueType["Collection"] = 9] = "Collection";
|
|
2542
|
+
PropertyEditorValueType[PropertyEditorValueType["Array"] = 10] = "Array";
|
|
2543
|
+
PropertyEditorValueType[PropertyEditorValueType["Point"] = 11] = "Point";
|
|
2544
|
+
PropertyEditorValueType[PropertyEditorValueType["Size"] = 12] = "Size";
|
|
2545
|
+
PropertyEditorValueType[PropertyEditorValueType["Rect"] = 13] = "Rect";
|
|
2546
|
+
PropertyEditorValueType[PropertyEditorValueType["ColorCollection"] = 14] = "ColorCollection";
|
|
2547
|
+
PropertyEditorValueType[PropertyEditorValueType["EnumValue"] = 15] = "EnumValue";
|
|
2548
|
+
PropertyEditorValueType[PropertyEditorValueType["MethodRef"] = 16] = "MethodRef";
|
|
2549
|
+
PropertyEditorValueType[PropertyEditorValueType["EventRef"] = 17] = "EventRef";
|
|
2550
|
+
PropertyEditorValueType[PropertyEditorValueType["DataRef"] = 18] = "DataRef";
|
|
2551
|
+
PropertyEditorValueType[PropertyEditorValueType["TimeSpan"] = 19] = "TimeSpan";
|
|
2552
|
+
PropertyEditorValueType[PropertyEditorValueType["Button"] = 20] = "Button";
|
|
2553
|
+
PropertyEditorValueType[PropertyEditorValueType["Slider"] = 21] = "Slider";
|
|
2554
|
+
return PropertyEditorValueType;
|
|
2555
|
+
})({});
|
|
2556
|
+
/**
|
|
2557
|
+
* @hidden
|
|
2558
|
+
*/
|
|
2559
|
+
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');
|
|
2524
2560
|
|
|
2525
2561
|
/*
|
|
2526
2562
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -2528,6 +2564,15 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
2528
2564
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
2529
2565
|
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.
|
|
2530
2566
|
*/
|
|
2567
|
+
/**
|
|
2568
|
+
* @hidden
|
|
2569
|
+
*/
|
|
2570
|
+
let PropertyEditorPropertyDescriptionButtonClickEventArgs = /*@__PURE__*/ (() => {
|
|
2571
|
+
class PropertyEditorPropertyDescriptionButtonClickEventArgs extends EventArgs {
|
|
2572
|
+
}
|
|
2573
|
+
PropertyEditorPropertyDescriptionButtonClickEventArgs.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescriptionButtonClickEventArgs, 'PropertyEditorPropertyDescriptionButtonClickEventArgs', EventArgs.$);
|
|
2574
|
+
return PropertyEditorPropertyDescriptionButtonClickEventArgs;
|
|
2575
|
+
})();
|
|
2531
2576
|
|
|
2532
2577
|
/*
|
|
2533
2578
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -2536,27 +2581,64 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
2536
2581
|
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.
|
|
2537
2582
|
*/
|
|
2538
2583
|
/**
|
|
2539
|
-
*
|
|
2584
|
+
* @hidden
|
|
2540
2585
|
*/
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2586
|
+
let PropertyEditorPropertyDescriptionChangedEventArgs = /*@__PURE__*/ (() => {
|
|
2587
|
+
class PropertyEditorPropertyDescriptionChangedEventArgs extends EventArgs {
|
|
2588
|
+
constructor() {
|
|
2589
|
+
super(...arguments);
|
|
2590
|
+
this._newValue = null;
|
|
2591
|
+
}
|
|
2592
|
+
get newValue() {
|
|
2593
|
+
return this._newValue;
|
|
2594
|
+
}
|
|
2595
|
+
set newValue(a) {
|
|
2596
|
+
this._newValue = a;
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
PropertyEditorPropertyDescriptionChangedEventArgs.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescriptionChangedEventArgs, 'PropertyEditorPropertyDescriptionChangedEventArgs', EventArgs.$);
|
|
2600
|
+
return PropertyEditorPropertyDescriptionChangedEventArgs;
|
|
2601
|
+
})();
|
|
2602
|
+
|
|
2603
|
+
/*
|
|
2604
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
2605
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
2606
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
2607
|
+
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.
|
|
2608
|
+
*/
|
|
2556
2609
|
/**
|
|
2557
2610
|
* @hidden
|
|
2558
2611
|
*/
|
|
2559
|
-
let
|
|
2612
|
+
let PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs = /*@__PURE__*/ (() => {
|
|
2613
|
+
class PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs extends EventArgs {
|
|
2614
|
+
constructor() {
|
|
2615
|
+
super(...arguments);
|
|
2616
|
+
this._target = null;
|
|
2617
|
+
this._value = null;
|
|
2618
|
+
this._propertyPath = null;
|
|
2619
|
+
}
|
|
2620
|
+
get target() {
|
|
2621
|
+
return this._target;
|
|
2622
|
+
}
|
|
2623
|
+
set target(a) {
|
|
2624
|
+
this._target = a;
|
|
2625
|
+
}
|
|
2626
|
+
get value() {
|
|
2627
|
+
return this._value;
|
|
2628
|
+
}
|
|
2629
|
+
set value(a) {
|
|
2630
|
+
this._value = a;
|
|
2631
|
+
}
|
|
2632
|
+
get propertyPath() {
|
|
2633
|
+
return this._propertyPath;
|
|
2634
|
+
}
|
|
2635
|
+
set propertyPath(a) {
|
|
2636
|
+
this._propertyPath = a;
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, 'PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs', EventArgs.$);
|
|
2640
|
+
return PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs;
|
|
2641
|
+
})();
|
|
2560
2642
|
|
|
2561
2643
|
/*
|
|
2562
2644
|
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
@@ -2565,27 +2647,3818 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
2565
2647
|
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.
|
|
2566
2648
|
*/
|
|
2567
2649
|
/**
|
|
2568
|
-
*
|
|
2650
|
+
* @hidden
|
|
2569
2651
|
*/
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2652
|
+
let PropertyEditorPropertyDescription = /*@__PURE__*/ (() => {
|
|
2653
|
+
class PropertyEditorPropertyDescription extends Base {
|
|
2654
|
+
constructor() {
|
|
2655
|
+
super(...arguments);
|
|
2656
|
+
this.ah = null;
|
|
2657
|
+
this.af = null;
|
|
2658
|
+
this.m = 0;
|
|
2659
|
+
this.ag = null;
|
|
2660
|
+
this.o = false;
|
|
2661
|
+
this.ae = null;
|
|
2662
|
+
this.a = null;
|
|
2663
|
+
this.b = null;
|
|
2664
|
+
this.ab = null;
|
|
2665
|
+
this.u = NaN;
|
|
2666
|
+
this.r = NaN;
|
|
2667
|
+
this.s = NaN;
|
|
2668
|
+
this.t = NaN;
|
|
2669
|
+
this.v = NaN;
|
|
2670
|
+
this.f = null;
|
|
2671
|
+
this.h = null;
|
|
2672
|
+
this.e = null;
|
|
2673
|
+
this.propertyChanged = null;
|
|
2674
|
+
this.buttonClicked = null;
|
|
2675
|
+
this.changed = null;
|
|
2676
|
+
this.targetPropertyUpdating = null;
|
|
2677
|
+
}
|
|
2678
|
+
get al() {
|
|
2679
|
+
return this.ah;
|
|
2680
|
+
}
|
|
2681
|
+
set al(a) {
|
|
2682
|
+
let b = this.ah;
|
|
2683
|
+
this.ah = a;
|
|
2684
|
+
if (this.ah != b) {
|
|
2685
|
+
this.ao("PropertyPath", b, a);
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
get aj() {
|
|
2689
|
+
return this.af;
|
|
2690
|
+
}
|
|
2691
|
+
set aj(a) {
|
|
2692
|
+
let b = this.af;
|
|
2693
|
+
this.af = a;
|
|
2694
|
+
if (this.af != b) {
|
|
2695
|
+
this.ao("Label", b, a);
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
get n() {
|
|
2699
|
+
return this.m;
|
|
2700
|
+
}
|
|
2701
|
+
set n(a) {
|
|
2702
|
+
let b = this.m;
|
|
2703
|
+
this.m = a;
|
|
2704
|
+
if (this.m != b) {
|
|
2705
|
+
this.ao("ValueType", enumGetBox(PropertyEditorValueType_$type, b), enumGetBox(PropertyEditorValueType_$type, a));
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
get ak() {
|
|
2709
|
+
return this.ag;
|
|
2710
|
+
}
|
|
2711
|
+
set ak(a) {
|
|
2712
|
+
let b = this.ag;
|
|
2713
|
+
this.ag = a;
|
|
2714
|
+
if (this.ag != b) {
|
|
2715
|
+
this.ao("PropertyDescriptionType", b, a);
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
get q() {
|
|
2719
|
+
return this.o;
|
|
2720
|
+
}
|
|
2721
|
+
set q(a) {
|
|
2722
|
+
let b = this.o;
|
|
2723
|
+
this.o = a;
|
|
2724
|
+
if (this.o != b) {
|
|
2725
|
+
this.ao("ShouldOverrideDefaultEditor", b, a);
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
get ai() {
|
|
2729
|
+
return this.ae;
|
|
2730
|
+
}
|
|
2731
|
+
set ai(a) {
|
|
2732
|
+
let b = this.ae;
|
|
2733
|
+
this.ae = a;
|
|
2734
|
+
if (this.ae != b) {
|
|
2735
|
+
this.ao("ElementDescriptionType", b, a);
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
get c() {
|
|
2739
|
+
return this.a;
|
|
2740
|
+
}
|
|
2741
|
+
set c(a) {
|
|
2742
|
+
let b = this.a;
|
|
2743
|
+
this.a = a;
|
|
2744
|
+
if (this.a != b) {
|
|
2745
|
+
this.ao("DropDownNames", b, a);
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
get d() {
|
|
2749
|
+
return this.b;
|
|
2750
|
+
}
|
|
2751
|
+
set d(a) {
|
|
2752
|
+
let b = this.b;
|
|
2753
|
+
this.b = a;
|
|
2754
|
+
if (this.b != b) {
|
|
2755
|
+
this.ao("DropDownValues", b, a);
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
get ad() {
|
|
2759
|
+
return this.ab;
|
|
2760
|
+
}
|
|
2761
|
+
set ad(a) {
|
|
2762
|
+
let b = this.ab;
|
|
2763
|
+
this.ab = a;
|
|
2764
|
+
if (this.ab != b) {
|
|
2765
|
+
this.ao("PrimitiveValue", b, a);
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
get z() {
|
|
2769
|
+
return this.u;
|
|
2770
|
+
}
|
|
2771
|
+
set z(a) {
|
|
2772
|
+
let b = this.u;
|
|
2773
|
+
this.u = a;
|
|
2774
|
+
if (this.u != b) {
|
|
2775
|
+
this.ao("Min", b, a);
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
get w() {
|
|
2779
|
+
return this.r;
|
|
2780
|
+
}
|
|
2781
|
+
set w(a) {
|
|
2782
|
+
let b = this.r;
|
|
2783
|
+
this.r = a;
|
|
2784
|
+
if (this.r != b) {
|
|
2785
|
+
this.ao("EditorWidth", b, a);
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
get x() {
|
|
2789
|
+
return this.s;
|
|
2790
|
+
}
|
|
2791
|
+
set x(a) {
|
|
2792
|
+
let b = this.s;
|
|
2793
|
+
this.s = a;
|
|
2794
|
+
if (this.s != b) {
|
|
2795
|
+
this.ao("LabelWidth", b, a);
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
get y() {
|
|
2799
|
+
return this.t;
|
|
2800
|
+
}
|
|
2801
|
+
set y(a) {
|
|
2802
|
+
let b = this.t;
|
|
2803
|
+
this.t = a;
|
|
2804
|
+
if (this.t != b) {
|
|
2805
|
+
this.ao("Max", b, a);
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
get aa() {
|
|
2809
|
+
return this.v;
|
|
2810
|
+
}
|
|
2811
|
+
set aa(a) {
|
|
2812
|
+
let b = this.v;
|
|
2813
|
+
this.v = a;
|
|
2814
|
+
if (this.v != b) {
|
|
2815
|
+
this.ao("Step", b, a);
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
get g() {
|
|
2819
|
+
return this.f;
|
|
2820
|
+
}
|
|
2821
|
+
set g(a) {
|
|
2822
|
+
let b = this.f;
|
|
2823
|
+
this.f = a;
|
|
2824
|
+
if (this.f != b) {
|
|
2825
|
+
this.ao("ComplexValue", b, a);
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
get i() {
|
|
2829
|
+
return this.h;
|
|
2830
|
+
}
|
|
2831
|
+
set i(a) {
|
|
2832
|
+
let b = this.h;
|
|
2833
|
+
this.h = a;
|
|
2834
|
+
if (this.h != b) {
|
|
2835
|
+
this.ao("ComplexValues", b, a);
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
ao(a, b, c) {
|
|
2839
|
+
if (this.propertyChanged != null) {
|
|
2840
|
+
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
p(a) {
|
|
2844
|
+
let b = false;
|
|
2845
|
+
if (a == null) {
|
|
2846
|
+
return false;
|
|
2847
|
+
}
|
|
2848
|
+
if (a.c != null && (this.c == null || !this.q)) {
|
|
2849
|
+
this.c = a.c;
|
|
2850
|
+
}
|
|
2851
|
+
if (a.d != null && (this.d == null || !this.q)) {
|
|
2852
|
+
this.d = a.d;
|
|
2853
|
+
}
|
|
2854
|
+
if (a.ai != null && (this.ai == null || !this.q)) {
|
|
2855
|
+
this.ai = a.ai;
|
|
2856
|
+
}
|
|
2857
|
+
if (a.ak != null && (this.ak == null || !this.q)) {
|
|
2858
|
+
this.ak = a.ak;
|
|
2859
|
+
}
|
|
2860
|
+
if (a.n != 0 && (this.n == 0 || !this.q)) {
|
|
2861
|
+
this.n = a.n;
|
|
2862
|
+
b = true;
|
|
2863
|
+
}
|
|
2864
|
+
return true;
|
|
2865
|
+
}
|
|
2866
|
+
ac(a, b) {
|
|
2867
|
+
if (b) {
|
|
2868
|
+
return this.e;
|
|
2869
|
+
}
|
|
2870
|
+
if (this.e != null) {
|
|
2871
|
+
return this.e.d(a, false);
|
|
2872
|
+
}
|
|
2873
|
+
return null;
|
|
2874
|
+
}
|
|
2875
|
+
an() {
|
|
2876
|
+
if (this.buttonClicked != null) {
|
|
2877
|
+
this.buttonClicked(this, new PropertyEditorPropertyDescriptionButtonClickEventArgs());
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
am() {
|
|
2881
|
+
if (this.changed != null) {
|
|
2882
|
+
this.changed(this, ((() => {
|
|
2883
|
+
let $ret = new PropertyEditorPropertyDescriptionChangedEventArgs();
|
|
2884
|
+
$ret.newValue = this.ad;
|
|
2885
|
+
return $ret;
|
|
2886
|
+
})()));
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
ap(a, b, c) {
|
|
2890
|
+
if (this.targetPropertyUpdating != null) {
|
|
2891
|
+
this.targetPropertyUpdating(this, ((() => {
|
|
2892
|
+
let $ret = new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
|
|
2893
|
+
$ret.propertyPath = a;
|
|
2894
|
+
$ret.target = b;
|
|
2895
|
+
$ret.value = c;
|
|
2896
|
+
return $ret;
|
|
2897
|
+
})()));
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
PropertyEditorPropertyDescription.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescription, 'PropertyEditorPropertyDescription', Base.$, [INotifyPropertyChanged_$type]);
|
|
2902
|
+
return PropertyEditorPropertyDescription;
|
|
2903
|
+
})();
|
|
2585
2904
|
/**
|
|
2586
2905
|
* @hidden
|
|
2587
2906
|
*/
|
|
2588
|
-
let
|
|
2907
|
+
let PropertyEditorPropertyDescriptionCollection = /*@__PURE__*/ (() => {
|
|
2908
|
+
class PropertyEditorPropertyDescriptionCollection extends ObservableCollection$1 {
|
|
2909
|
+
constructor() {
|
|
2910
|
+
super(PropertyEditorPropertyDescription.$, 0);
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
PropertyEditorPropertyDescriptionCollection.$t = /*@__PURE__*/ markType(PropertyEditorPropertyDescriptionCollection, 'PropertyEditorPropertyDescriptionCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(PropertyEditorPropertyDescription.$));
|
|
2914
|
+
return PropertyEditorPropertyDescriptionCollection;
|
|
2915
|
+
})();
|
|
2916
|
+
/**
|
|
2917
|
+
* @hidden
|
|
2918
|
+
*/
|
|
2919
|
+
let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
2920
|
+
class PropertyEditorDataSource extends Base {
|
|
2921
|
+
constructor() {
|
|
2922
|
+
super(...arguments);
|
|
2923
|
+
this.i = null;
|
|
2924
|
+
this.a = null;
|
|
2925
|
+
this.f = null;
|
|
2926
|
+
this.propertyChanged = null;
|
|
2927
|
+
}
|
|
2928
|
+
get l() {
|
|
2929
|
+
return this.i;
|
|
2930
|
+
}
|
|
2931
|
+
set l(a) {
|
|
2932
|
+
let b = this.i;
|
|
2933
|
+
this.i = a;
|
|
2934
|
+
this.n("DescriptionType", b, this.i);
|
|
2935
|
+
}
|
|
2936
|
+
get b() {
|
|
2937
|
+
return this.a;
|
|
2938
|
+
}
|
|
2939
|
+
set b(a) {
|
|
2940
|
+
let b = this.a;
|
|
2941
|
+
this.a = a;
|
|
2942
|
+
this.n("Context", b, this.a);
|
|
2943
|
+
}
|
|
2944
|
+
get g() {
|
|
2945
|
+
return this.f;
|
|
2946
|
+
}
|
|
2947
|
+
set g(a) {
|
|
2948
|
+
let b = this.f;
|
|
2949
|
+
this.f = a;
|
|
2950
|
+
this.n("Data", b, this.f);
|
|
2951
|
+
}
|
|
2952
|
+
n(a, b, c) {
|
|
2953
|
+
if (this.propertyChanged != null) {
|
|
2954
|
+
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
2955
|
+
}
|
|
2956
|
+
this.o(a, b, c);
|
|
2957
|
+
}
|
|
2958
|
+
o(a, b, c) {
|
|
2959
|
+
switch (a) {
|
|
2960
|
+
case "DescriptionType":
|
|
2961
|
+
this.p();
|
|
2962
|
+
break;
|
|
2963
|
+
case "Context":
|
|
2964
|
+
this.p();
|
|
2965
|
+
break;
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
e(a) {
|
|
2969
|
+
let b = new PropertyEditorPropertyDescription();
|
|
2970
|
+
b.al = a.propertyName;
|
|
2971
|
+
b.n = this.h(a);
|
|
2972
|
+
b.ak = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
2973
|
+
if (a.knownType == 9) {
|
|
2974
|
+
b.ai = a.collectionElementType;
|
|
2975
|
+
b.e = ((() => {
|
|
2976
|
+
let $ret = new PropertyEditorDataSource();
|
|
2977
|
+
$ret.b = this.a;
|
|
2978
|
+
$ret.l = b.ai;
|
|
2979
|
+
return $ret;
|
|
2980
|
+
})());
|
|
2981
|
+
}
|
|
2982
|
+
if (b.n == 8) {
|
|
2983
|
+
b.e = ((() => {
|
|
2984
|
+
let $ret = new PropertyEditorDataSource();
|
|
2985
|
+
$ret.b = this.a;
|
|
2986
|
+
$ret.l = b.ak;
|
|
2987
|
+
return $ret;
|
|
2988
|
+
})());
|
|
2989
|
+
}
|
|
2990
|
+
if (b.n == 15) {
|
|
2991
|
+
b.c = this.a.c(this.l, b.al);
|
|
2992
|
+
b.d = b.d;
|
|
2993
|
+
}
|
|
2994
|
+
return b;
|
|
2995
|
+
}
|
|
2996
|
+
h(a) {
|
|
2997
|
+
switch (a.knownType) {
|
|
2998
|
+
case 10: return 10;
|
|
2999
|
+
case 7: return 7;
|
|
3000
|
+
case 4: return 4;
|
|
3001
|
+
case 6: return 6;
|
|
3002
|
+
case 9: return 9;
|
|
3003
|
+
case 5: return 5;
|
|
3004
|
+
case 16: return 14;
|
|
3005
|
+
case 20: return 18;
|
|
3006
|
+
case 15: return 0;
|
|
3007
|
+
case 3: return 3;
|
|
3008
|
+
case 19: return 17;
|
|
3009
|
+
case 8:
|
|
3010
|
+
if (a.specificExternalType == "string") {
|
|
3011
|
+
return 15;
|
|
3012
|
+
}
|
|
3013
|
+
return 8;
|
|
3014
|
+
case 13: return 0;
|
|
3015
|
+
case 18: return 0;
|
|
3016
|
+
case 1: return 1;
|
|
3017
|
+
case 11: return 11;
|
|
3018
|
+
case 14: return 13;
|
|
3019
|
+
case 12: return 12;
|
|
3020
|
+
case 2: return 2;
|
|
3021
|
+
case 21: return 19;
|
|
3022
|
+
case 17: return 0;
|
|
3023
|
+
case 0: return 0;
|
|
3024
|
+
}
|
|
3025
|
+
return 0;
|
|
3026
|
+
}
|
|
3027
|
+
p() {
|
|
3028
|
+
let a = new PropertyEditorPropertyDescriptionCollection();
|
|
3029
|
+
if (this.l != null && this.b != null) {
|
|
3030
|
+
let b = this.b.b(this.l);
|
|
3031
|
+
if (b == null) {
|
|
3032
|
+
return;
|
|
3033
|
+
}
|
|
3034
|
+
for (let c = 0; c < b.length; c++) {
|
|
3035
|
+
if (stringEndsWith(b[c], "@names")) {
|
|
3036
|
+
continue;
|
|
3037
|
+
}
|
|
3038
|
+
if (stringEndsWith(b[c], "@nameBinding")) {
|
|
3039
|
+
continue;
|
|
3040
|
+
}
|
|
3041
|
+
let d = this.b.getMetadata(this.l, b[c]);
|
|
3042
|
+
let e = this.e(d);
|
|
3043
|
+
if (e.n == 0) {
|
|
3044
|
+
continue;
|
|
3045
|
+
}
|
|
3046
|
+
a.add(e);
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3049
|
+
this.g = a;
|
|
3050
|
+
}
|
|
3051
|
+
d(a, b) {
|
|
3052
|
+
if (a == null) {
|
|
3053
|
+
return null;
|
|
3054
|
+
}
|
|
3055
|
+
let c = stringSplit(a, ['.', '['], 0);
|
|
3056
|
+
let d = new List$1(String_$type, 1, c);
|
|
3057
|
+
let e = null;
|
|
3058
|
+
let f = null;
|
|
3059
|
+
let g = null;
|
|
3060
|
+
while (d.count > 0) {
|
|
3061
|
+
let h = d._inner[0];
|
|
3062
|
+
d.removeAt(0);
|
|
3063
|
+
let i = false;
|
|
3064
|
+
if (stringContains(h, "]")) {
|
|
3065
|
+
h = stringReplace(h, "]", "");
|
|
3066
|
+
i = true;
|
|
3067
|
+
let j = h.split(',');
|
|
3068
|
+
h = j[0].trim();
|
|
3069
|
+
if (stringContains(h, "as")) {
|
|
3070
|
+
let k = h.indexOf("as");
|
|
3071
|
+
g = h.substr(0, k).trim();
|
|
3072
|
+
f = h.substr(k + 2).trim();
|
|
3073
|
+
}
|
|
3074
|
+
if (f != null && f != this.l) {
|
|
3075
|
+
let l = this.c();
|
|
3076
|
+
l.l = f;
|
|
3077
|
+
e = l;
|
|
3078
|
+
continue;
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
if (b) {
|
|
3082
|
+
i = true;
|
|
3083
|
+
}
|
|
3084
|
+
if (e != null && typeCast(PropertyEditorPropertyDescription.$, e) !== null) {
|
|
3085
|
+
let m = e.ac(h, i);
|
|
3086
|
+
if (m == null) {
|
|
3087
|
+
return null;
|
|
3088
|
+
}
|
|
3089
|
+
e = m;
|
|
3090
|
+
}
|
|
3091
|
+
else {
|
|
3092
|
+
if (e != null) {
|
|
3093
|
+
let n = e;
|
|
3094
|
+
let o = n.d(h, i);
|
|
3095
|
+
if (o == null) {
|
|
3096
|
+
return null;
|
|
3097
|
+
}
|
|
3098
|
+
e = o;
|
|
3099
|
+
}
|
|
3100
|
+
else {
|
|
3101
|
+
if (this.g == null) {
|
|
3102
|
+
return null;
|
|
3103
|
+
}
|
|
3104
|
+
for (let p = 0; p < this.g.count; p++) {
|
|
3105
|
+
if (Base.equalsStatic(this.g._inner[p].al, h)) {
|
|
3106
|
+
e = this.g._inner[p];
|
|
3107
|
+
break;
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
if (e == null) {
|
|
3111
|
+
return null;
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3116
|
+
return typeCast(PropertyEditorPropertyDescription.$, e);
|
|
3117
|
+
}
|
|
3118
|
+
c() {
|
|
3119
|
+
return ((() => {
|
|
3120
|
+
let $ret = new PropertyEditorDataSource();
|
|
3121
|
+
$ret.b = this.b;
|
|
3122
|
+
$ret.l = this.l;
|
|
3123
|
+
return $ret;
|
|
3124
|
+
})());
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
PropertyEditorDataSource.$t = /*@__PURE__*/ markType(PropertyEditorDataSource, 'PropertyEditorDataSource', Base.$, [INotifyPropertyChanged_$type]);
|
|
3128
|
+
return PropertyEditorDataSource;
|
|
3129
|
+
})();
|
|
3130
|
+
/**
|
|
3131
|
+
* @hidden
|
|
3132
|
+
*/
|
|
3133
|
+
let PropertyEditorDescriptionObject = /*@__PURE__*/ (() => {
|
|
3134
|
+
class PropertyEditorDescriptionObject extends Base {
|
|
3135
|
+
constructor() {
|
|
3136
|
+
super(...arguments);
|
|
3137
|
+
this.b = null;
|
|
3138
|
+
this.a = null;
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
PropertyEditorDescriptionObject.$t = /*@__PURE__*/ markType(PropertyEditorDescriptionObject, 'PropertyEditorDescriptionObject');
|
|
3142
|
+
return PropertyEditorDescriptionObject;
|
|
3143
|
+
})();
|
|
3144
|
+
/**
|
|
3145
|
+
* @hidden
|
|
3146
|
+
*/
|
|
3147
|
+
let PropertyEditorDescriptionObjectCollection = /*@__PURE__*/ (() => {
|
|
3148
|
+
class PropertyEditorDescriptionObjectCollection extends ObservableCollection$1 {
|
|
3149
|
+
constructor() {
|
|
3150
|
+
super(PropertyEditorDescriptionObject.$, 0);
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
PropertyEditorDescriptionObjectCollection.$t = /*@__PURE__*/ markType(PropertyEditorDescriptionObjectCollection, 'PropertyEditorDescriptionObjectCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(PropertyEditorDescriptionObject.$));
|
|
3154
|
+
return PropertyEditorDescriptionObjectCollection;
|
|
3155
|
+
})();
|
|
3156
|
+
|
|
3157
|
+
/*
|
|
3158
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3159
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3160
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3161
|
+
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.
|
|
3162
|
+
*/
|
|
3163
|
+
|
|
3164
|
+
class IgcPropertyEditorPropertyDescriptionCollection extends IgCollection {
|
|
3165
|
+
constructor(list) {
|
|
3166
|
+
super();
|
|
3167
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
3168
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
3169
|
+
}
|
|
3170
|
+
if (list) {
|
|
3171
|
+
for (let i = 0; i < list.length; i++) {
|
|
3172
|
+
this.add(list[i]);
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
_createInnerColl() {
|
|
3177
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
3178
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
3179
|
+
}
|
|
3180
|
+
let coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription.$type, 0);
|
|
3181
|
+
coll.compare = (ext, int) => {
|
|
3182
|
+
let comp = ext;
|
|
3183
|
+
if (comp._implementation) {
|
|
3184
|
+
comp = comp._implementation;
|
|
3185
|
+
}
|
|
3186
|
+
if (comp.equals) {
|
|
3187
|
+
return comp.equals(int);
|
|
3188
|
+
}
|
|
3189
|
+
return comp === int;
|
|
3190
|
+
};
|
|
3191
|
+
coll.createTo = (ext) => {
|
|
3192
|
+
return ext._implementation;
|
|
3193
|
+
};
|
|
3194
|
+
coll.createFrom = (int) => {
|
|
3195
|
+
let ext = int.externalObject;
|
|
3196
|
+
if (!ext) {
|
|
3197
|
+
ext = new IgcPropertyEditorPropertyDescriptionComponent();
|
|
3198
|
+
if (ext) {
|
|
3199
|
+
ext._implementation = int;
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
return ext;
|
|
3203
|
+
};
|
|
3204
|
+
return coll;
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
/*
|
|
3209
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3210
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3211
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3212
|
+
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.
|
|
3213
|
+
*/
|
|
3214
|
+
|
|
3215
|
+
/*
|
|
3216
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3217
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3218
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3219
|
+
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.
|
|
3220
|
+
*/
|
|
3221
|
+
|
|
3222
|
+
class IgcPropertyEditorDescriptionObject {
|
|
3223
|
+
constructor() {
|
|
3224
|
+
this._properties = null;
|
|
3225
|
+
this._implementation = this.createImplementation();
|
|
3226
|
+
this._implementation.externalObject = this;
|
|
3227
|
+
this.onImplementationCreated();
|
|
3228
|
+
}
|
|
3229
|
+
createImplementation() {
|
|
3230
|
+
return new PropertyEditorDescriptionObject();
|
|
3231
|
+
}
|
|
3232
|
+
/**
|
|
3233
|
+
* @hidden
|
|
3234
|
+
*/
|
|
3235
|
+
get i() {
|
|
3236
|
+
return this._implementation;
|
|
3237
|
+
}
|
|
3238
|
+
onImplementationCreated() {
|
|
3239
|
+
}
|
|
3240
|
+
_provideImplementation(i) {
|
|
3241
|
+
this._implementation = i;
|
|
3242
|
+
this._implementation.externalObject = this;
|
|
3243
|
+
this.onImplementationCreated();
|
|
3244
|
+
}
|
|
3245
|
+
get descriptionType() {
|
|
3246
|
+
return this.i.b;
|
|
3247
|
+
}
|
|
3248
|
+
set descriptionType(v) {
|
|
3249
|
+
this.i.b = v;
|
|
3250
|
+
}
|
|
3251
|
+
get properties() {
|
|
3252
|
+
if (this._properties === null) {
|
|
3253
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
3254
|
+
let innerColl = this.i.a;
|
|
3255
|
+
if (!innerColl) {
|
|
3256
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection();
|
|
3257
|
+
}
|
|
3258
|
+
this._properties = coll._fromInner(innerColl);
|
|
3259
|
+
this.i.a = innerColl;
|
|
3260
|
+
}
|
|
3261
|
+
return this._properties;
|
|
3262
|
+
}
|
|
3263
|
+
set properties(v) {
|
|
3264
|
+
if (this._properties !== null) {
|
|
3265
|
+
this._properties._setSyncTarget(null);
|
|
3266
|
+
this._properties = null;
|
|
3267
|
+
}
|
|
3268
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
3269
|
+
this._properties = coll._fromOuter(v);
|
|
3270
|
+
let syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
3271
|
+
let innerColl = this.i.a;
|
|
3272
|
+
if (!innerColl) {
|
|
3273
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection();
|
|
3274
|
+
}
|
|
3275
|
+
syncColl._inner = innerColl;
|
|
3276
|
+
syncColl.clear();
|
|
3277
|
+
this._properties._setSyncTarget(syncColl);
|
|
3278
|
+
this.i.a = innerColl;
|
|
3279
|
+
}
|
|
3280
|
+
findByName(name) {
|
|
3281
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
3282
|
+
return this.properties.findByName(name);
|
|
3283
|
+
}
|
|
3284
|
+
return null;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
class IgcPropertyEditorDescriptionObjectCollection extends IgCollection {
|
|
3289
|
+
constructor(list) {
|
|
3290
|
+
super();
|
|
3291
|
+
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
3292
|
+
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
3293
|
+
}
|
|
3294
|
+
if (list) {
|
|
3295
|
+
for (let i = 0; i < list.length; i++) {
|
|
3296
|
+
this.add(list[i]);
|
|
3297
|
+
}
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
_createInnerColl() {
|
|
3301
|
+
if (!IgcPropertyEditorDescriptionObject.$type) {
|
|
3302
|
+
IgcPropertyEditorDescriptionObject.$type = markType(IgcPropertyEditorDescriptionObject, "IgcPropertyEditorDescriptionObject");
|
|
3303
|
+
}
|
|
3304
|
+
let coll = new SyncableObservableCollection$2(IgcPropertyEditorDescriptionObject.$type, PropertyEditorDescriptionObject.$type, 0);
|
|
3305
|
+
coll.compare = (ext, int) => {
|
|
3306
|
+
let comp = ext;
|
|
3307
|
+
if (comp._implementation) {
|
|
3308
|
+
comp = comp._implementation;
|
|
3309
|
+
}
|
|
3310
|
+
if (comp.equals) {
|
|
3311
|
+
return comp.equals(int);
|
|
3312
|
+
}
|
|
3313
|
+
return comp === int;
|
|
3314
|
+
};
|
|
3315
|
+
coll.createTo = (ext) => {
|
|
3316
|
+
return ext._implementation;
|
|
3317
|
+
};
|
|
3318
|
+
coll.createFrom = (int) => {
|
|
3319
|
+
let ext = int.externalObject;
|
|
3320
|
+
if (!ext) {
|
|
3321
|
+
ext = new IgcPropertyEditorDescriptionObject();
|
|
3322
|
+
if (ext) {
|
|
3323
|
+
ext._implementation = int;
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
return ext;
|
|
3327
|
+
};
|
|
3328
|
+
return coll;
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
class IgcPropertyEditorPropertyDescriptionButtonClickEventArgs {
|
|
3333
|
+
createImplementation() {
|
|
3334
|
+
return new PropertyEditorPropertyDescriptionButtonClickEventArgs();
|
|
3335
|
+
}
|
|
3336
|
+
/**
|
|
3337
|
+
* @hidden
|
|
3338
|
+
*/
|
|
3339
|
+
get i() {
|
|
3340
|
+
return this._implementation;
|
|
3341
|
+
}
|
|
3342
|
+
onImplementationCreated() {
|
|
3343
|
+
}
|
|
3344
|
+
constructor() {
|
|
3345
|
+
this._implementation = this.createImplementation();
|
|
3346
|
+
this._implementation.externalObject = this;
|
|
3347
|
+
this.onImplementationCreated();
|
|
3348
|
+
}
|
|
3349
|
+
_provideImplementation(i) {
|
|
3350
|
+
this._implementation = i;
|
|
3351
|
+
this._implementation.externalObject = this;
|
|
3352
|
+
this.onImplementationCreated();
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
class IgcPropertyEditorPropertyDescriptionChangedEventArgs {
|
|
3357
|
+
createImplementation() {
|
|
3358
|
+
return new PropertyEditorPropertyDescriptionChangedEventArgs();
|
|
3359
|
+
}
|
|
3360
|
+
/**
|
|
3361
|
+
* @hidden
|
|
3362
|
+
*/
|
|
3363
|
+
get i() {
|
|
3364
|
+
return this._implementation;
|
|
3365
|
+
}
|
|
3366
|
+
onImplementationCreated() {
|
|
3367
|
+
}
|
|
3368
|
+
constructor() {
|
|
3369
|
+
this._implementation = this.createImplementation();
|
|
3370
|
+
this._implementation.externalObject = this;
|
|
3371
|
+
this.onImplementationCreated();
|
|
3372
|
+
}
|
|
3373
|
+
_provideImplementation(i) {
|
|
3374
|
+
this._implementation = i;
|
|
3375
|
+
this._implementation.externalObject = this;
|
|
3376
|
+
this.onImplementationCreated();
|
|
3377
|
+
}
|
|
3378
|
+
get newValue() {
|
|
3379
|
+
return this.i.newValue;
|
|
3380
|
+
}
|
|
3381
|
+
set newValue(v) {
|
|
3382
|
+
this.i.newValue = v;
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
class IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs {
|
|
3387
|
+
createImplementation() {
|
|
3388
|
+
return new PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
|
|
3389
|
+
}
|
|
3390
|
+
/**
|
|
3391
|
+
* @hidden
|
|
3392
|
+
*/
|
|
3393
|
+
get i() {
|
|
3394
|
+
return this._implementation;
|
|
3395
|
+
}
|
|
3396
|
+
onImplementationCreated() {
|
|
3397
|
+
}
|
|
3398
|
+
constructor() {
|
|
3399
|
+
this._implementation = this.createImplementation();
|
|
3400
|
+
this._implementation.externalObject = this;
|
|
3401
|
+
this.onImplementationCreated();
|
|
3402
|
+
}
|
|
3403
|
+
_provideImplementation(i) {
|
|
3404
|
+
this._implementation = i;
|
|
3405
|
+
this._implementation.externalObject = this;
|
|
3406
|
+
this.onImplementationCreated();
|
|
3407
|
+
}
|
|
3408
|
+
get target() {
|
|
3409
|
+
return this.i.target;
|
|
3410
|
+
}
|
|
3411
|
+
set target(v) {
|
|
3412
|
+
this.i.target = v;
|
|
3413
|
+
}
|
|
3414
|
+
get value() {
|
|
3415
|
+
return this.i.value;
|
|
3416
|
+
}
|
|
3417
|
+
set value(v) {
|
|
3418
|
+
this.i.value = v;
|
|
3419
|
+
}
|
|
3420
|
+
get propertyPath() {
|
|
3421
|
+
return this.i.propertyPath;
|
|
3422
|
+
}
|
|
3423
|
+
set propertyPath(v) {
|
|
3424
|
+
this.i.propertyPath = v;
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
/*
|
|
3429
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3430
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3431
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3432
|
+
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.
|
|
3433
|
+
*/
|
|
3434
|
+
|
|
3435
|
+
let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() => {
|
|
3436
|
+
class IgcPropertyEditorPropertyDescriptionComponent extends IgcHTMLElement {
|
|
3437
|
+
constructor() {
|
|
3438
|
+
super();
|
|
3439
|
+
this._settingAttributes = false;
|
|
3440
|
+
this._attached = false;
|
|
3441
|
+
this._queuedSetAttributes = [];
|
|
3442
|
+
this._updatingFromAttribute = false;
|
|
3443
|
+
this._complexValues = null;
|
|
3444
|
+
this.__p = null;
|
|
3445
|
+
this._hasUserValues = new Set();
|
|
3446
|
+
this._stylingContainer = null;
|
|
3447
|
+
this._stylingParent = null;
|
|
3448
|
+
this._inStyling = false;
|
|
3449
|
+
this._buttonClicked = null;
|
|
3450
|
+
this._buttonClicked_wrapped = null;
|
|
3451
|
+
this._changed = null;
|
|
3452
|
+
this._changed_wrapped = null;
|
|
3453
|
+
this._targetPropertyUpdating = null;
|
|
3454
|
+
this._targetPropertyUpdating_wrapped = null;
|
|
3455
|
+
if (this._styling) {
|
|
3456
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
3457
|
+
}
|
|
3458
|
+
this._implementation = this.createImplementation();
|
|
3459
|
+
this._implementation.externalObject = this;
|
|
3460
|
+
this.onImplementationCreated();
|
|
3461
|
+
}
|
|
3462
|
+
createImplementation() {
|
|
3463
|
+
return new PropertyEditorPropertyDescription();
|
|
3464
|
+
}
|
|
3465
|
+
/**
|
|
3466
|
+
* @hidden
|
|
3467
|
+
*/
|
|
3468
|
+
get i() {
|
|
3469
|
+
return this._implementation;
|
|
3470
|
+
} /**
|
|
3471
|
+
* @hidden
|
|
3472
|
+
*/
|
|
3473
|
+
static _createFromInternal(internal) {
|
|
3474
|
+
if (!internal) {
|
|
3475
|
+
return null;
|
|
3476
|
+
}
|
|
3477
|
+
if (!internal.$type) {
|
|
3478
|
+
return null;
|
|
3479
|
+
}
|
|
3480
|
+
let name = internal.$type.name;
|
|
3481
|
+
let externalName = "Igc" + name + "Component";
|
|
3482
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
3483
|
+
return null;
|
|
3484
|
+
}
|
|
3485
|
+
return TypeRegistrar.create(externalName);
|
|
3486
|
+
}
|
|
3487
|
+
onImplementationCreated() {
|
|
3488
|
+
}
|
|
3489
|
+
_enqueueSetAttribute(attrName, attrValue) {
|
|
3490
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
3491
|
+
}
|
|
3492
|
+
_flushQueuedAttributes() {
|
|
3493
|
+
this._settingAttributes = true;
|
|
3494
|
+
for (let i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
3495
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
3496
|
+
}
|
|
3497
|
+
this._settingAttributes = false;
|
|
3498
|
+
this._queuedSetAttributes.length = 0;
|
|
3499
|
+
}
|
|
3500
|
+
_a(attrName, attrValue) {
|
|
3501
|
+
if (this._updatingFromAttribute) {
|
|
3502
|
+
return;
|
|
3503
|
+
}
|
|
3504
|
+
if (attrValue) {
|
|
3505
|
+
attrValue = attrValue.toString();
|
|
3506
|
+
}
|
|
3507
|
+
this._settingAttributes = true;
|
|
3508
|
+
attrName = toSpinal(attrName);
|
|
3509
|
+
if (this._attached) {
|
|
3510
|
+
this.setAttribute(attrName, attrValue);
|
|
3511
|
+
}
|
|
3512
|
+
else {
|
|
3513
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
3514
|
+
}
|
|
3515
|
+
this._settingAttributes = false;
|
|
3516
|
+
}
|
|
3517
|
+
connectedCallback() {
|
|
3518
|
+
if (super["connectedCallback"]) {
|
|
3519
|
+
super["connectedCallback"]();
|
|
3520
|
+
}
|
|
3521
|
+
if (!this._attached) {
|
|
3522
|
+
this._attached = true;
|
|
3523
|
+
this._flushQueuedAttributes();
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
static get observedAttributes() {
|
|
3527
|
+
if (IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent == null) {
|
|
3528
|
+
let names = getAllPropertyNames(IgcPropertyEditorPropertyDescriptionComponent);
|
|
3529
|
+
for (let i = 0; i < names.length; i++) {
|
|
3530
|
+
names[i] = toSpinal(names[i]);
|
|
3531
|
+
}
|
|
3532
|
+
IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = names;
|
|
3533
|
+
}
|
|
3534
|
+
return IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent;
|
|
3535
|
+
}
|
|
3536
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
3537
|
+
if (this._settingAttributes) {
|
|
3538
|
+
return;
|
|
3539
|
+
}
|
|
3540
|
+
let setName = fromSpinal(name);
|
|
3541
|
+
this._updatingFromAttribute = true;
|
|
3542
|
+
this[setName] = newValue;
|
|
3543
|
+
this._updatingFromAttribute = false;
|
|
3544
|
+
}
|
|
3545
|
+
static register() {
|
|
3546
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered) {
|
|
3547
|
+
IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered = true;
|
|
3548
|
+
RegisterElementHelper.registerElement(IgcPropertyEditorPropertyDescriptionComponent.htmlTagName, IgcPropertyEditorPropertyDescriptionComponent);
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
get propertyPath() {
|
|
3552
|
+
return this.i.al;
|
|
3553
|
+
}
|
|
3554
|
+
set propertyPath(v) {
|
|
3555
|
+
this.i.al = v;
|
|
3556
|
+
}
|
|
3557
|
+
get label() {
|
|
3558
|
+
return this.i.aj;
|
|
3559
|
+
}
|
|
3560
|
+
set label(v) {
|
|
3561
|
+
this.i.aj = v;
|
|
3562
|
+
}
|
|
3563
|
+
get valueType() {
|
|
3564
|
+
return this.i.n;
|
|
3565
|
+
}
|
|
3566
|
+
set valueType(v) {
|
|
3567
|
+
this.i.n = ensureEnum(PropertyEditorValueType_$type, v);
|
|
3568
|
+
this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.n));
|
|
3569
|
+
}
|
|
3570
|
+
get propertyDescriptionType() {
|
|
3571
|
+
return this.i.ak;
|
|
3572
|
+
}
|
|
3573
|
+
set propertyDescriptionType(v) {
|
|
3574
|
+
this.i.ak = v;
|
|
3575
|
+
}
|
|
3576
|
+
get shouldOverrideDefaultEditor() {
|
|
3577
|
+
return this.i.q;
|
|
3578
|
+
}
|
|
3579
|
+
set shouldOverrideDefaultEditor(v) {
|
|
3580
|
+
this.i.q = ensureBool(v);
|
|
3581
|
+
this._a("shouldOverrideDefaultEditor", this.i.q);
|
|
3582
|
+
}
|
|
3583
|
+
get elementDescriptionType() {
|
|
3584
|
+
return this.i.ai;
|
|
3585
|
+
}
|
|
3586
|
+
set elementDescriptionType(v) {
|
|
3587
|
+
this.i.ai = v;
|
|
3588
|
+
}
|
|
3589
|
+
get dropDownNames() {
|
|
3590
|
+
return this.i.c;
|
|
3591
|
+
}
|
|
3592
|
+
set dropDownNames(v) {
|
|
3593
|
+
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
3594
|
+
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
3595
|
+
v = v.split(re);
|
|
3596
|
+
}
|
|
3597
|
+
this.i.c = v;
|
|
3598
|
+
}
|
|
3599
|
+
get dropDownValues() {
|
|
3600
|
+
return this.i.d;
|
|
3601
|
+
}
|
|
3602
|
+
set dropDownValues(v) {
|
|
3603
|
+
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
3604
|
+
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
3605
|
+
v = v.split(re);
|
|
3606
|
+
}
|
|
3607
|
+
this.i.d = v;
|
|
3608
|
+
}
|
|
3609
|
+
get primitiveValue() {
|
|
3610
|
+
return this.i.ad;
|
|
3611
|
+
}
|
|
3612
|
+
set primitiveValue(v) {
|
|
3613
|
+
this.i.ad = v;
|
|
3614
|
+
}
|
|
3615
|
+
get min() {
|
|
3616
|
+
return this.i.z;
|
|
3617
|
+
}
|
|
3618
|
+
set min(v) {
|
|
3619
|
+
this.i.z = +v;
|
|
3620
|
+
this._a("min", this.i.z);
|
|
3621
|
+
}
|
|
3622
|
+
get editorWidth() {
|
|
3623
|
+
return this.i.w;
|
|
3624
|
+
}
|
|
3625
|
+
set editorWidth(v) {
|
|
3626
|
+
this.i.w = +v;
|
|
3627
|
+
this._a("editorWidth", this.i.w);
|
|
3628
|
+
}
|
|
3629
|
+
get labelWidth() {
|
|
3630
|
+
return this.i.x;
|
|
3631
|
+
}
|
|
3632
|
+
set labelWidth(v) {
|
|
3633
|
+
this.i.x = +v;
|
|
3634
|
+
this._a("labelWidth", this.i.x);
|
|
3635
|
+
}
|
|
3636
|
+
get max() {
|
|
3637
|
+
return this.i.y;
|
|
3638
|
+
}
|
|
3639
|
+
set max(v) {
|
|
3640
|
+
this.i.y = +v;
|
|
3641
|
+
this._a("max", this.i.y);
|
|
3642
|
+
}
|
|
3643
|
+
get step() {
|
|
3644
|
+
return this.i.aa;
|
|
3645
|
+
}
|
|
3646
|
+
set step(v) {
|
|
3647
|
+
this.i.aa = +v;
|
|
3648
|
+
this._a("step", this.i.aa);
|
|
3649
|
+
}
|
|
3650
|
+
get complexValue() {
|
|
3651
|
+
if (this.i.g == null) {
|
|
3652
|
+
return null;
|
|
3653
|
+
}
|
|
3654
|
+
if (!this.i.g.externalObject) {
|
|
3655
|
+
let e = new IgcPropertyEditorDescriptionObject();
|
|
3656
|
+
e._implementation = this.i.g;
|
|
3657
|
+
this.i.g.externalObject = e;
|
|
3658
|
+
}
|
|
3659
|
+
return this.i.g.externalObject;
|
|
3660
|
+
}
|
|
3661
|
+
set complexValue(v) {
|
|
3662
|
+
v == null ? this.i.g = null : this.i.g = v.i;
|
|
3663
|
+
}
|
|
3664
|
+
get complexValues() {
|
|
3665
|
+
if (this._complexValues === null) {
|
|
3666
|
+
let coll = new IgcPropertyEditorDescriptionObjectCollection();
|
|
3667
|
+
let innerColl = this.i.i;
|
|
3668
|
+
if (!innerColl) {
|
|
3669
|
+
innerColl = new PropertyEditorDescriptionObjectCollection();
|
|
3670
|
+
}
|
|
3671
|
+
this._complexValues = coll._fromInner(innerColl);
|
|
3672
|
+
this.i.i = innerColl;
|
|
3673
|
+
}
|
|
3674
|
+
return this._complexValues;
|
|
3675
|
+
}
|
|
3676
|
+
set complexValues(v) {
|
|
3677
|
+
if (this._complexValues !== null) {
|
|
3678
|
+
this._complexValues._setSyncTarget(null);
|
|
3679
|
+
this._complexValues = null;
|
|
3680
|
+
}
|
|
3681
|
+
let coll = new IgcPropertyEditorDescriptionObjectCollection();
|
|
3682
|
+
this._complexValues = coll._fromOuter(v);
|
|
3683
|
+
let syncColl = new SyncableObservableCollection$1(PropertyEditorDescriptionObject.$type);
|
|
3684
|
+
let innerColl = this.i.i;
|
|
3685
|
+
if (!innerColl) {
|
|
3686
|
+
innerColl = new PropertyEditorDescriptionObjectCollection();
|
|
3687
|
+
}
|
|
3688
|
+
syncColl._inner = innerColl;
|
|
3689
|
+
syncColl.clear();
|
|
3690
|
+
this._complexValues._setSyncTarget(syncColl);
|
|
3691
|
+
this.i.i = innerColl;
|
|
3692
|
+
}
|
|
3693
|
+
findByName(name) {
|
|
3694
|
+
if (this.complexValue && this.complexValue.name && this.complexValue.name == name) {
|
|
3695
|
+
return this.complexValue;
|
|
3696
|
+
}
|
|
3697
|
+
if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
|
|
3698
|
+
return this.complexValues.findByName(name);
|
|
3699
|
+
}
|
|
3700
|
+
return null;
|
|
3701
|
+
}
|
|
3702
|
+
get hasUserValues() {
|
|
3703
|
+
return this._hasUserValues;
|
|
3704
|
+
}
|
|
3705
|
+
__m(propertyName) {
|
|
3706
|
+
if (!this._inStyling) {
|
|
3707
|
+
this._hasUserValues.add(propertyName);
|
|
3708
|
+
}
|
|
3709
|
+
}
|
|
3710
|
+
_styling(container, component, parent) {
|
|
3711
|
+
if (this._inStyling) {
|
|
3712
|
+
return;
|
|
3713
|
+
}
|
|
3714
|
+
this._inStyling = true;
|
|
3715
|
+
this._stylingContainer = container;
|
|
3716
|
+
this._stylingParent = component;
|
|
3717
|
+
let genericPrefix = "";
|
|
3718
|
+
let typeName = this.i.$type.name;
|
|
3719
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
3720
|
+
typeName = typeName.substring(3);
|
|
3721
|
+
}
|
|
3722
|
+
genericPrefix = toSpinal("PropertyEditorPropertyDescriptionComponent");
|
|
3723
|
+
let additionalPrefixes = [];
|
|
3724
|
+
let prefix = toSpinal(typeName);
|
|
3725
|
+
additionalPrefixes.push(prefix + "-");
|
|
3726
|
+
let b = this.i.$type.baseType;
|
|
3727
|
+
while (b && b.name != "Object" &&
|
|
3728
|
+
b.name != "Base" &&
|
|
3729
|
+
b.name != "Control" &&
|
|
3730
|
+
b.Name != "DependencyObject" &&
|
|
3731
|
+
b.Name != "FrameworkElement") {
|
|
3732
|
+
typeName = b.name;
|
|
3733
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
3734
|
+
typeName = typeName.substring(3);
|
|
3735
|
+
}
|
|
3736
|
+
let basePrefix = toSpinal(typeName);
|
|
3737
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
3738
|
+
b = b.baseType;
|
|
3739
|
+
}
|
|
3740
|
+
if (parent) {
|
|
3741
|
+
let parentTypeName = parent.i.$type.name;
|
|
3742
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
3743
|
+
parentTypeName = parentTypeName.substring(3);
|
|
3744
|
+
}
|
|
3745
|
+
let parentPrefix = toSpinal(parentTypeName);
|
|
3746
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
3747
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
3748
|
+
}
|
|
3749
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
3750
|
+
if (this._otherStyling) {
|
|
3751
|
+
this._otherStyling(container, component, parent);
|
|
3752
|
+
}
|
|
3753
|
+
this._inStyling = false;
|
|
3754
|
+
}
|
|
3755
|
+
get buttonClicked() {
|
|
3756
|
+
return this._buttonClicked;
|
|
3757
|
+
}
|
|
3758
|
+
set buttonClicked(ev) {
|
|
3759
|
+
if (this._buttonClicked_wrapped !== null) {
|
|
3760
|
+
this.i.buttonClicked = delegateRemove(this.i.buttonClicked, this._buttonClicked_wrapped);
|
|
3761
|
+
this._buttonClicked_wrapped = null;
|
|
3762
|
+
this._buttonClicked = null;
|
|
3763
|
+
}
|
|
3764
|
+
this._buttonClicked = ev;
|
|
3765
|
+
this._buttonClicked_wrapped = (o, e) => {
|
|
3766
|
+
let outerArgs = new IgcPropertyEditorPropertyDescriptionButtonClickEventArgs();
|
|
3767
|
+
outerArgs._provideImplementation(e);
|
|
3768
|
+
if (this.beforeButtonClicked) {
|
|
3769
|
+
this.beforeButtonClicked(this, outerArgs);
|
|
3770
|
+
}
|
|
3771
|
+
if (this._buttonClicked) {
|
|
3772
|
+
this._buttonClicked(this, outerArgs);
|
|
3773
|
+
}
|
|
3774
|
+
};
|
|
3775
|
+
this.i.buttonClicked = delegateCombine(this.i.buttonClicked, this._buttonClicked_wrapped);
|
|
3776
|
+
}
|
|
3777
|
+
get changed() {
|
|
3778
|
+
return this._changed;
|
|
3779
|
+
}
|
|
3780
|
+
set changed(ev) {
|
|
3781
|
+
if (this._changed_wrapped !== null) {
|
|
3782
|
+
this.i.changed = delegateRemove(this.i.changed, this._changed_wrapped);
|
|
3783
|
+
this._changed_wrapped = null;
|
|
3784
|
+
this._changed = null;
|
|
3785
|
+
}
|
|
3786
|
+
this._changed = ev;
|
|
3787
|
+
this._changed_wrapped = (o, e) => {
|
|
3788
|
+
let outerArgs = new IgcPropertyEditorPropertyDescriptionChangedEventArgs();
|
|
3789
|
+
outerArgs._provideImplementation(e);
|
|
3790
|
+
if (this.beforeChanged) {
|
|
3791
|
+
this.beforeChanged(this, outerArgs);
|
|
3792
|
+
}
|
|
3793
|
+
if (this._changed) {
|
|
3794
|
+
this._changed(this, outerArgs);
|
|
3795
|
+
}
|
|
3796
|
+
};
|
|
3797
|
+
this.i.changed = delegateCombine(this.i.changed, this._changed_wrapped);
|
|
3798
|
+
}
|
|
3799
|
+
get targetPropertyUpdating() {
|
|
3800
|
+
return this._targetPropertyUpdating;
|
|
3801
|
+
}
|
|
3802
|
+
set targetPropertyUpdating(ev) {
|
|
3803
|
+
if (this._targetPropertyUpdating_wrapped !== null) {
|
|
3804
|
+
this.i.targetPropertyUpdating = delegateRemove(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
|
|
3805
|
+
this._targetPropertyUpdating_wrapped = null;
|
|
3806
|
+
this._targetPropertyUpdating = null;
|
|
3807
|
+
}
|
|
3808
|
+
this._targetPropertyUpdating = ev;
|
|
3809
|
+
this._targetPropertyUpdating_wrapped = (o, e) => {
|
|
3810
|
+
let outerArgs = new IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs();
|
|
3811
|
+
outerArgs._provideImplementation(e);
|
|
3812
|
+
if (this.beforeTargetPropertyUpdating) {
|
|
3813
|
+
this.beforeTargetPropertyUpdating(this, outerArgs);
|
|
3814
|
+
}
|
|
3815
|
+
if (this._targetPropertyUpdating) {
|
|
3816
|
+
this._targetPropertyUpdating(this, outerArgs);
|
|
3817
|
+
}
|
|
3818
|
+
};
|
|
3819
|
+
this.i.targetPropertyUpdating = delegateCombine(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent = null;
|
|
3823
|
+
IgcPropertyEditorPropertyDescriptionComponent.htmlTagName = "igc-property-editor-property-description";
|
|
3824
|
+
IgcPropertyEditorPropertyDescriptionComponent._isElementRegistered = false;
|
|
3825
|
+
return IgcPropertyEditorPropertyDescriptionComponent;
|
|
3826
|
+
})();
|
|
3827
|
+
|
|
3828
|
+
/*
|
|
3829
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3830
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3831
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3832
|
+
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.
|
|
3833
|
+
*/
|
|
3834
|
+
class IgcPropertyEditorPropertyDescriptionModule {
|
|
3835
|
+
static register() {
|
|
3836
|
+
IgcPropertyEditorPropertyDescriptionComponent.register();
|
|
3837
|
+
TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent", IgcPropertyEditorPropertyDescriptionComponent);
|
|
3838
|
+
TypeRegistrar.register("PropertyEditorPropertyDescription", PropertyEditorPropertyDescription.$type);
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
/*
|
|
3843
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3844
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3845
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3846
|
+
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.
|
|
3847
|
+
*/
|
|
3848
|
+
/**
|
|
3849
|
+
* @hidden
|
|
3850
|
+
*/
|
|
3851
|
+
let PropertyEditorPanelTemplateCellUpdatingEventArgs = /*@__PURE__*/ (() => {
|
|
3852
|
+
class PropertyEditorPanelTemplateCellUpdatingEventArgs extends Base {
|
|
3853
|
+
constructor() {
|
|
3854
|
+
super(...arguments);
|
|
3855
|
+
this.b = 0;
|
|
3856
|
+
this.c = null;
|
|
3857
|
+
this.a = null;
|
|
3858
|
+
}
|
|
3859
|
+
}
|
|
3860
|
+
PropertyEditorPanelTemplateCellUpdatingEventArgs.$t = /*@__PURE__*/ markType(PropertyEditorPanelTemplateCellUpdatingEventArgs, 'PropertyEditorPanelTemplateCellUpdatingEventArgs');
|
|
3861
|
+
return PropertyEditorPanelTemplateCellUpdatingEventArgs;
|
|
3862
|
+
})();
|
|
3863
|
+
|
|
3864
|
+
/*
|
|
3865
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3866
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3867
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3868
|
+
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.
|
|
3869
|
+
*/
|
|
3870
|
+
/**
|
|
3871
|
+
* @hidden
|
|
3872
|
+
*/
|
|
3873
|
+
let PropertyEditorPanelDataBindingEventArgs = /*@__PURE__*/ (() => {
|
|
3874
|
+
class PropertyEditorPanelDataBindingEventArgs extends Base {
|
|
3875
|
+
constructor() {
|
|
3876
|
+
super(...arguments);
|
|
3877
|
+
this.a = 0;
|
|
3878
|
+
this.c = null;
|
|
3879
|
+
this.b = null;
|
|
3880
|
+
}
|
|
3881
|
+
}
|
|
3882
|
+
PropertyEditorPanelDataBindingEventArgs.$t = /*@__PURE__*/ markType(PropertyEditorPanelDataBindingEventArgs, 'PropertyEditorPanelDataBindingEventArgs');
|
|
3883
|
+
return PropertyEditorPanelDataBindingEventArgs;
|
|
3884
|
+
})();
|
|
3885
|
+
|
|
3886
|
+
/*
|
|
3887
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3888
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3889
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3890
|
+
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.
|
|
3891
|
+
*/
|
|
3892
|
+
/**
|
|
3893
|
+
* @hidden
|
|
3894
|
+
*/
|
|
3895
|
+
let PropertyEditorPanelColumnDefinition = /*@__PURE__*/ (() => {
|
|
3896
|
+
class PropertyEditorPanelColumnDefinition extends Base {
|
|
3897
|
+
constructor() {
|
|
3898
|
+
super(...arguments);
|
|
3899
|
+
this.b = 0;
|
|
3900
|
+
this.f = 0;
|
|
3901
|
+
this.g = 0;
|
|
3902
|
+
this.a = 0;
|
|
3903
|
+
this.h = 0;
|
|
3904
|
+
this.j = null;
|
|
3905
|
+
this.cellUpdating = null;
|
|
3906
|
+
this.dataBinding = null;
|
|
3907
|
+
}
|
|
3908
|
+
i(a, b, c) {
|
|
3909
|
+
if (this.dataBinding != null) {
|
|
3910
|
+
let d = new PropertyEditorPanelDataBindingEventArgs();
|
|
3911
|
+
d.b = a;
|
|
3912
|
+
d.a = b;
|
|
3913
|
+
d.c = c;
|
|
3914
|
+
this.dataBinding(this, d);
|
|
3915
|
+
return d.b;
|
|
3916
|
+
}
|
|
3917
|
+
else {
|
|
3918
|
+
return a;
|
|
3919
|
+
}
|
|
3920
|
+
}
|
|
3921
|
+
e(a, b, c) {
|
|
3922
|
+
if (this.cellUpdating != null) {
|
|
3923
|
+
let d = new PropertyEditorPanelTemplateCellUpdatingEventArgs();
|
|
3924
|
+
d.a = a;
|
|
3925
|
+
d.b = b;
|
|
3926
|
+
d.c = c;
|
|
3927
|
+
this.cellUpdating(this, d);
|
|
3928
|
+
return d.a;
|
|
3929
|
+
}
|
|
3930
|
+
else {
|
|
3931
|
+
return a;
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
}
|
|
3935
|
+
PropertyEditorPanelColumnDefinition.$t = /*@__PURE__*/ markType(PropertyEditorPanelColumnDefinition, 'PropertyEditorPanelColumnDefinition');
|
|
3936
|
+
return PropertyEditorPanelColumnDefinition;
|
|
3937
|
+
})();
|
|
3938
|
+
|
|
3939
|
+
/*
|
|
3940
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3941
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3942
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3943
|
+
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.
|
|
3944
|
+
*/
|
|
3945
|
+
/**
|
|
3946
|
+
* @hidden
|
|
3947
|
+
*/
|
|
3948
|
+
let HorizontalPropertyEditorPanelDataSource = /*@__PURE__*/ (() => {
|
|
3949
|
+
class HorizontalPropertyEditorPanelDataSource extends PropertyEditorPropertyDescriptionCollection {
|
|
3950
|
+
constructor(a) {
|
|
3951
|
+
super();
|
|
3952
|
+
this.ae = null;
|
|
3953
|
+
this.add(new PropertyEditorPropertyDescription());
|
|
3954
|
+
this.ae = a;
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
HorizontalPropertyEditorPanelDataSource.$t = /*@__PURE__*/ markType(HorizontalPropertyEditorPanelDataSource, 'HorizontalPropertyEditorPanelDataSource', PropertyEditorPropertyDescriptionCollection.$);
|
|
3958
|
+
return HorizontalPropertyEditorPanelDataSource;
|
|
3959
|
+
})();
|
|
3960
|
+
|
|
3961
|
+
/*
|
|
3962
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3963
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3964
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3965
|
+
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.
|
|
3966
|
+
*/
|
|
3967
|
+
|
|
3968
|
+
/*
|
|
3969
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3970
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
3971
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
3972
|
+
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.
|
|
3973
|
+
*/
|
|
3974
|
+
/**
|
|
3975
|
+
* @hidden
|
|
3976
|
+
*/
|
|
3977
|
+
let PropertyEditorTreeTransformer = /*@__PURE__*/ (() => {
|
|
3978
|
+
class PropertyEditorTreeTransformer extends Base {
|
|
3979
|
+
constructor(a, b) {
|
|
3980
|
+
super();
|
|
3981
|
+
this.a = new DescriptionTreeNode();
|
|
3982
|
+
this.b = null;
|
|
3983
|
+
this.b = a;
|
|
3984
|
+
this.a = new DescriptionTreeNode();
|
|
3985
|
+
this.a.h = b;
|
|
3986
|
+
let c = new JsonDictionaryObject();
|
|
3987
|
+
}
|
|
3988
|
+
h(a, b, c) {
|
|
3989
|
+
if (a == null) {
|
|
3990
|
+
return;
|
|
3991
|
+
}
|
|
3992
|
+
this.c(a, b, this.a, c, null);
|
|
3993
|
+
}
|
|
3994
|
+
c(a, b, c, d, e) {
|
|
3995
|
+
if (a == null) {
|
|
3996
|
+
return null;
|
|
3997
|
+
}
|
|
3998
|
+
let f = stringSplit(a, ['.', '['], 0);
|
|
3999
|
+
let g = f[0];
|
|
4000
|
+
let h = f.length > 1;
|
|
4001
|
+
let i = false;
|
|
4002
|
+
let j = new List$1(Number_$type, 0);
|
|
4003
|
+
let k = new List$1(String_$type, 0);
|
|
4004
|
+
if (stringContains(g, "]")) {
|
|
4005
|
+
i = true;
|
|
4006
|
+
g = stringReplace(g, "]", "");
|
|
4007
|
+
let l = g.split(',');
|
|
4008
|
+
for (let m = 0; m < l.length; m++) {
|
|
4009
|
+
let n = l[m];
|
|
4010
|
+
if (stringContains(n, "as")) {
|
|
4011
|
+
let o = n.indexOf("as");
|
|
4012
|
+
let p = n.substr(0, o).trim();
|
|
4013
|
+
let q = n.substr(o + 2).trim();
|
|
4014
|
+
j.add(parseInt(p));
|
|
4015
|
+
k.add(q);
|
|
4016
|
+
d = q;
|
|
4017
|
+
g = p;
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
let r = null;
|
|
4022
|
+
if (!i) {
|
|
4023
|
+
r = this.b.getMetadata(d, g);
|
|
4024
|
+
}
|
|
4025
|
+
else {
|
|
4026
|
+
r = e;
|
|
4027
|
+
}
|
|
4028
|
+
if (h) {
|
|
4029
|
+
if (i) {
|
|
4030
|
+
let s = c.b;
|
|
4031
|
+
for (let t = 0; t < j.count; t++) {
|
|
4032
|
+
g = j._inner[t].toString();
|
|
4033
|
+
let u = k._inner[t];
|
|
4034
|
+
let v = parseInt(stringReplace(stringReplace(g, "[", ""), "]", ""));
|
|
4035
|
+
{
|
|
4036
|
+
let w = new List$1(Base.$, 0);
|
|
4037
|
+
for (let x = 0; x <= v; x++) {
|
|
4038
|
+
if (s != null && x < s.length) {
|
|
4039
|
+
let y = s[x];
|
|
4040
|
+
if (typeCast(DescriptionTreeNode.$, y) !== null && x == v) {
|
|
4041
|
+
y.h = u;
|
|
4042
|
+
}
|
|
4043
|
+
w.add1(y);
|
|
4044
|
+
}
|
|
4045
|
+
else {
|
|
4046
|
+
let z = this.d(e, true, u);
|
|
4047
|
+
if (z != null) {
|
|
4048
|
+
w.add1(z);
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
}
|
|
4052
|
+
s = w.toArray();
|
|
4053
|
+
let aa = s[v];
|
|
4054
|
+
let ab = new List$1(String_$type, 1, f);
|
|
4055
|
+
ab.removeAt(0);
|
|
4056
|
+
let ac = r.collectionElementType;
|
|
4057
|
+
if (u != null) {
|
|
4058
|
+
ac = u;
|
|
4059
|
+
}
|
|
4060
|
+
let ad = this.c(stringJoin(".", ...ab.toArray()), b, aa, ac, r);
|
|
4061
|
+
if (ad != null) {
|
|
4062
|
+
s[v] = ad;
|
|
4063
|
+
}
|
|
4064
|
+
c.b = s;
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
}
|
|
4068
|
+
else {
|
|
4069
|
+
let ae = c;
|
|
4070
|
+
if (!ae.b(g)) {
|
|
4071
|
+
ae.n(g, this.d(r, false, null), r);
|
|
4072
|
+
}
|
|
4073
|
+
let af = ae.a(g);
|
|
4074
|
+
let ag = new List$1(String_$type, 1, f);
|
|
4075
|
+
ag.removeAt(0);
|
|
4076
|
+
let ah = this.c(stringJoin(".", ...ag.toArray()), b, af, r.specificExternalType, r);
|
|
4077
|
+
if (ah != null) {
|
|
4078
|
+
ae.n(g, ah, r);
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
else {
|
|
4083
|
+
let ai = c;
|
|
4084
|
+
ai.n(g, this.e(b, r), r);
|
|
4085
|
+
}
|
|
4086
|
+
return null;
|
|
4087
|
+
}
|
|
4088
|
+
f(a) {
|
|
4089
|
+
if (a == null) {
|
|
4090
|
+
return null;
|
|
4091
|
+
}
|
|
4092
|
+
if (a.length < 1) {
|
|
4093
|
+
return "";
|
|
4094
|
+
}
|
|
4095
|
+
return a.substr(0, 1).toLowerCase() + a.substr(1);
|
|
4096
|
+
}
|
|
4097
|
+
e(a, b) {
|
|
4098
|
+
if (a == null) {
|
|
4099
|
+
return null;
|
|
4100
|
+
}
|
|
4101
|
+
if (b == null) {
|
|
4102
|
+
return null;
|
|
4103
|
+
}
|
|
4104
|
+
switch (b.knownType) {
|
|
4105
|
+
case 10: return a;
|
|
4106
|
+
case 7: return a;
|
|
4107
|
+
case 4: return a.toString();
|
|
4108
|
+
case 6: return a;
|
|
4109
|
+
case 9: return a;
|
|
4110
|
+
case 5: return a.toString();
|
|
4111
|
+
case 16: return a;
|
|
4112
|
+
case 20: return a;
|
|
4113
|
+
case 15: return a;
|
|
4114
|
+
case 3: return a;
|
|
4115
|
+
case 19: return a;
|
|
4116
|
+
case 8: return a;
|
|
4117
|
+
case 13: return a;
|
|
4118
|
+
case 18: return a;
|
|
4119
|
+
case 1: return a;
|
|
4120
|
+
case 11: return a;
|
|
4121
|
+
case 14: return a;
|
|
4122
|
+
case 12: return a;
|
|
4123
|
+
case 2: return a;
|
|
4124
|
+
case 21: return a;
|
|
4125
|
+
case 17: return a;
|
|
4126
|
+
case 0: return a;
|
|
4127
|
+
}
|
|
4128
|
+
return null;
|
|
4129
|
+
}
|
|
4130
|
+
d(a, b, c) {
|
|
4131
|
+
if (!b && (a.knownType == 10 || a.knownType == 9)) {
|
|
4132
|
+
return new Array(0);
|
|
4133
|
+
}
|
|
4134
|
+
else {
|
|
4135
|
+
let d = new DescriptionTreeNode();
|
|
4136
|
+
if (c != null) {
|
|
4137
|
+
d.h = c;
|
|
4138
|
+
}
|
|
4139
|
+
else {
|
|
4140
|
+
d.h = a.specificExternalType != null ? a.specificExternalType : a.specificType;
|
|
4141
|
+
}
|
|
4142
|
+
return d;
|
|
4143
|
+
}
|
|
4144
|
+
}
|
|
4145
|
+
g() {
|
|
4146
|
+
let a = new DescriptionSerializerBuilder();
|
|
4147
|
+
let b = new DescriptionSerializer();
|
|
4148
|
+
let c = "root";
|
|
4149
|
+
a.f("{");
|
|
4150
|
+
a.i();
|
|
4151
|
+
a.f("\"descriptions\": {");
|
|
4152
|
+
a.i();
|
|
4153
|
+
a.e("\"" + c + "\"");
|
|
4154
|
+
a.e(": ");
|
|
4155
|
+
b.s(this.b, this.a, a);
|
|
4156
|
+
a.f("");
|
|
4157
|
+
a.h();
|
|
4158
|
+
a.e("}");
|
|
4159
|
+
a.h();
|
|
4160
|
+
a.f("}");
|
|
4161
|
+
return a.toString();
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4164
|
+
PropertyEditorTreeTransformer.$t = /*@__PURE__*/ markType(PropertyEditorTreeTransformer, 'PropertyEditorTreeTransformer');
|
|
4165
|
+
return PropertyEditorTreeTransformer;
|
|
4166
|
+
})();
|
|
4167
|
+
|
|
4168
|
+
/*
|
|
4169
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
4170
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4171
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
4172
|
+
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.
|
|
4173
|
+
*/
|
|
4174
|
+
/**
|
|
4175
|
+
* @hidden
|
|
4176
|
+
*/
|
|
4177
|
+
let PropertyEditorPanelView = /*@__PURE__*/ (() => {
|
|
4178
|
+
class PropertyEditorPanelView extends Base {
|
|
4179
|
+
constructor() {
|
|
4180
|
+
super();
|
|
4181
|
+
this.n = null;
|
|
4182
|
+
this.m = null;
|
|
4183
|
+
this.a = null;
|
|
4184
|
+
this.i = null;
|
|
4185
|
+
this.l = null;
|
|
4186
|
+
this.e = null;
|
|
4187
|
+
this.k = null;
|
|
4188
|
+
this.b = ((() => {
|
|
4189
|
+
let $ret = new FontInfo();
|
|
4190
|
+
$ret.n = "Verdana";
|
|
4191
|
+
$ret.d = 13;
|
|
4192
|
+
$ret.q = "Normal";
|
|
4193
|
+
$ret.s = "Normal";
|
|
4194
|
+
$ret.o = "Normal";
|
|
4195
|
+
return $ret;
|
|
4196
|
+
})());
|
|
4197
|
+
this.aa = new Size();
|
|
4198
|
+
this.c = null;
|
|
4199
|
+
this._gridExternal = null;
|
|
4200
|
+
this.f = false;
|
|
4201
|
+
this.j = null;
|
|
4202
|
+
}
|
|
4203
|
+
p() {
|
|
4204
|
+
return this.i;
|
|
4205
|
+
}
|
|
4206
|
+
v() {
|
|
4207
|
+
}
|
|
4208
|
+
t(a) {
|
|
4209
|
+
if (a == null) {
|
|
4210
|
+
this.i = null;
|
|
4211
|
+
return;
|
|
4212
|
+
}
|
|
4213
|
+
this.a.j = new DOMExecutionContext(a);
|
|
4214
|
+
this.i = a;
|
|
4215
|
+
this.l = this.i.createElement("canvas");
|
|
4216
|
+
this.e = new RenderingContext(new CanvasViewRenderer(), this.i.get2DCanvasContext(this.l));
|
|
4217
|
+
this.k = this.i.createElement("div");
|
|
4218
|
+
this.y();
|
|
4219
|
+
NativeUIComponent.z(this.p(), 7, (b) => {
|
|
4220
|
+
let c = b;
|
|
4221
|
+
this.a.dg(c, this.n);
|
|
4222
|
+
this.i.append(c.u);
|
|
4223
|
+
});
|
|
4224
|
+
let b = Math.round(a.rootWrapper.width());
|
|
4225
|
+
let c = Math.round(a.rootWrapper.height());
|
|
4226
|
+
this.i.rootWrapper.setStyleProperty("position", "relative");
|
|
4227
|
+
}
|
|
4228
|
+
y() {
|
|
4229
|
+
}
|
|
4230
|
+
x() {
|
|
4231
|
+
if (this.i != null) {
|
|
4232
|
+
}
|
|
4233
|
+
}
|
|
4234
|
+
s() {
|
|
4235
|
+
if (this.i == null) {
|
|
4236
|
+
return;
|
|
4237
|
+
}
|
|
4238
|
+
let a = this.i.rootWrapper.width();
|
|
4239
|
+
let b = this.i.rootWrapper.height();
|
|
4240
|
+
this.aa = new Size(1, a, b);
|
|
4241
|
+
if (this.a.v != null) {
|
|
4242
|
+
this.a.d1();
|
|
4243
|
+
}
|
|
4244
|
+
}
|
|
4245
|
+
z() {
|
|
4246
|
+
let a = this.i;
|
|
4247
|
+
if (null == a) {
|
|
4248
|
+
return;
|
|
4249
|
+
}
|
|
4250
|
+
let b = a.rootWrapper;
|
|
4251
|
+
if (null != b) {
|
|
4252
|
+
NativeUI.o(b, this.a.d8);
|
|
4253
|
+
NativeUI.k(b, this.a.d5);
|
|
4254
|
+
}
|
|
4255
|
+
}
|
|
4256
|
+
d() {
|
|
4257
|
+
return this.b;
|
|
4258
|
+
}
|
|
4259
|
+
u() {
|
|
4260
|
+
}
|
|
4261
|
+
w() {
|
|
4262
|
+
}
|
|
4263
|
+
r() {
|
|
4264
|
+
let a = this.a.d9();
|
|
4265
|
+
if (a.height > 0) {
|
|
4266
|
+
this.i.rootWrapper.setStyleProperty("min-height", a.height + "px");
|
|
4267
|
+
}
|
|
4268
|
+
}
|
|
4269
|
+
g() {
|
|
4270
|
+
return this.aa.width;
|
|
4271
|
+
}
|
|
4272
|
+
h(a) {
|
|
4273
|
+
this.c = this.a.u();
|
|
4274
|
+
return FontUtil.measureStringWidth(a, this.c, this.e);
|
|
4275
|
+
}
|
|
4276
|
+
q(a, b) {
|
|
4277
|
+
if (this.j == null) {
|
|
4278
|
+
this.j = this.i.createElement("div");
|
|
4279
|
+
}
|
|
4280
|
+
b(this.j.getNativeElement());
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
PropertyEditorPanelView.$t = /*@__PURE__*/ markType(PropertyEditorPanelView, 'PropertyEditorPanelView');
|
|
4284
|
+
return PropertyEditorPanelView;
|
|
4285
|
+
})();
|
|
4286
|
+
/**
|
|
4287
|
+
* @hidden
|
|
4288
|
+
*/
|
|
4289
|
+
let PropertyEditorPanel = /*@__PURE__*/ (() => {
|
|
4290
|
+
class PropertyEditorPanel extends Base {
|
|
4291
|
+
constructor() {
|
|
4292
|
+
super();
|
|
4293
|
+
this.l = null;
|
|
4294
|
+
this.v = null;
|
|
4295
|
+
this.r = null;
|
|
4296
|
+
this.y = false;
|
|
4297
|
+
this.z = false;
|
|
4298
|
+
this.w = null;
|
|
4299
|
+
this.propertyChanged = null;
|
|
4300
|
+
this.af = false;
|
|
4301
|
+
this.n = null;
|
|
4302
|
+
this.o = new PropertyEditorPropertyDescriptionCollection();
|
|
4303
|
+
this.bj = -1;
|
|
4304
|
+
this.aq = DeviceUtils.g(38);
|
|
4305
|
+
this.s = null;
|
|
4306
|
+
this.bq = null;
|
|
4307
|
+
this.c = null;
|
|
4308
|
+
this.an = null;
|
|
4309
|
+
this.j = null;
|
|
4310
|
+
this.ae = false;
|
|
4311
|
+
this.ap = null;
|
|
4312
|
+
this.bs = null;
|
|
4313
|
+
this.ad = true;
|
|
4314
|
+
this.am = new Dictionary$2(PropertyEditorPanelColumnDefinition.$, Number_$type, 0);
|
|
4315
|
+
this.f = null;
|
|
4316
|
+
this.g = null;
|
|
4317
|
+
this.d = null;
|
|
4318
|
+
this.bp = null;
|
|
4319
|
+
this.bt = null;
|
|
4320
|
+
this.aa = false;
|
|
4321
|
+
this.ac = false;
|
|
4322
|
+
this.ab = false;
|
|
4323
|
+
this.d3 = PropertyEditorPanel.d6;
|
|
4324
|
+
this.d4 = PropertyEditorPanel.d7;
|
|
4325
|
+
this.bn = 0;
|
|
4326
|
+
this.bk = -1;
|
|
4327
|
+
this.k = null;
|
|
4328
|
+
NativeUIInputsFactory.k();
|
|
4329
|
+
this.ap = new ObservableCollection$1(PropertyEditorPanelColumnDefinition.$, 0);
|
|
4330
|
+
let a = new PropertyEditorPanelView();
|
|
4331
|
+
a.a = this;
|
|
4332
|
+
let b = this.properties;
|
|
4333
|
+
b.collectionChanged = delegateCombine(b.collectionChanged, runOn(this, this.dw));
|
|
4334
|
+
this.l = a;
|
|
4335
|
+
this.l.v();
|
|
4336
|
+
}
|
|
4337
|
+
get x() {
|
|
4338
|
+
if (this.w == null) {
|
|
4339
|
+
this.w = new SRProvider(this.l.i);
|
|
4340
|
+
this.w.cb("Layouts");
|
|
4341
|
+
}
|
|
4342
|
+
return this.w;
|
|
4343
|
+
}
|
|
4344
|
+
dw(a, b) {
|
|
4345
|
+
if (b.oldItems != null) {
|
|
4346
|
+
for (let c of fromEn(b.oldItems)) {
|
|
4347
|
+
if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
|
|
4348
|
+
let d = c;
|
|
4349
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.di));
|
|
4350
|
+
}
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
if (b.newItems != null) {
|
|
4354
|
+
for (let e of fromEn(b.newItems)) {
|
|
4355
|
+
if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
|
|
4356
|
+
let f = e;
|
|
4357
|
+
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.di));
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
this.aj();
|
|
4362
|
+
if (this.properties.count > 0 && this.actualProperties != this.properties) {
|
|
4363
|
+
this.actualProperties = this.properties;
|
|
4364
|
+
}
|
|
4365
|
+
this.ds();
|
|
4366
|
+
}
|
|
4367
|
+
ds() {
|
|
4368
|
+
if (!this.af) {
|
|
4369
|
+
if (this.v != null) {
|
|
4370
|
+
this.d1();
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
di(a, b) {
|
|
4375
|
+
if (!this.af) {
|
|
4376
|
+
this.aj();
|
|
4377
|
+
if (this.v != null) {
|
|
4378
|
+
this.d1();
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
}
|
|
4382
|
+
notifySizeChanged() {
|
|
4383
|
+
this.l.s();
|
|
4384
|
+
}
|
|
4385
|
+
dg(a, b) {
|
|
4386
|
+
this.v = a;
|
|
4387
|
+
if (null != this.v) {
|
|
4388
|
+
if (this.actualProperties != null) {
|
|
4389
|
+
if (this.ag) {
|
|
4390
|
+
if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
|
|
4391
|
+
this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
|
|
4392
|
+
}
|
|
4393
|
+
}
|
|
4394
|
+
else {
|
|
4395
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
|
|
4396
|
+
let c = this.actualProperties;
|
|
4397
|
+
this.actualProperties = c.ae;
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
this.bq = this.actualProperties;
|
|
4401
|
+
let d = this.actualProperties;
|
|
4402
|
+
d = this.actualProperties.toArray();
|
|
4403
|
+
let e = new LocalDataSource();
|
|
4404
|
+
e.dataSource = d;
|
|
4405
|
+
this.c = e;
|
|
4406
|
+
this.cd();
|
|
4407
|
+
}
|
|
4408
|
+
if (this.actualProperties != null) {
|
|
4409
|
+
this.d1();
|
|
4410
|
+
}
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
destroy() {
|
|
4414
|
+
this.provideContainer(null);
|
|
4415
|
+
}
|
|
4416
|
+
provideContainer(a) {
|
|
4417
|
+
this.l.t(a);
|
|
4418
|
+
}
|
|
4419
|
+
dr(a) {
|
|
4420
|
+
}
|
|
4421
|
+
get actualProperties() {
|
|
4422
|
+
return this.n;
|
|
4423
|
+
}
|
|
4424
|
+
set actualProperties(a) {
|
|
4425
|
+
let b = this.n;
|
|
4426
|
+
this.n = a;
|
|
4427
|
+
if (b != this.n) {
|
|
4428
|
+
this.dt("ActualProperties", b, this.n);
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
get properties() {
|
|
4432
|
+
return this.o;
|
|
4433
|
+
}
|
|
4434
|
+
set properties(a) {
|
|
4435
|
+
let b = this.o;
|
|
4436
|
+
this.o = a;
|
|
4437
|
+
if (b != this.o) {
|
|
4438
|
+
this.dt("Properties", b, this.o);
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
get bo() {
|
|
4442
|
+
return this.bj;
|
|
4443
|
+
}
|
|
4444
|
+
set bo(a) {
|
|
4445
|
+
let b = this.bj;
|
|
4446
|
+
this.bj = a;
|
|
4447
|
+
if (b != this.bj) {
|
|
4448
|
+
this.dt("RowHeight", b, this.bj);
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
get ar() {
|
|
4452
|
+
return this.aq;
|
|
4453
|
+
}
|
|
4454
|
+
set ar(a) {
|
|
4455
|
+
this.aq = a;
|
|
4456
|
+
}
|
|
4457
|
+
get t() {
|
|
4458
|
+
return this.s;
|
|
4459
|
+
}
|
|
4460
|
+
set t(a) {
|
|
4461
|
+
let b = this.s;
|
|
4462
|
+
this.s = a;
|
|
4463
|
+
if (b != this.s) {
|
|
4464
|
+
this.dt("CellTextStyle", b, this.s);
|
|
4465
|
+
}
|
|
4466
|
+
}
|
|
4467
|
+
u() {
|
|
4468
|
+
if (this.t == null) {
|
|
4469
|
+
return this.l.d();
|
|
4470
|
+
}
|
|
4471
|
+
return this.t;
|
|
4472
|
+
}
|
|
4473
|
+
dt(a, b, c) {
|
|
4474
|
+
if (this.propertyChanged != null) {
|
|
4475
|
+
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
4476
|
+
}
|
|
4477
|
+
this.dx(a, b, c);
|
|
4478
|
+
}
|
|
4479
|
+
dx(a, b, c) {
|
|
4480
|
+
switch (a) {
|
|
4481
|
+
case "DescriptionType":
|
|
4482
|
+
if (this.b1 == null) {
|
|
4483
|
+
if (this.properties == null) {
|
|
4484
|
+
this.actualProperties = null;
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
if (this.b1 != null) {
|
|
4488
|
+
if (this.k == null) {
|
|
4489
|
+
this.k = new PropertyEditorDataSource();
|
|
4490
|
+
}
|
|
4491
|
+
this.k.l = this.b1;
|
|
4492
|
+
}
|
|
4493
|
+
if (this.properties == null || this.properties.count == 0) {
|
|
4494
|
+
if (this.k.g != null) {
|
|
4495
|
+
this.actualProperties = this.k.g;
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4498
|
+
else {
|
|
4499
|
+
if (this.properties != null && this.properties.count > 0) {
|
|
4500
|
+
this.aj();
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
break;
|
|
4504
|
+
case "ComponentRenderer":
|
|
4505
|
+
if (b != null) {
|
|
4506
|
+
b.removeTargetPropertyUpdatingListener(runOn(this, this.al));
|
|
4507
|
+
}
|
|
4508
|
+
if (b != c) {
|
|
4509
|
+
this.ad = true;
|
|
4510
|
+
}
|
|
4511
|
+
if (this.e == null) {
|
|
4512
|
+
this.h = this.i;
|
|
4513
|
+
}
|
|
4514
|
+
else {
|
|
4515
|
+
this.h = this.e.context;
|
|
4516
|
+
}
|
|
4517
|
+
break;
|
|
4518
|
+
case "Target":
|
|
4519
|
+
if (ComponentRenderer.defaultInstance != null && this.e == null) {
|
|
4520
|
+
this.e = ComponentRenderer.defaultInstance;
|
|
4521
|
+
}
|
|
4522
|
+
break;
|
|
4523
|
+
case "DescriptionContext":
|
|
4524
|
+
if (this.e == null) {
|
|
4525
|
+
this.h = c;
|
|
4526
|
+
}
|
|
4527
|
+
break;
|
|
4528
|
+
case "ActualContext":
|
|
4529
|
+
if (this.h == null) {
|
|
4530
|
+
if (this.properties == null) {
|
|
4531
|
+
this.actualProperties = null;
|
|
4532
|
+
}
|
|
4533
|
+
}
|
|
4534
|
+
if (this.h != null) {
|
|
4535
|
+
if (this.k == null) {
|
|
4536
|
+
this.k = new PropertyEditorDataSource();
|
|
4537
|
+
}
|
|
4538
|
+
this.k.b = this.h;
|
|
4539
|
+
}
|
|
4540
|
+
if (this.properties == null || this.properties.count == 0) {
|
|
4541
|
+
if (this.k.g != null) {
|
|
4542
|
+
this.actualProperties = this.k.g;
|
|
4543
|
+
}
|
|
4544
|
+
}
|
|
4545
|
+
else {
|
|
4546
|
+
if (this.properties != null && this.properties.count > 0) {
|
|
4547
|
+
this.aj();
|
|
4548
|
+
}
|
|
4549
|
+
}
|
|
4550
|
+
break;
|
|
4551
|
+
case "Properties":
|
|
4552
|
+
this.actualProperties = this.properties;
|
|
4553
|
+
break;
|
|
4554
|
+
case "IsWrappingEnabled":
|
|
4555
|
+
this.d1();
|
|
4556
|
+
break;
|
|
4557
|
+
case "IsHorizontal":
|
|
4558
|
+
if (this.ag) {
|
|
4559
|
+
if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
|
|
4560
|
+
this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
|
|
4561
|
+
}
|
|
4562
|
+
}
|
|
4563
|
+
else {
|
|
4564
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
|
|
4565
|
+
let d = this.actualProperties;
|
|
4566
|
+
this.actualProperties = d.ae;
|
|
4567
|
+
}
|
|
4568
|
+
}
|
|
4569
|
+
break;
|
|
4570
|
+
case "ActualProperties":
|
|
4571
|
+
if (this.ag) {
|
|
4572
|
+
if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
|
|
4573
|
+
this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
|
|
4574
|
+
}
|
|
4575
|
+
}
|
|
4576
|
+
else {
|
|
4577
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
|
|
4578
|
+
let e = this.actualProperties;
|
|
4579
|
+
this.actualProperties = e.ae;
|
|
4580
|
+
}
|
|
4581
|
+
}
|
|
4582
|
+
if (this.v != null) {
|
|
4583
|
+
let f = this.bq != this.actualProperties;
|
|
4584
|
+
if (this.ag) {
|
|
4585
|
+
if (this.actualProperties != null && !(typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null)) {
|
|
4586
|
+
this.actualProperties = new HorizontalPropertyEditorPanelDataSource(this.actualProperties);
|
|
4587
|
+
}
|
|
4588
|
+
}
|
|
4589
|
+
else {
|
|
4590
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, this.actualProperties) !== null) {
|
|
4591
|
+
let g = this.actualProperties;
|
|
4592
|
+
this.actualProperties = g.ae;
|
|
4593
|
+
}
|
|
4594
|
+
}
|
|
4595
|
+
this.bq = this.actualProperties;
|
|
4596
|
+
let h = this.actualProperties;
|
|
4597
|
+
h = this.actualProperties.toArray();
|
|
4598
|
+
let i = new LocalDataSource();
|
|
4599
|
+
i.dataSource = h;
|
|
4600
|
+
this.c = i;
|
|
4601
|
+
this.cd();
|
|
4602
|
+
if (this.c != null) {
|
|
4603
|
+
let j = this.c;
|
|
4604
|
+
j.schemaChanged = delegateCombine(j.schemaChanged, runOn(this, this.dv));
|
|
4605
|
+
}
|
|
4606
|
+
if (f) {
|
|
4607
|
+
this.d1();
|
|
4608
|
+
}
|
|
4609
|
+
}
|
|
4610
|
+
break;
|
|
4611
|
+
case "RowHeight":
|
|
4612
|
+
if (this.v != null) {
|
|
4613
|
+
this.ar = this.bo;
|
|
4614
|
+
}
|
|
4615
|
+
break;
|
|
4616
|
+
case "CellTextStyle":
|
|
4617
|
+
this.dz();
|
|
4618
|
+
break;
|
|
4619
|
+
case "BackgroundColor":
|
|
4620
|
+
case "TextColor":
|
|
4621
|
+
this.dz();
|
|
4622
|
+
break;
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
aj() {
|
|
4626
|
+
let a = this.af;
|
|
4627
|
+
this.af = true;
|
|
4628
|
+
let b = false;
|
|
4629
|
+
for (let c of fromEnum(this.properties)) {
|
|
4630
|
+
let d = c.al;
|
|
4631
|
+
if (this.k != null) {
|
|
4632
|
+
let e = this.k.d(d, false);
|
|
4633
|
+
if (e != null) {
|
|
4634
|
+
if (c.p(e)) {
|
|
4635
|
+
b = true;
|
|
4636
|
+
}
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4639
|
+
}
|
|
4640
|
+
if (b) {
|
|
4641
|
+
this.d1();
|
|
4642
|
+
}
|
|
4643
|
+
else if (this.v != null) {
|
|
4644
|
+
this.dz();
|
|
4645
|
+
}
|
|
4646
|
+
this.af = a;
|
|
4647
|
+
return b;
|
|
4648
|
+
}
|
|
4649
|
+
dz() {
|
|
4650
|
+
if (!this.ae && this.j != null) {
|
|
4651
|
+
this.ae = true;
|
|
4652
|
+
this.j.enqueueAction(runOn(this, this.ci));
|
|
4653
|
+
}
|
|
4654
|
+
}
|
|
4655
|
+
ci() {
|
|
4656
|
+
this.ae = false;
|
|
4657
|
+
if (this.an == null) {
|
|
4658
|
+
this.an = new List$1(List$1.$.specialize(NativeUIComponent.$), 0);
|
|
4659
|
+
}
|
|
4660
|
+
if (this.c == null) {
|
|
4661
|
+
return;
|
|
4662
|
+
}
|
|
4663
|
+
let a = this.c.actualCount;
|
|
4664
|
+
for (let b = 0; b < a; b++) {
|
|
4665
|
+
let c = b;
|
|
4666
|
+
let d = this.c.getItemAtIndex(b);
|
|
4667
|
+
if (this.v.az < c + 1) {
|
|
4668
|
+
this.v.a1(c, 1, this.ar);
|
|
4669
|
+
}
|
|
4670
|
+
else {
|
|
4671
|
+
this.v.a7(c, 1, this.ar);
|
|
4672
|
+
}
|
|
4673
|
+
if (this.an.count < c + 1) {
|
|
4674
|
+
this.an.add(new List$1(NativeUIComponent.$, 0));
|
|
4675
|
+
}
|
|
4676
|
+
let e = this.an._inner[c];
|
|
4677
|
+
for (let f = 0; f < this.ap.count; f++) {
|
|
4678
|
+
let g = this.ap._inner[f];
|
|
4679
|
+
if (e.count < f + 1) {
|
|
4680
|
+
NativeUIComponent.aa(this.l.p(), 0, (h) => {
|
|
4681
|
+
let i = h;
|
|
4682
|
+
i.e = 1;
|
|
4683
|
+
if (g.a == 0) {
|
|
4684
|
+
i.d = 2;
|
|
4685
|
+
}
|
|
4686
|
+
i.an = new Thickness(1, 5, 5, 5, 0);
|
|
4687
|
+
this.v.as(i);
|
|
4688
|
+
this.v.a5(i, c);
|
|
4689
|
+
this.v.a4(i, f);
|
|
4690
|
+
e.add(i);
|
|
4691
|
+
});
|
|
4692
|
+
}
|
|
4693
|
+
if (this.v.aw < f + 1) {
|
|
4694
|
+
this.v.a0(f, 1, g.h);
|
|
4695
|
+
}
|
|
4696
|
+
else {
|
|
4697
|
+
this.v.a6(f, 1, g.h);
|
|
4698
|
+
}
|
|
4699
|
+
let h = e._inner[f];
|
|
4700
|
+
let i = "PropertyPath";
|
|
4701
|
+
if (g.a == 1) {
|
|
4702
|
+
i = "ValueType";
|
|
4703
|
+
}
|
|
4704
|
+
let j = h;
|
|
4705
|
+
let k = this.m(g, c, d);
|
|
4706
|
+
let l = null;
|
|
4707
|
+
if (k != null) {
|
|
4708
|
+
l = this.c.getItemProperty(k, i);
|
|
4709
|
+
l = g.i(l, c, d);
|
|
4710
|
+
if (l != null) {
|
|
4711
|
+
h = g.e(h, c, d);
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
if (l == null) {
|
|
4715
|
+
let m = h;
|
|
4716
|
+
m.aw = null;
|
|
4717
|
+
}
|
|
4718
|
+
}
|
|
4719
|
+
}
|
|
4720
|
+
let n = new HashSet$1(NativeUIComponent.$, 0);
|
|
4721
|
+
for (let o = this.v.ar - 1; o >= 0; o--) {
|
|
4722
|
+
let p = this.v.aq(o);
|
|
4723
|
+
let q = this.v.ay(p);
|
|
4724
|
+
let r = this.v.ax(p);
|
|
4725
|
+
if ((q + 1) > a || (r + 1) > this.ap.count) {
|
|
4726
|
+
n.add_1(p);
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4729
|
+
for (let s = this.v.ar - 1; s >= 0; s--) {
|
|
4730
|
+
let t = this.v.aq(s);
|
|
4731
|
+
if (n.contains(t)) {
|
|
4732
|
+
this.v.au(s);
|
|
4733
|
+
}
|
|
4734
|
+
}
|
|
4735
|
+
for (let u = this.an.count - 1; u >= 0; u--) {
|
|
4736
|
+
for (let v = this.an._inner[u].count - 1; v >= 0; v--) {
|
|
4737
|
+
let w = this.an._inner[u]._inner[v];
|
|
4738
|
+
if (n.contains(w)) {
|
|
4739
|
+
this.an._inner[u].removeAt(v);
|
|
4740
|
+
}
|
|
4741
|
+
}
|
|
4742
|
+
if (this.an._inner[u].count == 0) {
|
|
4743
|
+
this.an.removeAt(u);
|
|
4744
|
+
}
|
|
4745
|
+
}
|
|
4746
|
+
while (this.v.az > a) {
|
|
4747
|
+
this.v.a3(this.v.az - 1);
|
|
4748
|
+
}
|
|
4749
|
+
while (this.v.aw > this.ap.count) {
|
|
4750
|
+
this.v.a2(this.v.aw - 1);
|
|
4751
|
+
}
|
|
4752
|
+
}
|
|
4753
|
+
dv(a, b) {
|
|
4754
|
+
this.z = true;
|
|
4755
|
+
this.cd();
|
|
4756
|
+
this.z = false;
|
|
4757
|
+
}
|
|
4758
|
+
d1() {
|
|
4759
|
+
if (this.v == null) {
|
|
4760
|
+
return;
|
|
4761
|
+
}
|
|
4762
|
+
this.am.clear();
|
|
4763
|
+
this.ap.clear();
|
|
4764
|
+
let a = this.bo == -1 ? 38 : this.bo;
|
|
4765
|
+
let b = this.d5;
|
|
4766
|
+
let c = this.u();
|
|
4767
|
+
if (this.ag) {
|
|
4768
|
+
this.cf();
|
|
4769
|
+
}
|
|
4770
|
+
else {
|
|
4771
|
+
let d = new PropertyEditorPanelColumnDefinition();
|
|
4772
|
+
d.b = 0;
|
|
4773
|
+
d.f = 10;
|
|
4774
|
+
d.g = 5;
|
|
4775
|
+
d.a = 0;
|
|
4776
|
+
d.dataBinding = delegateCombine(d.dataBinding, runOn(this, this.dk));
|
|
4777
|
+
d.cellUpdating = delegateCombine(d.cellUpdating, runOn(this, this.dj));
|
|
4778
|
+
d.j = "PropertyPath";
|
|
4779
|
+
this.ap.add(d);
|
|
4780
|
+
let e = new PropertyEditorPanelColumnDefinition();
|
|
4781
|
+
e.b = 1;
|
|
4782
|
+
e.a = 1;
|
|
4783
|
+
e.f = 5;
|
|
4784
|
+
e.g = 5;
|
|
4785
|
+
e.dataBinding = delegateCombine(e.dataBinding, runOn(this, this.ck));
|
|
4786
|
+
e.cellUpdating = delegateCombine(e.cellUpdating, runOn(this, this.cj));
|
|
4787
|
+
e.j = "ValueType";
|
|
4788
|
+
this.ap.add(e);
|
|
4789
|
+
}
|
|
4790
|
+
this.dz();
|
|
4791
|
+
}
|
|
4792
|
+
cf() {
|
|
4793
|
+
if (this.actualProperties == null) {
|
|
4794
|
+
return;
|
|
4795
|
+
}
|
|
4796
|
+
let a = this.actualProperties.ae;
|
|
4797
|
+
let b = a.count;
|
|
4798
|
+
let c = new List$1(PropertyEditorPanelColumnDefinition.$, 0);
|
|
4799
|
+
let d = this.bl(a, b, c, 0x7FFFFFFF);
|
|
4800
|
+
for (let e = 0; e < c.count; e++) {
|
|
4801
|
+
this.ap.add(c._inner[e]);
|
|
4802
|
+
}
|
|
4803
|
+
this.bn = d;
|
|
4804
|
+
let f = this.actualProperties;
|
|
4805
|
+
let g = f.count;
|
|
4806
|
+
f.clear();
|
|
4807
|
+
for (let h = 0; h < this.bn; h++) {
|
|
4808
|
+
f.add(new PropertyEditorPropertyDescription());
|
|
4809
|
+
}
|
|
4810
|
+
let i = this.actualProperties.toArray();
|
|
4811
|
+
let j = new LocalDataSource();
|
|
4812
|
+
j.dataSource = i;
|
|
4813
|
+
this.c = j;
|
|
4814
|
+
if (f.count != g) {
|
|
4815
|
+
this.dz();
|
|
4816
|
+
this.l.r();
|
|
4817
|
+
}
|
|
4818
|
+
}
|
|
4819
|
+
d9() {
|
|
4820
|
+
if (this.ag && this.v != null && this.c != null) {
|
|
4821
|
+
let a = this.ar;
|
|
4822
|
+
let b = this.actualProperties;
|
|
4823
|
+
return new Size(1, 0, b.count * a);
|
|
4824
|
+
}
|
|
4825
|
+
else {
|
|
4826
|
+
return new Size(1, 0, 0);
|
|
4827
|
+
}
|
|
4828
|
+
}
|
|
4829
|
+
bl(a, b, c, d) {
|
|
4830
|
+
let e = 0;
|
|
4831
|
+
let f = 0;
|
|
4832
|
+
let g = 0;
|
|
4833
|
+
let h = this.l.g();
|
|
4834
|
+
h -= 5;
|
|
4835
|
+
if (!this.ai) {
|
|
4836
|
+
h = 1.7976931348623157E+308;
|
|
4837
|
+
}
|
|
4838
|
+
let i = 0;
|
|
4839
|
+
let j = h;
|
|
4840
|
+
for (let k = 0; k < b; k++) {
|
|
4841
|
+
let l = a.item(k);
|
|
4842
|
+
let m = this.a9(l);
|
|
4843
|
+
let n = this.a5(l);
|
|
4844
|
+
if ((i + m + n > h && g > 0) || g >= d) {
|
|
4845
|
+
if (f != 0 && g < d && d > 2) {
|
|
4846
|
+
let o = c._inner[g];
|
|
4847
|
+
let p = c._inner[g + 1];
|
|
4848
|
+
o.h = m;
|
|
4849
|
+
p.h = n;
|
|
4850
|
+
this.d0(h, c);
|
|
4851
|
+
if (c.count == 0) {
|
|
4852
|
+
return 0;
|
|
4853
|
+
}
|
|
4854
|
+
return this.bl(a, b, c, c.count);
|
|
4855
|
+
}
|
|
4856
|
+
d = Math.max(Math.min(d, g), 2);
|
|
4857
|
+
f++;
|
|
4858
|
+
let q = h - i;
|
|
4859
|
+
if (q < j) {
|
|
4860
|
+
j = q;
|
|
4861
|
+
}
|
|
4862
|
+
i = 0;
|
|
4863
|
+
g = 0;
|
|
4864
|
+
}
|
|
4865
|
+
let r = this.b4(l);
|
|
4866
|
+
if (c.count <= g) {
|
|
4867
|
+
let s = new PropertyEditorPanelColumnDefinition();
|
|
4868
|
+
s.b = 0;
|
|
4869
|
+
s.a = 0;
|
|
4870
|
+
s.f = 10;
|
|
4871
|
+
s.g = 5;
|
|
4872
|
+
s.h = m;
|
|
4873
|
+
s.dataBinding = delegateCombine(s.dataBinding, runOn(this, this.dk));
|
|
4874
|
+
s.cellUpdating = delegateCombine(s.cellUpdating, runOn(this, this.dj));
|
|
4875
|
+
s.j = "PropertyName_" + k;
|
|
4876
|
+
c.add(s);
|
|
4877
|
+
this.am.item(s, c.count - 1);
|
|
4878
|
+
g++;
|
|
4879
|
+
}
|
|
4880
|
+
else {
|
|
4881
|
+
let t = c._inner[g];
|
|
4882
|
+
if (m > t.h) {
|
|
4883
|
+
let u = m - t.h;
|
|
4884
|
+
t.h = m;
|
|
4885
|
+
if (u > j && d > 2) {
|
|
4886
|
+
this.d0(h, c);
|
|
4887
|
+
if (c.count == 0) {
|
|
4888
|
+
return 0;
|
|
4889
|
+
}
|
|
4890
|
+
return this.bl(a, b, c, c.count);
|
|
4891
|
+
}
|
|
4892
|
+
else {
|
|
4893
|
+
j -= u;
|
|
4894
|
+
if (j < 0) {
|
|
4895
|
+
j = 0;
|
|
4896
|
+
}
|
|
4897
|
+
g++;
|
|
4898
|
+
}
|
|
4899
|
+
}
|
|
4900
|
+
else {
|
|
4901
|
+
m = t.h;
|
|
4902
|
+
g++;
|
|
4903
|
+
}
|
|
4904
|
+
}
|
|
4905
|
+
if (c.count <= g) {
|
|
4906
|
+
let v = new PropertyEditorPanelColumnDefinition();
|
|
4907
|
+
v.b = 1;
|
|
4908
|
+
v.a = 1;
|
|
4909
|
+
v.j = "ValueType_" + k;
|
|
4910
|
+
v.f = 5;
|
|
4911
|
+
v.g = 5;
|
|
4912
|
+
v.dataBinding = delegateCombine(v.dataBinding, runOn(this, this.ck));
|
|
4913
|
+
v.h = n;
|
|
4914
|
+
v.cellUpdating = delegateCombine(v.cellUpdating, runOn(this, this.cj));
|
|
4915
|
+
c.add(v);
|
|
4916
|
+
this.am.item(v, c.count - 1);
|
|
4917
|
+
g++;
|
|
4918
|
+
}
|
|
4919
|
+
else {
|
|
4920
|
+
let w = c._inner[g];
|
|
4921
|
+
if (n > w.h) {
|
|
4922
|
+
let x = n - w.h;
|
|
4923
|
+
w.h = n;
|
|
4924
|
+
if (x > j && d > 2) {
|
|
4925
|
+
this.d0(h, c);
|
|
4926
|
+
if (c.count == 0) {
|
|
4927
|
+
return 0;
|
|
4928
|
+
}
|
|
4929
|
+
return this.bl(a, b, c, c.count);
|
|
4930
|
+
}
|
|
4931
|
+
else {
|
|
4932
|
+
j -= x;
|
|
4933
|
+
if (j < 0) {
|
|
4934
|
+
j = 0;
|
|
4935
|
+
}
|
|
4936
|
+
g++;
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
else {
|
|
4940
|
+
n = w.h;
|
|
4941
|
+
g++;
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4944
|
+
i += m + n;
|
|
4945
|
+
}
|
|
4946
|
+
return f + 1;
|
|
4947
|
+
}
|
|
4948
|
+
d0(a, b) {
|
|
4949
|
+
let c = 0;
|
|
4950
|
+
for (let d of fromEnum(b)) {
|
|
4951
|
+
c += d.h;
|
|
4952
|
+
}
|
|
4953
|
+
while (c > a) {
|
|
4954
|
+
if (b.count < 1) {
|
|
4955
|
+
return;
|
|
4956
|
+
}
|
|
4957
|
+
if (b._inner[b.count - 1].b == 1) {
|
|
4958
|
+
c -= b._inner[b.count - 1].h;
|
|
4959
|
+
c -= b._inner[b.count - 2].h;
|
|
4960
|
+
b.removeAt(b.count - 1);
|
|
4961
|
+
b.removeAt(b.count - 1);
|
|
4962
|
+
}
|
|
4963
|
+
else {
|
|
4964
|
+
c -= b._inner[b.count - 1].h;
|
|
4965
|
+
b.removeAt(b.count - 1);
|
|
4966
|
+
}
|
|
4967
|
+
}
|
|
4968
|
+
}
|
|
4969
|
+
ck(a, b) {
|
|
4970
|
+
let c = a;
|
|
4971
|
+
let d = this.m(c, b.a, b.c);
|
|
4972
|
+
b.b = enumGetBox(PropertyEditorValueType_$type, d != null ? d.n : 0);
|
|
4973
|
+
}
|
|
4974
|
+
dk(a, b) {
|
|
4975
|
+
let c = a;
|
|
4976
|
+
let d = this.m(c, b.a, b.c);
|
|
4977
|
+
if (d == null) {
|
|
4978
|
+
b.b = null;
|
|
4979
|
+
return;
|
|
4980
|
+
}
|
|
4981
|
+
b.b = d.aj != null ? d.aj : d.al;
|
|
4982
|
+
}
|
|
4983
|
+
a5(a) {
|
|
4984
|
+
if (!isNaN_(a.w)) {
|
|
4985
|
+
return a.w;
|
|
4986
|
+
}
|
|
4987
|
+
switch (a.n) {
|
|
4988
|
+
case 10: return this.as(a);
|
|
4989
|
+
case 7: return this.at(a);
|
|
4990
|
+
case 4: return this.av(a);
|
|
4991
|
+
case 6: return this.au(a);
|
|
4992
|
+
case 9: return this.ay(a);
|
|
4993
|
+
case 5: return this.a0(a);
|
|
4994
|
+
case 14: return this.az(a);
|
|
4995
|
+
case 18: return this.a1(a);
|
|
4996
|
+
case 3: return this.a2(a);
|
|
4997
|
+
case 15: return this.a6(a);
|
|
4998
|
+
case 17: return this.a7(a);
|
|
4999
|
+
case 16: return this.ba(a);
|
|
5000
|
+
case 1: return this.bb(a);
|
|
5001
|
+
case 11: return this.bc(a);
|
|
5002
|
+
case 13: return this.bd(a);
|
|
5003
|
+
case 12: return this.be(a);
|
|
5004
|
+
case 2: return this.bg(a);
|
|
5005
|
+
case 8: return this.bh(a);
|
|
5006
|
+
case 19: return this.bi(a);
|
|
5007
|
+
case 0: return this.a8(a);
|
|
5008
|
+
case 20: return this.aw(a);
|
|
5009
|
+
case 21: return this.bf(a);
|
|
5010
|
+
}
|
|
5011
|
+
return 100;
|
|
5012
|
+
}
|
|
5013
|
+
bi(a) {
|
|
5014
|
+
return this.a8(a);
|
|
5015
|
+
}
|
|
5016
|
+
a8(a) {
|
|
5017
|
+
return 175;
|
|
5018
|
+
}
|
|
5019
|
+
aw(a) {
|
|
5020
|
+
if (a.ad != null) {
|
|
5021
|
+
return Math.max(100, this.l.h(a.ad.toString()) + 30);
|
|
5022
|
+
}
|
|
5023
|
+
return 80;
|
|
5024
|
+
}
|
|
5025
|
+
bf(a) {
|
|
5026
|
+
return 175;
|
|
5027
|
+
}
|
|
5028
|
+
bh(a) {
|
|
5029
|
+
return this.aw(a);
|
|
5030
|
+
}
|
|
5031
|
+
bg(a) {
|
|
5032
|
+
return this.a8(a);
|
|
5033
|
+
}
|
|
5034
|
+
be(a) {
|
|
5035
|
+
return this.a8(a);
|
|
5036
|
+
}
|
|
5037
|
+
bd(a) {
|
|
5038
|
+
return this.a8(a);
|
|
5039
|
+
}
|
|
5040
|
+
bc(a) {
|
|
5041
|
+
return this.a8(a);
|
|
5042
|
+
}
|
|
5043
|
+
bb(a) {
|
|
5044
|
+
return this.a8(a);
|
|
5045
|
+
}
|
|
5046
|
+
ba(a) {
|
|
5047
|
+
return this.aw(a);
|
|
5048
|
+
}
|
|
5049
|
+
a7(a) {
|
|
5050
|
+
return this.aw(a);
|
|
5051
|
+
}
|
|
5052
|
+
a6(a) {
|
|
5053
|
+
return this.a4(a);
|
|
5054
|
+
}
|
|
5055
|
+
a4(a) {
|
|
5056
|
+
return this.a8(a);
|
|
5057
|
+
}
|
|
5058
|
+
a2(a) {
|
|
5059
|
+
return this.a3(a);
|
|
5060
|
+
}
|
|
5061
|
+
a3(a) {
|
|
5062
|
+
return this.a8(a);
|
|
5063
|
+
}
|
|
5064
|
+
a1(a) {
|
|
5065
|
+
return this.aw(a);
|
|
5066
|
+
}
|
|
5067
|
+
az(a) {
|
|
5068
|
+
return this.aw(a);
|
|
5069
|
+
}
|
|
5070
|
+
a0(a) {
|
|
5071
|
+
return this.a8(a);
|
|
5072
|
+
}
|
|
5073
|
+
ay(a) {
|
|
5074
|
+
return this.aw(a);
|
|
5075
|
+
}
|
|
5076
|
+
au(a) {
|
|
5077
|
+
return this.aw(a);
|
|
5078
|
+
}
|
|
5079
|
+
av(a) {
|
|
5080
|
+
return this.a8(a);
|
|
5081
|
+
}
|
|
5082
|
+
at(a) {
|
|
5083
|
+
return this.ax(a);
|
|
5084
|
+
}
|
|
5085
|
+
ax(a) {
|
|
5086
|
+
return 50;
|
|
5087
|
+
}
|
|
5088
|
+
as(a) {
|
|
5089
|
+
return this.aw(a);
|
|
5090
|
+
}
|
|
5091
|
+
a9(a) {
|
|
5092
|
+
if (!isNaN_(a.x)) {
|
|
5093
|
+
return a.x;
|
|
5094
|
+
}
|
|
5095
|
+
return this.l.h(this.b4(a)) + 17;
|
|
5096
|
+
}
|
|
5097
|
+
b4(a) {
|
|
5098
|
+
return a.aj != null ? a.aj : a.al;
|
|
5099
|
+
}
|
|
5100
|
+
dj(a, b) {
|
|
5101
|
+
let c = a;
|
|
5102
|
+
let d = this.m(c, b.b, b.c);
|
|
5103
|
+
this.c6(c, b);
|
|
5104
|
+
}
|
|
5105
|
+
cj(a, b) {
|
|
5106
|
+
let c = a;
|
|
5107
|
+
let d = this.m(c, b.b, b.c);
|
|
5108
|
+
let e = d != null ? d.n : 0;
|
|
5109
|
+
switch (e) {
|
|
5110
|
+
case 10:
|
|
5111
|
+
this.cr(c, b);
|
|
5112
|
+
break;
|
|
5113
|
+
case 7:
|
|
5114
|
+
this.cs(c, b);
|
|
5115
|
+
break;
|
|
5116
|
+
case 4:
|
|
5117
|
+
this.cu(c, b);
|
|
5118
|
+
break;
|
|
5119
|
+
case 6:
|
|
5120
|
+
this.ct(c, b);
|
|
5121
|
+
break;
|
|
5122
|
+
case 9:
|
|
5123
|
+
this.cw(c, b);
|
|
5124
|
+
break;
|
|
5125
|
+
case 5:
|
|
5126
|
+
this.cy(c, b);
|
|
5127
|
+
break;
|
|
5128
|
+
case 14:
|
|
5129
|
+
this.cx(c, b);
|
|
5130
|
+
break;
|
|
5131
|
+
case 18:
|
|
5132
|
+
this.cz(c, b);
|
|
5133
|
+
break;
|
|
5134
|
+
case 3:
|
|
5135
|
+
this.c0(c, b);
|
|
5136
|
+
break;
|
|
5137
|
+
case 15:
|
|
5138
|
+
this.c3(c, b);
|
|
5139
|
+
break;
|
|
5140
|
+
case 17:
|
|
5141
|
+
this.c4(c, b);
|
|
5142
|
+
break;
|
|
5143
|
+
case 16:
|
|
5144
|
+
this.c7(c, b);
|
|
5145
|
+
break;
|
|
5146
|
+
case 1:
|
|
5147
|
+
this.c8(c, b);
|
|
5148
|
+
break;
|
|
5149
|
+
case 11:
|
|
5150
|
+
this.c9(c, b);
|
|
5151
|
+
break;
|
|
5152
|
+
case 13:
|
|
5153
|
+
this.da(c, b);
|
|
5154
|
+
break;
|
|
5155
|
+
case 12:
|
|
5156
|
+
this.db(c, b);
|
|
5157
|
+
break;
|
|
5158
|
+
case 2:
|
|
5159
|
+
this.dd(c, b);
|
|
5160
|
+
break;
|
|
5161
|
+
case 8:
|
|
5162
|
+
this.de(c, b);
|
|
5163
|
+
break;
|
|
5164
|
+
case 19:
|
|
5165
|
+
this.df(c, b);
|
|
5166
|
+
break;
|
|
5167
|
+
case 20:
|
|
5168
|
+
this.cv(c, b);
|
|
5169
|
+
break;
|
|
5170
|
+
case 21:
|
|
5171
|
+
this.dc(c, b);
|
|
5172
|
+
break;
|
|
5173
|
+
case 0: break;
|
|
5174
|
+
}
|
|
5175
|
+
}
|
|
5176
|
+
df(a, b) {
|
|
5177
|
+
this.c5(a, b);
|
|
5178
|
+
}
|
|
5179
|
+
de(a, b) {
|
|
5180
|
+
}
|
|
5181
|
+
dd(a, b) {
|
|
5182
|
+
this.c5(a, b);
|
|
5183
|
+
}
|
|
5184
|
+
db(a, b) {
|
|
5185
|
+
this.c5(a, b);
|
|
5186
|
+
}
|
|
5187
|
+
da(a, b) {
|
|
5188
|
+
this.c5(a, b);
|
|
5189
|
+
}
|
|
5190
|
+
c9(a, b) {
|
|
5191
|
+
this.c5(a, b);
|
|
5192
|
+
}
|
|
5193
|
+
c8(a, b) {
|
|
5194
|
+
this.c5(a, b);
|
|
5195
|
+
}
|
|
5196
|
+
c6(a, b) {
|
|
5197
|
+
this.cp(b, (c, d) => {
|
|
5198
|
+
c.ap = this.u();
|
|
5199
|
+
c.e = 1;
|
|
5200
|
+
let e = this.m(a, b.b, b.c);
|
|
5201
|
+
c.v = e;
|
|
5202
|
+
c.aq = this.b4(e);
|
|
5203
|
+
});
|
|
5204
|
+
}
|
|
5205
|
+
c5(a, b) {
|
|
5206
|
+
this.co(b, (c, d) => {
|
|
5207
|
+
c.e = 1;
|
|
5208
|
+
c.at = 1;
|
|
5209
|
+
c.aq = 2;
|
|
5210
|
+
let e = this.m(a, b.b, b.c);
|
|
5211
|
+
c.v = e;
|
|
5212
|
+
c.au = (e.ad != null ? e.ad.toString() : "");
|
|
5213
|
+
if (d) {
|
|
5214
|
+
c.as = runOn(this, this.dh);
|
|
5215
|
+
}
|
|
5216
|
+
});
|
|
5217
|
+
}
|
|
5218
|
+
cp(a, b) {
|
|
5219
|
+
let c = a.a;
|
|
5220
|
+
let d = c.aw;
|
|
5221
|
+
let e = false;
|
|
5222
|
+
if (d == null || d.c != 3) {
|
|
5223
|
+
e = true;
|
|
5224
|
+
NativeUIComponent.z(this.l.p(), 3, (f) => {
|
|
5225
|
+
c.aw = f;
|
|
5226
|
+
b(f, e);
|
|
5227
|
+
});
|
|
5228
|
+
return;
|
|
5229
|
+
}
|
|
5230
|
+
b(d, e);
|
|
5231
|
+
}
|
|
5232
|
+
co(a, b) {
|
|
5233
|
+
let c = a.a;
|
|
5234
|
+
let d = c.aw;
|
|
5235
|
+
let e = false;
|
|
5236
|
+
if (d == null || d.c != 2) {
|
|
5237
|
+
e = true;
|
|
5238
|
+
NativeUIComponent.z(this.l.p(), 2, (f) => {
|
|
5239
|
+
c.aw = f;
|
|
5240
|
+
b(f, e);
|
|
5241
|
+
});
|
|
5242
|
+
return;
|
|
5243
|
+
}
|
|
5244
|
+
b(d, e);
|
|
5245
|
+
}
|
|
5246
|
+
cl(a, b) {
|
|
5247
|
+
let c = a.a;
|
|
5248
|
+
let d = c.aw;
|
|
5249
|
+
let e = false;
|
|
5250
|
+
if (d == null || d.c != 1) {
|
|
5251
|
+
e = true;
|
|
5252
|
+
NativeUIComponent.z(this.l.p(), 1, (f) => {
|
|
5253
|
+
c.aw = f;
|
|
5254
|
+
b(f, e);
|
|
5255
|
+
});
|
|
5256
|
+
return;
|
|
5257
|
+
}
|
|
5258
|
+
b(d, e);
|
|
5259
|
+
}
|
|
5260
|
+
cq(a, b) {
|
|
5261
|
+
let c = a.a;
|
|
5262
|
+
let d = c.aw;
|
|
5263
|
+
let e = false;
|
|
5264
|
+
if (d == null || d.c != 5) {
|
|
5265
|
+
e = true;
|
|
5266
|
+
NativeUIComponent.z(this.l.p(), 5, (f) => {
|
|
5267
|
+
c.aw = f;
|
|
5268
|
+
b(f, e);
|
|
5269
|
+
});
|
|
5270
|
+
return;
|
|
5271
|
+
}
|
|
5272
|
+
b(d, e);
|
|
5273
|
+
}
|
|
5274
|
+
cn(a, b) {
|
|
5275
|
+
let c = a.a;
|
|
5276
|
+
let d = c.aw;
|
|
5277
|
+
let e = false;
|
|
5278
|
+
if (d == null || d.c != 4) {
|
|
5279
|
+
e = true;
|
|
5280
|
+
NativeUIComponent.z(this.l.p(), 4, (f) => {
|
|
5281
|
+
c.aw = f;
|
|
5282
|
+
b(f, e);
|
|
5283
|
+
});
|
|
5284
|
+
return;
|
|
5285
|
+
}
|
|
5286
|
+
b(d, e);
|
|
5287
|
+
}
|
|
5288
|
+
cm(a, b) {
|
|
5289
|
+
let c = a.a;
|
|
5290
|
+
let d = c.aw;
|
|
5291
|
+
let e = false;
|
|
5292
|
+
if (d == null || d.c != 6) {
|
|
5293
|
+
e = true;
|
|
5294
|
+
NativeUIComponent.z(this.l.p(), 6, (f) => {
|
|
5295
|
+
c.aw = f;
|
|
5296
|
+
b(f, e);
|
|
5297
|
+
});
|
|
5298
|
+
return;
|
|
5299
|
+
}
|
|
5300
|
+
b(d, e);
|
|
5301
|
+
}
|
|
5302
|
+
cv(a, b) {
|
|
5303
|
+
this.cl(b, (c, d) => {
|
|
5304
|
+
c.e = 1;
|
|
5305
|
+
if (c.ar != 2) {
|
|
5306
|
+
c.ar = 2;
|
|
5307
|
+
}
|
|
5308
|
+
let e = this.m(a, b.b, b.c);
|
|
5309
|
+
c.v = e;
|
|
5310
|
+
let f = e.ad;
|
|
5311
|
+
if (typeof e.ad === 'number' || typeof e.ad === 'number') {
|
|
5312
|
+
f = e.ad.toString();
|
|
5313
|
+
}
|
|
5314
|
+
c.as = f;
|
|
5315
|
+
if (d) {
|
|
5316
|
+
c.aq = runOn(this, this.cc);
|
|
5317
|
+
}
|
|
5318
|
+
});
|
|
5319
|
+
}
|
|
5320
|
+
dc(a, b) {
|
|
5321
|
+
this.cq(b, (c, d) => {
|
|
5322
|
+
c.e = 1;
|
|
5323
|
+
let e = this.m(a, b.b, b.c);
|
|
5324
|
+
c.v = e;
|
|
5325
|
+
let f = e.ad;
|
|
5326
|
+
if (typeof e.ad === 'number' || typeof e.ad === 'number') {
|
|
5327
|
+
f = e.ad;
|
|
5328
|
+
}
|
|
5329
|
+
if (typeof e.ad === 'string') {
|
|
5330
|
+
let g = 0;
|
|
5331
|
+
let h = tryParseNumber(f, g);
|
|
5332
|
+
g = h.p1;
|
|
5333
|
+
f = g;
|
|
5334
|
+
}
|
|
5335
|
+
if (f == null) {
|
|
5336
|
+
f = 0;
|
|
5337
|
+
}
|
|
5338
|
+
c.aw = f;
|
|
5339
|
+
if (!isNaN_(e.z)) {
|
|
5340
|
+
c.au = e.z;
|
|
5341
|
+
}
|
|
5342
|
+
else {
|
|
5343
|
+
c.au = 0;
|
|
5344
|
+
}
|
|
5345
|
+
if (!isNaN_(e.y)) {
|
|
5346
|
+
c.at = e.y;
|
|
5347
|
+
}
|
|
5348
|
+
else {
|
|
5349
|
+
c.at = 100;
|
|
5350
|
+
}
|
|
5351
|
+
if (!isNaN_(e.aa)) {
|
|
5352
|
+
c.av = e.aa;
|
|
5353
|
+
}
|
|
5354
|
+
else {
|
|
5355
|
+
c.av = 1;
|
|
5356
|
+
}
|
|
5357
|
+
if (d) {
|
|
5358
|
+
c.as = runOn(this, this.d2);
|
|
5359
|
+
}
|
|
5360
|
+
});
|
|
5361
|
+
}
|
|
5362
|
+
d2(a, b) {
|
|
5363
|
+
let c = a;
|
|
5364
|
+
let d = c.v;
|
|
5365
|
+
this.af = true;
|
|
5366
|
+
d.ad = c.aw;
|
|
5367
|
+
this.af = false;
|
|
5368
|
+
this.du(d);
|
|
5369
|
+
}
|
|
5370
|
+
c2(a, b) {
|
|
5371
|
+
this.cn(b, (c, d) => {
|
|
5372
|
+
c.e = 1;
|
|
5373
|
+
if (c.ap != 2) {
|
|
5374
|
+
c.ap = 2;
|
|
5375
|
+
}
|
|
5376
|
+
let e = this.m(a, b.b, b.c);
|
|
5377
|
+
if (c.v != e) {
|
|
5378
|
+
{
|
|
5379
|
+
c.ar = null;
|
|
5380
|
+
}
|
|
5381
|
+
c.v = e;
|
|
5382
|
+
c.at = null;
|
|
5383
|
+
c.as = this.b(this.a(e));
|
|
5384
|
+
if (e.ad != c.at) {
|
|
5385
|
+
if (typeof e.ad === 'number' || typeof e.ad === 'number') {
|
|
5386
|
+
c.at = e.ad.toString();
|
|
5387
|
+
}
|
|
5388
|
+
else {
|
|
5389
|
+
c.at = e.ad;
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
{
|
|
5393
|
+
c.ar = runOn(this, this.cg);
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
else {
|
|
5397
|
+
if (e.ad != c.at) {
|
|
5398
|
+
if (typeof e.ad === 'number' || typeof e.ad === 'number') {
|
|
5399
|
+
c.at = e.ad.toString();
|
|
5400
|
+
}
|
|
5401
|
+
else {
|
|
5402
|
+
c.at = e.ad;
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
if (d) {
|
|
5407
|
+
if (c.ar == null) {
|
|
5408
|
+
c.ar = runOn(this, this.cg);
|
|
5409
|
+
}
|
|
5410
|
+
c.ah = BrushUtil.g(255, 255, 255, 255);
|
|
5411
|
+
}
|
|
5412
|
+
});
|
|
5413
|
+
}
|
|
5414
|
+
b(a) {
|
|
5415
|
+
return a;
|
|
5416
|
+
}
|
|
5417
|
+
a(a) {
|
|
5418
|
+
return a.c;
|
|
5419
|
+
}
|
|
5420
|
+
cg(a, b) {
|
|
5421
|
+
let c = a;
|
|
5422
|
+
let d = c.v;
|
|
5423
|
+
this.af = true;
|
|
5424
|
+
d.ad = c.at;
|
|
5425
|
+
d.am();
|
|
5426
|
+
this.af = false;
|
|
5427
|
+
this.du(d);
|
|
5428
|
+
}
|
|
5429
|
+
dh(a, b) {
|
|
5430
|
+
let c = a;
|
|
5431
|
+
let d = c.v;
|
|
5432
|
+
this.af = true;
|
|
5433
|
+
if (d.n == 1) {
|
|
5434
|
+
let e = 0;
|
|
5435
|
+
let f = tryParseNumber(c.au, e);
|
|
5436
|
+
e = f.p1;
|
|
5437
|
+
d.ad = e;
|
|
5438
|
+
}
|
|
5439
|
+
else {
|
|
5440
|
+
d.ad = c.au;
|
|
5441
|
+
}
|
|
5442
|
+
d.am();
|
|
5443
|
+
this.af = false;
|
|
5444
|
+
this.du(d);
|
|
5445
|
+
}
|
|
5446
|
+
cc(a, b) {
|
|
5447
|
+
let c = a;
|
|
5448
|
+
let d = c.v;
|
|
5449
|
+
this.af = true;
|
|
5450
|
+
d.an();
|
|
5451
|
+
this.af = false;
|
|
5452
|
+
this.du(d);
|
|
5453
|
+
}
|
|
5454
|
+
du(a) {
|
|
5455
|
+
if (this.br != null && this.e != null) {
|
|
5456
|
+
if (this.ad) {
|
|
5457
|
+
this.ad = false;
|
|
5458
|
+
this.e.addTargetPropertyUpdatingListener(runOn(this, this.al));
|
|
5459
|
+
}
|
|
5460
|
+
let b = this.bs == null;
|
|
5461
|
+
this.bs = this.b3();
|
|
5462
|
+
if (b) {
|
|
5463
|
+
this.l.q(this.br, (c) => this.e.loadJsonOverlay(this.bs, (d) => c, (d) => this.br));
|
|
5464
|
+
}
|
|
5465
|
+
else {
|
|
5466
|
+
this.l.q(this.br, (c) => this.e.loadJsonDelta(this.bs, (d) => c, false));
|
|
5467
|
+
}
|
|
5468
|
+
}
|
|
5469
|
+
}
|
|
5470
|
+
al(a, b, c) {
|
|
5471
|
+
let d = this.actualProperties;
|
|
5472
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, d) !== null) {
|
|
5473
|
+
d = d.ae;
|
|
5474
|
+
}
|
|
5475
|
+
for (let e = 0; e < d.count; e++) {
|
|
5476
|
+
let f = d._inner[e].al;
|
|
5477
|
+
if (this.ak(f, a)) {
|
|
5478
|
+
d._inner[e].ap(a, b, c);
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
if (this.ah) {
|
|
5482
|
+
return true;
|
|
5483
|
+
}
|
|
5484
|
+
return false;
|
|
5485
|
+
}
|
|
5486
|
+
ak(a, b) {
|
|
5487
|
+
if (a == null && b == null) {
|
|
5488
|
+
return true;
|
|
5489
|
+
}
|
|
5490
|
+
if (a == null) {
|
|
5491
|
+
return false;
|
|
5492
|
+
}
|
|
5493
|
+
if (b == null) {
|
|
5494
|
+
return false;
|
|
5495
|
+
}
|
|
5496
|
+
let c = stringSplit(a, ['.', '['], 0);
|
|
5497
|
+
let d = stringSplit(b, ['.', '['], 0);
|
|
5498
|
+
if (c.length != d.length) {
|
|
5499
|
+
return false;
|
|
5500
|
+
}
|
|
5501
|
+
for (let e = 0; e < c.length; e++) {
|
|
5502
|
+
let f = c[e];
|
|
5503
|
+
let g = d[e];
|
|
5504
|
+
if (stringContains(f, "]")) {
|
|
5505
|
+
if (!stringContains(g, "]")) {
|
|
5506
|
+
return false;
|
|
5507
|
+
}
|
|
5508
|
+
g = stringReplace(g, "]", "");
|
|
5509
|
+
let h = this.ao(f);
|
|
5510
|
+
if (!h.contains(g)) {
|
|
5511
|
+
return false;
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
else {
|
|
5515
|
+
if (!Base.equalsStatic(f, g)) {
|
|
5516
|
+
return false;
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5520
|
+
return true;
|
|
5521
|
+
}
|
|
5522
|
+
ao(a) {
|
|
5523
|
+
let b = new List$1(String_$type, 0);
|
|
5524
|
+
if (stringContains(a, "]")) {
|
|
5525
|
+
a = stringReplace(a, "]", "");
|
|
5526
|
+
let c = a.split(',');
|
|
5527
|
+
for (let d = 0; d < c.length; d++) {
|
|
5528
|
+
let e = c[d];
|
|
5529
|
+
if (stringContains(e, "as")) {
|
|
5530
|
+
let f = e.indexOf("as");
|
|
5531
|
+
let g = e.substr(0, f).trim();
|
|
5532
|
+
b.add(g);
|
|
5533
|
+
}
|
|
5534
|
+
}
|
|
5535
|
+
return b;
|
|
5536
|
+
}
|
|
5537
|
+
b.add(a);
|
|
5538
|
+
return b;
|
|
5539
|
+
}
|
|
5540
|
+
b3() {
|
|
5541
|
+
if (this.actualProperties == null) {
|
|
5542
|
+
return null;
|
|
5543
|
+
}
|
|
5544
|
+
let a = this.actualProperties;
|
|
5545
|
+
if (typeCast(HorizontalPropertyEditorPanelDataSource.$, a) !== null) {
|
|
5546
|
+
a = a.ae;
|
|
5547
|
+
}
|
|
5548
|
+
let b = new PropertyEditorTreeTransformer(this.h, this.b1);
|
|
5549
|
+
this.c1(a, "", b, this.b1);
|
|
5550
|
+
return b.g();
|
|
5551
|
+
}
|
|
5552
|
+
c1(a, b, c, d) {
|
|
5553
|
+
for (let e = 0; e < a.count; e++) {
|
|
5554
|
+
let f = a._inner[e];
|
|
5555
|
+
if (f.n == 20) {
|
|
5556
|
+
continue;
|
|
5557
|
+
}
|
|
5558
|
+
if (f.i != null) {
|
|
5559
|
+
for (let g = 0; g < f.i.count; g++) {
|
|
5560
|
+
let h = f.i._inner[g];
|
|
5561
|
+
let i = b + f.al + "[" + g + "]";
|
|
5562
|
+
this.c1(h.a, i, c, h.b);
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
else if (f.g != null) {
|
|
5566
|
+
let j = b + f.al;
|
|
5567
|
+
this.c1(f.g.a, j, c, f.g.b);
|
|
5568
|
+
}
|
|
5569
|
+
else {
|
|
5570
|
+
c.h(b + f.al, f.ad, d);
|
|
5571
|
+
}
|
|
5572
|
+
}
|
|
5573
|
+
}
|
|
5574
|
+
c7(a, b) {
|
|
5575
|
+
}
|
|
5576
|
+
c4(a, b) {
|
|
5577
|
+
}
|
|
5578
|
+
c3(a, b) {
|
|
5579
|
+
this.c2(a, b);
|
|
5580
|
+
}
|
|
5581
|
+
c0(a, b) {
|
|
5582
|
+
}
|
|
5583
|
+
cz(a, b) {
|
|
5584
|
+
}
|
|
5585
|
+
cx(a, b) {
|
|
5586
|
+
}
|
|
5587
|
+
cy(a, b) {
|
|
5588
|
+
this.c5(a, b);
|
|
5589
|
+
}
|
|
5590
|
+
cw(a, b) {
|
|
5591
|
+
}
|
|
5592
|
+
ct(a, b) {
|
|
5593
|
+
}
|
|
5594
|
+
cu(a, b) {
|
|
5595
|
+
this.c5(a, b);
|
|
5596
|
+
}
|
|
5597
|
+
cs(a, b) {
|
|
5598
|
+
this.cm(b, (c, d) => {
|
|
5599
|
+
c.e = 1;
|
|
5600
|
+
if (!c.ar) {
|
|
5601
|
+
c.ar = true;
|
|
5602
|
+
}
|
|
5603
|
+
let e = this.m(a, b.b, b.c);
|
|
5604
|
+
let f = e.ad;
|
|
5605
|
+
if (f == null) {
|
|
5606
|
+
f = false;
|
|
5607
|
+
}
|
|
5608
|
+
if (typeof f === 'string') {
|
|
5609
|
+
let g;
|
|
5610
|
+
if (((() => { let h = tryParseBool(f, g); g = h.p1; return h.ret; })())) {
|
|
5611
|
+
f = g;
|
|
5612
|
+
let h = this.af;
|
|
5613
|
+
this.af = true;
|
|
5614
|
+
e.ad = f;
|
|
5615
|
+
this.af = h;
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
5618
|
+
if (typeof f === 'number') {
|
|
5619
|
+
if (typeGetValue(f) > 0) {
|
|
5620
|
+
f = true;
|
|
5621
|
+
let i = this.af;
|
|
5622
|
+
this.af = true;
|
|
5623
|
+
e.ad = f;
|
|
5624
|
+
this.af = i;
|
|
5625
|
+
}
|
|
5626
|
+
}
|
|
5627
|
+
if (typeof f === 'number') {
|
|
5628
|
+
if (f > 0) {
|
|
5629
|
+
f = true;
|
|
5630
|
+
let j = this.af;
|
|
5631
|
+
this.af = true;
|
|
5632
|
+
e.ad = f;
|
|
5633
|
+
this.af = j;
|
|
5634
|
+
}
|
|
5635
|
+
}
|
|
5636
|
+
let k = f;
|
|
5637
|
+
c.as = k;
|
|
5638
|
+
c.v = e;
|
|
5639
|
+
if (d) {
|
|
5640
|
+
c.aq = runOn(this, this.ce);
|
|
5641
|
+
}
|
|
5642
|
+
});
|
|
5643
|
+
}
|
|
5644
|
+
m(a, b, c) {
|
|
5645
|
+
if (this.ag) {
|
|
5646
|
+
let d = this.actualProperties.ae;
|
|
5647
|
+
let e = d;
|
|
5648
|
+
let f = truncate((this.ap.count / 2));
|
|
5649
|
+
let g = b * f;
|
|
5650
|
+
let h = this.bm(a);
|
|
5651
|
+
h = truncate(Math.floor(h / 2)) + g;
|
|
5652
|
+
if (h > e.count - 1) {
|
|
5653
|
+
return null;
|
|
5654
|
+
}
|
|
5655
|
+
return e.item(h);
|
|
5656
|
+
}
|
|
5657
|
+
else {
|
|
5658
|
+
return c;
|
|
5659
|
+
}
|
|
5660
|
+
}
|
|
5661
|
+
bm(a) {
|
|
5662
|
+
return this.am.item(a);
|
|
5663
|
+
}
|
|
5664
|
+
ce(a, b) {
|
|
5665
|
+
let c = a;
|
|
5666
|
+
let d = c.v;
|
|
5667
|
+
this.af = true;
|
|
5668
|
+
d.ad = c.as;
|
|
5669
|
+
d.am();
|
|
5670
|
+
this.af = false;
|
|
5671
|
+
this.du(d);
|
|
5672
|
+
}
|
|
5673
|
+
cr(a, b) {
|
|
5674
|
+
}
|
|
5675
|
+
dp(a, b, c) {
|
|
5676
|
+
if (this.v != null) {
|
|
5677
|
+
this.c.notifySetItem(a, b, c);
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
dl() {
|
|
5681
|
+
if (this.v != null) {
|
|
5682
|
+
this.c.notifyClearItems();
|
|
5683
|
+
}
|
|
5684
|
+
}
|
|
5685
|
+
dm(a, b) {
|
|
5686
|
+
if (this.v != null) {
|
|
5687
|
+
this.c.notifyInsertItem(a, b);
|
|
5688
|
+
}
|
|
5689
|
+
;
|
|
5690
|
+
}
|
|
5691
|
+
dn(a, b) {
|
|
5692
|
+
if (this.v != null) {
|
|
5693
|
+
this.c.notifyRemoveItem(a, b);
|
|
5694
|
+
}
|
|
5695
|
+
;
|
|
5696
|
+
}
|
|
5697
|
+
get h() {
|
|
5698
|
+
return this.f;
|
|
5699
|
+
}
|
|
5700
|
+
set h(a) {
|
|
5701
|
+
let b = this.f;
|
|
5702
|
+
this.f = a;
|
|
5703
|
+
this.dt("ActualContext", b, this.f);
|
|
5704
|
+
}
|
|
5705
|
+
get i() {
|
|
5706
|
+
return this.g;
|
|
5707
|
+
}
|
|
5708
|
+
set i(a) {
|
|
5709
|
+
let b = this.g;
|
|
5710
|
+
this.g = a;
|
|
5711
|
+
this.dt("DescriptionContext", b, this.g);
|
|
5712
|
+
}
|
|
5713
|
+
get e() {
|
|
5714
|
+
return this.d;
|
|
5715
|
+
}
|
|
5716
|
+
set e(a) {
|
|
5717
|
+
let b = this.d;
|
|
5718
|
+
this.d = a;
|
|
5719
|
+
this.dt("ComponentRenderer", b, this.d);
|
|
5720
|
+
}
|
|
5721
|
+
get br() {
|
|
5722
|
+
return this.bp;
|
|
5723
|
+
}
|
|
5724
|
+
set br(a) {
|
|
5725
|
+
let b = this.bp;
|
|
5726
|
+
this.bp = a;
|
|
5727
|
+
this.dt("Target", b, this.bp);
|
|
5728
|
+
}
|
|
5729
|
+
get b1() {
|
|
5730
|
+
return this.bt;
|
|
5731
|
+
}
|
|
5732
|
+
set b1(a) {
|
|
5733
|
+
let b = this.bt;
|
|
5734
|
+
this.bt = a;
|
|
5735
|
+
this.dt("DescriptionType", b, this.bt);
|
|
5736
|
+
}
|
|
5737
|
+
get ag() {
|
|
5738
|
+
return this.aa;
|
|
5739
|
+
}
|
|
5740
|
+
set ag(a) {
|
|
5741
|
+
let b = this.aa;
|
|
5742
|
+
this.aa = a;
|
|
5743
|
+
this.dt("IsHorizontal", b, this.aa);
|
|
5744
|
+
}
|
|
5745
|
+
get ai() {
|
|
5746
|
+
return this.ac;
|
|
5747
|
+
}
|
|
5748
|
+
set ai(a) {
|
|
5749
|
+
let b = this.ac;
|
|
5750
|
+
this.ac = a;
|
|
5751
|
+
this.dt("IsWrappingEnabled", b, this.ac);
|
|
5752
|
+
}
|
|
5753
|
+
get ah() {
|
|
5754
|
+
return this.ab;
|
|
5755
|
+
}
|
|
5756
|
+
set ah(a) {
|
|
5757
|
+
let b = this.ab;
|
|
5758
|
+
this.ab = a;
|
|
5759
|
+
this.dt("IsIndirectModeEnabled", b, this.ab);
|
|
5760
|
+
}
|
|
5761
|
+
get d5() {
|
|
5762
|
+
return this.d3;
|
|
5763
|
+
}
|
|
5764
|
+
set d5(a) {
|
|
5765
|
+
let b = this.d3;
|
|
5766
|
+
this.d3 = a;
|
|
5767
|
+
if (b != this.d3) {
|
|
5768
|
+
this.dt("BackgroundColor", b, a);
|
|
5769
|
+
}
|
|
5770
|
+
}
|
|
5771
|
+
get d8() {
|
|
5772
|
+
return this.d4;
|
|
5773
|
+
}
|
|
5774
|
+
set d8(a) {
|
|
5775
|
+
let b = this.d4;
|
|
5776
|
+
this.d4 = a;
|
|
5777
|
+
if (b != this.d4) {
|
|
5778
|
+
this.dt("TextColor", b, a);
|
|
5779
|
+
}
|
|
5780
|
+
}
|
|
5781
|
+
cd() {
|
|
5782
|
+
let a = this.c;
|
|
5783
|
+
if (null != a) {
|
|
5784
|
+
if (null == a.actualSchema) {
|
|
5785
|
+
this.bk = -1;
|
|
5786
|
+
return;
|
|
5787
|
+
}
|
|
5788
|
+
let b = a.actualCount;
|
|
5789
|
+
this.bk = b;
|
|
5790
|
+
}
|
|
5791
|
+
else {
|
|
5792
|
+
this.bk = -1;
|
|
5793
|
+
}
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
PropertyEditorPanel.$t = /*@__PURE__*/ markType(PropertyEditorPanel, 'PropertyEditorPanel', Base.$, [INotifyPropertyChanged_$type]);
|
|
5797
|
+
PropertyEditorPanel.d6 = /*@__PURE__*/ BrushUtil.g(255, 248, 248, 248);
|
|
5798
|
+
PropertyEditorPanel.d7 = /*@__PURE__*/ BrushUtil.g(255, 24, 29, 31);
|
|
5799
|
+
return PropertyEditorPanel;
|
|
5800
|
+
})();
|
|
5801
|
+
|
|
5802
|
+
/*
|
|
5803
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
5804
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
5805
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5806
|
+
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.
|
|
5807
|
+
*/
|
|
5808
|
+
|
|
5809
|
+
let IgcPropertyEditorPanelComponent = /*@__PURE__*/ (() => {
|
|
5810
|
+
class IgcPropertyEditorPanelComponent extends IgcHTMLElement {
|
|
5811
|
+
constructor() {
|
|
5812
|
+
super();
|
|
5813
|
+
this._implementation = null;
|
|
5814
|
+
this.contentProperties = [];
|
|
5815
|
+
/**
|
|
5816
|
+
* The properties actually present in the editor. Do not directly modify this array.
|
|
5817
|
+
* This array's contents can be modified by using the properties property or providing child content.
|
|
5818
|
+
*/
|
|
5819
|
+
this.actualProperties = [];
|
|
5820
|
+
this._properties = null;
|
|
5821
|
+
this._propertiesAdapter = null;
|
|
5822
|
+
this._disconnected = false;
|
|
5823
|
+
this._settingAttributes = false;
|
|
5824
|
+
this._attached = false;
|
|
5825
|
+
this._queuedSetAttributes = [];
|
|
5826
|
+
this._updatingFromAttribute = false;
|
|
5827
|
+
this._actualDataSource = null;
|
|
5828
|
+
this.__p = null;
|
|
5829
|
+
this._hasUserValues = new Set();
|
|
5830
|
+
this._stylingContainer = null;
|
|
5831
|
+
this._stylingParent = null;
|
|
5832
|
+
this._inStyling = false;
|
|
5833
|
+
if (this._styling) {
|
|
5834
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
5835
|
+
}
|
|
5836
|
+
this._implementation = this.createImplementation();
|
|
5837
|
+
this._implementation.externalObject = this;
|
|
5838
|
+
this._portalManager = new PortalManager("propertyEditorContent");
|
|
5839
|
+
this._webComponentRenderer = new WebComponentRenderer(this, document, true, {}, this._portalManager);
|
|
5840
|
+
this._webComponentWrapper = this._webComponentRenderer.createElement("div");
|
|
5841
|
+
this._webComponentRenderer.updateRoot(this._webComponentWrapper);
|
|
5842
|
+
this._webComponentWrapper.setStyleProperty("display", "block");
|
|
5843
|
+
this._webComponentWrapper.setStyleProperty("width", "100%");
|
|
5844
|
+
this._webComponentWrapper.setStyleProperty("height", "100%");
|
|
5845
|
+
this._propertiesAdapter = new CollectionAdapter(this.contentProperties, this.i.properties, this.actualProperties, (c) => c.i, (i) => {
|
|
5846
|
+
if (this._webComponentRenderer && this._webComponentRenderer.rootWrapper.getNativeElement().parentElement) {
|
|
5847
|
+
i._styling(this, this, this);
|
|
5848
|
+
}
|
|
5849
|
+
}, (i) => { });
|
|
5850
|
+
this.i.provideContainer(this._webComponentRenderer);
|
|
5851
|
+
this.i.notifySizeChanged();
|
|
5852
|
+
let mut = new MutationObserver((list) => {
|
|
5853
|
+
for (var mutation of list) {
|
|
5854
|
+
if (mutation.type == 'childList') {
|
|
5855
|
+
this.updateContentProperties();
|
|
5856
|
+
}
|
|
5857
|
+
}
|
|
5858
|
+
});
|
|
5859
|
+
mut.observe(this, {
|
|
5860
|
+
childList: true
|
|
5861
|
+
});
|
|
5862
|
+
this._webComponentRenderer.addSizeWatcher(() => {
|
|
5863
|
+
this.i.notifySizeChanged();
|
|
5864
|
+
});
|
|
5865
|
+
}
|
|
5866
|
+
set height(value) {
|
|
5867
|
+
this._height = value;
|
|
5868
|
+
this.style.height = value;
|
|
5869
|
+
this.i.notifySizeChanged();
|
|
5870
|
+
}
|
|
5871
|
+
get height() {
|
|
5872
|
+
return this._height;
|
|
5873
|
+
}
|
|
5874
|
+
set width(value) {
|
|
5875
|
+
this._width = value;
|
|
5876
|
+
this.style.width = value;
|
|
5877
|
+
this.i.notifySizeChanged();
|
|
5878
|
+
}
|
|
5879
|
+
get width() {
|
|
5880
|
+
return this._width;
|
|
5881
|
+
}
|
|
5882
|
+
/**
|
|
5883
|
+
* A collection of manually added properties for the editor.
|
|
5884
|
+
*/
|
|
5885
|
+
get properties() {
|
|
5886
|
+
if (this._properties === null) {
|
|
5887
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
5888
|
+
let inner = coll._innerColl;
|
|
5889
|
+
inner.addListener((sender, e) => {
|
|
5890
|
+
switch (e.action) {
|
|
5891
|
+
case NotifyCollectionChangedAction.Add:
|
|
5892
|
+
this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
5893
|
+
break;
|
|
5894
|
+
case NotifyCollectionChangedAction.Remove:
|
|
5895
|
+
this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
5896
|
+
break;
|
|
5897
|
+
case NotifyCollectionChangedAction.Replace:
|
|
5898
|
+
this._propertiesAdapter.removeManualItemAt(e.oldStartingIndex);
|
|
5899
|
+
this._propertiesAdapter.insertManualItem(e.newStartingIndex, e.newItems.item(0));
|
|
5900
|
+
break;
|
|
5901
|
+
case NotifyCollectionChangedAction.Reset:
|
|
5902
|
+
this._propertiesAdapter.clearManualItems();
|
|
5903
|
+
break;
|
|
5904
|
+
}
|
|
5905
|
+
});
|
|
5906
|
+
this._properties = coll;
|
|
5907
|
+
}
|
|
5908
|
+
return this._properties;
|
|
5909
|
+
}
|
|
5910
|
+
// supports angular themes or custom properties set in CSS
|
|
5911
|
+
updateStyle() {
|
|
5912
|
+
this._styling(this, this);
|
|
5913
|
+
}
|
|
5914
|
+
destroy() {
|
|
5915
|
+
this._implementation.destroy();
|
|
5916
|
+
this._webComponentRenderer.destroy();
|
|
5917
|
+
}
|
|
5918
|
+
updateContentProperties() {
|
|
5919
|
+
this.contentProperties.length = 0;
|
|
5920
|
+
for (var i = 0; i < this.children.length; i++) {
|
|
5921
|
+
if (this.children[i] instanceof IgcPropertyEditorPropertyDescriptionComponent) {
|
|
5922
|
+
this.contentProperties.push(this.children[i]);
|
|
5923
|
+
}
|
|
5924
|
+
}
|
|
5925
|
+
if (this._propertiesAdapter != null) {
|
|
5926
|
+
this._propertiesAdapter.notifyContentChanged();
|
|
5927
|
+
}
|
|
5928
|
+
}
|
|
5929
|
+
createImplementation() {
|
|
5930
|
+
return new PropertyEditorPanel();
|
|
5931
|
+
}
|
|
5932
|
+
get i() {
|
|
5933
|
+
return this._implementation;
|
|
5934
|
+
}
|
|
5935
|
+
disconnectedCallback() {
|
|
5936
|
+
this._disconnected = true;
|
|
5937
|
+
}
|
|
5938
|
+
connectedCallback() {
|
|
5939
|
+
if (this._disconnected) {
|
|
5940
|
+
this._disconnected = false;
|
|
5941
|
+
return;
|
|
5942
|
+
}
|
|
5943
|
+
this.classList.add("ig-property-editor-panel");
|
|
5944
|
+
this.classList.add("igc-property-editor-panel");
|
|
5945
|
+
var rootWrapper = this._webComponentRenderer.rootWrapper;
|
|
5946
|
+
var rootElement = rootWrapper.getNativeElement();
|
|
5947
|
+
this.appendChild(rootElement);
|
|
5948
|
+
this._attached = true;
|
|
5949
|
+
this.style.display = "block";
|
|
5950
|
+
this.style.height = this._height;
|
|
5951
|
+
this.style.width = this._width;
|
|
5952
|
+
this._flushQueuedAttributes();
|
|
5953
|
+
// supports themes or custom properties set in CSS
|
|
5954
|
+
this._styling(this, this);
|
|
5955
|
+
for (let i = 0; i < this.actualProperties.length; i++) {
|
|
5956
|
+
let s = this.actualProperties[i];
|
|
5957
|
+
s._styling(this, this, this);
|
|
5958
|
+
}
|
|
5959
|
+
this.updateContentProperties();
|
|
5960
|
+
this.afterContentInit();
|
|
5961
|
+
}
|
|
5962
|
+
afterContentInit() {
|
|
5963
|
+
this.i.notifySizeChanged();
|
|
5964
|
+
}
|
|
5965
|
+
_enqueueSetAttribute(attrName, attrValue) {
|
|
5966
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
5967
|
+
}
|
|
5968
|
+
_flushQueuedAttributes() {
|
|
5969
|
+
this._settingAttributes = true;
|
|
5970
|
+
for (let i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
5971
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
5972
|
+
}
|
|
5973
|
+
this._settingAttributes = false;
|
|
5974
|
+
this._queuedSetAttributes.length = 0;
|
|
5975
|
+
}
|
|
5976
|
+
_a(attrName, attrValue) {
|
|
5977
|
+
if (this._updatingFromAttribute) {
|
|
5978
|
+
return;
|
|
5979
|
+
}
|
|
5980
|
+
if (attrValue) {
|
|
5981
|
+
attrValue = attrValue.toString();
|
|
5982
|
+
}
|
|
5983
|
+
this._settingAttributes = true;
|
|
5984
|
+
attrName = toSpinal(attrName);
|
|
5985
|
+
if (this._attached) {
|
|
5986
|
+
this.setAttribute(attrName, attrValue);
|
|
5987
|
+
}
|
|
5988
|
+
else {
|
|
5989
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
5990
|
+
}
|
|
5991
|
+
this._settingAttributes = false;
|
|
5992
|
+
}
|
|
5993
|
+
static get observedAttributes() {
|
|
5994
|
+
if (IgcPropertyEditorPanelComponent._observedAttributesIgcPropertyEditorPanelComponent == null) {
|
|
5995
|
+
let names = getAllPropertyNames(IgcPropertyEditorPanelComponent);
|
|
5996
|
+
for (let i = 0; i < names.length; i++) {
|
|
5997
|
+
names[i] = toSpinal(names[i]);
|
|
5998
|
+
}
|
|
5999
|
+
IgcPropertyEditorPanelComponent._observedAttributesIgcPropertyEditorPanelComponent = names;
|
|
6000
|
+
}
|
|
6001
|
+
return IgcPropertyEditorPanelComponent._observedAttributesIgcPropertyEditorPanelComponent;
|
|
6002
|
+
}
|
|
6003
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
6004
|
+
if (this._settingAttributes) {
|
|
6005
|
+
return;
|
|
6006
|
+
}
|
|
6007
|
+
let setName = fromSpinal(name);
|
|
6008
|
+
this._updatingFromAttribute = true;
|
|
6009
|
+
this[setName] = newValue;
|
|
6010
|
+
this._updatingFromAttribute = false;
|
|
6011
|
+
}
|
|
6012
|
+
static register() {
|
|
6013
|
+
if (!IgcPropertyEditorPanelComponent._isElementRegistered) {
|
|
6014
|
+
IgcPropertyEditorPanelComponent._isElementRegistered = true;
|
|
6015
|
+
RegisterElementHelper.registerElement(IgcPropertyEditorPanelComponent.htmlTagName, IgcPropertyEditorPanelComponent);
|
|
6016
|
+
}
|
|
6017
|
+
}
|
|
6018
|
+
/**
|
|
6019
|
+
* Gets the actaul data or data source instance to which to bind the grid.
|
|
6020
|
+
*/
|
|
6021
|
+
get actualDataSource() {
|
|
6022
|
+
if (this._actualDataSource === null) {
|
|
6023
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
6024
|
+
let innerColl = this.i.actualProperties;
|
|
6025
|
+
if (!innerColl) {
|
|
6026
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection();
|
|
6027
|
+
}
|
|
6028
|
+
this._actualDataSource = coll._fromInner(innerColl);
|
|
6029
|
+
this.i.actualProperties = innerColl;
|
|
6030
|
+
}
|
|
6031
|
+
return this._actualDataSource;
|
|
6032
|
+
}
|
|
6033
|
+
set actualDataSource(v) {
|
|
6034
|
+
if (this._actualDataSource !== null) {
|
|
6035
|
+
this._actualDataSource._setSyncTarget(null);
|
|
6036
|
+
this._actualDataSource = null;
|
|
6037
|
+
}
|
|
6038
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
6039
|
+
this._actualDataSource = coll._fromOuter(v);
|
|
6040
|
+
let syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
6041
|
+
let innerColl = this.i.actualProperties;
|
|
6042
|
+
if (!innerColl) {
|
|
6043
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection();
|
|
6044
|
+
}
|
|
6045
|
+
syncColl._inner = innerColl;
|
|
6046
|
+
syncColl.clear();
|
|
6047
|
+
this._actualDataSource._setSyncTarget(syncColl);
|
|
6048
|
+
this.i.actualProperties = innerColl;
|
|
6049
|
+
}
|
|
6050
|
+
/**
|
|
6051
|
+
* Gets or Sets the property name that contains the values.
|
|
6052
|
+
*/
|
|
6053
|
+
get rowHeight() {
|
|
6054
|
+
return this.i.bo;
|
|
6055
|
+
}
|
|
6056
|
+
set rowHeight(v) {
|
|
6057
|
+
this.i.bo = +v;
|
|
6058
|
+
this._a("rowHeight", this.i.bo);
|
|
6059
|
+
}
|
|
6060
|
+
get actualRowHeight() {
|
|
6061
|
+
return this.i.ar;
|
|
6062
|
+
}
|
|
6063
|
+
set actualRowHeight(v) {
|
|
6064
|
+
this.i.ar = +v;
|
|
6065
|
+
this._a("actualRowHeight", this.i.ar);
|
|
6066
|
+
}
|
|
6067
|
+
/**
|
|
6068
|
+
* Gets or Sets the property name that contains the values.
|
|
6069
|
+
*/
|
|
6070
|
+
get cellTextStyle() {
|
|
6071
|
+
if (this.i.t == null) {
|
|
6072
|
+
return null;
|
|
6073
|
+
}
|
|
6074
|
+
return this.i.t.fontString;
|
|
6075
|
+
}
|
|
6076
|
+
set cellTextStyle(v) {
|
|
6077
|
+
let fi = new FontInfo();
|
|
6078
|
+
fi.fontString = v;
|
|
6079
|
+
this.i.t = fi;
|
|
6080
|
+
this._a("cellTextStyle", this.i.t != null ? this.i.t.fontString : "");
|
|
6081
|
+
}
|
|
6082
|
+
get actualDescriptionContext() {
|
|
6083
|
+
return this.i.h;
|
|
6084
|
+
}
|
|
6085
|
+
set actualDescriptionContext(v) {
|
|
6086
|
+
this.i.h = v;
|
|
6087
|
+
}
|
|
6088
|
+
get descriptionContext() {
|
|
6089
|
+
return this.i.i;
|
|
6090
|
+
}
|
|
6091
|
+
set descriptionContext(v) {
|
|
6092
|
+
this.i.i = v;
|
|
6093
|
+
}
|
|
6094
|
+
get componentRenderer() {
|
|
6095
|
+
return this.i.e;
|
|
6096
|
+
}
|
|
6097
|
+
set componentRenderer(v) {
|
|
6098
|
+
this.i.e = v;
|
|
6099
|
+
}
|
|
6100
|
+
get target() {
|
|
6101
|
+
return this.i.br;
|
|
6102
|
+
}
|
|
6103
|
+
set target(v) {
|
|
6104
|
+
this.i.br = v;
|
|
6105
|
+
}
|
|
6106
|
+
get descriptionType() {
|
|
6107
|
+
return this.i.b1;
|
|
6108
|
+
}
|
|
6109
|
+
set descriptionType(v) {
|
|
6110
|
+
this.i.b1 = v;
|
|
6111
|
+
}
|
|
6112
|
+
get isHorizontal() {
|
|
6113
|
+
return this.i.ag;
|
|
6114
|
+
}
|
|
6115
|
+
set isHorizontal(v) {
|
|
6116
|
+
this.i.ag = ensureBool(v);
|
|
6117
|
+
this._a("isHorizontal", this.i.ag);
|
|
6118
|
+
}
|
|
6119
|
+
get isWrappingEnabled() {
|
|
6120
|
+
return this.i.ai;
|
|
6121
|
+
}
|
|
6122
|
+
set isWrappingEnabled(v) {
|
|
6123
|
+
this.i.ai = ensureBool(v);
|
|
6124
|
+
this._a("isWrappingEnabled", this.i.ai);
|
|
6125
|
+
}
|
|
6126
|
+
get isIndirectModeEnabled() {
|
|
6127
|
+
return this.i.ah;
|
|
6128
|
+
}
|
|
6129
|
+
set isIndirectModeEnabled(v) {
|
|
6130
|
+
this.i.ah = ensureBool(v);
|
|
6131
|
+
this._a("isIndirectModeEnabled", this.i.ah);
|
|
6132
|
+
}
|
|
6133
|
+
/**
|
|
6134
|
+
* Gets or sets the color to use for the background of the component.
|
|
6135
|
+
*/
|
|
6136
|
+
get backgroundColor() {
|
|
6137
|
+
return brushToString(this.i.d5);
|
|
6138
|
+
}
|
|
6139
|
+
set backgroundColor(v) {
|
|
6140
|
+
this.i.d5 = stringToBrush(v);
|
|
6141
|
+
this._a("backgroundColor", brushToString(this.i.d5));
|
|
6142
|
+
}
|
|
6143
|
+
/**
|
|
6144
|
+
* Gets or sets the color to use for the text of the component.
|
|
6145
|
+
*/
|
|
6146
|
+
get textColor() {
|
|
6147
|
+
return brushToString(this.i.d8);
|
|
6148
|
+
}
|
|
6149
|
+
set textColor(v) {
|
|
6150
|
+
this.i.d8 = stringToBrush(v);
|
|
6151
|
+
this._a("textColor", brushToString(this.i.d8));
|
|
6152
|
+
}
|
|
6153
|
+
findByName(name) {
|
|
6154
|
+
if (this.actualDataSource != null && this.actualDataSource.findByName && this.actualDataSource.findByName(name)) {
|
|
6155
|
+
return this.actualDataSource.findByName(name);
|
|
6156
|
+
}
|
|
6157
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
6158
|
+
return this.properties.findByName(name);
|
|
6159
|
+
}
|
|
6160
|
+
return null;
|
|
6161
|
+
}
|
|
6162
|
+
get hasUserValues() {
|
|
6163
|
+
return this._hasUserValues;
|
|
6164
|
+
}
|
|
6165
|
+
__m(propertyName) {
|
|
6166
|
+
if (!this._inStyling) {
|
|
6167
|
+
this._hasUserValues.add(propertyName);
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
_styling(container, component, parent) {
|
|
6171
|
+
if (this._inStyling) {
|
|
6172
|
+
return;
|
|
6173
|
+
}
|
|
6174
|
+
this._inStyling = true;
|
|
6175
|
+
this._stylingContainer = container;
|
|
6176
|
+
this._stylingParent = component;
|
|
6177
|
+
let genericPrefix = "";
|
|
6178
|
+
let typeName = this.i.$type.name;
|
|
6179
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
6180
|
+
typeName = typeName.substring(3);
|
|
6181
|
+
}
|
|
6182
|
+
genericPrefix = toSpinal("PropertyEditorPanelComponent");
|
|
6183
|
+
let additionalPrefixes = [];
|
|
6184
|
+
let prefix = toSpinal(typeName);
|
|
6185
|
+
additionalPrefixes.push(prefix + "-");
|
|
6186
|
+
let b = this.i.$type.baseType;
|
|
6187
|
+
while (b && b.name != "Object" &&
|
|
6188
|
+
b.name != "Base" &&
|
|
6189
|
+
b.name != "Control" &&
|
|
6190
|
+
b.Name != "DependencyObject" &&
|
|
6191
|
+
b.Name != "FrameworkElement") {
|
|
6192
|
+
typeName = b.name;
|
|
6193
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
6194
|
+
typeName = typeName.substring(3);
|
|
6195
|
+
}
|
|
6196
|
+
let basePrefix = toSpinal(typeName);
|
|
6197
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
6198
|
+
b = b.baseType;
|
|
6199
|
+
}
|
|
6200
|
+
if (parent) {
|
|
6201
|
+
let parentTypeName = parent.i.$type.name;
|
|
6202
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
6203
|
+
parentTypeName = parentTypeName.substring(3);
|
|
6204
|
+
}
|
|
6205
|
+
let parentPrefix = toSpinal(parentTypeName);
|
|
6206
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
6207
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
6208
|
+
}
|
|
6209
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
6210
|
+
if (this._otherStyling) {
|
|
6211
|
+
this._otherStyling(container, component, parent);
|
|
6212
|
+
}
|
|
6213
|
+
this._inStyling = false;
|
|
6214
|
+
}
|
|
6215
|
+
getDesiredSize() {
|
|
6216
|
+
let iv = this.i.d9();
|
|
6217
|
+
return fromSize(iv);
|
|
6218
|
+
}
|
|
6219
|
+
notifySetItem(index, oldItem, newItem) {
|
|
6220
|
+
this.i.dp(index, oldItem, newItem);
|
|
6221
|
+
}
|
|
6222
|
+
/**
|
|
6223
|
+
* Manually notifies the checkboxlist's grid that the data it has bound to has been cleared and needs to be re-examined.
|
|
6224
|
+
* This should not be called if the data that the grid is bound to is already observable.
|
|
6225
|
+
|
|
6226
|
+
*/
|
|
6227
|
+
notifyClearItems() {
|
|
6228
|
+
this.i.dl();
|
|
6229
|
+
}
|
|
6230
|
+
notifyInsertItem(index, newItem) {
|
|
6231
|
+
this.i.dm(index, newItem);
|
|
6232
|
+
}
|
|
6233
|
+
notifyRemoveItem(index, oldItem) {
|
|
6234
|
+
this.i.dn(index, oldItem);
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
IgcPropertyEditorPanelComponent._observedAttributesIgcPropertyEditorPanelComponent = null;
|
|
6238
|
+
IgcPropertyEditorPanelComponent.htmlTagName = "igc-property-editor-panel";
|
|
6239
|
+
IgcPropertyEditorPanelComponent._isElementRegistered = false;
|
|
6240
|
+
return IgcPropertyEditorPanelComponent;
|
|
6241
|
+
})();
|
|
6242
|
+
|
|
6243
|
+
/*
|
|
6244
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6245
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6246
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6247
|
+
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.
|
|
6248
|
+
*/
|
|
6249
|
+
class IgcPropertyEditorPanelModule {
|
|
6250
|
+
static register() {
|
|
6251
|
+
IgcPropertyEditorPropertyDescriptionModule.register();
|
|
6252
|
+
IgcPropertyEditorPanelComponent.register();
|
|
6253
|
+
TypeRegistrar.registerCons('IgcPropertyEditorPanelComponent', IgcPropertyEditorPanelComponent);
|
|
6254
|
+
TypeRegistrar.registerCons('IgcPropertyEditorPanelComponent', IgcPropertyEditorPanelComponent);
|
|
6255
|
+
TypeRegistrar.register('PropertyEditorPanel', PropertyEditorPanel.$type);
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6258
|
+
|
|
6259
|
+
/*
|
|
6260
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6261
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6262
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6263
|
+
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.
|
|
6264
|
+
*/
|
|
6265
|
+
|
|
6266
|
+
/*
|
|
6267
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6268
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6269
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6270
|
+
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.
|
|
6271
|
+
*/
|
|
6272
|
+
|
|
6273
|
+
/*
|
|
6274
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6275
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6276
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6277
|
+
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.
|
|
6278
|
+
*/
|
|
6279
|
+
|
|
6280
|
+
/*
|
|
6281
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6282
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6283
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6284
|
+
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.
|
|
6285
|
+
*/
|
|
6286
|
+
/**
|
|
6287
|
+
* Indicates which side of the exclusion rectangle to which the popup is aligned.
|
|
6288
|
+
*/
|
|
6289
|
+
var PopupAlignment = /*@__PURE__*/ (function (PopupAlignment) {
|
|
6290
|
+
/**
|
|
6291
|
+
* No specified direction.
|
|
6292
|
+
*/
|
|
6293
|
+
PopupAlignment[PopupAlignment["Auto"] = 0] = "Auto";
|
|
6294
|
+
/**
|
|
6295
|
+
* Popup should be aligned to the near side. This usually means left or top.
|
|
6296
|
+
*/
|
|
6297
|
+
PopupAlignment[PopupAlignment["Near"] = 1] = "Near";
|
|
6298
|
+
/**
|
|
6299
|
+
* Popup should be aligned to the near far. This usually means right or bottom.
|
|
6300
|
+
*/
|
|
6301
|
+
PopupAlignment[PopupAlignment["Far"] = 2] = "Far";
|
|
6302
|
+
return PopupAlignment;
|
|
6303
|
+
})({});
|
|
6304
|
+
/**
|
|
6305
|
+
* @hidden
|
|
6306
|
+
*/
|
|
6307
|
+
let PopupAlignment_$type = /*@__PURE__*/ markEnum('PopupAlignment', 'Auto,0|Near,1|Far,2');
|
|
6308
|
+
|
|
6309
|
+
/*
|
|
6310
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6311
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6312
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6313
|
+
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.
|
|
6314
|
+
*/
|
|
6315
|
+
/**
|
|
6316
|
+
* Indicates which direction the popup will pop up in relation to the exclusion rectangle.
|
|
6317
|
+
*/
|
|
6318
|
+
var PopupDirection = /*@__PURE__*/ (function (PopupDirection) {
|
|
6319
|
+
/**
|
|
6320
|
+
* No specified direction.
|
|
6321
|
+
*/
|
|
6322
|
+
PopupDirection[PopupDirection["Auto"] = 0] = "Auto";
|
|
6323
|
+
/**
|
|
6324
|
+
* Popup should be displayed downward.
|
|
6325
|
+
*/
|
|
6326
|
+
PopupDirection[PopupDirection["Down"] = 1] = "Down";
|
|
6327
|
+
/**
|
|
6328
|
+
* Popup should be displayed downward.
|
|
6329
|
+
*/
|
|
6330
|
+
PopupDirection[PopupDirection["Up"] = 2] = "Up";
|
|
6331
|
+
return PopupDirection;
|
|
6332
|
+
})({});
|
|
6333
|
+
/**
|
|
6334
|
+
* @hidden
|
|
6335
|
+
*/
|
|
6336
|
+
let PopupDirection_$type = /*@__PURE__*/ markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
|
|
6337
|
+
|
|
6338
|
+
/*
|
|
6339
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6340
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6341
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6342
|
+
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.
|
|
6343
|
+
*/
|
|
6344
|
+
/**
|
|
6345
|
+
* @hidden
|
|
6346
|
+
*/
|
|
6347
|
+
let PropertyEditorPanelColumnType_$type = /*@__PURE__*/ markEnum('PropertyEditorPanelColumnType', 'Label,0|Value,1');
|
|
6348
|
+
|
|
6349
|
+
/*
|
|
6350
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6351
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6352
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6353
|
+
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.
|
|
6354
|
+
*/
|
|
6355
|
+
/**
|
|
6356
|
+
* @hidden
|
|
6357
|
+
*/
|
|
6358
|
+
let PropertyEditorPanelColumnFieldType_$type = /*@__PURE__*/ markEnum('PropertyEditorPanelColumnFieldType', 'PropertyPath,0|ValueType,1');
|
|
6359
|
+
|
|
6360
|
+
class IgcHorizontalPropertyEditorPanelDataSource extends IgCollection {
|
|
6361
|
+
constructor(list) {
|
|
6362
|
+
super();
|
|
6363
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
6364
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
6365
|
+
}
|
|
6366
|
+
if (list) {
|
|
6367
|
+
for (let i = 0; i < list.length; i++) {
|
|
6368
|
+
this.add(list[i]);
|
|
6369
|
+
}
|
|
6370
|
+
}
|
|
6371
|
+
}
|
|
6372
|
+
_createInnerColl() {
|
|
6373
|
+
if (!IgcPropertyEditorPropertyDescriptionComponent.$type) {
|
|
6374
|
+
IgcPropertyEditorPropertyDescriptionComponent.$type = markType(IgcPropertyEditorPropertyDescriptionComponent, "IgcPropertyEditorPropertyDescriptionComponent");
|
|
6375
|
+
}
|
|
6376
|
+
let coll = new SyncableObservableCollection$2(IgcPropertyEditorPropertyDescriptionComponent.$type, PropertyEditorPropertyDescription.$type, 0);
|
|
6377
|
+
coll.compare = (ext, int) => {
|
|
6378
|
+
let comp = ext;
|
|
6379
|
+
if (comp._implementation) {
|
|
6380
|
+
comp = comp._implementation;
|
|
6381
|
+
}
|
|
6382
|
+
if (comp.equals) {
|
|
6383
|
+
return comp.equals(int);
|
|
6384
|
+
}
|
|
6385
|
+
return comp === int;
|
|
6386
|
+
};
|
|
6387
|
+
coll.createTo = (ext) => {
|
|
6388
|
+
return ext._implementation;
|
|
6389
|
+
};
|
|
6390
|
+
coll.createFrom = (int) => {
|
|
6391
|
+
let ext = int.externalObject;
|
|
6392
|
+
if (!ext) {
|
|
6393
|
+
ext = new IgcPropertyEditorPropertyDescriptionComponent();
|
|
6394
|
+
if (ext) {
|
|
6395
|
+
ext._implementation = int;
|
|
6396
|
+
}
|
|
6397
|
+
}
|
|
6398
|
+
return ext;
|
|
6399
|
+
};
|
|
6400
|
+
return coll;
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6404
|
+
/*
|
|
6405
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
6406
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
6407
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
6408
|
+
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.
|
|
6409
|
+
*/
|
|
6410
|
+
/**
|
|
6411
|
+
* @hidden
|
|
6412
|
+
*/
|
|
6413
|
+
let PropertyEditorPanelDropDownDataListItem = /*@__PURE__*/ (() => {
|
|
6414
|
+
class PropertyEditorPanelDropDownDataListItem extends Base {
|
|
6415
|
+
constructor() {
|
|
6416
|
+
super(...arguments);
|
|
6417
|
+
this.Name = null;
|
|
6418
|
+
this.Value = null;
|
|
6419
|
+
}
|
|
6420
|
+
}
|
|
6421
|
+
PropertyEditorPanelDropDownDataListItem.$t = /*@__PURE__*/ markType(PropertyEditorPanelDropDownDataListItem, 'PropertyEditorPanelDropDownDataListItem');
|
|
6422
|
+
return PropertyEditorPanelDropDownDataListItem;
|
|
6423
|
+
})();
|
|
6424
|
+
|
|
6425
|
+
class IgcPropertyEditorDataSource {
|
|
6426
|
+
createImplementation() {
|
|
6427
|
+
return new PropertyEditorDataSource();
|
|
6428
|
+
}
|
|
6429
|
+
/**
|
|
6430
|
+
* @hidden
|
|
6431
|
+
*/
|
|
6432
|
+
get i() {
|
|
6433
|
+
return this._implementation;
|
|
6434
|
+
}
|
|
6435
|
+
onImplementationCreated() {
|
|
6436
|
+
}
|
|
6437
|
+
constructor() {
|
|
6438
|
+
this._implementation = this.createImplementation();
|
|
6439
|
+
this._implementation.externalObject = this;
|
|
6440
|
+
this.onImplementationCreated();
|
|
6441
|
+
}
|
|
6442
|
+
_provideImplementation(i) {
|
|
6443
|
+
this._implementation = i;
|
|
6444
|
+
this._implementation.externalObject = this;
|
|
6445
|
+
this.onImplementationCreated();
|
|
6446
|
+
}
|
|
6447
|
+
get descriptionType() {
|
|
6448
|
+
return this.i.l;
|
|
6449
|
+
}
|
|
6450
|
+
set descriptionType(v) {
|
|
6451
|
+
this.i.l = v;
|
|
6452
|
+
}
|
|
6453
|
+
get context() {
|
|
6454
|
+
return this.i.b;
|
|
6455
|
+
}
|
|
6456
|
+
set context(v) {
|
|
6457
|
+
this.i.b = v;
|
|
6458
|
+
}
|
|
6459
|
+
findByName(name) {
|
|
6460
|
+
return null;
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
2589
6463
|
|
|
2590
|
-
export {
|
|
2591
|
-
//# sourceMappingURL=igniteui-webcomponents-layouts.js.map
|
|
6464
|
+
export { ExpansionPanelUtilities, ExpansionPanelView, HorizontalPropertyEditorPanelDataSource, IgcHorizontalPropertyEditorPanelDataSource, IgcOnClosedEventArgs, IgcOnCollapsedEventArgs, IgcOnExpandedEventArgs, IgcOnPopupEventArgs, IgcPopupComponent, IgcPopupModule, IgcPropertyEditorDataSource, IgcPropertyEditorDescriptionObject, IgcPropertyEditorDescriptionObjectCollection, IgcPropertyEditorPanelComponent, IgcPropertyEditorPanelModule, IgcPropertyEditorPropertyDescriptionButtonClickEventArgs, IgcPropertyEditorPropertyDescriptionChangedEventArgs, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule, IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, IgcXExpansionPanelComponent, IgcXExpansionPanelModule, OnClosedEventArgs, OnCollapsedEventArgs, OnExpandedEventArgs, OnPopupEventArgs, Popup, PopupAlignment, PopupAlignment_$type, PopupDirection, PopupDirection_$type, PopupView, PopupVisualModelExport, Popup_InnerAnimationInfo, Popup_OuterAnimationInfo, PropertyEditorDataSource, PropertyEditorDescriptionObject, PropertyEditorDescriptionObjectCollection, PropertyEditorPanel, PropertyEditorPanelColumnDefinition, PropertyEditorPanelColumnFieldType_$type, PropertyEditorPanelColumnType_$type, PropertyEditorPanelDataBindingEventArgs, PropertyEditorPanelDropDownDataListItem, PropertyEditorPanelTemplateCellUpdatingEventArgs, PropertyEditorPanelView, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionButtonClickEventArgs, PropertyEditorPropertyDescriptionChangedEventArgs, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs, PropertyEditorTreeTransformer, PropertyEditorValueType, PropertyEditorValueType_$type, XExpansionPanel };
|