igniteui-webcomponents-layouts 3.2.4 → 4.0.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 +789 -157
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/PropertyEditorPanelView_combined.js +20 -20
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +84 -58
- package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -0
- package/esm2015/lib/PropertyEditorValueType.js +2 -1
- package/esm2015/lib/ToolActionLabel.js +7 -0
- package/esm2015/lib/ToolActionRadio.js +7 -0
- package/esm2015/lib/ToolPanelView_combined.js +237 -53
- package/esm2015/lib/igc-list-panel-component.js +9 -0
- package/esm2015/lib/igc-list-panel-item-model.js +5 -0
- package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +11 -5
- package/esm2015/lib/igc-popup-component.js +7 -0
- package/esm2015/lib/igc-property-editor-data-source.js +7 -2
- package/esm2015/lib/igc-property-editor-description-object.js +5 -0
- package/esm2015/lib/igc-property-editor-panel-component.js +5 -0
- package/esm2015/lib/igc-property-editor-property-description-component.js +33 -5
- package/esm2015/lib/igc-tool-action-checkbox-component.js +14 -0
- package/esm2015/lib/igc-tool-action-component.js +21 -0
- package/esm2015/lib/igc-tool-action-event-detail.js +12 -6
- package/esm2015/lib/igc-tool-action-group-header-component.js +14 -0
- package/esm2015/lib/igc-tool-action-icon-button-component.js +14 -0
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +14 -0
- package/esm2015/lib/igc-tool-action-label-component.js +63 -0
- package/esm2015/lib/igc-tool-action-label-module.js +16 -0
- package/esm2015/lib/igc-tool-action-menu-base-component.js +14 -0
- package/esm2015/lib/igc-tool-action-number-input-component.js +14 -0
- package/esm2015/lib/igc-tool-action-performed-event-args.js +11 -5
- package/esm2015/lib/igc-tool-action-radio-component.js +69 -0
- package/esm2015/lib/igc-tool-action-radio-module.js +16 -0
- package/esm2015/lib/igc-tool-action-separator-component.js +14 -0
- package/esm2015/lib/igc-tool-panel-component.js +13 -6
- package/esm2015/lib/igc-toolbar-component.js +5 -0
- package/esm2015/lib/igc-x-expansion-panel-component.js +7 -0
- package/esm2015/public_api.js +6 -0
- package/esm5/lib/PropertyEditorPanelView_combined.js +20 -20
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +82 -57
- package/esm5/lib/PropertyEditorTreeTransformer.js +1 -0
- package/esm5/lib/PropertyEditorValueType.js +2 -1
- package/esm5/lib/ToolActionLabel.js +7 -0
- package/esm5/lib/ToolActionRadio.js +7 -0
- package/esm5/lib/ToolPanelView_combined.js +241 -51
- package/esm5/lib/igc-list-panel-component.js +9 -0
- package/esm5/lib/igc-list-panel-item-model.js +5 -0
- package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +11 -5
- package/esm5/lib/igc-popup-component.js +7 -0
- package/esm5/lib/igc-property-editor-data-source.js +7 -2
- package/esm5/lib/igc-property-editor-description-object.js +5 -0
- package/esm5/lib/igc-property-editor-panel-component.js +5 -0
- package/esm5/lib/igc-property-editor-property-description-component.js +33 -5
- package/esm5/lib/igc-tool-action-checkbox-component.js +14 -0
- package/esm5/lib/igc-tool-action-component.js +21 -0
- package/esm5/lib/igc-tool-action-event-detail.js +12 -6
- package/esm5/lib/igc-tool-action-group-header-component.js +14 -0
- package/esm5/lib/igc-tool-action-icon-button-component.js +14 -0
- package/esm5/lib/igc-tool-action-icon-menu-component.js +14 -0
- package/esm5/lib/igc-tool-action-label-component.js +72 -0
- package/esm5/lib/igc-tool-action-label-module.js +20 -0
- package/esm5/lib/igc-tool-action-menu-base-component.js +14 -0
- package/esm5/lib/igc-tool-action-number-input-component.js +14 -0
- package/esm5/lib/igc-tool-action-performed-event-args.js +11 -5
- package/esm5/lib/igc-tool-action-radio-component.js +82 -0
- package/esm5/lib/igc-tool-action-radio-module.js +20 -0
- package/esm5/lib/igc-tool-action-separator-component.js +14 -0
- package/esm5/lib/igc-tool-panel-component.js +13 -6
- package/esm5/lib/igc-toolbar-component.js +5 -0
- package/esm5/lib/igc-x-expansion-panel-component.js +7 -0
- package/esm5/public_api.js +6 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +761 -162
- package/fesm5/igniteui-webcomponents-layouts.js +785 -159
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +13 -10
- package/lib/PropertyEditorValueType.d.ts +2 -1
- package/lib/ToolActionLabel.d.ts +1 -0
- package/lib/ToolActionRadio.d.ts +1 -0
- package/lib/ToolPanelView_combined.d.ts +33 -6
- package/lib/igc-property-editor-property-description-component.d.ts +1 -0
- package/lib/igc-tool-action-checkbox-component.d.ts +1 -0
- package/lib/igc-tool-action-component.d.ts +1 -0
- package/lib/igc-tool-action-group-header-component.d.ts +1 -0
- package/lib/igc-tool-action-icon-button-component.d.ts +1 -0
- package/lib/igc-tool-action-icon-menu-component.d.ts +1 -0
- package/lib/igc-tool-action-label-component.d.ts +17 -0
- package/lib/igc-tool-action-label-module.d.ts +3 -0
- package/lib/igc-tool-action-menu-base-component.d.ts +1 -0
- package/lib/igc-tool-action-number-input-component.d.ts +1 -0
- package/lib/igc-tool-action-radio-component.d.ts +18 -0
- package/lib/igc-tool-action-radio-module.d.ts +3 -0
- package/lib/igc-tool-action-separator-component.d.ts +1 -0
- package/package.json +3 -3
- package/public_api.d.ts +6 -0
|
@@ -105,11 +105,25 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
105
105
|
if (_super.prototype["connectedCallback"]) {
|
|
106
106
|
_super.prototype["connectedCallback"].call(this);
|
|
107
107
|
}
|
|
108
|
+
if (this.i.connectedCallback) {
|
|
109
|
+
this.i.connectedCallback();
|
|
110
|
+
}
|
|
108
111
|
if (!this._attached) {
|
|
109
112
|
this._attached = true;
|
|
110
113
|
this._flushQueuedAttributes();
|
|
111
114
|
}
|
|
112
115
|
};
|
|
116
|
+
IgcPropertyEditorPropertyDescriptionComponent.prototype.disconnectedCallback = function () {
|
|
117
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
118
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
119
|
+
}
|
|
120
|
+
if (this.i.disconnectedCallback) {
|
|
121
|
+
this.i.disconnectedCallback();
|
|
122
|
+
}
|
|
123
|
+
if (this._attached) {
|
|
124
|
+
this._attached = false;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
113
127
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent, "observedAttributes", {
|
|
114
128
|
get: function () {
|
|
115
129
|
if (IgcPropertyEditorPropertyDescriptionComponent._observedAttributesIgcPropertyEditorPropertyDescriptionComponent == null) {
|
|
@@ -296,15 +310,21 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
296
310
|
});
|
|
297
311
|
Object.defineProperty(IgcPropertyEditorPropertyDescriptionComponent.prototype, "complexValue", {
|
|
298
312
|
get: function () {
|
|
299
|
-
|
|
313
|
+
var r = this.i.g;
|
|
314
|
+
if (r == null) {
|
|
300
315
|
return null;
|
|
301
316
|
}
|
|
302
|
-
if (!
|
|
317
|
+
if (!r.externalObject) {
|
|
303
318
|
var e = new IgcPropertyEditorDescriptionObject();
|
|
304
|
-
e.
|
|
305
|
-
|
|
319
|
+
if (e.i.setNativeElement) {
|
|
320
|
+
e.i.setNativeElement(r);
|
|
321
|
+
}
|
|
322
|
+
else {
|
|
323
|
+
e._implementation = r;
|
|
324
|
+
}
|
|
325
|
+
r.externalObject = e;
|
|
306
326
|
}
|
|
307
|
-
return
|
|
327
|
+
return r.externalObject;
|
|
308
328
|
},
|
|
309
329
|
set: function (v) {
|
|
310
330
|
v == null ? this.i.g = null : this.i.g = v.i;
|
|
@@ -346,6 +366,11 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
346
366
|
configurable: true
|
|
347
367
|
});
|
|
348
368
|
IgcPropertyEditorPropertyDescriptionComponent.prototype.findByName = function (name) {
|
|
369
|
+
if (this.findEphemera) {
|
|
370
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
371
|
+
return this.findEphemera(name);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
349
374
|
if (this.complexValue && this.complexValue.name && this.complexValue.name == name) {
|
|
350
375
|
return this.complexValue;
|
|
351
376
|
}
|
|
@@ -434,6 +459,7 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
434
459
|
}
|
|
435
460
|
};
|
|
436
461
|
this.i.buttonClicked = delegateCombine(this.i.buttonClicked, this._buttonClicked_wrapped);
|
|
462
|
+
;
|
|
437
463
|
},
|
|
438
464
|
enumerable: true,
|
|
439
465
|
configurable: true
|
|
@@ -461,6 +487,7 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
461
487
|
}
|
|
462
488
|
};
|
|
463
489
|
this.i.changed = delegateCombine(this.i.changed, this._changed_wrapped);
|
|
490
|
+
;
|
|
464
491
|
},
|
|
465
492
|
enumerable: true,
|
|
466
493
|
configurable: true
|
|
@@ -488,6 +515,7 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
488
515
|
}
|
|
489
516
|
};
|
|
490
517
|
this.i.targetPropertyUpdating = delegateCombine(this.i.targetPropertyUpdating, this._targetPropertyUpdating_wrapped);
|
|
518
|
+
;
|
|
491
519
|
},
|
|
492
520
|
enumerable: true,
|
|
493
521
|
configurable: true
|
|
@@ -25,11 +25,25 @@ var IgcToolActionCheckboxComponent = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionCheckboxComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionCheckboxComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionCheckboxComponent._observedAttributesIgcToolActionCheckboxComponent == null) {
|
|
@@ -98,11 +98,25 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
98
98
|
if (_super.prototype["connectedCallback"]) {
|
|
99
99
|
_super.prototype["connectedCallback"].call(this);
|
|
100
100
|
}
|
|
101
|
+
if (this.i.connectedCallback) {
|
|
102
|
+
this.i.connectedCallback();
|
|
103
|
+
}
|
|
101
104
|
if (!this._attached) {
|
|
102
105
|
this._attached = true;
|
|
103
106
|
this._flushQueuedAttributes();
|
|
104
107
|
}
|
|
105
108
|
};
|
|
109
|
+
IgcToolActionComponent.prototype.disconnectedCallback = function () {
|
|
110
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
111
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
112
|
+
}
|
|
113
|
+
if (this.i.disconnectedCallback) {
|
|
114
|
+
this.i.disconnectedCallback();
|
|
115
|
+
}
|
|
116
|
+
if (this._attached) {
|
|
117
|
+
this._attached = false;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
106
120
|
Object.defineProperty(IgcToolActionComponent, "observedAttributes", {
|
|
107
121
|
get: function () {
|
|
108
122
|
if (IgcToolActionComponent._observedAttributesIgcToolActionComponent == null) {
|
|
@@ -264,6 +278,11 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
264
278
|
configurable: true
|
|
265
279
|
});
|
|
266
280
|
IgcToolActionComponent.prototype.findByName = function (name) {
|
|
281
|
+
if (this.findEphemera) {
|
|
282
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
283
|
+
return this.findEphemera(name);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
267
286
|
return null;
|
|
268
287
|
};
|
|
269
288
|
Object.defineProperty(IgcToolActionComponent.prototype, "hasUserValues", {
|
|
@@ -349,6 +368,7 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
349
368
|
}
|
|
350
369
|
};
|
|
351
370
|
this.i.onCommand = delegateCombine(this.i.onCommand, this._onCommand_wrapped);
|
|
371
|
+
;
|
|
352
372
|
},
|
|
353
373
|
enumerable: true,
|
|
354
374
|
configurable: true
|
|
@@ -376,6 +396,7 @@ var IgcToolActionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
376
396
|
}
|
|
377
397
|
};
|
|
378
398
|
this.i.performed = delegateCombine(this.i.performed, this._performed_wrapped);
|
|
399
|
+
;
|
|
379
400
|
},
|
|
380
401
|
enumerable: true,
|
|
381
402
|
configurable: true
|
|
@@ -30,17 +30,18 @@ var IgcToolActionEventDetail = /** @class */ /*@__PURE__*/ (function () {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(IgcToolActionEventDetail.prototype, "action", {
|
|
32
32
|
get: function () {
|
|
33
|
-
|
|
33
|
+
var r = this.i.a;
|
|
34
|
+
if (r == null) {
|
|
34
35
|
return null;
|
|
35
36
|
}
|
|
36
|
-
if (!
|
|
37
|
-
var e = IgcToolActionComponent._createFromInternal(
|
|
37
|
+
if (!r.externalObject) {
|
|
38
|
+
var e = IgcToolActionComponent._createFromInternal(r);
|
|
38
39
|
if (e) {
|
|
39
|
-
e._implementation =
|
|
40
|
+
e._implementation = r;
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
+
r.externalObject = e;
|
|
42
43
|
}
|
|
43
|
-
return
|
|
44
|
+
return r.externalObject;
|
|
44
45
|
},
|
|
45
46
|
set: function (v) {
|
|
46
47
|
v == null ? this.i.a = null : this.i.a = v.i;
|
|
@@ -109,6 +110,11 @@ var IgcToolActionEventDetail = /** @class */ /*@__PURE__*/ (function () {
|
|
|
109
110
|
configurable: true
|
|
110
111
|
});
|
|
111
112
|
IgcToolActionEventDetail.prototype.findByName = function (name) {
|
|
113
|
+
if (this.findEphemera) {
|
|
114
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
115
|
+
return this.findEphemera(name);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
112
118
|
if (this.action && this.action.name && this.action.name == name) {
|
|
113
119
|
return this.action;
|
|
114
120
|
}
|
|
@@ -25,11 +25,25 @@ var IgcToolActionGroupHeaderComponent = /** @class */ /*@__PURE__*/ (function (_
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionGroupHeaderComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionGroupHeaderComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionGroupHeaderComponent._observedAttributesIgcToolActionGroupHeaderComponent == null) {
|
|
@@ -25,11 +25,25 @@ var IgcToolActionIconButtonComponent = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionIconButtonComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionIconButtonComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionIconButtonComponent._observedAttributesIgcToolActionIconButtonComponent == null) {
|
|
@@ -25,11 +25,25 @@ var IgcToolActionIconMenuComponent = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionIconMenuComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionIconMenuComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionIconMenuComponent._observedAttributesIgcToolActionIconMenuComponent == null) {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
3
|
+
import { ToolActionLabel } from "./ToolActionLabel";
|
|
4
|
+
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
|
|
5
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
6
|
+
var IgcToolActionLabelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
7
|
+
tslib_1.__extends(IgcToolActionLabelComponent, _super);
|
|
8
|
+
function IgcToolActionLabelComponent() {
|
|
9
|
+
return _super.call(this) || this;
|
|
10
|
+
}
|
|
11
|
+
IgcToolActionLabelComponent.prototype.createImplementation = function () {
|
|
12
|
+
return new ToolActionLabel();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgcToolActionLabelComponent.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgcToolActionLabelComponent.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
|
+
IgcToolActionLabelComponent.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(IgcToolActionLabelComponent, "observedAttributes", {
|
|
48
|
+
get: function () {
|
|
49
|
+
if (IgcToolActionLabelComponent._observedAttributesIgcToolActionLabelComponent == null) {
|
|
50
|
+
var names = getAllPropertyNames(IgcToolActionLabelComponent);
|
|
51
|
+
for (var i = 0; i < names.length; i++) {
|
|
52
|
+
names[i] = toSpinal(names[i]);
|
|
53
|
+
}
|
|
54
|
+
IgcToolActionLabelComponent._observedAttributesIgcToolActionLabelComponent = names;
|
|
55
|
+
}
|
|
56
|
+
return IgcToolActionLabelComponent._observedAttributesIgcToolActionLabelComponent;
|
|
57
|
+
},
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
IgcToolActionLabelComponent.register = function () {
|
|
62
|
+
if (!IgcToolActionLabelComponent._isElementRegistered) {
|
|
63
|
+
IgcToolActionLabelComponent._isElementRegistered = true;
|
|
64
|
+
RegisterElementHelper.registerElement(IgcToolActionLabelComponent.htmlTagName, IgcToolActionLabelComponent);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
IgcToolActionLabelComponent._observedAttributesIgcToolActionLabelComponent = null;
|
|
68
|
+
IgcToolActionLabelComponent.htmlTagName = "igc-tool-action-label";
|
|
69
|
+
IgcToolActionLabelComponent._isElementRegistered = false;
|
|
70
|
+
return IgcToolActionLabelComponent;
|
|
71
|
+
}(IgcToolActionComponent));
|
|
72
|
+
export { IgcToolActionLabelComponent };
|
|
@@ -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 { IgcToolActionLabelComponent } from './igc-tool-action-label-component';
|
|
8
|
+
import { ToolActionLabel } from './ToolActionLabel';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
var IgcToolActionLabelModule = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgcToolActionLabelModule() {
|
|
12
|
+
}
|
|
13
|
+
IgcToolActionLabelModule.register = function () {
|
|
14
|
+
IgcToolActionLabelComponent.register();
|
|
15
|
+
TypeRegistrar.registerCons("IgcToolActionLabelComponent", IgcToolActionLabelComponent);
|
|
16
|
+
TypeRegistrar.register("ToolActionLabel", ToolActionLabel.$type);
|
|
17
|
+
};
|
|
18
|
+
return IgcToolActionLabelModule;
|
|
19
|
+
}());
|
|
20
|
+
export { IgcToolActionLabelModule };
|
|
@@ -29,11 +29,25 @@ var IgcToolActionMenuBaseComponent = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
29
29
|
if (_super.prototype["connectedCallback"]) {
|
|
30
30
|
_super.prototype["connectedCallback"].call(this);
|
|
31
31
|
}
|
|
32
|
+
if (this.i.connectedCallback) {
|
|
33
|
+
this.i.connectedCallback();
|
|
34
|
+
}
|
|
32
35
|
if (!this._attached) {
|
|
33
36
|
this._attached = true;
|
|
34
37
|
this._flushQueuedAttributes();
|
|
35
38
|
}
|
|
36
39
|
};
|
|
40
|
+
IgcToolActionMenuBaseComponent.prototype.disconnectedCallback = function () {
|
|
41
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
42
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
43
|
+
}
|
|
44
|
+
if (this.i.disconnectedCallback) {
|
|
45
|
+
this.i.disconnectedCallback();
|
|
46
|
+
}
|
|
47
|
+
if (this._attached) {
|
|
48
|
+
this._attached = false;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
37
51
|
Object.defineProperty(IgcToolActionMenuBaseComponent, "observedAttributes", {
|
|
38
52
|
get: function () {
|
|
39
53
|
if (IgcToolActionMenuBaseComponent._observedAttributesIgcToolActionMenuBaseComponent == null) {
|
|
@@ -25,11 +25,25 @@ var IgcToolActionNumberInputComponent = /** @class */ /*@__PURE__*/ (function (_
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionNumberInputComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionNumberInputComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionNumberInputComponent._observedAttributesIgcToolActionNumberInputComponent == null) {
|
|
@@ -44,15 +44,21 @@ var IgcToolActionPerformedEventArgs = /** @class */ /*@__PURE__*/ (function () {
|
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(IgcToolActionPerformedEventArgs.prototype, "detail", {
|
|
46
46
|
get: function () {
|
|
47
|
-
|
|
47
|
+
var r = this.i.a;
|
|
48
|
+
if (r == null) {
|
|
48
49
|
return null;
|
|
49
50
|
}
|
|
50
|
-
if (!
|
|
51
|
+
if (!r.externalObject) {
|
|
51
52
|
var e = new IgcToolActionEventDetail();
|
|
52
|
-
e.
|
|
53
|
-
|
|
53
|
+
if (e.i.setNativeElement) {
|
|
54
|
+
e.i.setNativeElement(r);
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
e._implementation = r;
|
|
58
|
+
}
|
|
59
|
+
r.externalObject = e;
|
|
54
60
|
}
|
|
55
|
-
return
|
|
61
|
+
return r.externalObject;
|
|
56
62
|
},
|
|
57
63
|
set: function (v) {
|
|
58
64
|
v == null ? this.i.a = null : this.i.a = v.i;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as tslib_1 from "tslib";
|
|
2
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
3
|
+
import { ToolActionRadio } from "./ToolActionRadio";
|
|
4
|
+
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
|
|
5
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
6
|
+
var IgcToolActionRadioComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
7
|
+
tslib_1.__extends(IgcToolActionRadioComponent, _super);
|
|
8
|
+
function IgcToolActionRadioComponent() {
|
|
9
|
+
return _super.call(this) || this;
|
|
10
|
+
}
|
|
11
|
+
IgcToolActionRadioComponent.prototype.createImplementation = function () {
|
|
12
|
+
return new ToolActionRadio();
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(IgcToolActionRadioComponent.prototype, "i", {
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
get: function () {
|
|
19
|
+
return this._implementation;
|
|
20
|
+
},
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true
|
|
23
|
+
});
|
|
24
|
+
IgcToolActionRadioComponent.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
|
+
IgcToolActionRadioComponent.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(IgcToolActionRadioComponent, "observedAttributes", {
|
|
48
|
+
get: function () {
|
|
49
|
+
if (IgcToolActionRadioComponent._observedAttributesIgcToolActionRadioComponent == null) {
|
|
50
|
+
var names = getAllPropertyNames(IgcToolActionRadioComponent);
|
|
51
|
+
for (var i = 0; i < names.length; i++) {
|
|
52
|
+
names[i] = toSpinal(names[i]);
|
|
53
|
+
}
|
|
54
|
+
IgcToolActionRadioComponent._observedAttributesIgcToolActionRadioComponent = names;
|
|
55
|
+
}
|
|
56
|
+
return IgcToolActionRadioComponent._observedAttributesIgcToolActionRadioComponent;
|
|
57
|
+
},
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
IgcToolActionRadioComponent.register = function () {
|
|
62
|
+
if (!IgcToolActionRadioComponent._isElementRegistered) {
|
|
63
|
+
IgcToolActionRadioComponent._isElementRegistered = true;
|
|
64
|
+
RegisterElementHelper.registerElement(IgcToolActionRadioComponent.htmlTagName, IgcToolActionRadioComponent);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(IgcToolActionRadioComponent.prototype, "radioGroup", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this.i.bf;
|
|
70
|
+
},
|
|
71
|
+
set: function (v) {
|
|
72
|
+
this.i.bf = v;
|
|
73
|
+
},
|
|
74
|
+
enumerable: true,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
IgcToolActionRadioComponent._observedAttributesIgcToolActionRadioComponent = null;
|
|
78
|
+
IgcToolActionRadioComponent.htmlTagName = "igc-tool-action-radio";
|
|
79
|
+
IgcToolActionRadioComponent._isElementRegistered = false;
|
|
80
|
+
return IgcToolActionRadioComponent;
|
|
81
|
+
}(IgcToolActionComponent));
|
|
82
|
+
export { IgcToolActionRadioComponent };
|
|
@@ -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 { IgcToolActionRadioComponent } from './igc-tool-action-radio-component';
|
|
8
|
+
import { ToolActionRadio } from './ToolActionRadio';
|
|
9
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
10
|
+
var IgcToolActionRadioModule = /** @class */ /*@__PURE__*/ (function () {
|
|
11
|
+
function IgcToolActionRadioModule() {
|
|
12
|
+
}
|
|
13
|
+
IgcToolActionRadioModule.register = function () {
|
|
14
|
+
IgcToolActionRadioComponent.register();
|
|
15
|
+
TypeRegistrar.registerCons("IgcToolActionRadioComponent", IgcToolActionRadioComponent);
|
|
16
|
+
TypeRegistrar.register("ToolActionRadio", ToolActionRadio.$type);
|
|
17
|
+
};
|
|
18
|
+
return IgcToolActionRadioModule;
|
|
19
|
+
}());
|
|
20
|
+
export { IgcToolActionRadioModule };
|
|
@@ -25,11 +25,25 @@ var IgcToolActionSeparatorComponent = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
25
25
|
if (_super.prototype["connectedCallback"]) {
|
|
26
26
|
_super.prototype["connectedCallback"].call(this);
|
|
27
27
|
}
|
|
28
|
+
if (this.i.connectedCallback) {
|
|
29
|
+
this.i.connectedCallback();
|
|
30
|
+
}
|
|
28
31
|
if (!this._attached) {
|
|
29
32
|
this._attached = true;
|
|
30
33
|
this._flushQueuedAttributes();
|
|
31
34
|
}
|
|
32
35
|
};
|
|
36
|
+
IgcToolActionSeparatorComponent.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
|
+
};
|
|
33
47
|
Object.defineProperty(IgcToolActionSeparatorComponent, "observedAttributes", {
|
|
34
48
|
get: function () {
|
|
35
49
|
if (IgcToolActionSeparatorComponent._observedAttributesIgcToolActionSeparatorComponent == null) {
|
|
@@ -287,11 +287,11 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
287
287
|
* Gets or sets the color to use for the background of the component.
|
|
288
288
|
*/
|
|
289
289
|
get: function () {
|
|
290
|
-
return brushToString(this.i.
|
|
290
|
+
return brushToString(this.i.a7);
|
|
291
291
|
},
|
|
292
292
|
set: function (v) {
|
|
293
|
-
this.i.
|
|
294
|
-
this._a("backgroundColor", brushToString(this.i.
|
|
293
|
+
this.i.a7 = stringToBrush(v);
|
|
294
|
+
this._a("backgroundColor", brushToString(this.i.a7));
|
|
295
295
|
},
|
|
296
296
|
enumerable: true,
|
|
297
297
|
configurable: true
|
|
@@ -301,11 +301,11 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
301
301
|
* Gets or sets the color to use for the text of the component.
|
|
302
302
|
*/
|
|
303
303
|
get: function () {
|
|
304
|
-
return brushToString(this.i.
|
|
304
|
+
return brushToString(this.i.ba);
|
|
305
305
|
},
|
|
306
306
|
set: function (v) {
|
|
307
|
-
this.i.
|
|
308
|
-
this._a("textColor", brushToString(this.i.
|
|
307
|
+
this.i.ba = stringToBrush(v);
|
|
308
|
+
this._a("textColor", brushToString(this.i.ba));
|
|
309
309
|
},
|
|
310
310
|
enumerable: true,
|
|
311
311
|
configurable: true
|
|
@@ -325,6 +325,11 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
325
325
|
configurable: true
|
|
326
326
|
});
|
|
327
327
|
IgcToolPanelComponent.prototype.findByName = function (name) {
|
|
328
|
+
if (this.findEphemera) {
|
|
329
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
330
|
+
return this.findEphemera(name);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
328
333
|
if (this.actions != null && this.actions.findByName && this.actions.findByName(name)) {
|
|
329
334
|
return this.actions.findByName(name);
|
|
330
335
|
}
|
|
@@ -410,6 +415,7 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
410
415
|
}
|
|
411
416
|
};
|
|
412
417
|
this.i.contentRefreshed = delegateCombine(this.i.contentRefreshed, this._contentRefreshed_wrapped);
|
|
418
|
+
;
|
|
413
419
|
},
|
|
414
420
|
enumerable: true,
|
|
415
421
|
configurable: true
|
|
@@ -437,6 +443,7 @@ var IgcToolPanelComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
437
443
|
}
|
|
438
444
|
};
|
|
439
445
|
this.i.onCommand = delegateCombine(this.i.onCommand, this._onCommand_wrapped);
|
|
446
|
+
;
|
|
440
447
|
},
|
|
441
448
|
enumerable: true,
|
|
442
449
|
configurable: true
|
|
@@ -408,6 +408,11 @@ var IgcToolbarComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
408
408
|
configurable: true
|
|
409
409
|
});
|
|
410
410
|
IgcToolbarComponent.prototype.findByName = function (name) {
|
|
411
|
+
if (this.findEphemera) {
|
|
412
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
413
|
+
return this.findEphemera(name);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
411
416
|
if (this.autoGeneratedActions != null && this.autoGeneratedActions.findByName && this.autoGeneratedActions.findByName(name)) {
|
|
412
417
|
return this.autoGeneratedActions.findByName(name);
|
|
413
418
|
}
|