igniteui-webcomponents-layouts 4.0.3 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +1582 -2580
- 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 +130 -116
- package/{esm5/lib/Popup.js → esm2015/lib/ToolActionButton.js} +1 -1
- package/esm2015/lib/ToolPanelView_combined.js +862 -692
- package/esm2015/lib/ToolbarView_combined.js +123 -96
- package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm2015/lib/igc-property-editor-property-description-component.js +71 -34
- package/esm2015/lib/igc-tool-action-button-component.js +63 -0
- package/esm2015/lib/{igc-popup-module.js → igc-tool-action-button-module.js} +6 -9
- 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-performed-event-args.js +5 -3
- 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 +3 -13
- package/esm5/lib/ListPanelView_combined.js +31 -18
- package/esm5/lib/PropertyEditorPanelView_combined.js +154 -154
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +134 -116
- package/esm5/lib/{PopupView.js → ToolActionButton.js} +1 -1
- package/esm5/lib/ToolPanelView_combined.js +877 -693
- package/esm5/lib/ToolbarView_combined.js +123 -92
- package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm5/lib/igc-property-editor-property-description-component.js +75 -34
- package/esm5/lib/igc-tool-action-button-component.js +72 -0
- package/esm5/lib/igc-tool-action-button-module.js +20 -0
- 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-performed-event-args.js +5 -3
- 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 +3 -13
- package/fesm2015/igniteui-webcomponents-layouts.js +1547 -2429
- package/fesm5/igniteui-webcomponents-layouts.js +1577 -2562
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +24 -22
- package/lib/ToolActionButton.d.ts +1 -0
- 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-button-component.d.ts +17 -0
- package/lib/igc-tool-action-button-module.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 +3 -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/esm5/lib/OnClosedEventArgs.js +0 -20
- package/esm5/lib/OnPopupEventArgs.js +0 -20
- package/esm5/lib/PopupAlignment.js +0 -29
- package/esm5/lib/PopupDirection.js +0 -29
- 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
|
@@ -4,6 +4,7 @@ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
|
4
4
|
import { PropertyEditorValueType_$type } from "./PropertyEditorValueType";
|
|
5
5
|
import { IgcPropertyEditorDescriptionObject } from "./igc-property-editor-description-object";
|
|
6
6
|
import { IgcPropertyEditorDescriptionObjectCollection } from "./igc-property-editor-description-object-collection";
|
|
7
|
+
import { IgcPropertyEditorPropertyDescriptionCollection } from "./igc-property-editor-property-description-collection";
|
|
7
8
|
import { IgcPropertyEditorPropertyDescriptionButtonClickEventArgs } from "./igc-property-editor-property-description-button-click-event-args";
|
|
8
9
|
import { IgcPropertyEditorPropertyDescriptionChangedEventArgs } from "./igc-property-editor-property-description-changed-event-args";
|
|
9
10
|
import { IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs } from "./igc-property-editor-property-description-target-property-updating-event-args";
|
|
@@ -14,6 +15,7 @@ import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
|
14
15
|
import { PropertyEditorDescriptionObjectCollection as PropertyEditorDescriptionObjectCollection_internal } from "./PropertyEditorDescriptionObjectCollection";
|
|
15
16
|
import { PropertyEditorDescriptionObject } from "./PropertyEditorDescriptionObject";
|
|
16
17
|
import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
18
|
+
import { PropertyEditorPropertyDescriptionCollection as PropertyEditorPropertyDescriptionCollection_internal } from "./PropertyEditorPropertyDescriptionCollection";
|
|
17
19
|
var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
18
20
|
tslib_1.__extends(IgcPropertyEditorPropertyDescriptionComponent, _super);
|
|
19
21
|
function IgcPropertyEditorPropertyDescriptionComponent() {
|
|
@@ -23,6 +25,7 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
23
25
|
_this._queuedSetAttributes = [];
|
|
24
26
|
_this._updatingFromAttribute = false;
|
|
25
27
|
_this._complexValues = null;
|
|
28
|
+
_this._properties = null;
|
|
26
29
|
_this.__p = null;
|
|
27
30
|
_this._hasUserValues = new Set();
|
|
28
31
|
_this._stylingContainer = null;
|
|
@@ -155,62 +158,62 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
155
158
|
};
|
|
156
159
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "propertyPath", {
|
|
157
160
|
get: function () {
|
|
158
|
-
return this.i.
|
|
161
|
+
return this.i.an;
|
|
159
162
|
},
|
|
160
163
|
set: function (v) {
|
|
161
|
-
this.i.
|
|
164
|
+
this.i.an = v;
|
|
162
165
|
},
|
|
163
166
|
enumerable: true,
|
|
164
167
|
configurable: true
|
|
165
168
|
});
|
|
166
169
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "label", {
|
|
167
170
|
get: function () {
|
|
168
|
-
return this.i.
|
|
171
|
+
return this.i.al;
|
|
169
172
|
},
|
|
170
173
|
set: function (v) {
|
|
171
|
-
this.i.
|
|
174
|
+
this.i.al = v;
|
|
172
175
|
},
|
|
173
176
|
enumerable: true,
|
|
174
177
|
configurable: true
|
|
175
178
|
});
|
|
176
179
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "valueType", {
|
|
177
180
|
get: function () {
|
|
178
|
-
return this.i.
|
|
181
|
+
return this.i.p;
|
|
179
182
|
},
|
|
180
183
|
set: function (v) {
|
|
181
|
-
this.i.
|
|
182
|
-
this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.
|
|
184
|
+
this.i.p = ensureEnum(PropertyEditorValueType_$type, v);
|
|
185
|
+
this._a("valueType", enumToString(PropertyEditorValueType_$type, this.i.p));
|
|
183
186
|
},
|
|
184
187
|
enumerable: true,
|
|
185
188
|
configurable: true
|
|
186
189
|
});
|
|
187
190
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "propertyDescriptionType", {
|
|
188
191
|
get: function () {
|
|
189
|
-
return this.i.
|
|
192
|
+
return this.i.am;
|
|
190
193
|
},
|
|
191
194
|
set: function (v) {
|
|
192
|
-
this.i.
|
|
195
|
+
this.i.am = v;
|
|
193
196
|
},
|
|
194
197
|
enumerable: true,
|
|
195
198
|
configurable: true
|
|
196
199
|
});
|
|
197
200
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "shouldOverrideDefaultEditor", {
|
|
198
201
|
get: function () {
|
|
199
|
-
return this.i.
|
|
202
|
+
return this.i.s;
|
|
200
203
|
},
|
|
201
204
|
set: function (v) {
|
|
202
|
-
this.i.
|
|
203
|
-
this._a("shouldOverrideDefaultEditor", this.i.
|
|
205
|
+
this.i.s = ensureBool(v);
|
|
206
|
+
this._a("shouldOverrideDefaultEditor", this.i.s);
|
|
204
207
|
},
|
|
205
208
|
enumerable: true,
|
|
206
209
|
configurable: true
|
|
207
210
|
});
|
|
208
211
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "elementDescriptionType", {
|
|
209
212
|
get: function () {
|
|
210
|
-
return this.i.
|
|
213
|
+
return this.i.ak;
|
|
211
214
|
},
|
|
212
215
|
set: function (v) {
|
|
213
|
-
this.i.
|
|
216
|
+
this.i.ak = v;
|
|
214
217
|
},
|
|
215
218
|
enumerable: true,
|
|
216
219
|
configurable: true
|
|
@@ -245,65 +248,65 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
245
248
|
});
|
|
246
249
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "primitiveValue", {
|
|
247
250
|
get: function () {
|
|
248
|
-
return this.i.
|
|
251
|
+
return this.i.af;
|
|
249
252
|
},
|
|
250
253
|
set: function (v) {
|
|
251
|
-
this.i.
|
|
254
|
+
this.i.af = v;
|
|
252
255
|
},
|
|
253
256
|
enumerable: true,
|
|
254
257
|
configurable: true
|
|
255
258
|
});
|
|
256
259
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "min", {
|
|
257
260
|
get: function () {
|
|
258
|
-
return this.i.
|
|
261
|
+
return this.i.ab;
|
|
259
262
|
},
|
|
260
263
|
set: function (v) {
|
|
261
|
-
this.i.
|
|
262
|
-
this._a("min", this.i.
|
|
264
|
+
this.i.ab = +v;
|
|
265
|
+
this._a("min", this.i.ab);
|
|
263
266
|
},
|
|
264
267
|
enumerable: true,
|
|
265
268
|
configurable: true
|
|
266
269
|
});
|
|
267
270
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "editorWidth", {
|
|
268
271
|
get: function () {
|
|
269
|
-
return this.i.
|
|
272
|
+
return this.i.y;
|
|
270
273
|
},
|
|
271
274
|
set: function (v) {
|
|
272
|
-
this.i.
|
|
273
|
-
this._a("editorWidth", this.i.
|
|
275
|
+
this.i.y = +v;
|
|
276
|
+
this._a("editorWidth", this.i.y);
|
|
274
277
|
},
|
|
275
278
|
enumerable: true,
|
|
276
279
|
configurable: true
|
|
277
280
|
});
|
|
278
281
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "labelWidth", {
|
|
279
282
|
get: function () {
|
|
280
|
-
return this.i.
|
|
283
|
+
return this.i.z;
|
|
281
284
|
},
|
|
282
285
|
set: function (v) {
|
|
283
|
-
this.i.
|
|
284
|
-
this._a("labelWidth", this.i.
|
|
286
|
+
this.i.z = +v;
|
|
287
|
+
this._a("labelWidth", this.i.z);
|
|
285
288
|
},
|
|
286
289
|
enumerable: true,
|
|
287
290
|
configurable: true
|
|
288
291
|
});
|
|
289
292
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "max", {
|
|
290
293
|
get: function () {
|
|
291
|
-
return this.i.
|
|
294
|
+
return this.i.aa;
|
|
292
295
|
},
|
|
293
296
|
set: function (v) {
|
|
294
|
-
this.i.
|
|
295
|
-
this._a("max", this.i.
|
|
297
|
+
this.i.aa = +v;
|
|
298
|
+
this._a("max", this.i.aa);
|
|
296
299
|
},
|
|
297
300
|
enumerable: true,
|
|
298
301
|
configurable: true
|
|
299
302
|
});
|
|
300
303
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "step", {
|
|
301
304
|
get: function () {
|
|
302
|
-
return this.i.
|
|
305
|
+
return this.i.ac;
|
|
303
306
|
},
|
|
304
307
|
set: function (v) {
|
|
305
|
-
this.i.
|
|
306
|
-
this._a("step", this.i.
|
|
308
|
+
this.i.ac = +v;
|
|
309
|
+
this._a("step", this.i.ac);
|
|
307
310
|
},
|
|
308
311
|
enumerable: true,
|
|
309
312
|
configurable: true
|
|
@@ -316,11 +319,13 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
316
319
|
}
|
|
317
320
|
if (!r.externalObject) {
|
|
318
321
|
var e = new IgcPropertyEditorDescriptionObject();
|
|
319
|
-
if (
|
|
320
|
-
e.
|
|
322
|
+
if (r.$type) {
|
|
323
|
+
e._implementation = r;
|
|
321
324
|
}
|
|
322
325
|
else {
|
|
323
|
-
e.
|
|
326
|
+
if (e.i.setNativeElement) {
|
|
327
|
+
e.i.setNativeElement(r);
|
|
328
|
+
}
|
|
324
329
|
}
|
|
325
330
|
r.externalObject = e;
|
|
326
331
|
}
|
|
@@ -365,6 +370,39 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
365
370
|
enumerable: true,
|
|
366
371
|
configurable: true
|
|
367
372
|
});
|
|
373
|
+
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "properties", {
|
|
374
|
+
get: function () {
|
|
375
|
+
if (this._properties === null) {
|
|
376
|
+
var coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
377
|
+
var innerColl = this.i.m;
|
|
378
|
+
if (!innerColl) {
|
|
379
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
380
|
+
}
|
|
381
|
+
this._properties = coll._fromInner(innerColl);
|
|
382
|
+
this.i.m = innerColl;
|
|
383
|
+
}
|
|
384
|
+
return this._properties;
|
|
385
|
+
},
|
|
386
|
+
set: function (v) {
|
|
387
|
+
if (this._properties !== null) {
|
|
388
|
+
this._properties._setSyncTarget(null);
|
|
389
|
+
this._properties = null;
|
|
390
|
+
}
|
|
391
|
+
var coll = new IgcPropertyEditorPropertyDescriptionCollection();
|
|
392
|
+
this._properties = coll._fromOuter(v);
|
|
393
|
+
var syncColl = new SyncableObservableCollection$1(PropertyEditorPropertyDescription.$type);
|
|
394
|
+
var innerColl = this.i.m;
|
|
395
|
+
if (!innerColl) {
|
|
396
|
+
innerColl = new PropertyEditorPropertyDescriptionCollection_internal();
|
|
397
|
+
}
|
|
398
|
+
syncColl._inner = innerColl;
|
|
399
|
+
syncColl.clear();
|
|
400
|
+
this._properties._setSyncTarget(syncColl);
|
|
401
|
+
this.i.m = innerColl;
|
|
402
|
+
},
|
|
403
|
+
enumerable: true,
|
|
404
|
+
configurable: true
|
|
405
|
+
});
|
|
368
406
|
IgcPropertyEditorPropertyDescriptionComponent.prototype.findByName = function (name) {
|
|
369
407
|
if (this.findEphemera) {
|
|
370
408
|
if (name && name.indexOf("@@e:") == 0) {
|
|
@@ -377,6 +415,9 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
377
415
|
if (this.complexValues != null && this.complexValues.findByName && this.complexValues.findByName(name)) {
|
|
378
416
|
return this.complexValues.findByName(name);
|
|
379
417
|
}
|
|
418
|
+
if (this.properties != null && this.properties.findByName && this.properties.findByName(name)) {
|
|
419
|
+
return this.properties.findByName(name);
|
|
420
|
+
}
|
|
380
421
|
return null;
|
|
381
422
|
};
|
|
382
423
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "hasUserValues", {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
3
|
+
import { ToolActionButton } from "./ToolActionButton";
|
|
4
|
+
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
|
|
5
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
6
|
+
var IgcToolActionButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
7
|
+
tslib_1.__extends(IgcToolActionButtonComponent, _super);
|
|
8
|
+
function IgcToolActionButtonComponent() {
|
|
9
|
+
return _super.call(this) || this;
|
|
10
|
+
}
|
|
11
|
+
IgcToolActionButtonComponent.prototype.createImplementation = function () {
|
|
12
|
+
return new ToolActionButton();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgcToolActionButtonComponent.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgcToolActionButtonComponent.prototype.connectedCallback = function () {
|
|
25
|
+
if (_super.prototype["connectedCallback"]) {
|
|
26
|
+
_super.prototype["connectedCallback"].call(this);
|
|
27
|
+
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
31
|
+
if (!this._attached) {
|
|
32
|
+
this._attached = true;
|
|
33
|
+
this._flushQueuedAttributes();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
IgcToolActionButtonComponent.prototype.disconnectedCallback = function () {
|
|
37
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
38
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
39
|
+
}
|
|
40
|
+
if (this.i.disconnectedCallback) {
|
|
41
|
+
this.i.disconnectedCallback();
|
|
42
|
+
}
|
|
43
|
+
if (this._attached) {
|
|
44
|
+
this._attached = false;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(IgcToolActionButtonComponent, "observedAttributes", {
|
|
48
|
+
get: function () {
|
|
49
|
+
if (IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent == null) {
|
|
50
|
+
var names = getAllPropertyNames(IgcToolActionButtonComponent);
|
|
51
|
+
for (var i = 0; i < names.length; i++) {
|
|
52
|
+
names[i] = toSpinal(names[i]);
|
|
53
|
+
}
|
|
54
|
+
IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = names;
|
|
55
|
+
}
|
|
56
|
+
return IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent;
|
|
57
|
+
},
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
IgcToolActionButtonComponent.register = function () {
|
|
62
|
+
if (!IgcToolActionButtonComponent._isElementRegistered) {
|
|
63
|
+
IgcToolActionButtonComponent._isElementRegistered = true;
|
|
64
|
+
RegisterElementHelper.registerElement(IgcToolActionButtonComponent.htmlTagName, IgcToolActionButtonComponent);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;
|
|
68
|
+
IgcToolActionButtonComponent.htmlTagName = "igc-tool-action-button";
|
|
69
|
+
IgcToolActionButtonComponent._isElementRegistered = false;
|
|
70
|
+
return IgcToolActionButtonComponent;
|
|
71
|
+
}(IgcToolActionComponent));
|
|
72
|
+
export { IgcToolActionButtonComponent };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { IgcToolActionButtonComponent } from './igc-tool-action-button-component';
|
|
8
|
+
import { ToolActionButton } from './ToolActionButton';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
var IgcToolActionButtonModule = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgcToolActionButtonModule() {
|
|
12
|
+
}
|
|
13
|
+
IgcToolActionButtonModule.register = function () {
|
|
14
|
+
IgcToolActionButtonComponent.register();
|
|
15
|
+
TypeRegistrar.registerCons("IgcToolActionButtonComponent", IgcToolActionButtonComponent);
|
|
16
|
+
TypeRegistrar.register("ToolActionButton", ToolActionButton.$type);
|
|
17
|
+
};
|
|
18
|
+
return IgcToolActionButtonModule;
|
|
19
|
+
}());
|
|
20
|
+
export { IgcToolActionButtonModule };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as tslib_1 from "tslib";
|
|
2
2
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
3
3
|
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
4
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
4
5
|
import { IgcToolCommandEventArgs } from "./igc-tool-command-event-args";
|
|
5
6
|
import { IgcToolActionPerformedEventArgs } from "./igc-tool-action-performed-event-args";
|
|
6
7
|
import { ToolAction } from "./ToolAction";
|
|
7
8
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
8
|
-
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
9
|
+
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
9
10
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
10
11
|
/**
|
|
11
12
|
* Represents base class for all tool actions in toolbar
|
|
@@ -148,131 +149,145 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
148
149
|
};
|
|
149
150
|
Object.defineProperty(IgcToolActionComponent.prototype, "id", {
|
|
150
151
|
get: function () {
|
|
151
|
-
return this.i.
|
|
152
|
+
return this.i.ar;
|
|
152
153
|
},
|
|
153
154
|
enumerable: true,
|
|
154
155
|
configurable: true
|
|
155
156
|
});
|
|
156
157
|
Object.defineProperty(IgcToolActionComponent.prototype, "parentId", {
|
|
157
158
|
get: function () {
|
|
158
|
-
return this.i.
|
|
159
|
+
return this.i.a0;
|
|
159
160
|
},
|
|
160
161
|
set: function (v) {
|
|
161
|
-
this.i.
|
|
162
|
+
this.i.a0 = v;
|
|
162
163
|
},
|
|
163
164
|
enumerable: true,
|
|
164
165
|
configurable: true
|
|
165
166
|
});
|
|
166
167
|
Object.defineProperty(IgcToolActionComponent.prototype, "commandId", {
|
|
167
168
|
get: function () {
|
|
168
|
-
return this.i.
|
|
169
|
+
return this.i.al;
|
|
169
170
|
},
|
|
170
171
|
set: function (v) {
|
|
171
|
-
this.i.
|
|
172
|
+
this.i.al = v;
|
|
172
173
|
},
|
|
173
174
|
enumerable: true,
|
|
174
175
|
configurable: true
|
|
175
176
|
});
|
|
176
177
|
Object.defineProperty(IgcToolActionComponent.prototype, "commandArgument", {
|
|
177
178
|
get: function () {
|
|
178
|
-
return this.i.
|
|
179
|
+
return this.i.ai;
|
|
179
180
|
},
|
|
180
181
|
set: function (v) {
|
|
181
|
-
this.i.
|
|
182
|
+
this.i.ai = v;
|
|
182
183
|
},
|
|
183
184
|
enumerable: true,
|
|
184
185
|
configurable: true
|
|
185
186
|
});
|
|
186
187
|
Object.defineProperty(IgcToolActionComponent.prototype, "commandArgumentValue", {
|
|
187
188
|
get: function () {
|
|
188
|
-
return this.i.
|
|
189
|
+
return this.i.x;
|
|
190
|
+
},
|
|
191
|
+
set: function (v) {
|
|
192
|
+
this.i.x = v;
|
|
193
|
+
},
|
|
194
|
+
enumerable: true,
|
|
195
|
+
configurable: true
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(IgcToolActionComponent.prototype, "baseTheme", {
|
|
198
|
+
/**
|
|
199
|
+
* Gets or sets the base built in theme to use for the checkbox.
|
|
200
|
+
*/
|
|
201
|
+
get: function () {
|
|
202
|
+
return this.i.g;
|
|
189
203
|
},
|
|
190
204
|
set: function (v) {
|
|
191
|
-
this.i.
|
|
205
|
+
this.i.g = ensureEnum(BaseControlTheme_$type, v);
|
|
206
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.g));
|
|
192
207
|
},
|
|
193
208
|
enumerable: true,
|
|
194
209
|
configurable: true
|
|
195
210
|
});
|
|
196
211
|
Object.defineProperty(IgcToolActionComponent.prototype, "paddingLeft", {
|
|
197
212
|
get: function () {
|
|
198
|
-
return this.i.
|
|
213
|
+
return this.i.t;
|
|
199
214
|
},
|
|
200
215
|
set: function (v) {
|
|
201
|
-
this.i.
|
|
202
|
-
this._a("paddingLeft", this.i.
|
|
216
|
+
this.i.t = +v;
|
|
217
|
+
this._a("paddingLeft", this.i.t);
|
|
203
218
|
},
|
|
204
219
|
enumerable: true,
|
|
205
220
|
configurable: true
|
|
206
221
|
});
|
|
207
222
|
Object.defineProperty(IgcToolActionComponent.prototype, "paddingRight", {
|
|
208
223
|
get: function () {
|
|
209
|
-
return this.i.
|
|
224
|
+
return this.i.u;
|
|
210
225
|
},
|
|
211
226
|
set: function (v) {
|
|
212
|
-
this.i.
|
|
213
|
-
this._a("paddingRight", this.i.
|
|
227
|
+
this.i.u = +v;
|
|
228
|
+
this._a("paddingRight", this.i.u);
|
|
214
229
|
},
|
|
215
230
|
enumerable: true,
|
|
216
231
|
configurable: true
|
|
217
232
|
});
|
|
218
233
|
Object.defineProperty(IgcToolActionComponent.prototype, "paddingBottom", {
|
|
219
234
|
get: function () {
|
|
220
|
-
return this.i.
|
|
235
|
+
return this.i.s;
|
|
221
236
|
},
|
|
222
237
|
set: function (v) {
|
|
223
|
-
this.i.
|
|
224
|
-
this._a("paddingBottom", this.i.
|
|
238
|
+
this.i.s = +v;
|
|
239
|
+
this._a("paddingBottom", this.i.s);
|
|
225
240
|
},
|
|
226
241
|
enumerable: true,
|
|
227
242
|
configurable: true
|
|
228
243
|
});
|
|
229
244
|
Object.defineProperty(IgcToolActionComponent.prototype, "paddingTop", {
|
|
230
245
|
get: function () {
|
|
231
|
-
return this.i.
|
|
246
|
+
return this.i.v;
|
|
232
247
|
},
|
|
233
248
|
set: function (v) {
|
|
234
|
-
this.i.
|
|
235
|
-
this._a("paddingTop", this.i.
|
|
249
|
+
this.i.v = +v;
|
|
250
|
+
this._a("paddingTop", this.i.v);
|
|
236
251
|
},
|
|
237
252
|
enumerable: true,
|
|
238
253
|
configurable: true
|
|
239
254
|
});
|
|
240
255
|
Object.defineProperty(IgcToolActionComponent.prototype, "name", {
|
|
241
256
|
get: function () {
|
|
242
|
-
return this.i.
|
|
257
|
+
return this.i.au;
|
|
243
258
|
},
|
|
244
259
|
set: function (v) {
|
|
245
|
-
this.i.
|
|
260
|
+
this.i.au = v;
|
|
246
261
|
},
|
|
247
262
|
enumerable: true,
|
|
248
263
|
configurable: true
|
|
249
264
|
});
|
|
250
265
|
Object.defineProperty(IgcToolActionComponent.prototype, "label", {
|
|
251
266
|
get: function () {
|
|
252
|
-
return this.i.
|
|
267
|
+
return this.i.as;
|
|
253
268
|
},
|
|
254
269
|
set: function (v) {
|
|
255
|
-
this.i.
|
|
270
|
+
this.i.as = v;
|
|
256
271
|
},
|
|
257
272
|
enumerable: true,
|
|
258
273
|
configurable: true
|
|
259
274
|
});
|
|
260
275
|
Object.defineProperty(IgcToolActionComponent.prototype, "iconName", {
|
|
261
276
|
get: function () {
|
|
262
|
-
return this.i.
|
|
277
|
+
return this.i.ap;
|
|
263
278
|
},
|
|
264
279
|
set: function (v) {
|
|
265
|
-
this.i.
|
|
280
|
+
this.i.ap = v;
|
|
266
281
|
},
|
|
267
282
|
enumerable: true,
|
|
268
283
|
configurable: true
|
|
269
284
|
});
|
|
270
285
|
Object.defineProperty(IgcToolActionComponent.prototype, "iconCollectionName", {
|
|
271
286
|
get: function () {
|
|
272
|
-
return this.i.
|
|
287
|
+
return this.i.an;
|
|
273
288
|
},
|
|
274
289
|
set: function (v) {
|
|
275
|
-
this.i.
|
|
290
|
+
this.i.an = v;
|
|
276
291
|
},
|
|
277
292
|
enumerable: true,
|
|
278
293
|
configurable: true
|
|
@@ -343,7 +358,7 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
343
358
|
this._inStyling = false;
|
|
344
359
|
};
|
|
345
360
|
IgcToolActionComponent.prototype.fromInfo = function (info) {
|
|
346
|
-
this.i.
|
|
361
|
+
this.i.a9(info);
|
|
347
362
|
};
|
|
348
363
|
Object.defineProperty(IgcToolActionComponent.prototype, "onCommand", {
|
|
349
364
|
get: function () {
|
|
@@ -109,7 +109,7 @@ var IgcToolActionMenuBaseComponent = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
109
109
|
return null;
|
|
110
110
|
};
|
|
111
111
|
IgcToolActionMenuBaseComponent.prototype.fromInfo = function (info) {
|
|
112
|
-
this.i.
|
|
112
|
+
this.i.a9(info);
|
|
113
113
|
};
|
|
114
114
|
IgcToolActionMenuBaseComponent._observedAttributesIgcToolActionMenuBaseComponent = null;
|
|
115
115
|
return IgcToolActionMenuBaseComponent;
|
|
@@ -50,11 +50,13 @@ var IgcToolActionPerformedEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
|
50
50
|
}
|
|
51
51
|
if (!r.externalObject) {
|
|
52
52
|
var e = new IgcToolActionEventDetail();
|
|
53
|
-
if (
|
|
54
|
-
e.
|
|
53
|
+
if (r.$type) {
|
|
54
|
+
e._implementation = r;
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
|
-
e.
|
|
57
|
+
if (e.i.setNativeElement) {
|
|
58
|
+
e.i.setNativeElement(r);
|
|
59
|
+
}
|
|
58
60
|
}
|
|
59
61
|
r.externalObject = e;
|
|
60
62
|
}
|
|
@@ -64,12 +64,15 @@ var IgcToolActionRadioComponent = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
64
64
|
RegisterElementHelper.registerElement(IgcToolActionRadioComponent.htmlTagName, IgcToolActionRadioComponent);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
Object.defineProperty(IgcToolActionRadioComponent.prototype, "
|
|
67
|
+
Object.defineProperty(IgcToolActionRadioComponent.prototype, "channel", {
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the channel this radio button belongs to.
|
|
70
|
+
*/
|
|
68
71
|
get: function () {
|
|
69
|
-
return this.i.
|
|
72
|
+
return this.i.bk;
|
|
70
73
|
},
|
|
71
74
|
set: function (v) {
|
|
72
|
-
this.i.
|
|
75
|
+
this.i.bk = v;
|
|
73
76
|
},
|
|
74
77
|
enumerable: true,
|
|
75
78
|
configurable: true
|
|
@@ -7,6 +7,7 @@ import { CollectionAdapter } from "igniteui-webcomponents-core";
|
|
|
7
7
|
import { NotifyCollectionChangedAction } from "igniteui-webcomponents-core";
|
|
8
8
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
9
9
|
import { ToolPanel } from "./ToolPanel";
|
|
10
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
10
11
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
11
12
|
import { ToolPanelOrientation_$type } from './ToolPanelOrientation';
|
|
12
13
|
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
@@ -268,16 +269,30 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
268
269
|
* Gets or Sets the property name that contains the values.
|
|
269
270
|
*/
|
|
270
271
|
get: function () {
|
|
271
|
-
if (this.i.
|
|
272
|
+
if (this.i.p == null) {
|
|
272
273
|
return null;
|
|
273
274
|
}
|
|
274
|
-
return this.i.
|
|
275
|
+
return this.i.p.fontString;
|
|
275
276
|
},
|
|
276
277
|
set: function (v) {
|
|
277
278
|
var fi = new FontInfo();
|
|
278
279
|
fi.fontString = v;
|
|
279
|
-
this.i.
|
|
280
|
-
this._a("cellTextStyle", this.i.
|
|
280
|
+
this.i.p = fi;
|
|
281
|
+
this._a("cellTextStyle", this.i.p != null ? this.i.p.fontString : "");
|
|
282
|
+
},
|
|
283
|
+
enumerable: true,
|
|
284
|
+
configurable: true
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(IgcToolPanelComponent.prototype, "baseTheme", {
|
|
287
|
+
/**
|
|
288
|
+
* Gets or sets the base built in theme to use for the checkbox.
|
|
289
|
+
*/
|
|
290
|
+
get: function () {
|
|
291
|
+
return this.i.n;
|
|
292
|
+
},
|
|
293
|
+
set: function (v) {
|
|
294
|
+
this.i.n = ensureEnum(BaseControlTheme_$type, v);
|
|
295
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.n));
|
|
281
296
|
},
|
|
282
297
|
enumerable: true,
|
|
283
298
|
configurable: true
|
|
@@ -287,11 +302,11 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
287
302
|
* Gets or sets the color to use for the background of the component.
|
|
288
303
|
*/
|
|
289
304
|
get: function () {
|
|
290
|
-
return brushToString(this.i.
|
|
305
|
+
return brushToString(this.i.bb);
|
|
291
306
|
},
|
|
292
307
|
set: function (v) {
|
|
293
|
-
this.i.
|
|
294
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
308
|
+
this.i.bb = stringToBrush(v);
|
|
309
|
+
this._a("backgroundColor", brushToString(this.i.bb));
|
|
295
310
|
},
|
|
296
311
|
enumerable: true,
|
|
297
312
|
configurable: true
|
|
@@ -301,11 +316,11 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
301
316
|
* Gets or sets the color to use for the text of the component.
|
|
302
317
|
*/
|
|
303
318
|
get: function () {
|
|
304
|
-
return brushToString(this.i.
|
|
319
|
+
return brushToString(this.i.be);
|
|
305
320
|
},
|
|
306
321
|
set: function (v) {
|
|
307
|
-
this.i.
|
|
308
|
-
this._a("textColor", brushToString(this.i.
|
|
322
|
+
this.i.be = stringToBrush(v);
|
|
323
|
+
this._a("textColor", brushToString(this.i.be));
|
|
309
324
|
},
|
|
310
325
|
enumerable: true,
|
|
311
326
|
configurable: true
|