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
|
@@ -1,23 +0,0 @@
|
|
|
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 { ValueType, markStruct } from "igniteui-webcomponents-core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export let Popup_OuterAnimationInfo = /*@__PURE__*/ (() => {
|
|
12
|
-
class Popup_OuterAnimationInfo extends ValueType {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.c = 0;
|
|
16
|
-
this.d = 0;
|
|
17
|
-
this.a = 0;
|
|
18
|
-
this.b = 0;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
Popup_OuterAnimationInfo.$t = /*@__PURE__*/ markStruct(Popup_OuterAnimationInfo, 'Popup_OuterAnimationInfo');
|
|
22
|
-
return Popup_OuterAnimationInfo;
|
|
23
|
-
})();
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OnClosedEventArgs as OnClosedEventArgs_internal } from "./OnClosedEventArgs";
|
|
2
|
-
export class IgcOnClosedEventArgs {
|
|
3
|
-
createImplementation() {
|
|
4
|
-
return new OnClosedEventArgs_internal();
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
get i() {
|
|
10
|
-
return this._implementation;
|
|
11
|
-
}
|
|
12
|
-
onImplementationCreated() {
|
|
13
|
-
}
|
|
14
|
-
constructor() {
|
|
15
|
-
this._implementation = this.createImplementation();
|
|
16
|
-
this._implementation.externalObject = this;
|
|
17
|
-
this.onImplementationCreated();
|
|
18
|
-
}
|
|
19
|
-
_provideImplementation(i) {
|
|
20
|
-
this._implementation = i;
|
|
21
|
-
this._implementation.externalObject = this;
|
|
22
|
-
this.onImplementationCreated();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OnPopupEventArgs as OnPopupEventArgs_internal } from "./OnPopupEventArgs";
|
|
2
|
-
export class IgcOnPopupEventArgs {
|
|
3
|
-
createImplementation() {
|
|
4
|
-
return new OnPopupEventArgs_internal();
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
get i() {
|
|
10
|
-
return this._implementation;
|
|
11
|
-
}
|
|
12
|
-
onImplementationCreated() {
|
|
13
|
-
}
|
|
14
|
-
constructor() {
|
|
15
|
-
this._implementation = this.createImplementation();
|
|
16
|
-
this._implementation.externalObject = this;
|
|
17
|
-
this.onImplementationCreated();
|
|
18
|
-
}
|
|
19
|
-
_provideImplementation(i) {
|
|
20
|
-
this._implementation = i;
|
|
21
|
-
this._implementation.externalObject = this;
|
|
22
|
-
this.onImplementationCreated();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,388 +0,0 @@
|
|
|
1
|
-
import { toRect, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
2
|
-
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
3
|
-
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
4
|
-
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
5
|
-
import { Popup } from "./Popup";
|
|
6
|
-
import { IgcOnPopupEventArgs } from './igc-on-popup-event-args';
|
|
7
|
-
import { IgcOnClosedEventArgs } from './igc-on-closed-event-args';
|
|
8
|
-
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
9
|
-
export let IgcPopupComponent = /*@__PURE__*/ (() => {
|
|
10
|
-
class IgcPopupComponent extends IgcHTMLElement {
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
this._implementation = null;
|
|
14
|
-
this._disconnected = false;
|
|
15
|
-
this._settingAttributes = false;
|
|
16
|
-
this._attached = false;
|
|
17
|
-
this._queuedSetAttributes = [];
|
|
18
|
-
this._updatingFromAttribute = false;
|
|
19
|
-
this.__p = null;
|
|
20
|
-
this._hasUserValues = new Set();
|
|
21
|
-
this._stylingContainer = null;
|
|
22
|
-
this._stylingParent = null;
|
|
23
|
-
this._inStyling = false;
|
|
24
|
-
this._onClosed = null;
|
|
25
|
-
this._onClosed_wrapped = null;
|
|
26
|
-
this._onPopup = null;
|
|
27
|
-
this._onPopup_wrapped = null;
|
|
28
|
-
if (this._styling) {
|
|
29
|
-
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
|
|
30
|
-
}
|
|
31
|
-
this._implementation = this.createImplementation();
|
|
32
|
-
this._portalManager = new PortalManager("popupContent");
|
|
33
|
-
this._webComponentRenderer = new WebComponentRenderer(this, document, true, {}, this._portalManager);
|
|
34
|
-
this._mainDiv = this._webComponentRenderer.createElement("div");
|
|
35
|
-
this._webComponentRenderer.updateRoot(this._mainDiv);
|
|
36
|
-
this.i.provideRenderer(this._webComponentRenderer);
|
|
37
|
-
let mut = new MutationObserver((list) => {
|
|
38
|
-
for (var mutation of list) {
|
|
39
|
-
if (mutation.type == 'childList') {
|
|
40
|
-
this._onChildrenChanged();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
mut.observe(this, {
|
|
45
|
-
childList: true
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
set height(value) {
|
|
49
|
-
this._height = value;
|
|
50
|
-
this.style.height = value;
|
|
51
|
-
}
|
|
52
|
-
get height() {
|
|
53
|
-
return this._height;
|
|
54
|
-
}
|
|
55
|
-
set width(value) {
|
|
56
|
-
this._width = value;
|
|
57
|
-
this.style.width = value;
|
|
58
|
-
}
|
|
59
|
-
get width() {
|
|
60
|
-
return this._width;
|
|
61
|
-
}
|
|
62
|
-
_onChildrenChanged() {
|
|
63
|
-
var children = [];
|
|
64
|
-
for (var i = 0; i < this.childNodes.length; i++) {
|
|
65
|
-
var child = this.childNodes[i];
|
|
66
|
-
if (child !== this._mainDiv.getNativeElement()) {
|
|
67
|
-
children.push(child);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
this._portalManager.onChildrenChanged(children);
|
|
71
|
-
}
|
|
72
|
-
// supports angular themes or custom properties set in CSS
|
|
73
|
-
updateStyle() {
|
|
74
|
-
this._styling(this, this);
|
|
75
|
-
}
|
|
76
|
-
destroy() {
|
|
77
|
-
this._implementation.destroy();
|
|
78
|
-
this._webComponentRenderer.destroy();
|
|
79
|
-
}
|
|
80
|
-
createImplementation() {
|
|
81
|
-
return new Popup();
|
|
82
|
-
}
|
|
83
|
-
get i() {
|
|
84
|
-
return this._implementation;
|
|
85
|
-
}
|
|
86
|
-
disconnectedCallback() {
|
|
87
|
-
this._disconnected = true;
|
|
88
|
-
}
|
|
89
|
-
connectedCallback() {
|
|
90
|
-
if (this._disconnected) {
|
|
91
|
-
this._disconnected = false;
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
this.classList.add("ig-popup");
|
|
95
|
-
this.classList.add("igr-popup");
|
|
96
|
-
this.appendChild(this._mainDiv.getNativeElement());
|
|
97
|
-
this._attached = true;
|
|
98
|
-
this.style.display = "block";
|
|
99
|
-
this.style.height = this._height;
|
|
100
|
-
this.style.width = this._width;
|
|
101
|
-
this._flushQueuedAttributes();
|
|
102
|
-
// supports themes or custom properties set in CSS
|
|
103
|
-
this._styling(this, this);
|
|
104
|
-
this.afterContentInit();
|
|
105
|
-
}
|
|
106
|
-
afterContentInit() {
|
|
107
|
-
}
|
|
108
|
-
_enqueueSetAttribute(attrName, attrValue) {
|
|
109
|
-
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
110
|
-
}
|
|
111
|
-
_flushQueuedAttributes() {
|
|
112
|
-
this._settingAttributes = true;
|
|
113
|
-
for (let i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
114
|
-
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
115
|
-
}
|
|
116
|
-
this._settingAttributes = false;
|
|
117
|
-
this._queuedSetAttributes.length = 0;
|
|
118
|
-
}
|
|
119
|
-
_a(attrName, attrValue) {
|
|
120
|
-
if (this._updatingFromAttribute) {
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
if (attrValue) {
|
|
124
|
-
attrValue = attrValue.toString();
|
|
125
|
-
}
|
|
126
|
-
this._settingAttributes = true;
|
|
127
|
-
attrName = toSpinal(attrName);
|
|
128
|
-
if (this._attached) {
|
|
129
|
-
this.setAttribute(attrName, attrValue);
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
this._enqueueSetAttribute(attrName, attrValue);
|
|
133
|
-
}
|
|
134
|
-
this._settingAttributes = false;
|
|
135
|
-
}
|
|
136
|
-
static get observedAttributes() {
|
|
137
|
-
if (IgcPopupComponent._observedAttributesIgcPopupComponent == null) {
|
|
138
|
-
let names = getAllPropertyNames(IgcPopupComponent);
|
|
139
|
-
for (let i = 0; i < names.length; i++) {
|
|
140
|
-
names[i] = toSpinal(names[i]);
|
|
141
|
-
}
|
|
142
|
-
IgcPopupComponent._observedAttributesIgcPopupComponent = names;
|
|
143
|
-
}
|
|
144
|
-
return IgcPopupComponent._observedAttributesIgcPopupComponent;
|
|
145
|
-
}
|
|
146
|
-
attributeChangedCallback(name, oldValue, newValue) {
|
|
147
|
-
if (this._settingAttributes) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
let setName = fromSpinal(name);
|
|
151
|
-
this._updatingFromAttribute = true;
|
|
152
|
-
this[setName] = newValue;
|
|
153
|
-
this._updatingFromAttribute = false;
|
|
154
|
-
}
|
|
155
|
-
static register() {
|
|
156
|
-
if (!IgcPopupComponent._isElementRegistered) {
|
|
157
|
-
IgcPopupComponent._isElementRegistered = true;
|
|
158
|
-
RegisterElementHelper.registerElement(IgcPopupComponent.htmlTagName, IgcPopupComponent);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Gets or sets the duration of the Popup and Closeup animations in milliseconds.
|
|
163
|
-
*/
|
|
164
|
-
get animationDuration() {
|
|
165
|
-
return this.i.y;
|
|
166
|
-
}
|
|
167
|
-
set animationDuration(v) {
|
|
168
|
-
this.i.y = +v;
|
|
169
|
-
this._a("animationDuration", this.i.y);
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Gets or sets whether the popup and closeup animations are animated.
|
|
173
|
-
*/
|
|
174
|
-
get animationEnabled() {
|
|
175
|
-
return this.i.q;
|
|
176
|
-
}
|
|
177
|
-
set animationEnabled(v) {
|
|
178
|
-
this.i.q = ensureBool(v);
|
|
179
|
-
this._a("animationEnabled", this.i.q);
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Gets or sets the elevation to use for the button regardless of type.
|
|
183
|
-
*/
|
|
184
|
-
get elevation() {
|
|
185
|
-
return this.i.aa;
|
|
186
|
-
}
|
|
187
|
-
set elevation(v) {
|
|
188
|
-
this.i.aa = +v;
|
|
189
|
-
this._a("elevation", this.i.aa);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Gets or sets the elevation of the border shadow
|
|
193
|
-
*/
|
|
194
|
-
get actualElevation() {
|
|
195
|
-
return this.i.w;
|
|
196
|
-
}
|
|
197
|
-
set actualElevation(v) {
|
|
198
|
-
this.i.w = +v;
|
|
199
|
-
this._a("actualElevation", this.i.w);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Gets / sets the isShown state of the panel.
|
|
203
|
-
*/
|
|
204
|
-
get isShown() {
|
|
205
|
-
return this.i.t;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
209
|
-
*/
|
|
210
|
-
get actualUmbraShadowColor() {
|
|
211
|
-
return brushToString(this.i.a7);
|
|
212
|
-
}
|
|
213
|
-
set actualUmbraShadowColor(v) {
|
|
214
|
-
this.i.a7 = stringToBrush(v);
|
|
215
|
-
this._a("actualUmbraShadowColor", brushToString(this.i.a7));
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
219
|
-
*/
|
|
220
|
-
get actualPenumbraShadowColor() {
|
|
221
|
-
return brushToString(this.i.a6);
|
|
222
|
-
}
|
|
223
|
-
set actualPenumbraShadowColor(v) {
|
|
224
|
-
this.i.a6 = stringToBrush(v);
|
|
225
|
-
this._a("actualPenumbraShadowColor", brushToString(this.i.a6));
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
229
|
-
*/
|
|
230
|
-
get actualAmbientShadowColor() {
|
|
231
|
-
return brushToString(this.i.a5);
|
|
232
|
-
}
|
|
233
|
-
set actualAmbientShadowColor(v) {
|
|
234
|
-
this.i.a5 = stringToBrush(v);
|
|
235
|
-
this._a("actualAmbientShadowColor", brushToString(this.i.a5));
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Gets or sets the background color of the popup.
|
|
239
|
-
*/
|
|
240
|
-
get background() {
|
|
241
|
-
return brushToString(this.i.a8);
|
|
242
|
-
}
|
|
243
|
-
set background(v) {
|
|
244
|
-
this.i.a8 = stringToBrush(v);
|
|
245
|
-
this._a("background", brushToString(this.i.a8));
|
|
246
|
-
}
|
|
247
|
-
findByName(name) {
|
|
248
|
-
if (this.findEphemera) {
|
|
249
|
-
if (name && name.indexOf("@@e:") == 0) {
|
|
250
|
-
return this.findEphemera(name);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return null;
|
|
254
|
-
}
|
|
255
|
-
get hasUserValues() {
|
|
256
|
-
return this._hasUserValues;
|
|
257
|
-
}
|
|
258
|
-
__m(propertyName) {
|
|
259
|
-
if (!this._inStyling) {
|
|
260
|
-
this._hasUserValues.add(propertyName);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
_styling(container, component, parent) {
|
|
264
|
-
if (this._inStyling) {
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
this._inStyling = true;
|
|
268
|
-
this._stylingContainer = container;
|
|
269
|
-
this._stylingParent = component;
|
|
270
|
-
let genericPrefix = "";
|
|
271
|
-
let typeName = this.i.$type.name;
|
|
272
|
-
if (typeName.indexOf("Xam") === 0) {
|
|
273
|
-
typeName = typeName.substring(3);
|
|
274
|
-
}
|
|
275
|
-
genericPrefix = toSpinal("PopupComponent");
|
|
276
|
-
let additionalPrefixes = [];
|
|
277
|
-
let prefix = toSpinal(typeName);
|
|
278
|
-
additionalPrefixes.push(prefix + "-");
|
|
279
|
-
let b = this.i.$type.baseType;
|
|
280
|
-
while (b && b.name != "Object" &&
|
|
281
|
-
b.name != "Base" &&
|
|
282
|
-
b.name != "Control" &&
|
|
283
|
-
b.Name != "DependencyObject" &&
|
|
284
|
-
b.Name != "FrameworkElement") {
|
|
285
|
-
typeName = b.name;
|
|
286
|
-
if (typeName.indexOf("Xam") === 0) {
|
|
287
|
-
typeName = typeName.substring(3);
|
|
288
|
-
}
|
|
289
|
-
let basePrefix = toSpinal(typeName);
|
|
290
|
-
additionalPrefixes.push(basePrefix + "-");
|
|
291
|
-
b = b.baseType;
|
|
292
|
-
}
|
|
293
|
-
if (parent) {
|
|
294
|
-
let parentTypeName = parent.i.$type.name;
|
|
295
|
-
if (parentTypeName.indexOf("Xam") === 0) {
|
|
296
|
-
parentTypeName = parentTypeName.substring(3);
|
|
297
|
-
}
|
|
298
|
-
let parentPrefix = toSpinal(parentTypeName);
|
|
299
|
-
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
300
|
-
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
301
|
-
}
|
|
302
|
-
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
303
|
-
if (this._otherStyling) {
|
|
304
|
-
this._otherStyling(container, component, parent);
|
|
305
|
-
}
|
|
306
|
-
this._inStyling = false;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* Closes the popup.
|
|
310
|
-
|
|
311
|
-
*/
|
|
312
|
-
close() {
|
|
313
|
-
this.i.ao();
|
|
314
|
-
}
|
|
315
|
-
showRelativeToExclusionRect(exclusionRect, popupDirection, popupAlignment) {
|
|
316
|
-
this.i.showRelativeToExclusionRect(toRect(exclusionRect), (popupDirection == null ? null : popupDirection), (popupAlignment == null ? null : popupAlignment));
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* Exports visual information about the current state of the grid.
|
|
320
|
-
|
|
321
|
-
*/
|
|
322
|
-
exportVisualModel() {
|
|
323
|
-
let iv = this.i.ab();
|
|
324
|
-
return (iv);
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* Returns a serialized copy of the exported visual model
|
|
328
|
-
|
|
329
|
-
*/
|
|
330
|
-
exportSerializedVisualModel() {
|
|
331
|
-
let iv = this.i.ak();
|
|
332
|
-
return (iv);
|
|
333
|
-
}
|
|
334
|
-
get onClosed() {
|
|
335
|
-
return this._onClosed;
|
|
336
|
-
}
|
|
337
|
-
set onClosed(ev) {
|
|
338
|
-
if (this._onClosed_wrapped !== null) {
|
|
339
|
-
this.i.onClosed = delegateRemove(this.i.onClosed, this._onClosed_wrapped);
|
|
340
|
-
this._onClosed_wrapped = null;
|
|
341
|
-
this._onClosed = null;
|
|
342
|
-
}
|
|
343
|
-
this._onClosed = ev;
|
|
344
|
-
this._onClosed_wrapped = (o, e) => {
|
|
345
|
-
let outerArgs = new IgcOnClosedEventArgs();
|
|
346
|
-
outerArgs._provideImplementation(e);
|
|
347
|
-
if (this.beforeOnClosed) {
|
|
348
|
-
this.beforeOnClosed(this, outerArgs);
|
|
349
|
-
}
|
|
350
|
-
if (this._onClosed) {
|
|
351
|
-
this._onClosed(this, outerArgs);
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
this.i.onClosed = delegateCombine(this.i.onClosed, this._onClosed_wrapped);
|
|
355
|
-
;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Fires when the popup is shown
|
|
359
|
-
*/
|
|
360
|
-
get onPopup() {
|
|
361
|
-
return this._onPopup;
|
|
362
|
-
}
|
|
363
|
-
set onPopup(ev) {
|
|
364
|
-
if (this._onPopup_wrapped !== null) {
|
|
365
|
-
this.i.onPopup = delegateRemove(this.i.onPopup, this._onPopup_wrapped);
|
|
366
|
-
this._onPopup_wrapped = null;
|
|
367
|
-
this._onPopup = null;
|
|
368
|
-
}
|
|
369
|
-
this._onPopup = ev;
|
|
370
|
-
this._onPopup_wrapped = (o, e) => {
|
|
371
|
-
let outerArgs = new IgcOnPopupEventArgs();
|
|
372
|
-
outerArgs._provideImplementation(e);
|
|
373
|
-
if (this.beforeOnPopup) {
|
|
374
|
-
this.beforeOnPopup(this, outerArgs);
|
|
375
|
-
}
|
|
376
|
-
if (this._onPopup) {
|
|
377
|
-
this._onPopup(this, outerArgs);
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
this.i.onPopup = delegateCombine(this.i.onPopup, this._onPopup_wrapped);
|
|
381
|
-
;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
IgcPopupComponent._observedAttributesIgcPopupComponent = null;
|
|
385
|
-
IgcPopupComponent.htmlTagName = "igc-popup";
|
|
386
|
-
IgcPopupComponent._isElementRegistered = false;
|
|
387
|
-
return IgcPopupComponent;
|
|
388
|
-
})();
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { IgcChildContentModule } from "igniteui-webcomponents-core";
|
|
8
|
-
import { IgcPopupComponent } from './igc-popup-component';
|
|
9
|
-
import { Popup } from './Popup';
|
|
10
|
-
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
11
|
-
export class IgcPopupModule {
|
|
12
|
-
static register() {
|
|
13
|
-
IgcChildContentModule.register();
|
|
14
|
-
IgcPopupComponent.register();
|
|
15
|
-
TypeRegistrar.registerCons('IgcPopupComponent', IgcPopupComponent);
|
|
16
|
-
TypeRegistrar.registerCons('IgcPopupComponent', IgcPopupComponent);
|
|
17
|
-
TypeRegistrar.register('Popup', Popup.$type);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { EventArgs, markType } from "igniteui-webcomponents-core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var OnClosedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
13
|
-
tslib_1.__extends(OnClosedEventArgs, _super);
|
|
14
|
-
function OnClosedEventArgs() {
|
|
15
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
}
|
|
17
|
-
OnClosedEventArgs.$t = markType(OnClosedEventArgs, 'OnClosedEventArgs', EventArgs.$);
|
|
18
|
-
return OnClosedEventArgs;
|
|
19
|
-
}(EventArgs));
|
|
20
|
-
export { OnClosedEventArgs };
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { EventArgs, markType } from "igniteui-webcomponents-core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
var OnPopupEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
13
|
-
tslib_1.__extends(OnPopupEventArgs, _super);
|
|
14
|
-
function OnPopupEventArgs() {
|
|
15
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
-
}
|
|
17
|
-
OnPopupEventArgs.$t = markType(OnPopupEventArgs, 'OnPopupEventArgs', EventArgs.$);
|
|
18
|
-
return OnPopupEventArgs;
|
|
19
|
-
}(EventArgs));
|
|
20
|
-
export { OnPopupEventArgs };
|
package/esm5/lib/Popup.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
export { Popup } from "./PopupView_combined";
|
|
@@ -1,29 +0,0 @@
|
|
|
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 { markEnum } from "igniteui-webcomponents-core";
|
|
8
|
-
/**
|
|
9
|
-
* Indicates which side of the exclusion rectangle to which the popup is aligned.
|
|
10
|
-
*/
|
|
11
|
-
export var PopupAlignment = /*@__PURE__*/ (function (PopupAlignment) {
|
|
12
|
-
/**
|
|
13
|
-
* No specified direction.
|
|
14
|
-
*/
|
|
15
|
-
PopupAlignment[PopupAlignment["Auto"] = 0] = "Auto";
|
|
16
|
-
/**
|
|
17
|
-
* Popup should be aligned to the near side. This usually means left or top.
|
|
18
|
-
*/
|
|
19
|
-
PopupAlignment[PopupAlignment["Near"] = 1] = "Near";
|
|
20
|
-
/**
|
|
21
|
-
* Popup should be aligned to the near far. This usually means right or bottom.
|
|
22
|
-
*/
|
|
23
|
-
PopupAlignment[PopupAlignment["Far"] = 2] = "Far";
|
|
24
|
-
return PopupAlignment;
|
|
25
|
-
})({});
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export var PopupAlignment_$type = /*@__PURE__*/ markEnum('PopupAlignment', 'Auto,0|Near,1|Far,2');
|
|
@@ -1,29 +0,0 @@
|
|
|
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 { markEnum } from "igniteui-webcomponents-core";
|
|
8
|
-
/**
|
|
9
|
-
* Indicates which direction the popup will pop up in relation to the exclusion rectangle.
|
|
10
|
-
*/
|
|
11
|
-
export var PopupDirection = /*@__PURE__*/ (function (PopupDirection) {
|
|
12
|
-
/**
|
|
13
|
-
* No specified direction.
|
|
14
|
-
*/
|
|
15
|
-
PopupDirection[PopupDirection["Auto"] = 0] = "Auto";
|
|
16
|
-
/**
|
|
17
|
-
* Popup should be displayed downward.
|
|
18
|
-
*/
|
|
19
|
-
PopupDirection[PopupDirection["Down"] = 1] = "Down";
|
|
20
|
-
/**
|
|
21
|
-
* Popup should be displayed downward.
|
|
22
|
-
*/
|
|
23
|
-
PopupDirection[PopupDirection["Up"] = 2] = "Up";
|
|
24
|
-
return PopupDirection;
|
|
25
|
-
})({});
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export var PopupDirection_$type = /*@__PURE__*/ markEnum('PopupDirection', 'Auto,0|Down,1|Up,2');
|
package/esm5/lib/PopupView.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
export { PopupView } from "./PopupView_combined";
|