igniteui-webcomponents-layouts 4.0.2 → 4.0.4
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 +198 -10
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +3 -0
- package/esm2015/lib/ToolActionButton.js +97 -0
- package/esm2015/lib/ToolPanelView_combined.js +1 -1
- package/esm2015/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm2015/lib/igc-property-editor-property-description-component.js +5 -3
- package/esm2015/lib/igc-tool-action-button-component.js +63 -0
- package/esm2015/lib/igc-tool-action-button-module.js +16 -0
- package/esm2015/lib/igc-tool-action-performed-event-args.js +5 -3
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +3 -0
- package/esm5/lib/ToolActionButton.js +100 -0
- package/esm5/lib/ToolPanelView_combined.js +1 -1
- package/esm5/lib/igc-list-panel-template-item-updating-event-args.js +5 -3
- package/esm5/lib/igc-property-editor-property-description-component.js +5 -3
- 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-performed-event-args.js +5 -3
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +185 -11
- package/fesm5/igniteui-webcomponents-layouts.js +196 -11
- package/lib/ToolActionButton.d.ts +23 -0
- package/lib/igc-tool-action-button-component.d.ts +17 -0
- package/lib/igc-tool-action-button-module.d.ts +3 -0
- package/package.json +3 -3
- package/public_api.d.ts +3 -0
|
@@ -428,6 +428,9 @@ export let PropertyEditorDataSource = /*@__PURE__*/ (() => {
|
|
|
428
428
|
if (stringEndsWith(c[d], "@mustSetInCode")) {
|
|
429
429
|
continue;
|
|
430
430
|
}
|
|
431
|
+
if (stringEndsWith(c[d], "@stringUnion")) {
|
|
432
|
+
continue;
|
|
433
|
+
}
|
|
431
434
|
let e = this.b.getMetadata(this.n, c[d]);
|
|
432
435
|
let f = this.f(e);
|
|
433
436
|
if (f.n == 0) {
|
|
@@ -0,0 +1,97 @@
|
|
|
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 { ToolAction } from "./ToolAction";
|
|
8
|
+
import { ToolActionType_$type } from "igniteui-webcomponents-core";
|
|
9
|
+
import { ToolActionEventDetail } from "./ToolActionEventDetail";
|
|
10
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
11
|
+
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
12
|
+
import { Thickness } from "igniteui-webcomponents-core";
|
|
13
|
+
import { EnumUtil, runOn, markType } from "igniteui-webcomponents-core";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export let ToolActionButton = /*@__PURE__*/ (() => {
|
|
18
|
+
class ToolActionButton extends ToolAction {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.be = null;
|
|
22
|
+
}
|
|
23
|
+
get_f() {
|
|
24
|
+
return 9;
|
|
25
|
+
}
|
|
26
|
+
g() {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
b(a) {
|
|
30
|
+
let b = new ToolActionEventDetail();
|
|
31
|
+
b.a = this;
|
|
32
|
+
b.b = this.f;
|
|
33
|
+
b.d = a;
|
|
34
|
+
return b;
|
|
35
|
+
}
|
|
36
|
+
p(a, b) {
|
|
37
|
+
if (this.ap == null) {
|
|
38
|
+
return NaN;
|
|
39
|
+
}
|
|
40
|
+
let c = 88;
|
|
41
|
+
if (this.be != null) {
|
|
42
|
+
let d = new Size(0);
|
|
43
|
+
d.width = Number.POSITIVE_INFINITY;
|
|
44
|
+
d.height = Number.POSITIVE_INFINITY;
|
|
45
|
+
let e = this.be.ap(d);
|
|
46
|
+
c = e.width;
|
|
47
|
+
}
|
|
48
|
+
return c;
|
|
49
|
+
}
|
|
50
|
+
bg(a, b, c, d, e, f, g) {
|
|
51
|
+
if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
|
|
52
|
+
a.a0 = b;
|
|
53
|
+
if (g.a == 1) {
|
|
54
|
+
b.d = 0;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
b.d = 3;
|
|
58
|
+
}
|
|
59
|
+
b.a7(0, 2, 1);
|
|
60
|
+
b.a6(0, 0, 1);
|
|
61
|
+
b.as = new Thickness(1, this.r, this.t, this.s, this.q);
|
|
62
|
+
if (b.av == 0) {
|
|
63
|
+
b.aw(c);
|
|
64
|
+
}
|
|
65
|
+
b.bb(c, 0);
|
|
66
|
+
b.ba(c, 0);
|
|
67
|
+
this.be = c;
|
|
68
|
+
this.be.av = 2;
|
|
69
|
+
this.be.au = runOn(this, this.bf);
|
|
70
|
+
}
|
|
71
|
+
c.aw = this.ap;
|
|
72
|
+
b.h = f.a.j;
|
|
73
|
+
}
|
|
74
|
+
bf(a, b) {
|
|
75
|
+
this.a9(this.b(true), this);
|
|
76
|
+
}
|
|
77
|
+
bb(a, b, c, d) {
|
|
78
|
+
super.bb(a, b, c, d);
|
|
79
|
+
let e = c.b;
|
|
80
|
+
if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
|
|
81
|
+
NativeUIComponent.ab(b.l.r(), [7, 1], (f) => {
|
|
82
|
+
let g = f[0];
|
|
83
|
+
let h = f[1];
|
|
84
|
+
e.a0 = g;
|
|
85
|
+
this.bg(e, g, h, a, b, c, d);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
let f = e.a0;
|
|
90
|
+
let g = f.au(0);
|
|
91
|
+
this.bg(e, f, g, a, b, c, d);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
ToolActionButton.$t = /*@__PURE__*/ markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
|
|
96
|
+
return ToolActionButton;
|
|
97
|
+
})();
|
|
@@ -664,7 +664,7 @@ export let ToolActionRadio = /*@__PURE__*/ (() => {
|
|
|
664
664
|
b.a7(0, 2, 1);
|
|
665
665
|
b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
|
|
666
666
|
b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
|
|
667
|
-
b.a6(
|
|
667
|
+
b.a6(2, 2, 1);
|
|
668
668
|
b.as = new Thickness(1, this.r, this.t, this.s, this.q);
|
|
669
669
|
if (b.av == 0) {
|
|
670
670
|
b.aw(c);
|
|
@@ -29,11 +29,13 @@ export class IgcListPanelTemplateItemUpdatingEventArgs {
|
|
|
29
29
|
}
|
|
30
30
|
if (!r.externalObject) {
|
|
31
31
|
let e = new IgcListPanelItemModel();
|
|
32
|
-
if (
|
|
33
|
-
e.
|
|
32
|
+
if (r.$type) {
|
|
33
|
+
e._implementation = r;
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
e.
|
|
36
|
+
if (e.i.setNativeElement) {
|
|
37
|
+
e.i.setNativeElement(r);
|
|
38
|
+
}
|
|
37
39
|
}
|
|
38
40
|
r.externalObject = e;
|
|
39
41
|
}
|
|
@@ -249,11 +249,13 @@ export let IgcPropertyEditorPropertyDescriptionComponent = /*@__PURE__*/ (() =>
|
|
|
249
249
|
}
|
|
250
250
|
if (!r.externalObject) {
|
|
251
251
|
let e = new IgcPropertyEditorDescriptionObject();
|
|
252
|
-
if (
|
|
253
|
-
e.
|
|
252
|
+
if (r.$type) {
|
|
253
|
+
e._implementation = r;
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
256
|
-
e.
|
|
256
|
+
if (e.i.setNativeElement) {
|
|
257
|
+
e.i.setNativeElement(r);
|
|
258
|
+
}
|
|
257
259
|
}
|
|
258
260
|
r.externalObject = e;
|
|
259
261
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { IgcToolActionComponent } from "./igc-tool-action-component";
|
|
2
|
+
import { ToolActionButton } from "./ToolActionButton";
|
|
3
|
+
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
|
|
4
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
5
|
+
export let IgcToolActionButtonComponent = /*@__PURE__*/ (() => {
|
|
6
|
+
class IgcToolActionButtonComponent extends IgcToolActionComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
}
|
|
10
|
+
createImplementation() {
|
|
11
|
+
return new ToolActionButton();
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
get i() {
|
|
17
|
+
return this._implementation;
|
|
18
|
+
}
|
|
19
|
+
connectedCallback() {
|
|
20
|
+
if (super["connectedCallback"]) {
|
|
21
|
+
super["connectedCallback"]();
|
|
22
|
+
}
|
|
23
|
+
if (this.i.connectedCallback) {
|
|
24
|
+
this.i.connectedCallback();
|
|
25
|
+
}
|
|
26
|
+
if (!this._attached) {
|
|
27
|
+
this._attached = true;
|
|
28
|
+
this._flushQueuedAttributes();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
disconnectedCallback() {
|
|
32
|
+
if (super["disconnectedCallback"]) {
|
|
33
|
+
super["disconnectedCallback"]();
|
|
34
|
+
}
|
|
35
|
+
if (this.i.disconnectedCallback) {
|
|
36
|
+
this.i.disconnectedCallback();
|
|
37
|
+
}
|
|
38
|
+
if (this._attached) {
|
|
39
|
+
this._attached = false;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
static get observedAttributes() {
|
|
43
|
+
if (IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent == null) {
|
|
44
|
+
let names = getAllPropertyNames(IgcToolActionButtonComponent);
|
|
45
|
+
for (let i = 0; i < names.length; i++) {
|
|
46
|
+
names[i] = toSpinal(names[i]);
|
|
47
|
+
}
|
|
48
|
+
IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = names;
|
|
49
|
+
}
|
|
50
|
+
return IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent;
|
|
51
|
+
}
|
|
52
|
+
static register() {
|
|
53
|
+
if (!IgcToolActionButtonComponent._isElementRegistered) {
|
|
54
|
+
IgcToolActionButtonComponent._isElementRegistered = true;
|
|
55
|
+
RegisterElementHelper.registerElement(IgcToolActionButtonComponent.htmlTagName, IgcToolActionButtonComponent);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;
|
|
60
|
+
IgcToolActionButtonComponent.htmlTagName = "igc-tool-action-button";
|
|
61
|
+
IgcToolActionButtonComponent._isElementRegistered = false;
|
|
62
|
+
return IgcToolActionButtonComponent;
|
|
63
|
+
})();
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
export class IgcToolActionButtonModule {
|
|
11
|
+
static register() {
|
|
12
|
+
IgcToolActionButtonComponent.register();
|
|
13
|
+
TypeRegistrar.registerCons("IgcToolActionButtonComponent", IgcToolActionButtonComponent);
|
|
14
|
+
TypeRegistrar.register("ToolActionButton", ToolActionButton.$type);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -41,11 +41,13 @@ export class IgcToolActionPerformedEventArgs {
|
|
|
41
41
|
}
|
|
42
42
|
if (!r.externalObject) {
|
|
43
43
|
let e = new IgcToolActionEventDetail();
|
|
44
|
-
if (
|
|
45
|
-
e.
|
|
44
|
+
if (r.$type) {
|
|
45
|
+
e._implementation = r;
|
|
46
46
|
}
|
|
47
47
|
else {
|
|
48
|
-
e.
|
|
48
|
+
if (e.i.setNativeElement) {
|
|
49
|
+
e.i.setNativeElement(r);
|
|
50
|
+
}
|
|
49
51
|
}
|
|
50
52
|
r.externalObject = e;
|
|
51
53
|
}
|
package/esm2015/public_api.js
CHANGED
|
@@ -27,6 +27,9 @@ export * from './lib/OnPopupEventArgs';
|
|
|
27
27
|
export * from './lib/igc-on-popup-event-args';
|
|
28
28
|
export * from './lib/OnClosedEventArgs';
|
|
29
29
|
export * from './lib/igc-on-closed-event-args';
|
|
30
|
+
export * from './lib/ToolActionButton';
|
|
31
|
+
export * from './lib/igc-tool-action-button-component';
|
|
32
|
+
export * from './lib/igc-tool-action-button-module';
|
|
30
33
|
export * from './lib/ToolActionLabel';
|
|
31
34
|
export * from './lib/igc-tool-action-label-component';
|
|
32
35
|
export * from './lib/igc-tool-action-label-module';
|
|
@@ -508,6 +508,9 @@ var PropertyEditorDataSource = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
508
508
|
if (stringEndsWith(c[d], "@mustSetInCode")) {
|
|
509
509
|
continue;
|
|
510
510
|
}
|
|
511
|
+
if (stringEndsWith(c[d], "@stringUnion")) {
|
|
512
|
+
continue;
|
|
513
|
+
}
|
|
511
514
|
var e = this.b.getMetadata(this.n, c[d]);
|
|
512
515
|
var f = this.f(e);
|
|
513
516
|
if (f.n == 0) {
|
|
@@ -0,0 +1,100 @@
|
|
|
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 * as tslib_1 from "tslib";
|
|
8
|
+
import { ToolAction } from "./ToolAction";
|
|
9
|
+
import { ToolActionType_$type } from "igniteui-webcomponents-core";
|
|
10
|
+
import { ToolActionEventDetail } from "./ToolActionEventDetail";
|
|
11
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
12
|
+
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
13
|
+
import { Thickness } from "igniteui-webcomponents-core";
|
|
14
|
+
import { EnumUtil, runOn, markType } from "igniteui-webcomponents-core";
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
var ToolActionButton = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
19
|
+
tslib_1.__extends(ToolActionButton, _super);
|
|
20
|
+
function ToolActionButton() {
|
|
21
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
22
|
+
_this.be = null;
|
|
23
|
+
return _this;
|
|
24
|
+
}
|
|
25
|
+
ToolActionButton.prototype.get_f = function () {
|
|
26
|
+
return 9;
|
|
27
|
+
};
|
|
28
|
+
ToolActionButton.prototype.g = function () {
|
|
29
|
+
return null;
|
|
30
|
+
};
|
|
31
|
+
ToolActionButton.prototype.b = function (a) {
|
|
32
|
+
var b = new ToolActionEventDetail();
|
|
33
|
+
b.a = this;
|
|
34
|
+
b.b = this.f;
|
|
35
|
+
b.d = a;
|
|
36
|
+
return b;
|
|
37
|
+
};
|
|
38
|
+
ToolActionButton.prototype.p = function (a, b) {
|
|
39
|
+
if (this.ap == null) {
|
|
40
|
+
return NaN;
|
|
41
|
+
}
|
|
42
|
+
var c = 88;
|
|
43
|
+
if (this.be != null) {
|
|
44
|
+
var d = new Size(0);
|
|
45
|
+
d.width = Number.POSITIVE_INFINITY;
|
|
46
|
+
d.height = Number.POSITIVE_INFINITY;
|
|
47
|
+
var e = this.be.ap(d);
|
|
48
|
+
c = e.width;
|
|
49
|
+
}
|
|
50
|
+
return c;
|
|
51
|
+
};
|
|
52
|
+
ToolActionButton.prototype.bg = function (a, b, c, d, e, f, g) {
|
|
53
|
+
if (a.w == null || EnumUtil.getEnumValue(ToolActionType_$type, a.w) != this.f) {
|
|
54
|
+
a.a0 = b;
|
|
55
|
+
if (g.a == 1) {
|
|
56
|
+
b.d = 0;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
b.d = 3;
|
|
60
|
+
}
|
|
61
|
+
b.a7(0, 2, 1);
|
|
62
|
+
b.a6(0, 0, 1);
|
|
63
|
+
b.as = new Thickness(1, this.r, this.t, this.s, this.q);
|
|
64
|
+
if (b.av == 0) {
|
|
65
|
+
b.aw(c);
|
|
66
|
+
}
|
|
67
|
+
b.bb(c, 0);
|
|
68
|
+
b.ba(c, 0);
|
|
69
|
+
this.be = c;
|
|
70
|
+
this.be.av = 2;
|
|
71
|
+
this.be.au = runOn(this, this.bf);
|
|
72
|
+
}
|
|
73
|
+
c.aw = this.ap;
|
|
74
|
+
b.h = f.a.j;
|
|
75
|
+
};
|
|
76
|
+
ToolActionButton.prototype.bf = function (a, b) {
|
|
77
|
+
this.a9(this.b(true), this);
|
|
78
|
+
};
|
|
79
|
+
ToolActionButton.prototype.bb = function (a, b, c, d) {
|
|
80
|
+
var _this = this;
|
|
81
|
+
_super.prototype.bb.call(this, a, b, c, d);
|
|
82
|
+
var e = c.b;
|
|
83
|
+
if (e.a0 == null || (e.w == null || EnumUtil.getEnumValue(ToolActionType_$type, e.w) != this.f)) {
|
|
84
|
+
NativeUIComponent.ab(b.l.r(), [7, 1], function (f) {
|
|
85
|
+
var g = f[0];
|
|
86
|
+
var h = f[1];
|
|
87
|
+
e.a0 = g;
|
|
88
|
+
_this.bg(e, g, h, a, b, c, d);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
var f = e.a0;
|
|
93
|
+
var g = f.au(0);
|
|
94
|
+
this.bg(e, f, g, a, b, c, d);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
ToolActionButton.$t = markType(ToolActionButton, 'ToolActionButton', ToolAction.$);
|
|
98
|
+
return ToolActionButton;
|
|
99
|
+
}(ToolAction));
|
|
100
|
+
export { ToolActionButton };
|
|
@@ -734,7 +734,7 @@ var ToolActionRadio = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
734
734
|
b.a7(0, 2, 1);
|
|
735
735
|
b.a6(0, 1, isNaN_(h.e) ? 0 : h.e);
|
|
736
736
|
b.a6(1, 1, isNaN_(h.g) ? 0 : h.g);
|
|
737
|
-
b.a6(
|
|
737
|
+
b.a6(2, 2, 1);
|
|
738
738
|
b.as = new Thickness(1, this.r, this.t, this.s, this.q);
|
|
739
739
|
if (b.av == 0) {
|
|
740
740
|
b.aw(c);
|
|
@@ -34,11 +34,13 @@ var IgcListPanelTemplateItemUpdatingEventArgs = /** @class */ /*@__PURE__*/ (fun
|
|
|
34
34
|
}
|
|
35
35
|
if (!r.externalObject) {
|
|
36
36
|
var e = new IgcListPanelItemModel();
|
|
37
|
-
if (
|
|
38
|
-
e.
|
|
37
|
+
if (r.$type) {
|
|
38
|
+
e._implementation = r;
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
|
-
e.
|
|
41
|
+
if (e.i.setNativeElement) {
|
|
42
|
+
e.i.setNativeElement(r);
|
|
43
|
+
}
|
|
42
44
|
}
|
|
43
45
|
r.externalObject = e;
|
|
44
46
|
}
|
|
@@ -316,11 +316,13 @@ var IgcPropertyEditorPropertyDescriptionComponent = /** @class */ /*@__PURE__*/
|
|
|
316
316
|
}
|
|
317
317
|
if (!r.externalObject) {
|
|
318
318
|
var e = new IgcPropertyEditorDescriptionObject();
|
|
319
|
-
if (
|
|
320
|
-
e.
|
|
319
|
+
if (r.$type) {
|
|
320
|
+
e._implementation = r;
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
323
|
-
e.
|
|
323
|
+
if (e.i.setNativeElement) {
|
|
324
|
+
e.i.setNativeElement(r);
|
|
325
|
+
}
|
|
324
326
|
}
|
|
325
327
|
r.externalObject = e;
|
|
326
328
|
}
|
|
@@ -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 };
|
|
@@ -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
|
}
|
package/esm5/public_api.js
CHANGED
|
@@ -27,6 +27,9 @@ export * from './lib/OnPopupEventArgs';
|
|
|
27
27
|
export * from './lib/igc-on-popup-event-args';
|
|
28
28
|
export * from './lib/OnClosedEventArgs';
|
|
29
29
|
export * from './lib/igc-on-closed-event-args';
|
|
30
|
+
export * from './lib/ToolActionButton';
|
|
31
|
+
export * from './lib/igc-tool-action-button-component';
|
|
32
|
+
export * from './lib/igc-tool-action-button-module';
|
|
30
33
|
export * from './lib/ToolActionLabel';
|
|
31
34
|
export * from './lib/igc-tool-action-label-component';
|
|
32
35
|
export * from './lib/igc-tool-action-label-module';
|