igniteui-webcomponents-layouts 4.0.4 → 4.2.3-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +1495 -2681
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ListPanelView_combined.js +31 -18
- package/esm2015/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +127 -116
- package/esm2015/lib/ToolActionButton.js +1 -91
- package/esm2015/lib/ToolPanelView_combined.js +862 -692
- package/esm2015/lib/ToolbarView_combined.js +123 -96
- package/esm2015/lib/igc-property-editor-property-description-component.js +66 -31
- package/esm2015/lib/igc-tool-action-component.js +42 -31
- package/esm2015/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm2015/lib/igc-tool-action-radio-component.js +7 -4
- package/esm2015/lib/igc-tool-panel-component.js +21 -10
- package/esm2015/lib/igc-toolbar-component.js +23 -12
- package/esm2015/public_api.js +0 -13
- package/esm5/lib/ListPanelView_combined.js +31 -18
- package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +131 -116
- package/esm5/lib/ToolActionButton.js +1 -94
- package/esm5/lib/ToolPanelView_combined.js +877 -693
- package/esm5/lib/ToolbarView_combined.js +123 -92
- package/esm5/lib/igc-property-editor-property-description-component.js +70 -31
- package/esm5/lib/igc-tool-action-component.js +46 -31
- package/esm5/lib/igc-tool-action-menu-base-component.js +1 -1
- package/esm5/lib/igc-tool-action-radio-component.js +6 -3
- package/esm5/lib/igc-tool-panel-component.js +25 -10
- package/esm5/lib/igc-toolbar-component.js +27 -12
- package/esm5/public_api.js +0 -13
- package/fesm2015/igniteui-webcomponents-layouts.js +1460 -2516
- package/fesm5/igniteui-webcomponents-layouts.js +1493 -2663
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
- package/lib/ToolActionButton.d.ts +1 -23
- package/lib/ToolPanelView_combined.d.ts +172 -146
- package/lib/ToolbarView_combined.d.ts +33 -28
- package/lib/igc-property-editor-property-description-component.d.ts +3 -0
- package/lib/igc-tool-action-component.d.ts +5 -0
- package/lib/igc-tool-action-radio-component.d.ts +4 -1
- package/lib/igc-tool-panel-component.d.ts +5 -0
- package/lib/igc-toolbar-component.d.ts +5 -0
- package/package.json +3 -3
- package/public_api.d.ts +0 -13
- package/esm2015/lib/OnClosedEventArgs.js +0 -16
- package/esm2015/lib/OnPopupEventArgs.js +0 -16
- package/esm2015/lib/Popup.js +0 -7
- package/esm2015/lib/PopupAlignment.js +0 -29
- package/esm2015/lib/PopupDirection.js +0 -29
- package/esm2015/lib/PopupView.js +0 -7
- package/esm2015/lib/PopupView_combined.js +0 -647
- package/esm2015/lib/PopupVisualModelExport.js +0 -36
- package/esm2015/lib/Popup_InnerAnimationInfo.js +0 -21
- package/esm2015/lib/Popup_OuterAnimationInfo.js +0 -23
- package/esm2015/lib/igc-on-closed-event-args.js +0 -24
- package/esm2015/lib/igc-on-popup-event-args.js +0 -24
- package/esm2015/lib/igc-popup-component.js +0 -388
- package/esm2015/lib/igc-popup-module.js +0 -19
- package/esm5/lib/OnClosedEventArgs.js +0 -20
- package/esm5/lib/OnPopupEventArgs.js +0 -20
- package/esm5/lib/Popup.js +0 -7
- package/esm5/lib/PopupAlignment.js +0 -29
- package/esm5/lib/PopupDirection.js +0 -29
- package/esm5/lib/PopupView.js +0 -7
- package/esm5/lib/PopupView_combined.js +0 -700
- package/esm5/lib/PopupVisualModelExport.js +0 -38
- package/esm5/lib/Popup_InnerAnimationInfo.js +0 -23
- package/esm5/lib/Popup_OuterAnimationInfo.js +0 -25
- package/esm5/lib/igc-on-closed-event-args.js +0 -30
- package/esm5/lib/igc-on-popup-event-args.js +0 -30
- package/esm5/lib/igc-popup-component.js +0 -473
- package/esm5/lib/igc-popup-module.js +0 -23
- package/lib/OnClosedEventArgs.d.ts +0 -7
- package/lib/OnPopupEventArgs.d.ts +0 -7
- package/lib/Popup.d.ts +0 -1
- package/lib/PopupAlignment.d.ts +0 -22
- package/lib/PopupDirection.d.ts +0 -22
- package/lib/PopupView.d.ts +0 -1
- package/lib/PopupView_combined.d.ts +0 -126
- package/lib/PopupVisualModelExport.d.ts +0 -14
- package/lib/Popup_InnerAnimationInfo.d.ts +0 -10
- package/lib/Popup_OuterAnimationInfo.d.ts +0 -12
- package/lib/igc-on-closed-event-args.d.ts +0 -12
- package/lib/igc-on-popup-event-args.d.ts +0 -12
- package/lib/igc-popup-component.d.ts +0 -110
- package/lib/igc-popup-module.d.ts +0 -3
|
@@ -14,11 +14,13 @@ import { Size } from "igniteui-webcomponents-core";
|
|
|
14
14
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
15
15
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
16
16
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
17
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
17
18
|
import { ToolActionCollection } from "./ToolActionCollection";
|
|
18
19
|
import { ToolbarOrientation_$type } from "./ToolbarOrientation";
|
|
19
20
|
import { ToolbarIconManager } from "./ToolbarIconManager";
|
|
20
21
|
import { ToolAction } from "./ToolAction";
|
|
21
22
|
import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
|
|
23
|
+
import { NativeUIXInputsFactory } from "igniteui-webcomponents-inputs";
|
|
22
24
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
23
25
|
/**
|
|
24
26
|
* @hidden
|
|
@@ -73,7 +75,7 @@ export let ToolbarView = /*@__PURE__*/ (() => {
|
|
|
73
75
|
let d = this.i.getSubRenderer(c);
|
|
74
76
|
b.provideContainer(d);
|
|
75
77
|
let e = this.i.getExternal(b, this.i.rootWrapper, this.i.getExternal(this.a, null, null));
|
|
76
|
-
this.a.
|
|
78
|
+
this.a.aq(b);
|
|
77
79
|
let f = Math.round(a.rootWrapper.width());
|
|
78
80
|
let g = Math.round(a.rootWrapper.height());
|
|
79
81
|
this.i.rootWrapper.setStyleProperty("position", "relative");
|
|
@@ -91,6 +93,7 @@ export let ToolbarView = /*@__PURE__*/ (() => {
|
|
|
91
93
|
let a = this.i.rootWrapper.width();
|
|
92
94
|
let b = this.i.rootWrapper.height();
|
|
93
95
|
this.aa = new Size(1, a, b);
|
|
96
|
+
this.a.at(this.aa);
|
|
94
97
|
}
|
|
95
98
|
z() {
|
|
96
99
|
let a = this.i;
|
|
@@ -99,8 +102,8 @@ export let ToolbarView = /*@__PURE__*/ (() => {
|
|
|
99
102
|
}
|
|
100
103
|
let b = a.rootWrapper;
|
|
101
104
|
if (null != b) {
|
|
102
|
-
NativeUI.o(b, this.a.
|
|
103
|
-
NativeUI.k(b, this.a.
|
|
105
|
+
NativeUI.o(b, this.a.a6);
|
|
106
|
+
NativeUI.k(b, this.a.a3);
|
|
104
107
|
}
|
|
105
108
|
}
|
|
106
109
|
d() {
|
|
@@ -116,7 +119,7 @@ export let ToolbarView = /*@__PURE__*/ (() => {
|
|
|
116
119
|
return this.aa.width;
|
|
117
120
|
}
|
|
118
121
|
h(a) {
|
|
119
|
-
this.c = this.a.
|
|
122
|
+
this.c = this.a.r();
|
|
120
123
|
return FontUtil.measureStringWidth(a, this.c, this.e);
|
|
121
124
|
}
|
|
122
125
|
q(a, b) {
|
|
@@ -137,49 +140,65 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
137
140
|
constructor() {
|
|
138
141
|
super();
|
|
139
142
|
this.k = null;
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
143
|
+
this.u = false;
|
|
144
|
+
this.s = null;
|
|
142
145
|
this.l = null;
|
|
146
|
+
this.m = 0;
|
|
143
147
|
this.d = new ToolActionCollection();
|
|
144
148
|
this.b = new ToolActionCollection();
|
|
145
149
|
this.c = new ToolActionCollection();
|
|
146
150
|
this.h = Toolbar.i;
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
151
|
+
this.o = null;
|
|
152
|
+
this.w = Toolbar.x;
|
|
153
|
+
this.a1 = Toolbar.a4;
|
|
154
|
+
this.a2 = Toolbar.a5;
|
|
155
|
+
this.p = null;
|
|
156
|
+
this.v = false;
|
|
153
157
|
this.propertyChanged = null;
|
|
154
158
|
this.a = null;
|
|
155
159
|
ToolbarIconManager.c();
|
|
156
160
|
let a = this.actions;
|
|
157
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.ak));
|
|
162
|
+
let b = this.actualActions;
|
|
163
|
+
b.collectionChanged = delegateCombine(b.collectionChanged, runOn(this, this.am));
|
|
164
|
+
NativeUIInputsFactory.n();
|
|
165
|
+
NativeUIXInputsFactory.h();
|
|
166
|
+
let c = new ToolbarView();
|
|
167
|
+
c.a = this;
|
|
168
|
+
this.k = c;
|
|
162
169
|
this.k.v();
|
|
163
170
|
}
|
|
164
|
-
get
|
|
165
|
-
if (this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
171
|
+
get t() {
|
|
172
|
+
if (this.s == null) {
|
|
173
|
+
this.s = new SRProvider(this.k.i);
|
|
174
|
+
this.s.cb("Layouts");
|
|
168
175
|
}
|
|
169
|
-
return this.
|
|
176
|
+
return this.s;
|
|
170
177
|
}
|
|
171
|
-
|
|
178
|
+
aq(a) {
|
|
172
179
|
this.l = a;
|
|
180
|
+
this.l.n = this.m;
|
|
173
181
|
let b = this.l;
|
|
174
|
-
b.onCommand = delegateCombine(b.onCommand, runOn(this, this.
|
|
182
|
+
b.onCommand = delegateCombine(b.onCommand, runOn(this, this.aj));
|
|
175
183
|
this.l.k = this.j;
|
|
176
184
|
}
|
|
177
|
-
|
|
178
|
-
if (this.
|
|
179
|
-
this.
|
|
185
|
+
aj(a, b) {
|
|
186
|
+
if (this.o != null) {
|
|
187
|
+
this.o.onToolCommandExecuting(b.a);
|
|
180
188
|
}
|
|
181
189
|
}
|
|
182
|
-
|
|
190
|
+
at(a) {
|
|
191
|
+
this.l.notifySizeChanged();
|
|
192
|
+
}
|
|
193
|
+
get n() {
|
|
194
|
+
return this.m;
|
|
195
|
+
}
|
|
196
|
+
set n(a) {
|
|
197
|
+
let b = this.m;
|
|
198
|
+
this.m = a;
|
|
199
|
+
if (b != this.m) {
|
|
200
|
+
this.au("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
|
|
201
|
+
}
|
|
183
202
|
}
|
|
184
203
|
get autoGeneratedActions() {
|
|
185
204
|
return this.d;
|
|
@@ -188,7 +207,7 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
188
207
|
let b = this.d;
|
|
189
208
|
this.d = a;
|
|
190
209
|
if (b != this.d) {
|
|
191
|
-
this.
|
|
210
|
+
this.au("AutoGeneratedActions", b, this.d);
|
|
192
211
|
}
|
|
193
212
|
}
|
|
194
213
|
get actions() {
|
|
@@ -198,7 +217,7 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
198
217
|
let b = this.b;
|
|
199
218
|
this.b = a;
|
|
200
219
|
if (b != this.b) {
|
|
201
|
-
this.
|
|
220
|
+
this.au("Actions", b, this.b);
|
|
202
221
|
}
|
|
203
222
|
}
|
|
204
223
|
get actualActions() {
|
|
@@ -208,7 +227,7 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
208
227
|
let b = this.c;
|
|
209
228
|
this.c = a;
|
|
210
229
|
if (b != this.c) {
|
|
211
|
-
this.
|
|
230
|
+
this.au("ActualActions", b, this.c);
|
|
212
231
|
}
|
|
213
232
|
}
|
|
214
233
|
get j() {
|
|
@@ -218,61 +237,61 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
218
237
|
let b = this.h;
|
|
219
238
|
this.h = a;
|
|
220
239
|
if (b != this.h) {
|
|
221
|
-
this.
|
|
240
|
+
this.au("Orientation", enumGetBox(ToolbarOrientation_$type, b), enumGetBox(ToolbarOrientation_$type, a));
|
|
222
241
|
}
|
|
223
242
|
}
|
|
224
|
-
get
|
|
225
|
-
return this.
|
|
243
|
+
get y() {
|
|
244
|
+
return this.w;
|
|
226
245
|
}
|
|
227
|
-
set
|
|
228
|
-
let b = this.
|
|
229
|
-
this.
|
|
230
|
-
if (b != this.
|
|
231
|
-
this.
|
|
246
|
+
set y(a) {
|
|
247
|
+
let b = this.w;
|
|
248
|
+
this.w = a;
|
|
249
|
+
if (b != this.w) {
|
|
250
|
+
this.au("Target", b, a);
|
|
232
251
|
}
|
|
233
252
|
}
|
|
234
|
-
get
|
|
235
|
-
return this.
|
|
253
|
+
get a3() {
|
|
254
|
+
return this.a1;
|
|
236
255
|
}
|
|
237
|
-
set
|
|
238
|
-
let b = this.
|
|
239
|
-
this.
|
|
240
|
-
if (b != this.
|
|
241
|
-
this.
|
|
256
|
+
set a3(a) {
|
|
257
|
+
let b = this.a1;
|
|
258
|
+
this.a1 = a;
|
|
259
|
+
if (b != this.a1) {
|
|
260
|
+
this.au("BackgroundColor", b, a);
|
|
242
261
|
}
|
|
243
262
|
}
|
|
244
|
-
get
|
|
245
|
-
return this.
|
|
263
|
+
get a6() {
|
|
264
|
+
return this.a2;
|
|
246
265
|
}
|
|
247
|
-
set
|
|
248
|
-
let b = this.
|
|
249
|
-
this.
|
|
250
|
-
if (b != this.
|
|
251
|
-
this.
|
|
266
|
+
set a6(a) {
|
|
267
|
+
let b = this.a2;
|
|
268
|
+
this.a2 = a;
|
|
269
|
+
if (b != this.a2) {
|
|
270
|
+
this.au("TextColor", b, a);
|
|
252
271
|
}
|
|
253
272
|
}
|
|
254
|
-
get
|
|
255
|
-
return this.
|
|
273
|
+
get q() {
|
|
274
|
+
return this.p;
|
|
256
275
|
}
|
|
257
|
-
set
|
|
258
|
-
let b = this.
|
|
259
|
-
this.
|
|
260
|
-
if (b != this.
|
|
261
|
-
this.
|
|
276
|
+
set q(a) {
|
|
277
|
+
let b = this.p;
|
|
278
|
+
this.p = a;
|
|
279
|
+
if (b != this.p) {
|
|
280
|
+
this.au("CellTextStyle", b, this.p);
|
|
262
281
|
}
|
|
263
282
|
}
|
|
264
|
-
|
|
265
|
-
if (this.
|
|
283
|
+
r() {
|
|
284
|
+
if (this.q == null) {
|
|
266
285
|
return this.k.d();
|
|
267
286
|
}
|
|
268
|
-
return this.
|
|
287
|
+
return this.q;
|
|
269
288
|
}
|
|
270
|
-
|
|
289
|
+
ak(a, b) {
|
|
271
290
|
if (b.oldItems != null) {
|
|
272
291
|
for (let c of fromEn(b.oldItems)) {
|
|
273
292
|
if (typeCast(INotifyPropertyChanged_$type, c) !== null) {
|
|
274
293
|
let d = c;
|
|
275
|
-
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.
|
|
294
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.al));
|
|
276
295
|
}
|
|
277
296
|
}
|
|
278
297
|
}
|
|
@@ -280,36 +299,44 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
280
299
|
for (let e of fromEn(b.newItems)) {
|
|
281
300
|
if (typeCast(INotifyPropertyChanged_$type, e) !== null) {
|
|
282
301
|
let f = e;
|
|
283
|
-
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.
|
|
302
|
+
f.propertyChanged = delegateCombine(f.propertyChanged, runOn(this, this.al));
|
|
284
303
|
}
|
|
285
304
|
}
|
|
286
305
|
}
|
|
287
|
-
this.
|
|
306
|
+
this.as();
|
|
288
307
|
}
|
|
289
|
-
|
|
290
|
-
this.
|
|
308
|
+
am(a, b) {
|
|
309
|
+
this.a0();
|
|
291
310
|
}
|
|
292
|
-
|
|
293
|
-
this.
|
|
311
|
+
a0() {
|
|
312
|
+
for (let a = 0; a < this.actualActions.count; a++) {
|
|
313
|
+
this.actualActions._inner[a].g = this.n;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
al(a, b) {
|
|
317
|
+
this.as();
|
|
294
318
|
}
|
|
295
|
-
|
|
296
|
-
|
|
319
|
+
as() {
|
|
320
|
+
this.ay();
|
|
321
|
+
}
|
|
322
|
+
ay() {
|
|
323
|
+
if (this.v) {
|
|
297
324
|
return;
|
|
298
325
|
}
|
|
299
|
-
this.
|
|
300
|
-
this.a.enqueueAction(runOn(this, this.
|
|
326
|
+
this.v = true;
|
|
327
|
+
this.a.enqueueAction(runOn(this, this.ao));
|
|
301
328
|
}
|
|
302
|
-
|
|
303
|
-
if (!this.
|
|
329
|
+
ao() {
|
|
330
|
+
if (!this.v) {
|
|
304
331
|
return;
|
|
305
332
|
}
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
333
|
+
this.v = false;
|
|
334
|
+
this.az();
|
|
308
335
|
if (this.l.actions != this.actualActions) {
|
|
309
336
|
this.l.actions = this.actualActions;
|
|
310
337
|
}
|
|
311
338
|
}
|
|
312
|
-
|
|
339
|
+
az() {
|
|
313
340
|
this.actualActions.clear();
|
|
314
341
|
for (let a = 0; a < this.actions.count; a++) {
|
|
315
342
|
this.actualActions.add(this.actions._inner[a]);
|
|
@@ -318,9 +345,9 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
318
345
|
this.actualActions.add(this.autoGeneratedActions._inner[b]);
|
|
319
346
|
}
|
|
320
347
|
}
|
|
321
|
-
|
|
322
|
-
if (this.
|
|
323
|
-
this.
|
|
348
|
+
ap() {
|
|
349
|
+
if (this.v) {
|
|
350
|
+
this.ao();
|
|
324
351
|
}
|
|
325
352
|
}
|
|
326
353
|
notifySizeChanged() {
|
|
@@ -332,20 +359,20 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
332
359
|
provideContainer(a) {
|
|
333
360
|
this.k.t(a);
|
|
334
361
|
}
|
|
335
|
-
|
|
362
|
+
au(a, b, c) {
|
|
336
363
|
if (this.propertyChanged != null) {
|
|
337
364
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
338
365
|
}
|
|
339
|
-
this.
|
|
366
|
+
this.aw(a, b, c);
|
|
340
367
|
}
|
|
341
|
-
|
|
368
|
+
aw(a, b, c) {
|
|
342
369
|
switch (a) {
|
|
343
370
|
case "CellTextStyle":
|
|
344
|
-
this.
|
|
371
|
+
this.ay();
|
|
345
372
|
break;
|
|
346
373
|
case "BackgroundColor":
|
|
347
374
|
case "TextColor":
|
|
348
|
-
this.
|
|
375
|
+
this.ay();
|
|
349
376
|
break;
|
|
350
377
|
case "Orientation":
|
|
351
378
|
if (this.l != null) {
|
|
@@ -355,15 +382,15 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
355
382
|
case "Target":
|
|
356
383
|
let d = c;
|
|
357
384
|
let e = b;
|
|
358
|
-
this.
|
|
385
|
+
this.av(e, d);
|
|
359
386
|
break;
|
|
360
387
|
}
|
|
361
388
|
}
|
|
362
|
-
|
|
363
|
-
this.
|
|
389
|
+
av(a, b) {
|
|
390
|
+
this.o = b;
|
|
364
391
|
if (a != null) {
|
|
365
392
|
this.autoGeneratedActions.clear();
|
|
366
|
-
this.
|
|
393
|
+
this.ay();
|
|
367
394
|
}
|
|
368
395
|
if (b != null) {
|
|
369
396
|
this.autoGeneratedActions.clear();
|
|
@@ -374,14 +401,14 @@ export let Toolbar = /*@__PURE__*/ (() => {
|
|
|
374
401
|
this.autoGeneratedActions.add(e);
|
|
375
402
|
}
|
|
376
403
|
}
|
|
377
|
-
this.
|
|
404
|
+
this.ay();
|
|
378
405
|
}
|
|
379
406
|
}
|
|
380
407
|
}
|
|
381
408
|
Toolbar.$t = /*@__PURE__*/ markType(Toolbar, 'Toolbar', Base.$, [INotifyPropertyChanged_$type]);
|
|
382
409
|
Toolbar.i = 1;
|
|
383
|
-
Toolbar.
|
|
384
|
-
Toolbar.
|
|
385
|
-
Toolbar.
|
|
410
|
+
Toolbar.x = null;
|
|
411
|
+
Toolbar.a4 = /*@__PURE__*/ BrushUtil.g(255, 248, 248, 248);
|
|
412
|
+
Toolbar.a5 = /*@__PURE__*/ BrushUtil.g(255, 24, 29, 31);
|
|
386
413
|
return Toolbar;
|
|
387
414
|
})();
|
|
@@ -3,6 +3,7 @@ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
|
3
3
|
import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
|
|
4
4
|
import { IgcPropertyEditorDescriptionObject } from "./igc-property-editor-description-object";
|
|
5
5
|
import { IgcPropertyEditorDescriptionObjectCollection } from "./igc-property-editor-description-object-collection";
|
|
6
|
+
import { IgcPropertyEditorPropertyDescriptionCollection } from "./igc-property-editor-property-description-collection";
|
|
6
7
|
import { IgcPropertyEditorPropertyDescriptionButtonClickEventArgs } from "./igc-property-editor-property-description-button-click-event-args";
|
|
7
8
|
import { IgcPropertyEditorPropertyDescriptionChangedEventArgs } from "./igc-property-editor-property-description-changed-event-args";
|
|
8
9
|
import { IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./igc-property-editor-property-description-target-property-updating-event-args";
|
|
@@ -13,6 +14,7 @@ import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
|
13
14
|
import { PropertyEditorDescriptionObjectCollection as PropertyEditorDescriptionObjectCollection_internal } from "./PropertyEditorDescriptionObjectCollection";
|
|
14
15
|
import { PropertyEditorDescriptionObject } from "./PropertyEditorDescriptionObject";
|
|
15
16
|
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
17
|
+
import { PropertyEditorPropertyDescriptionCollection as PropertyEditorPropertyDescriptionCollection_internal } from "./PropertyEditorPropertyDescriptionCollection";
|
|
16
18
|
export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() => {
|
|
17
19
|
class IgcPropertyEditorPropertyDescriptionComponent extends IgcHTMLElement {
|
|
18
20
|
constructor() {
|
|
@@ -22,6 +24,7 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
22
24
|
this._queuedSetAttributes = [];
|
|
23
25
|
this._updatingFromAttribute = false;
|
|
24
26
|
this._complexValues = null;
|
|
27
|
+
this._properties = null;
|
|
25
28
|
this.__p = null;
|
|
26
29
|
this._hasUserValues = new Set();
|
|
27
30
|
this._stylingContainer = null;
|
|
@@ -144,42 +147,42 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
get propertyPath() {
|
|
147
|
-
return this.i.
|
|
150
|
+
return this.i.an;
|
|
148
151
|
}
|
|
149
152
|
set propertyPath(v) {
|
|
150
|
-
this.i.
|
|
153
|
+
this.i.an = v;
|
|
151
154
|
}
|
|
152
155
|
get label() {
|
|
153
|
-
return this.i.
|
|
156
|
+
return this.i.al;
|
|
154
157
|
}
|
|
155
158
|
set label(v) {
|
|
156
|
-
this.i.
|
|
159
|
+
this.i.al = v;
|
|
157
160
|
}
|
|
158
161
|
get valueType() {
|
|
159
|
-
return this.i.
|
|
162
|
+
return this.i.p;
|
|
160
163
|
}
|
|
161
164
|
set valueType(v) {
|
|
162
|
-
this.i.
|
|
163
|
-
this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.
|
|
165
|
+
this.i.p = ensureEnum(PropertyEditorValueType_$type, v);
|
|
166
|
+
this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.p));
|
|
164
167
|
}
|
|
165
168
|
get propertyDescriptionType() {
|
|
166
|
-
return this.i.
|
|
169
|
+
return this.i.am;
|
|
167
170
|
}
|
|
168
171
|
set propertyDescriptionType(v) {
|
|
169
|
-
this.i.
|
|
172
|
+
this.i.am = v;
|
|
170
173
|
}
|
|
171
174
|
get shouldOverrideDefaultEditor() {
|
|
172
|
-
return this.i.
|
|
175
|
+
return this.i.s;
|
|
173
176
|
}
|
|
174
177
|
set shouldOverrideDefaultEditor(v) {
|
|
175
|
-
this.i.
|
|
176
|
-
this._a("shouldOverrideDefaultEditor", this.i.
|
|
178
|
+
this.i.s = ensureBool(v);
|
|
179
|
+
this._a("shouldOverrideDefaultEditor", this.i.s);
|
|
177
180
|
}
|
|
178
181
|
get elementDescriptionType() {
|
|
179
|
-
return this.i.
|
|
182
|
+
return this.i.ak;
|
|
180
183
|
}
|
|
181
184
|
set elementDescriptionType(v) {
|
|
182
|
-
this.i.
|
|
185
|
+
this.i.ak = v;
|
|
183
186
|
}
|
|
184
187
|
get dropDownNames() {
|
|
185
188
|
return this.i.c;
|
|
@@ -202,45 +205,45 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
202
205
|
this.i.d = v;
|
|
203
206
|
}
|
|
204
207
|
get primitiveValue() {
|
|
205
|
-
return this.i.
|
|
208
|
+
return this.i.af;
|
|
206
209
|
}
|
|
207
210
|
set primitiveValue(v) {
|
|
208
|
-
this.i.
|
|
211
|
+
this.i.af = v;
|
|
209
212
|
}
|
|
210
213
|
get min() {
|
|
211
|
-
return this.i.
|
|
214
|
+
return this.i.ab;
|
|
212
215
|
}
|
|
213
216
|
set min(v) {
|
|
214
|
-
this.i.
|
|
215
|
-
this._a("min", this.i.
|
|
217
|
+
this.i.ab = +v;
|
|
218
|
+
this._a("min", this.i.ab);
|
|
216
219
|
}
|
|
217
220
|
get editorWidth() {
|
|
218
|
-
return this.i.
|
|
221
|
+
return this.i.y;
|
|
219
222
|
}
|
|
220
223
|
set editorWidth(v) {
|
|
221
|
-
this.i.
|
|
222
|
-
this._a("editorWidth", this.i.
|
|
224
|
+
this.i.y = +v;
|
|
225
|
+
this._a("editorWidth", this.i.y);
|
|
223
226
|
}
|
|
224
227
|
get labelWidth() {
|
|
225
|
-
return this.i.
|
|
228
|
+
return this.i.z;
|
|
226
229
|
}
|
|
227
230
|
set labelWidth(v) {
|
|
228
|
-
this.i.
|
|
229
|
-
this._a("labelWidth", this.i.
|
|
231
|
+
this.i.z = +v;
|
|
232
|
+
this._a("labelWidth", this.i.z);
|
|
230
233
|
}
|
|
231
234
|
get max() {
|
|
232
|
-
return this.i.
|
|
235
|
+
return this.i.aa;
|
|
233
236
|
}
|
|
234
237
|
set max(v) {
|
|
235
|
-
this.i.
|
|
236
|
-
this._a("max", this.i.
|
|
238
|
+
this.i.aa = +v;
|
|
239
|
+
this._a("max", this.i.aa);
|
|
237
240
|
}
|
|
238
241
|
get step() {
|
|
239
|
-
return this.i.
|
|
242
|
+
return this.i.ac;
|
|
240
243
|
}
|
|
241
244
|
set step(v) {
|
|
242
|
-
this.i.
|
|
243
|
-
this._a("step", this.i.
|
|
245
|
+
this.i.ac = +v;
|
|
246
|
+
this._a("step", this.i.ac);
|
|
244
247
|
}
|
|
245
248
|
get complexValue() {
|
|
246
249
|
const r = this.i.g;
|
|
@@ -293,6 +296,35 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
293
296
|
this._complexValues._setSyncTarget(syncColl);
|
|
294
297
|
this.i.i = innerColl;
|
|
295
298
|
}
|
|
299
|
+
get properties() {
|
|
300
|
+
if (this._properties === null) {
|
|
301
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
302
|
+
let innerColl = this.i.m;
|
|
303
|
+
if (!innerColl) {
|
|
304
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
305
|
+
}
|
|
306
|
+
this._properties = coll._fromInner(innerColl);
|
|
307
|
+
this.i.m = innerColl;
|
|
308
|
+
}
|
|
309
|
+
return this._properties;
|
|
310
|
+
}
|
|
311
|
+
set properties(v) {
|
|
312
|
+
if (this._properties !== null) {
|
|
313
|
+
this._properties._setSyncTarget(null);
|
|
314
|
+
this._properties = null;
|
|
315
|
+
}
|
|
316
|
+
let coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
317
|
+
this._properties = coll._fromOuter(v);
|
|
318
|
+
let syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
319
|
+
let innerColl = this.i.m;
|
|
320
|
+
if (!innerColl) {
|
|
321
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
322
|
+
}
|
|
323
|
+
syncColl._inner = innerColl;
|
|
324
|
+
syncColl.clear();
|
|
325
|
+
this._properties._setSyncTarget(syncColl);
|
|
326
|
+
this.i.m = innerColl;
|
|
327
|
+
}
|
|
296
328
|
findByName(name) {
|
|
297
329
|
if (this.findEphemera) {
|
|
298
330
|
if (name && name.indexOf("@@e:") == 0) {
|
|
@@ -305,6 +337,9 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
305
337
|
if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
|
|
306
338
|
return this.complexValues.findByName(name);
|
|
307
339
|
}
|
|
340
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
341
|
+
return this.properties.findByName(name);
|
|
342
|
+
}
|
|
308
343
|
return null;
|
|
309
344
|
}
|
|
310
345
|
get hasUserValues() {
|