@smart-webcomponents-angular/window 11.0.0 → 13.0.10
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/README.md +10 -2
- package/esm2020/window/index.mjs +2 -0
- package/{esm2015/window/public_api.js → esm2020/window/public_api.mjs} +0 -0
- package/{esm2015/window/smart-webcomponents-angular-window.js → esm2020/window/smart-webcomponents-angular-window.mjs} +2 -3
- package/esm2020/window/smart.element.mjs +96 -0
- package/esm2020/window/smart.window.mjs +1051 -0
- package/esm2020/window/smart.window.module.mjs +18 -0
- package/fesm2015/{smart-webcomponents-angular-window.js → smart-webcomponents-angular-window.mjs} +206 -111
- package/fesm2015/smart-webcomponents-angular-window.mjs.map +1 -0
- package/fesm2020/smart-webcomponents-angular-window.mjs +1173 -0
- package/fesm2020/smart-webcomponents-angular-window.mjs.map +1 -0
- package/index.d.ts +318 -42
- package/package.json +26 -24
- package/source/modules/smart.window.js +2 -2
- package/source/smart.button.js +1 -1
- package/source/smart.combobox.js +1 -1
- package/source/smart.dropdownlist.js +2 -2
- package/source/smart.element.js +2 -2
- package/source/smart.listbox.js +1 -1
- package/source/smart.multilinetextbox.js +1 -1
- package/source/smart.progressbar.js +1 -1
- package/source/smart.scrollbar.js +1 -1
- package/source/smart.textbox.js +1 -1
- package/source/smart.window.js +1 -1
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +11 -3
- package/styles/font/smart-icons.ttf +0 -0
- package/styles/font/smart-icons.woff +0 -0
- package/styles/font/smart-icons.woff2 +0 -0
- package/styles/smart.base.css +2 -2
- package/styles/smart.window.css +3 -3
- package/window/index.d.ts +1 -0
- package/window/smart-webcomponents-angular-window.d.ts +2 -2
- package/window/smart.element.d.ts +4 -1
- package/window/smart.window.d.ts +3 -0
- package/window/smart.window.module.d.ts +5 -0
- package/bundles/smart-webcomponents-angular-window.umd.js +0 -1769
- package/bundles/smart-webcomponents-angular-window.umd.min.js +0 -25
- package/esm2015/window/smart.element.js +0 -83
- package/esm2015/window/smart.window.js +0 -983
- package/esm2015/window/smart.window.module.js +0 -13
- package/fesm2015/smart-webcomponents-angular-window.js.map +0 -1
- package/window/smart-webcomponents-angular-window.metadata.json +0 -1
|
@@ -1,1769 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
if (!window['Smart']) {
|
|
3
|
-
window['Smart'] = { RenderMode: 'manual' };
|
|
4
|
-
}
|
|
5
|
-
else {
|
|
6
|
-
window['Smart'].RenderMode = 'manual';
|
|
7
|
-
}
|
|
8
|
-
import './../source/modules/smart.window';
|
|
9
|
-
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define('smart-webcomponents-angular/window', ['exports', '@angular/core'], factory) :
|
|
13
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['smart-webcomponents-angular'] = global['smart-webcomponents-angular'] || {}, global['smart-webcomponents-angular'].window = {}), global.ng.core));
|
|
14
|
-
}(this, (function (exports, core) { 'use strict';
|
|
15
|
-
|
|
16
|
-
/*! *****************************************************************************
|
|
17
|
-
Copyright (c) Microsoft Corporation.
|
|
18
|
-
|
|
19
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
20
|
-
purpose with or without fee is hereby granted.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
23
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
24
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
25
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
26
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
27
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
29
|
-
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise */
|
|
31
|
-
var extendStatics = function (d, b) {
|
|
32
|
-
extendStatics = Object.setPrototypeOf ||
|
|
33
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
34
|
-
function (d, b) { for (var p in b)
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
36
|
-
d[p] = b[p]; };
|
|
37
|
-
return extendStatics(d, b);
|
|
38
|
-
};
|
|
39
|
-
function __extends(d, b) {
|
|
40
|
-
if (typeof b !== "function" && b !== null)
|
|
41
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
42
|
-
extendStatics(d, b);
|
|
43
|
-
function __() { this.constructor = d; }
|
|
44
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45
|
-
}
|
|
46
|
-
var __assign = function () {
|
|
47
|
-
__assign = Object.assign || function __assign(t) {
|
|
48
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
49
|
-
s = arguments[i];
|
|
50
|
-
for (var p in s)
|
|
51
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
52
|
-
t[p] = s[p];
|
|
53
|
-
}
|
|
54
|
-
return t;
|
|
55
|
-
};
|
|
56
|
-
return __assign.apply(this, arguments);
|
|
57
|
-
};
|
|
58
|
-
function __rest(s, e) {
|
|
59
|
-
var t = {};
|
|
60
|
-
for (var p in s)
|
|
61
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
62
|
-
t[p] = s[p];
|
|
63
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
64
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
65
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
66
|
-
t[p[i]] = s[p[i]];
|
|
67
|
-
}
|
|
68
|
-
return t;
|
|
69
|
-
}
|
|
70
|
-
function __decorate(decorators, target, key, desc) {
|
|
71
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
72
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
73
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
74
|
-
else
|
|
75
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
76
|
-
if (d = decorators[i])
|
|
77
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
78
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
79
|
-
}
|
|
80
|
-
function __param(paramIndex, decorator) {
|
|
81
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
82
|
-
}
|
|
83
|
-
function __metadata(metadataKey, metadataValue) {
|
|
84
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
85
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
86
|
-
}
|
|
87
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
88
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
89
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
90
|
-
function fulfilled(value) { try {
|
|
91
|
-
step(generator.next(value));
|
|
92
|
-
}
|
|
93
|
-
catch (e) {
|
|
94
|
-
reject(e);
|
|
95
|
-
} }
|
|
96
|
-
function rejected(value) { try {
|
|
97
|
-
step(generator["throw"](value));
|
|
98
|
-
}
|
|
99
|
-
catch (e) {
|
|
100
|
-
reject(e);
|
|
101
|
-
} }
|
|
102
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
103
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
function __generator(thisArg, body) {
|
|
107
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
108
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
109
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
110
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
111
|
-
function step(op) {
|
|
112
|
-
if (f)
|
|
113
|
-
throw new TypeError("Generator is already executing.");
|
|
114
|
-
while (_)
|
|
115
|
-
try {
|
|
116
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
117
|
-
return t;
|
|
118
|
-
if (y = 0, t)
|
|
119
|
-
op = [op[0] & 2, t.value];
|
|
120
|
-
switch (op[0]) {
|
|
121
|
-
case 0:
|
|
122
|
-
case 1:
|
|
123
|
-
t = op;
|
|
124
|
-
break;
|
|
125
|
-
case 4:
|
|
126
|
-
_.label++;
|
|
127
|
-
return { value: op[1], done: false };
|
|
128
|
-
case 5:
|
|
129
|
-
_.label++;
|
|
130
|
-
y = op[1];
|
|
131
|
-
op = [0];
|
|
132
|
-
continue;
|
|
133
|
-
case 7:
|
|
134
|
-
op = _.ops.pop();
|
|
135
|
-
_.trys.pop();
|
|
136
|
-
continue;
|
|
137
|
-
default:
|
|
138
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
139
|
-
_ = 0;
|
|
140
|
-
continue;
|
|
141
|
-
}
|
|
142
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
143
|
-
_.label = op[1];
|
|
144
|
-
break;
|
|
145
|
-
}
|
|
146
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
147
|
-
_.label = t[1];
|
|
148
|
-
t = op;
|
|
149
|
-
break;
|
|
150
|
-
}
|
|
151
|
-
if (t && _.label < t[2]) {
|
|
152
|
-
_.label = t[2];
|
|
153
|
-
_.ops.push(op);
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
if (t[2])
|
|
157
|
-
_.ops.pop();
|
|
158
|
-
_.trys.pop();
|
|
159
|
-
continue;
|
|
160
|
-
}
|
|
161
|
-
op = body.call(thisArg, _);
|
|
162
|
-
}
|
|
163
|
-
catch (e) {
|
|
164
|
-
op = [6, e];
|
|
165
|
-
y = 0;
|
|
166
|
-
}
|
|
167
|
-
finally {
|
|
168
|
-
f = t = 0;
|
|
169
|
-
}
|
|
170
|
-
if (op[0] & 5)
|
|
171
|
-
throw op[1];
|
|
172
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
176
|
-
if (k2 === undefined)
|
|
177
|
-
k2 = k;
|
|
178
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
179
|
-
}) : (function (o, m, k, k2) {
|
|
180
|
-
if (k2 === undefined)
|
|
181
|
-
k2 = k;
|
|
182
|
-
o[k2] = m[k];
|
|
183
|
-
});
|
|
184
|
-
function __exportStar(m, o) {
|
|
185
|
-
for (var p in m)
|
|
186
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
187
|
-
__createBinding(o, m, p);
|
|
188
|
-
}
|
|
189
|
-
function __values(o) {
|
|
190
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
191
|
-
if (m)
|
|
192
|
-
return m.call(o);
|
|
193
|
-
if (o && typeof o.length === "number")
|
|
194
|
-
return {
|
|
195
|
-
next: function () {
|
|
196
|
-
if (o && i >= o.length)
|
|
197
|
-
o = void 0;
|
|
198
|
-
return { value: o && o[i++], done: !o };
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
202
|
-
}
|
|
203
|
-
function __read(o, n) {
|
|
204
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
205
|
-
if (!m)
|
|
206
|
-
return o;
|
|
207
|
-
var i = m.call(o), r, ar = [], e;
|
|
208
|
-
try {
|
|
209
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
210
|
-
ar.push(r.value);
|
|
211
|
-
}
|
|
212
|
-
catch (error) {
|
|
213
|
-
e = { error: error };
|
|
214
|
-
}
|
|
215
|
-
finally {
|
|
216
|
-
try {
|
|
217
|
-
if (r && !r.done && (m = i["return"]))
|
|
218
|
-
m.call(i);
|
|
219
|
-
}
|
|
220
|
-
finally {
|
|
221
|
-
if (e)
|
|
222
|
-
throw e.error;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
return ar;
|
|
226
|
-
}
|
|
227
|
-
/** @deprecated */
|
|
228
|
-
function __spread() {
|
|
229
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
230
|
-
ar = ar.concat(__read(arguments[i]));
|
|
231
|
-
return ar;
|
|
232
|
-
}
|
|
233
|
-
/** @deprecated */
|
|
234
|
-
function __spreadArrays() {
|
|
235
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
236
|
-
s += arguments[i].length;
|
|
237
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
238
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
239
|
-
r[k] = a[j];
|
|
240
|
-
return r;
|
|
241
|
-
}
|
|
242
|
-
function __spreadArray(to, from) {
|
|
243
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
244
|
-
to[j] = from[i];
|
|
245
|
-
return to;
|
|
246
|
-
}
|
|
247
|
-
function __await(v) {
|
|
248
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
249
|
-
}
|
|
250
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
251
|
-
if (!Symbol.asyncIterator)
|
|
252
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
253
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
254
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
255
|
-
function verb(n) { if (g[n])
|
|
256
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
257
|
-
function resume(n, v) { try {
|
|
258
|
-
step(g[n](v));
|
|
259
|
-
}
|
|
260
|
-
catch (e) {
|
|
261
|
-
settle(q[0][3], e);
|
|
262
|
-
} }
|
|
263
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
264
|
-
function fulfill(value) { resume("next", value); }
|
|
265
|
-
function reject(value) { resume("throw", value); }
|
|
266
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
267
|
-
resume(q[0][0], q[0][1]); }
|
|
268
|
-
}
|
|
269
|
-
function __asyncDelegator(o) {
|
|
270
|
-
var i, p;
|
|
271
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
272
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
273
|
-
}
|
|
274
|
-
function __asyncValues(o) {
|
|
275
|
-
if (!Symbol.asyncIterator)
|
|
276
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
277
|
-
var m = o[Symbol.asyncIterator], i;
|
|
278
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
279
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
280
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
281
|
-
}
|
|
282
|
-
function __makeTemplateObject(cooked, raw) {
|
|
283
|
-
if (Object.defineProperty) {
|
|
284
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
cooked.raw = raw;
|
|
288
|
-
}
|
|
289
|
-
return cooked;
|
|
290
|
-
}
|
|
291
|
-
;
|
|
292
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
293
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
294
|
-
}) : function (o, v) {
|
|
295
|
-
o["default"] = v;
|
|
296
|
-
};
|
|
297
|
-
function __importStar(mod) {
|
|
298
|
-
if (mod && mod.__esModule)
|
|
299
|
-
return mod;
|
|
300
|
-
var result = {};
|
|
301
|
-
if (mod != null)
|
|
302
|
-
for (var k in mod)
|
|
303
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
304
|
-
__createBinding(result, mod, k);
|
|
305
|
-
__setModuleDefault(result, mod);
|
|
306
|
-
return result;
|
|
307
|
-
}
|
|
308
|
-
function __importDefault(mod) {
|
|
309
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
310
|
-
}
|
|
311
|
-
function __classPrivateFieldGet(receiver, privateMap) {
|
|
312
|
-
if (!privateMap.has(receiver)) {
|
|
313
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
314
|
-
}
|
|
315
|
-
return privateMap.get(receiver);
|
|
316
|
-
}
|
|
317
|
-
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
318
|
-
if (!privateMap.has(receiver)) {
|
|
319
|
-
throw new TypeError("attempted to set private field on non-instance");
|
|
320
|
-
}
|
|
321
|
-
privateMap.set(receiver, value);
|
|
322
|
-
return value;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
var BaseElement = /** @class */ (function () {
|
|
326
|
-
function BaseElement(ref) {
|
|
327
|
-
this.onCreate = new core.EventEmitter();
|
|
328
|
-
this.onReady = new core.EventEmitter();
|
|
329
|
-
this.onAttach = new core.EventEmitter();
|
|
330
|
-
this.onDetach = new core.EventEmitter();
|
|
331
|
-
var that = this;
|
|
332
|
-
this.nativeElement = ref.nativeElement;
|
|
333
|
-
that.nativeElement.onAttached = function () {
|
|
334
|
-
that.onAttach.emit(that.nativeElement);
|
|
335
|
-
};
|
|
336
|
-
that.nativeElement.onDetached = function () {
|
|
337
|
-
that.onDetach.emit(that.nativeElement);
|
|
338
|
-
};
|
|
339
|
-
}
|
|
340
|
-
BaseElement.prototype.addEventListener = function (type, listener, options) {
|
|
341
|
-
if (options === void 0) { options = false; }
|
|
342
|
-
this.nativeElement.addEventListener(type, listener, options);
|
|
343
|
-
};
|
|
344
|
-
BaseElement.prototype.removeEventListener = function (type, listener, options) {
|
|
345
|
-
if (options === void 0) { options = false; }
|
|
346
|
-
this.nativeElement.removeEventListener(type, listener, options);
|
|
347
|
-
};
|
|
348
|
-
BaseElement.prototype.dispatchEvent = function (event) {
|
|
349
|
-
return this.nativeElement.dispatchEvent(event);
|
|
350
|
-
};
|
|
351
|
-
BaseElement.prototype.blur = function () {
|
|
352
|
-
this.nativeElement.blur();
|
|
353
|
-
};
|
|
354
|
-
BaseElement.prototype.click = function () {
|
|
355
|
-
this.nativeElement.click();
|
|
356
|
-
};
|
|
357
|
-
BaseElement.prototype.focus = function (options) {
|
|
358
|
-
this.nativeElement.focus(options);
|
|
359
|
-
};
|
|
360
|
-
Object.defineProperty(BaseElement.prototype, "locale", {
|
|
361
|
-
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
362
|
-
get: function () {
|
|
363
|
-
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
364
|
-
},
|
|
365
|
-
set: function (value) {
|
|
366
|
-
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
367
|
-
},
|
|
368
|
-
enumerable: false,
|
|
369
|
-
configurable: true
|
|
370
|
-
});
|
|
371
|
-
Object.defineProperty(BaseElement.prototype, "localizeFormatFunction", {
|
|
372
|
-
/** @description Callback used to customize the format of the messages that are returned from the Localization Module. */
|
|
373
|
-
get: function () {
|
|
374
|
-
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
375
|
-
},
|
|
376
|
-
set: function (value) {
|
|
377
|
-
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
378
|
-
},
|
|
379
|
-
enumerable: false,
|
|
380
|
-
configurable: true
|
|
381
|
-
});
|
|
382
|
-
Object.defineProperty(BaseElement.prototype, "messages", {
|
|
383
|
-
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
|
|
384
|
-
get: function () {
|
|
385
|
-
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
386
|
-
},
|
|
387
|
-
set: function (value) {
|
|
388
|
-
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
389
|
-
},
|
|
390
|
-
enumerable: false,
|
|
391
|
-
configurable: true
|
|
392
|
-
});
|
|
393
|
-
Object.defineProperty(BaseElement.prototype, "rightToLeft", {
|
|
394
|
-
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
|
|
395
|
-
get: function () {
|
|
396
|
-
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
397
|
-
},
|
|
398
|
-
set: function (value) {
|
|
399
|
-
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
400
|
-
},
|
|
401
|
-
enumerable: false,
|
|
402
|
-
configurable: true
|
|
403
|
-
});
|
|
404
|
-
Object.defineProperty(BaseElement.prototype, "theme", {
|
|
405
|
-
/** @description Determines the theme. Theme defines the look of the element */
|
|
406
|
-
get: function () {
|
|
407
|
-
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
408
|
-
},
|
|
409
|
-
set: function (value) {
|
|
410
|
-
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
411
|
-
},
|
|
412
|
-
enumerable: false,
|
|
413
|
-
configurable: true
|
|
414
|
-
});
|
|
415
|
-
return BaseElement;
|
|
416
|
-
}());
|
|
417
|
-
BaseElement.propDecorators = {
|
|
418
|
-
onCreate: [{ type: core.Output }],
|
|
419
|
-
onReady: [{ type: core.Output }],
|
|
420
|
-
onAttach: [{ type: core.Output }],
|
|
421
|
-
onDetach: [{ type: core.Output }],
|
|
422
|
-
locale: [{ type: core.Input }],
|
|
423
|
-
localizeFormatFunction: [{ type: core.Input }],
|
|
424
|
-
messages: [{ type: core.Input }],
|
|
425
|
-
rightToLeft: [{ type: core.Input }],
|
|
426
|
-
theme: [{ type: core.Input }]
|
|
427
|
-
};
|
|
428
|
-
var Smart = window.Smart;
|
|
429
|
-
|
|
430
|
-
var WindowComponent = /** @class */ (function (_super) {
|
|
431
|
-
__extends(WindowComponent, _super);
|
|
432
|
-
function WindowComponent(ref) {
|
|
433
|
-
var _this = _super.call(this, ref) || this;
|
|
434
|
-
_this.eventHandlers = [];
|
|
435
|
-
/** @description This event is triggered just before the window starts opening.
|
|
436
|
-
* @param event. The custom event. */
|
|
437
|
-
_this.onOpening = new core.EventEmitter();
|
|
438
|
-
/** @description This event is triggered when the window is opened( visible ).
|
|
439
|
-
* @param event. The custom event. */
|
|
440
|
-
_this.onOpen = new core.EventEmitter();
|
|
441
|
-
/** @description This event is triggered just before the window starts closing.
|
|
442
|
-
* @param event. The custom event. */
|
|
443
|
-
_this.onClosing = new core.EventEmitter();
|
|
444
|
-
/** @description This event is triggered when the window is closed( hidden )
|
|
445
|
-
* @param event. The custom event. */
|
|
446
|
-
_this.onClose = new core.EventEmitter();
|
|
447
|
-
/** @description This event is triggered when the window is collapsed.
|
|
448
|
-
* @param event. The custom event. */
|
|
449
|
-
_this.onCollapse = new core.EventEmitter();
|
|
450
|
-
/** @description This event is triggered when window's dragging is ended.
|
|
451
|
-
* @param event. The custom event. */
|
|
452
|
-
_this.onDragEnd = new core.EventEmitter();
|
|
453
|
-
/** @description This event is triggered when window's dragging is started.
|
|
454
|
-
* @param event. The custom event. */
|
|
455
|
-
_this.onDragStart = new core.EventEmitter();
|
|
456
|
-
/** @description This event is triggered when the window is expanded.
|
|
457
|
-
* @param event. The custom event. */
|
|
458
|
-
_this.onExpand = new core.EventEmitter();
|
|
459
|
-
/** @description This event is triggered when the window is maximized.
|
|
460
|
-
* @param event. The custom event. */
|
|
461
|
-
_this.onMaximize = new core.EventEmitter();
|
|
462
|
-
/** @description This event is triggered when the window is minimized.
|
|
463
|
-
* @param event. The custom event. */
|
|
464
|
-
_this.onMinimize = new core.EventEmitter();
|
|
465
|
-
/** @description This event is triggered when window's resizing is ended.
|
|
466
|
-
* @param event. The custom event. */
|
|
467
|
-
_this.onResizeEnd = new core.EventEmitter();
|
|
468
|
-
/** @description This event is triggered when window's resizing is started.
|
|
469
|
-
* @param event. The custom event. */
|
|
470
|
-
_this.onResizeStart = new core.EventEmitter();
|
|
471
|
-
/** @description This event is triggered when the window is restored to it's previous state before maximization.
|
|
472
|
-
* @param event. The custom event. */
|
|
473
|
-
_this.onRestore = new core.EventEmitter();
|
|
474
|
-
_this.nativeElement = ref.nativeElement;
|
|
475
|
-
return _this;
|
|
476
|
-
}
|
|
477
|
-
/** @description Creates the component on demand.
|
|
478
|
-
* @param properties An optional object of properties, which will be added to the template binded ones.
|
|
479
|
-
*/
|
|
480
|
-
WindowComponent.prototype.createComponent = function (properties) {
|
|
481
|
-
if (properties === void 0) { properties = {}; }
|
|
482
|
-
this.nativeElement = document.createElement('smart-window');
|
|
483
|
-
for (var propertyName in properties) {
|
|
484
|
-
this.nativeElement[propertyName] = properties[propertyName];
|
|
485
|
-
}
|
|
486
|
-
return this.nativeElement;
|
|
487
|
-
};
|
|
488
|
-
Object.defineProperty(WindowComponent.prototype, "addNewTab", {
|
|
489
|
-
/** @description Determines if 'Add New' Tab inside the Tabs element is visible. Applicable only to TabsWindow */
|
|
490
|
-
get: function () {
|
|
491
|
-
return this.nativeElement ? this.nativeElement.addNewTab : undefined;
|
|
492
|
-
},
|
|
493
|
-
set: function (value) {
|
|
494
|
-
this.nativeElement ? this.nativeElement.addNewTab = value : undefined;
|
|
495
|
-
},
|
|
496
|
-
enumerable: false,
|
|
497
|
-
configurable: true
|
|
498
|
-
});
|
|
499
|
-
Object.defineProperty(WindowComponent.prototype, "animation", {
|
|
500
|
-
/** @description Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
|
|
501
|
-
get: function () {
|
|
502
|
-
return this.nativeElement ? this.nativeElement.animation : undefined;
|
|
503
|
-
},
|
|
504
|
-
set: function (value) {
|
|
505
|
-
this.nativeElement ? this.nativeElement.animation = value : undefined;
|
|
506
|
-
},
|
|
507
|
-
enumerable: false,
|
|
508
|
-
configurable: true
|
|
509
|
-
});
|
|
510
|
-
Object.defineProperty(WindowComponent.prototype, "autoCapitalize", {
|
|
511
|
-
/** @description Determines whether and how the value should be automatically capitalized as it is entered/edited by the user. Applicable only to MultilinePromptWindow. */
|
|
512
|
-
get: function () {
|
|
513
|
-
return this.nativeElement ? this.nativeElement.autoCapitalize : undefined;
|
|
514
|
-
},
|
|
515
|
-
set: function (value) {
|
|
516
|
-
this.nativeElement ? this.nativeElement.autoCapitalize = value : undefined;
|
|
517
|
-
},
|
|
518
|
-
enumerable: false,
|
|
519
|
-
configurable: true
|
|
520
|
-
});
|
|
521
|
-
Object.defineProperty(WindowComponent.prototype, "autoExpand", {
|
|
522
|
-
/** @description Determines whether element will auto expand when the input overflows vertically. Applicable only to MultilinePromptWindow. */
|
|
523
|
-
get: function () {
|
|
524
|
-
return this.nativeElement ? this.nativeElement.autoExpand : undefined;
|
|
525
|
-
},
|
|
526
|
-
set: function (value) {
|
|
527
|
-
this.nativeElement ? this.nativeElement.autoExpand = value : undefined;
|
|
528
|
-
},
|
|
529
|
-
enumerable: false,
|
|
530
|
-
configurable: true
|
|
531
|
-
});
|
|
532
|
-
Object.defineProperty(WindowComponent.prototype, "cancelLabel", {
|
|
533
|
-
/** @description Determines the label for the 'cancel' button inside the Prompt Window. */
|
|
534
|
-
get: function () {
|
|
535
|
-
return this.nativeElement ? this.nativeElement.cancelLabel : undefined;
|
|
536
|
-
},
|
|
537
|
-
set: function (value) {
|
|
538
|
-
this.nativeElement ? this.nativeElement.cancelLabel = value : undefined;
|
|
539
|
-
},
|
|
540
|
-
enumerable: false,
|
|
541
|
-
configurable: true
|
|
542
|
-
});
|
|
543
|
-
Object.defineProperty(WindowComponent.prototype, "completeLabel", {
|
|
544
|
-
/** @description Determines the label for the 'Complete' button insinde the Progress Window. */
|
|
545
|
-
get: function () {
|
|
546
|
-
return this.nativeElement ? this.nativeElement.completeLabel : undefined;
|
|
547
|
-
},
|
|
548
|
-
set: function (value) {
|
|
549
|
-
this.nativeElement ? this.nativeElement.completeLabel = value : undefined;
|
|
550
|
-
},
|
|
551
|
-
enumerable: false,
|
|
552
|
-
configurable: true
|
|
553
|
-
});
|
|
554
|
-
Object.defineProperty(WindowComponent.prototype, "confirmLabel", {
|
|
555
|
-
/** @description Determines the label for the 'Confirm' button insinde the Prompt Window. */
|
|
556
|
-
get: function () {
|
|
557
|
-
return this.nativeElement ? this.nativeElement.confirmLabel : undefined;
|
|
558
|
-
},
|
|
559
|
-
set: function (value) {
|
|
560
|
-
this.nativeElement ? this.nativeElement.confirmLabel = value : undefined;
|
|
561
|
-
},
|
|
562
|
-
enumerable: false,
|
|
563
|
-
configurable: true
|
|
564
|
-
});
|
|
565
|
-
Object.defineProperty(WindowComponent.prototype, "collapsed", {
|
|
566
|
-
/** @description Determines if the window is collapsed or not. When collapsed the only the header of the window is visible. */
|
|
567
|
-
get: function () {
|
|
568
|
-
return this.nativeElement ? this.nativeElement.collapsed : undefined;
|
|
569
|
-
},
|
|
570
|
-
set: function (value) {
|
|
571
|
-
this.nativeElement ? this.nativeElement.collapsed = value : undefined;
|
|
572
|
-
},
|
|
573
|
-
enumerable: false,
|
|
574
|
-
configurable: true
|
|
575
|
-
});
|
|
576
|
-
Object.defineProperty(WindowComponent.prototype, "closeOnMaskClick", {
|
|
577
|
-
/** @description When a modal window is opened, thid property determines if clicking on the mask closes the window or not. */
|
|
578
|
-
get: function () {
|
|
579
|
-
return this.nativeElement ? this.nativeElement.closeOnMaskClick : undefined;
|
|
580
|
-
},
|
|
581
|
-
set: function (value) {
|
|
582
|
-
this.nativeElement ? this.nativeElement.closeOnMaskClick = value : undefined;
|
|
583
|
-
},
|
|
584
|
-
enumerable: false,
|
|
585
|
-
configurable: true
|
|
586
|
-
});
|
|
587
|
-
Object.defineProperty(WindowComponent.prototype, "dataSource", {
|
|
588
|
-
/** @description Determines the data source that will be loaded to the TabsWindow. Applicable only to TabsWindow. */
|
|
589
|
-
get: function () {
|
|
590
|
-
return this.nativeElement ? this.nativeElement.dataSource : undefined;
|
|
591
|
-
},
|
|
592
|
-
set: function (value) {
|
|
593
|
-
this.nativeElement ? this.nativeElement.dataSource = value : undefined;
|
|
594
|
-
},
|
|
595
|
-
enumerable: false,
|
|
596
|
-
configurable: true
|
|
597
|
-
});
|
|
598
|
-
Object.defineProperty(WindowComponent.prototype, "disabled", {
|
|
599
|
-
/** @description Enables or disables the window. */
|
|
600
|
-
get: function () {
|
|
601
|
-
return this.nativeElement ? this.nativeElement.disabled : undefined;
|
|
602
|
-
},
|
|
603
|
-
set: function (value) {
|
|
604
|
-
this.nativeElement ? this.nativeElement.disabled = value : undefined;
|
|
605
|
-
},
|
|
606
|
-
enumerable: false,
|
|
607
|
-
configurable: true
|
|
608
|
-
});
|
|
609
|
-
Object.defineProperty(WindowComponent.prototype, "disableSnap", {
|
|
610
|
-
/** @description Enables or disables the window snapping feature. */
|
|
611
|
-
get: function () {
|
|
612
|
-
return this.nativeElement ? this.nativeElement.disableSnap : undefined;
|
|
613
|
-
},
|
|
614
|
-
set: function (value) {
|
|
615
|
-
this.nativeElement ? this.nativeElement.disableSnap = value : undefined;
|
|
616
|
-
},
|
|
617
|
-
enumerable: false,
|
|
618
|
-
configurable: true
|
|
619
|
-
});
|
|
620
|
-
Object.defineProperty(WindowComponent.prototype, "displayMode", {
|
|
621
|
-
/** @description Determines how the characters are displayed inside the input. Applicable to Prompt Window. */
|
|
622
|
-
get: function () {
|
|
623
|
-
return this.nativeElement ? this.nativeElement.displayMode : undefined;
|
|
624
|
-
},
|
|
625
|
-
set: function (value) {
|
|
626
|
-
this.nativeElement ? this.nativeElement.displayMode = value : undefined;
|
|
627
|
-
},
|
|
628
|
-
enumerable: false,
|
|
629
|
-
configurable: true
|
|
630
|
-
});
|
|
631
|
-
Object.defineProperty(WindowComponent.prototype, "dropPosition", {
|
|
632
|
-
/** @description Applicable to TabsWindow when docked inside a DockingLayout Custom Element. Determines where the window(it's tab items as well) can be dropped inside the DockingLayout. The property is an array that accepts multiple positions. Note: Positions with prefix 'layout-' are applied to the Tab item children of the TabsWidnow owner that is being dragged. The rest of the positions indicate the allowed drop position inside the hovered target(TabsWindow). Used only by jqxDockingLayout custom elements. Determines the possible drop position inside the DockingLayout. The following values are allowed. */
|
|
633
|
-
get: function () {
|
|
634
|
-
return this.nativeElement ? this.nativeElement.dropPosition : undefined;
|
|
635
|
-
},
|
|
636
|
-
set: function (value) {
|
|
637
|
-
this.nativeElement ? this.nativeElement.dropPosition = value : undefined;
|
|
638
|
-
},
|
|
639
|
-
enumerable: false,
|
|
640
|
-
configurable: true
|
|
641
|
-
});
|
|
642
|
-
Object.defineProperty(WindowComponent.prototype, "formatFunction", {
|
|
643
|
-
/** @description A callback function defining the new format for the label of the Progress Bar. Applicable only to ProgressWindow. */
|
|
644
|
-
get: function () {
|
|
645
|
-
return this.nativeElement ? this.nativeElement.formatFunction : undefined;
|
|
646
|
-
},
|
|
647
|
-
set: function (value) {
|
|
648
|
-
this.nativeElement ? this.nativeElement.formatFunction = value : undefined;
|
|
649
|
-
},
|
|
650
|
-
enumerable: false,
|
|
651
|
-
configurable: true
|
|
652
|
-
});
|
|
653
|
-
Object.defineProperty(WindowComponent.prototype, "footerPosition", {
|
|
654
|
-
/** @description Determines the position of the footer of the window element. */
|
|
655
|
-
get: function () {
|
|
656
|
-
return this.nativeElement ? this.nativeElement.footerPosition : undefined;
|
|
657
|
-
},
|
|
658
|
-
set: function (value) {
|
|
659
|
-
this.nativeElement ? this.nativeElement.footerPosition = value : undefined;
|
|
660
|
-
},
|
|
661
|
-
enumerable: false,
|
|
662
|
-
configurable: true
|
|
663
|
-
});
|
|
664
|
-
Object.defineProperty(WindowComponent.prototype, "footerTemplate", {
|
|
665
|
-
/** @description Determines the template for the Dialog section of the window. By default footerTemplate is null. */
|
|
666
|
-
get: function () {
|
|
667
|
-
return this.nativeElement ? this.nativeElement.footerTemplate : undefined;
|
|
668
|
-
},
|
|
669
|
-
set: function (value) {
|
|
670
|
-
this.nativeElement ? this.nativeElement.footerTemplate = value : undefined;
|
|
671
|
-
},
|
|
672
|
-
enumerable: false,
|
|
673
|
-
configurable: true
|
|
674
|
-
});
|
|
675
|
-
Object.defineProperty(WindowComponent.prototype, "headerButtons", {
|
|
676
|
-
/** @description Set's the buttons that will be visible in the header section. */
|
|
677
|
-
get: function () {
|
|
678
|
-
return this.nativeElement ? this.nativeElement.headerButtons : undefined;
|
|
679
|
-
},
|
|
680
|
-
set: function (value) {
|
|
681
|
-
this.nativeElement ? this.nativeElement.headerButtons = value : undefined;
|
|
682
|
-
},
|
|
683
|
-
enumerable: false,
|
|
684
|
-
configurable: true
|
|
685
|
-
});
|
|
686
|
-
Object.defineProperty(WindowComponent.prototype, "headerTemplate", {
|
|
687
|
-
/** @description Determines the template for the Dialog section of the window. By default headerTemplate is null. */
|
|
688
|
-
get: function () {
|
|
689
|
-
return this.nativeElement ? this.nativeElement.headerTemplate : undefined;
|
|
690
|
-
},
|
|
691
|
-
set: function (value) {
|
|
692
|
-
this.nativeElement ? this.nativeElement.headerTemplate = value : undefined;
|
|
693
|
-
},
|
|
694
|
-
enumerable: false,
|
|
695
|
-
configurable: true
|
|
696
|
-
});
|
|
697
|
-
Object.defineProperty(WindowComponent.prototype, "headerPosition", {
|
|
698
|
-
/** @description Determines the position of the header of the window element. */
|
|
699
|
-
get: function () {
|
|
700
|
-
return this.nativeElement ? this.nativeElement.headerPosition : undefined;
|
|
701
|
-
},
|
|
702
|
-
set: function (value) {
|
|
703
|
-
this.nativeElement ? this.nativeElement.headerPosition = value : undefined;
|
|
704
|
-
},
|
|
705
|
-
enumerable: false,
|
|
706
|
-
configurable: true
|
|
707
|
-
});
|
|
708
|
-
Object.defineProperty(WindowComponent.prototype, "hint", {
|
|
709
|
-
/** @description Sets additional helper text below the text box. The hint is visible only when the text box is focued. Applicable to Prompt Window. */
|
|
710
|
-
get: function () {
|
|
711
|
-
return this.nativeElement ? this.nativeElement.hint : undefined;
|
|
712
|
-
},
|
|
713
|
-
set: function (value) {
|
|
714
|
-
this.nativeElement ? this.nativeElement.hint = value : undefined;
|
|
715
|
-
},
|
|
716
|
-
enumerable: false,
|
|
717
|
-
configurable: true
|
|
718
|
-
});
|
|
719
|
-
Object.defineProperty(WindowComponent.prototype, "indeterminate", {
|
|
720
|
-
/** @description Sets the value of the Progress bar to indeterminate state(null) and starts the animation. Applicable only to ProgressWindow. */
|
|
721
|
-
get: function () {
|
|
722
|
-
return this.nativeElement ? this.nativeElement.indeterminate : undefined;
|
|
723
|
-
},
|
|
724
|
-
set: function (value) {
|
|
725
|
-
this.nativeElement ? this.nativeElement.indeterminate = value : undefined;
|
|
726
|
-
},
|
|
727
|
-
enumerable: false,
|
|
728
|
-
configurable: true
|
|
729
|
-
});
|
|
730
|
-
Object.defineProperty(WindowComponent.prototype, "inverted", {
|
|
731
|
-
/** @description Sets the filling direction of the Progress Bar. Applicable only to ProgressWindow. */
|
|
732
|
-
get: function () {
|
|
733
|
-
return this.nativeElement ? this.nativeElement.inverted : undefined;
|
|
734
|
-
},
|
|
735
|
-
set: function (value) {
|
|
736
|
-
this.nativeElement ? this.nativeElement.inverted = value : undefined;
|
|
737
|
-
},
|
|
738
|
-
enumerable: false,
|
|
739
|
-
configurable: true
|
|
740
|
-
});
|
|
741
|
-
Object.defineProperty(WindowComponent.prototype, "label", {
|
|
742
|
-
/** @description The label of the window that appears in the header area. */
|
|
743
|
-
get: function () {
|
|
744
|
-
return this.nativeElement ? this.nativeElement.label : undefined;
|
|
745
|
-
},
|
|
746
|
-
set: function (value) {
|
|
747
|
-
this.nativeElement ? this.nativeElement.label = value : undefined;
|
|
748
|
-
},
|
|
749
|
-
enumerable: false,
|
|
750
|
-
configurable: true
|
|
751
|
-
});
|
|
752
|
-
Object.defineProperty(WindowComponent.prototype, "liveResize", {
|
|
753
|
-
/** @description When enabled the resizing operation happens live. By default it's not enabled and during resizing a highlighter around the edges of the window appears to outline the current size of the element. */
|
|
754
|
-
get: function () {
|
|
755
|
-
return this.nativeElement ? this.nativeElement.liveResize : undefined;
|
|
756
|
-
},
|
|
757
|
-
set: function (value) {
|
|
758
|
-
this.nativeElement ? this.nativeElement.liveResize = value : undefined;
|
|
759
|
-
},
|
|
760
|
-
enumerable: false,
|
|
761
|
-
configurable: true
|
|
762
|
-
});
|
|
763
|
-
Object.defineProperty(WindowComponent.prototype, "layout", {
|
|
764
|
-
/** @description Applicable only to TabsWindow when used with a DockingLayout custom element.Used only by jqxDockingLayout. Determines the owner jqxDockingLayout that the window belongs to. When the tabsWindow has been removed from a DockingLayout element, the property is used to indicate that it belongs to that particular Dockinglayout. Accepts a string, representing the ID of a jqxDockingLayout on the page, or an instance of jqxDokcingLayout. */
|
|
765
|
-
get: function () {
|
|
766
|
-
return this.nativeElement ? this.nativeElement.layout : undefined;
|
|
767
|
-
},
|
|
768
|
-
set: function (value) {
|
|
769
|
-
this.nativeElement ? this.nativeElement.layout = value : undefined;
|
|
770
|
-
},
|
|
771
|
-
enumerable: false,
|
|
772
|
-
configurable: true
|
|
773
|
-
});
|
|
774
|
-
Object.defineProperty(WindowComponent.prototype, "locale", {
|
|
775
|
-
/** @description Sets or gets the language. Used in conjunction with the property messages. */
|
|
776
|
-
get: function () {
|
|
777
|
-
return this.nativeElement ? this.nativeElement.locale : undefined;
|
|
778
|
-
},
|
|
779
|
-
set: function (value) {
|
|
780
|
-
this.nativeElement ? this.nativeElement.locale = value : undefined;
|
|
781
|
-
},
|
|
782
|
-
enumerable: false,
|
|
783
|
-
configurable: true
|
|
784
|
-
});
|
|
785
|
-
Object.defineProperty(WindowComponent.prototype, "locked", {
|
|
786
|
-
/** @description Applicable only to TabsWindow when docked inside a DockingLayout Custom Element.Determines of the item can be resized or not. */
|
|
787
|
-
get: function () {
|
|
788
|
-
return this.nativeElement ? this.nativeElement.locked : undefined;
|
|
789
|
-
},
|
|
790
|
-
set: function (value) {
|
|
791
|
-
this.nativeElement ? this.nativeElement.locked = value : undefined;
|
|
792
|
-
},
|
|
793
|
-
enumerable: false,
|
|
794
|
-
configurable: true
|
|
795
|
-
});
|
|
796
|
-
Object.defineProperty(WindowComponent.prototype, "localizeFormatFunction", {
|
|
797
|
-
/** @description Callback, related to localization module. */
|
|
798
|
-
get: function () {
|
|
799
|
-
return this.nativeElement ? this.nativeElement.localizeFormatFunction : undefined;
|
|
800
|
-
},
|
|
801
|
-
set: function (value) {
|
|
802
|
-
this.nativeElement ? this.nativeElement.localizeFormatFunction = value : undefined;
|
|
803
|
-
},
|
|
804
|
-
enumerable: false,
|
|
805
|
-
configurable: true
|
|
806
|
-
});
|
|
807
|
-
Object.defineProperty(WindowComponent.prototype, "maximized", {
|
|
808
|
-
/** @description Determines if the window is maximized or not. When maximized the window covers the whole viewport. */
|
|
809
|
-
get: function () {
|
|
810
|
-
return this.nativeElement ? this.nativeElement.maximized : undefined;
|
|
811
|
-
},
|
|
812
|
-
set: function (value) {
|
|
813
|
-
this.nativeElement ? this.nativeElement.maximized = value : undefined;
|
|
814
|
-
},
|
|
815
|
-
enumerable: false,
|
|
816
|
-
configurable: true
|
|
817
|
-
});
|
|
818
|
-
Object.defineProperty(WindowComponent.prototype, "messages", {
|
|
819
|
-
/** @description Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale. */
|
|
820
|
-
get: function () {
|
|
821
|
-
return this.nativeElement ? this.nativeElement.messages : undefined;
|
|
822
|
-
},
|
|
823
|
-
set: function (value) {
|
|
824
|
-
this.nativeElement ? this.nativeElement.messages = value : undefined;
|
|
825
|
-
},
|
|
826
|
-
enumerable: false,
|
|
827
|
-
configurable: true
|
|
828
|
-
});
|
|
829
|
-
Object.defineProperty(WindowComponent.prototype, "modal", {
|
|
830
|
-
/** @description Determines if the window is modal or not. If true the user can only interact with the window and nothing else on the page. */
|
|
831
|
-
get: function () {
|
|
832
|
-
return this.nativeElement ? this.nativeElement.modal : undefined;
|
|
833
|
-
},
|
|
834
|
-
set: function (value) {
|
|
835
|
-
this.nativeElement ? this.nativeElement.modal = value : undefined;
|
|
836
|
-
},
|
|
837
|
-
enumerable: false,
|
|
838
|
-
configurable: true
|
|
839
|
-
});
|
|
840
|
-
Object.defineProperty(WindowComponent.prototype, "max", {
|
|
841
|
-
/** @description Applicable to TabsWindow when docked inside a DockingLayout Custom Element. Determines the max size of the item. Applicable to Progress Window by allowing the user to specify the maximum of the ProgressBar. */
|
|
842
|
-
get: function () {
|
|
843
|
-
return this.nativeElement ? this.nativeElement.max : undefined;
|
|
844
|
-
},
|
|
845
|
-
set: function (value) {
|
|
846
|
-
this.nativeElement ? this.nativeElement.max = value : undefined;
|
|
847
|
-
},
|
|
848
|
-
enumerable: false,
|
|
849
|
-
configurable: true
|
|
850
|
-
});
|
|
851
|
-
Object.defineProperty(WindowComponent.prototype, "min", {
|
|
852
|
-
/** @description Applicable to TabsWindow when docked inside DockingLayout Custom Element. Determines the min size of the item. Applicable to Progress Window by allowing the user to specify the minimu of the ProgressBar. */
|
|
853
|
-
get: function () {
|
|
854
|
-
return this.nativeElement ? this.nativeElement.min : undefined;
|
|
855
|
-
},
|
|
856
|
-
set: function (value) {
|
|
857
|
-
this.nativeElement ? this.nativeElement.min = value : undefined;
|
|
858
|
-
},
|
|
859
|
-
enumerable: false,
|
|
860
|
-
configurable: true
|
|
861
|
-
});
|
|
862
|
-
Object.defineProperty(WindowComponent.prototype, "minimized", {
|
|
863
|
-
/** @description Determines if the window is minimized or not. When minimized the window is docked at the bottom left corner of the viewport. */
|
|
864
|
-
get: function () {
|
|
865
|
-
return this.nativeElement ? this.nativeElement.minimized : undefined;
|
|
866
|
-
},
|
|
867
|
-
set: function (value) {
|
|
868
|
-
this.nativeElement ? this.nativeElement.minimized = value : undefined;
|
|
869
|
-
},
|
|
870
|
-
enumerable: false,
|
|
871
|
-
configurable: true
|
|
872
|
-
});
|
|
873
|
-
Object.defineProperty(WindowComponent.prototype, "maxLength", {
|
|
874
|
-
/** @description Sets or gets the maximum number of characters that the user can enter. Applicable to Prompt/MultilinePrompt Window. */
|
|
875
|
-
get: function () {
|
|
876
|
-
return this.nativeElement ? this.nativeElement.maxLength : undefined;
|
|
877
|
-
},
|
|
878
|
-
set: function (value) {
|
|
879
|
-
this.nativeElement ? this.nativeElement.maxLength = value : undefined;
|
|
880
|
-
},
|
|
881
|
-
enumerable: false,
|
|
882
|
-
configurable: true
|
|
883
|
-
});
|
|
884
|
-
Object.defineProperty(WindowComponent.prototype, "minLength", {
|
|
885
|
-
/** @description Sets or gets the minimum number of characters that the user have to enter to trigger the auto complete functionality. Applicable to Prompt/MultilinePrompt Window. */
|
|
886
|
-
get: function () {
|
|
887
|
-
return this.nativeElement ? this.nativeElement.minLength : undefined;
|
|
888
|
-
},
|
|
889
|
-
set: function (value) {
|
|
890
|
-
this.nativeElement ? this.nativeElement.minLength = value : undefined;
|
|
891
|
-
},
|
|
892
|
-
enumerable: false,
|
|
893
|
-
configurable: true
|
|
894
|
-
});
|
|
895
|
-
Object.defineProperty(WindowComponent.prototype, "opened", {
|
|
896
|
-
/** @description Determines if the window is visible or not. */
|
|
897
|
-
get: function () {
|
|
898
|
-
return this.nativeElement ? this.nativeElement.opened : undefined;
|
|
899
|
-
},
|
|
900
|
-
set: function (value) {
|
|
901
|
-
this.nativeElement ? this.nativeElement.opened = value : undefined;
|
|
902
|
-
},
|
|
903
|
-
enumerable: false,
|
|
904
|
-
configurable: true
|
|
905
|
-
});
|
|
906
|
-
Object.defineProperty(WindowComponent.prototype, "pinned", {
|
|
907
|
-
/** @description Determines if the window is pinned or not. Pinned window is a window that can't be dragged but can be resized. */
|
|
908
|
-
get: function () {
|
|
909
|
-
return this.nativeElement ? this.nativeElement.pinned : undefined;
|
|
910
|
-
},
|
|
911
|
-
set: function (value) {
|
|
912
|
-
this.nativeElement ? this.nativeElement.pinned = value : undefined;
|
|
913
|
-
},
|
|
914
|
-
enumerable: false,
|
|
915
|
-
configurable: true
|
|
916
|
-
});
|
|
917
|
-
Object.defineProperty(WindowComponent.prototype, "placeholder", {
|
|
918
|
-
/** @description Determines the input's placeholder. Applicable to Prompt Window. */
|
|
919
|
-
get: function () {
|
|
920
|
-
return this.nativeElement ? this.nativeElement.placeholder : undefined;
|
|
921
|
-
},
|
|
922
|
-
set: function (value) {
|
|
923
|
-
this.nativeElement ? this.nativeElement.placeholder = value : undefined;
|
|
924
|
-
},
|
|
925
|
-
enumerable: false,
|
|
926
|
-
configurable: true
|
|
927
|
-
});
|
|
928
|
-
Object.defineProperty(WindowComponent.prototype, "promptLabel", {
|
|
929
|
-
/** @description Determines the label for the Input insinde the PromptWindow. */
|
|
930
|
-
get: function () {
|
|
931
|
-
return this.nativeElement ? this.nativeElement.promptLabel : undefined;
|
|
932
|
-
},
|
|
933
|
-
set: function (value) {
|
|
934
|
-
this.nativeElement ? this.nativeElement.promptLabel = value : undefined;
|
|
935
|
-
},
|
|
936
|
-
enumerable: false,
|
|
937
|
-
configurable: true
|
|
938
|
-
});
|
|
939
|
-
Object.defineProperty(WindowComponent.prototype, "readonly", {
|
|
940
|
-
/** @description If the element is readonly, users cannot interact with it. */
|
|
941
|
-
get: function () {
|
|
942
|
-
return this.nativeElement ? this.nativeElement.readonly : undefined;
|
|
943
|
-
},
|
|
944
|
-
set: function (value) {
|
|
945
|
-
this.nativeElement ? this.nativeElement.readonly = value : undefined;
|
|
946
|
-
},
|
|
947
|
-
enumerable: false,
|
|
948
|
-
configurable: true
|
|
949
|
-
});
|
|
950
|
-
Object.defineProperty(WindowComponent.prototype, "resizeIndicator", {
|
|
951
|
-
/** @description When applied a resize indicator is displayed in the bottom right corner of the window and resizing operation can be initiated only from its position. */
|
|
952
|
-
get: function () {
|
|
953
|
-
return this.nativeElement ? this.nativeElement.resizeIndicator : undefined;
|
|
954
|
-
},
|
|
955
|
-
set: function (value) {
|
|
956
|
-
this.nativeElement ? this.nativeElement.resizeIndicator = value : undefined;
|
|
957
|
-
},
|
|
958
|
-
enumerable: false,
|
|
959
|
-
configurable: true
|
|
960
|
-
});
|
|
961
|
-
Object.defineProperty(WindowComponent.prototype, "resizeMode", {
|
|
962
|
-
/** @description Determines the resizing mode of the window. Several modes are available: none - resizing is disabled. vertical - vertical resizing is allowed. horizontal - horizontal resizing is allowed. both - horizontal and vertical resizing is allowed. top - the window can only be resized from the top side. bottom - the window is resizable only from the bottom side. left - the window can be resized only from the left side. right - the window can be resized only from the right side. */
|
|
963
|
-
get: function () {
|
|
964
|
-
return this.nativeElement ? this.nativeElement.resizeMode : undefined;
|
|
965
|
-
},
|
|
966
|
-
set: function (value) {
|
|
967
|
-
this.nativeElement ? this.nativeElement.resizeMode = value : undefined;
|
|
968
|
-
},
|
|
969
|
-
enumerable: false,
|
|
970
|
-
configurable: true
|
|
971
|
-
});
|
|
972
|
-
Object.defineProperty(WindowComponent.prototype, "rightToLeft", {
|
|
973
|
-
/** @description Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts. */
|
|
974
|
-
get: function () {
|
|
975
|
-
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
|
|
976
|
-
},
|
|
977
|
-
set: function (value) {
|
|
978
|
-
this.nativeElement ? this.nativeElement.rightToLeft = value : undefined;
|
|
979
|
-
},
|
|
980
|
-
enumerable: false,
|
|
981
|
-
configurable: true
|
|
982
|
-
});
|
|
983
|
-
Object.defineProperty(WindowComponent.prototype, "required", {
|
|
984
|
-
/** @description Specifies that the user must fill the input before submitting a form with the text box.Applicable to Prompt Window. */
|
|
985
|
-
get: function () {
|
|
986
|
-
return this.nativeElement ? this.nativeElement.required : undefined;
|
|
987
|
-
},
|
|
988
|
-
set: function (value) {
|
|
989
|
-
this.nativeElement ? this.nativeElement.required = value : undefined;
|
|
990
|
-
},
|
|
991
|
-
enumerable: false,
|
|
992
|
-
configurable: true
|
|
993
|
-
});
|
|
994
|
-
Object.defineProperty(WindowComponent.prototype, "requiredMessage", {
|
|
995
|
-
/** @description Specifies the message that will appear if required is set and no value is provided in the input. Applicable to Prompt Window. */
|
|
996
|
-
get: function () {
|
|
997
|
-
return this.nativeElement ? this.nativeElement.requiredMessage : undefined;
|
|
998
|
-
},
|
|
999
|
-
set: function (value) {
|
|
1000
|
-
this.nativeElement ? this.nativeElement.requiredMessage = value : undefined;
|
|
1001
|
-
},
|
|
1002
|
-
enumerable: false,
|
|
1003
|
-
configurable: true
|
|
1004
|
-
});
|
|
1005
|
-
Object.defineProperty(WindowComponent.prototype, "selectAllOnFocus", {
|
|
1006
|
-
/** @description Determines whether the content of the input will be selected on focus or not. Applicable to Prompt Window. */
|
|
1007
|
-
get: function () {
|
|
1008
|
-
return this.nativeElement ? this.nativeElement.selectAllOnFocus : undefined;
|
|
1009
|
-
},
|
|
1010
|
-
set: function (value) {
|
|
1011
|
-
this.nativeElement ? this.nativeElement.selectAllOnFocus = value : undefined;
|
|
1012
|
-
},
|
|
1013
|
-
enumerable: false,
|
|
1014
|
-
configurable: true
|
|
1015
|
-
});
|
|
1016
|
-
Object.defineProperty(WindowComponent.prototype, "selectedIndex", {
|
|
1017
|
-
/** @description Sets or gets which tab is selected. Applicable only to TabsWindow. */
|
|
1018
|
-
get: function () {
|
|
1019
|
-
return this.nativeElement ? this.nativeElement.selectedIndex : undefined;
|
|
1020
|
-
},
|
|
1021
|
-
set: function (value) {
|
|
1022
|
-
this.nativeElement ? this.nativeElement.selectedIndex = value : undefined;
|
|
1023
|
-
},
|
|
1024
|
-
enumerable: false,
|
|
1025
|
-
configurable: true
|
|
1026
|
-
});
|
|
1027
|
-
Object.defineProperty(WindowComponent.prototype, "selectionMode", {
|
|
1028
|
-
/** @description Determines the way the user can switch between tabs. Applicable only to TabsWindow. */
|
|
1029
|
-
get: function () {
|
|
1030
|
-
return this.nativeElement ? this.nativeElement.selectionMode : undefined;
|
|
1031
|
-
},
|
|
1032
|
-
set: function (value) {
|
|
1033
|
-
this.nativeElement ? this.nativeElement.selectionMode = value : undefined;
|
|
1034
|
-
},
|
|
1035
|
-
enumerable: false,
|
|
1036
|
-
configurable: true
|
|
1037
|
-
});
|
|
1038
|
-
Object.defineProperty(WindowComponent.prototype, "selectionEnd", {
|
|
1039
|
-
/** @description Indicates the index of the last character in the current selection. Applicable only to MultilinePromptWindow. */
|
|
1040
|
-
get: function () {
|
|
1041
|
-
return this.nativeElement ? this.nativeElement.selectionEnd : undefined;
|
|
1042
|
-
},
|
|
1043
|
-
set: function (value) {
|
|
1044
|
-
this.nativeElement ? this.nativeElement.selectionEnd = value : undefined;
|
|
1045
|
-
},
|
|
1046
|
-
enumerable: false,
|
|
1047
|
-
configurable: true
|
|
1048
|
-
});
|
|
1049
|
-
Object.defineProperty(WindowComponent.prototype, "selectionStart", {
|
|
1050
|
-
/** @description Indicates the index to the first character in the current selection. Applicable only to MultilinePromptWindow. */
|
|
1051
|
-
get: function () {
|
|
1052
|
-
return this.nativeElement ? this.nativeElement.selectionStart : undefined;
|
|
1053
|
-
},
|
|
1054
|
-
set: function (value) {
|
|
1055
|
-
this.nativeElement ? this.nativeElement.selectionStart = value : undefined;
|
|
1056
|
-
},
|
|
1057
|
-
enumerable: false,
|
|
1058
|
-
configurable: true
|
|
1059
|
-
});
|
|
1060
|
-
Object.defineProperty(WindowComponent.prototype, "showProgressValue", {
|
|
1061
|
-
/** @description Enables/Disabled the label for the Progress Bar. Applicable only to Progress Window. */
|
|
1062
|
-
get: function () {
|
|
1063
|
-
return this.nativeElement ? this.nativeElement.showProgressValue : undefined;
|
|
1064
|
-
},
|
|
1065
|
-
set: function (value) {
|
|
1066
|
-
this.nativeElement ? this.nativeElement.showProgressValue = value : undefined;
|
|
1067
|
-
},
|
|
1068
|
-
enumerable: false,
|
|
1069
|
-
configurable: true
|
|
1070
|
-
});
|
|
1071
|
-
Object.defineProperty(WindowComponent.prototype, "siblings", {
|
|
1072
|
-
/** @description A getter that returns the siblings (that share the same parent) of a LayoutPanel item that is docked inside a DockingLayout. The siblings are also DockingLayout items ( LayoutPanels).Applicable only to TabsWindow when docked inside a DockingLayout. */
|
|
1073
|
-
get: function () {
|
|
1074
|
-
return this.nativeElement ? this.nativeElement.siblings : undefined;
|
|
1075
|
-
},
|
|
1076
|
-
set: function (value) {
|
|
1077
|
-
this.nativeElement ? this.nativeElement.siblings = value : undefined;
|
|
1078
|
-
},
|
|
1079
|
-
enumerable: false,
|
|
1080
|
-
configurable: true
|
|
1081
|
-
});
|
|
1082
|
-
Object.defineProperty(WindowComponent.prototype, "size", {
|
|
1083
|
-
/** @description Applicable to TabsWindow when nested inside a DockingLayout Custom Element. Determines the size of the item. */
|
|
1084
|
-
get: function () {
|
|
1085
|
-
return this.nativeElement ? this.nativeElement.size : undefined;
|
|
1086
|
-
},
|
|
1087
|
-
set: function (value) {
|
|
1088
|
-
this.nativeElement ? this.nativeElement.size = value : undefined;
|
|
1089
|
-
},
|
|
1090
|
-
enumerable: false,
|
|
1091
|
-
configurable: true
|
|
1092
|
-
});
|
|
1093
|
-
Object.defineProperty(WindowComponent.prototype, "spellCheck", {
|
|
1094
|
-
/** @description Specifies whether the element is to have its spelling and grammar checked or not. Applicable only to MultilinePromptWindow. */
|
|
1095
|
-
get: function () {
|
|
1096
|
-
return this.nativeElement ? this.nativeElement.spellCheck : undefined;
|
|
1097
|
-
},
|
|
1098
|
-
set: function (value) {
|
|
1099
|
-
this.nativeElement ? this.nativeElement.spellCheck = value : undefined;
|
|
1100
|
-
},
|
|
1101
|
-
enumerable: false,
|
|
1102
|
-
configurable: true
|
|
1103
|
-
});
|
|
1104
|
-
Object.defineProperty(WindowComponent.prototype, "tabCloseButtons", {
|
|
1105
|
-
/** @description Sets or gets whether close buttons are displayed inside the Tab Strip of the TabsWindow. Applicable only to TabsWindow. */
|
|
1106
|
-
get: function () {
|
|
1107
|
-
return this.nativeElement ? this.nativeElement.tabCloseButtons : undefined;
|
|
1108
|
-
},
|
|
1109
|
-
set: function (value) {
|
|
1110
|
-
this.nativeElement ? this.nativeElement.tabCloseButtons = value : undefined;
|
|
1111
|
-
},
|
|
1112
|
-
enumerable: false,
|
|
1113
|
-
configurable: true
|
|
1114
|
-
});
|
|
1115
|
-
Object.defineProperty(WindowComponent.prototype, "tabCloseButtonMode", {
|
|
1116
|
-
/** @description Determines if the close button is visible on select or always. Applicable only to TabsWindow. */
|
|
1117
|
-
get: function () {
|
|
1118
|
-
return this.nativeElement ? this.nativeElement.tabCloseButtonMode : undefined;
|
|
1119
|
-
},
|
|
1120
|
-
set: function (value) {
|
|
1121
|
-
this.nativeElement ? this.nativeElement.tabCloseButtonMode = value : undefined;
|
|
1122
|
-
},
|
|
1123
|
-
enumerable: false,
|
|
1124
|
-
configurable: true
|
|
1125
|
-
});
|
|
1126
|
-
Object.defineProperty(WindowComponent.prototype, "tabOverflow", {
|
|
1127
|
-
/** @description Sets or gets the Tabs scroll buttons behavior. Applicable only when tabLayout is 'scroll'. Applicable only to TabsWindow. */
|
|
1128
|
-
get: function () {
|
|
1129
|
-
return this.nativeElement ? this.nativeElement.tabOverflow : undefined;
|
|
1130
|
-
},
|
|
1131
|
-
set: function (value) {
|
|
1132
|
-
this.nativeElement ? this.nativeElement.tabOverflow = value : undefined;
|
|
1133
|
-
},
|
|
1134
|
-
enumerable: false,
|
|
1135
|
-
configurable: true
|
|
1136
|
-
});
|
|
1137
|
-
Object.defineProperty(WindowComponent.prototype, "tabPosition", {
|
|
1138
|
-
/** @description Detetmines Tab Strip is positioned of the TabsWindow. Applicable only to TabsWindow. */
|
|
1139
|
-
get: function () {
|
|
1140
|
-
return this.nativeElement ? this.nativeElement.tabPosition : undefined;
|
|
1141
|
-
},
|
|
1142
|
-
set: function (value) {
|
|
1143
|
-
this.nativeElement ? this.nativeElement.tabPosition = value : undefined;
|
|
1144
|
-
},
|
|
1145
|
-
enumerable: false,
|
|
1146
|
-
configurable: true
|
|
1147
|
-
});
|
|
1148
|
-
Object.defineProperty(WindowComponent.prototype, "tabScrollButtonsPosition", {
|
|
1149
|
-
/** @description Sets or gets the position of the scroll buttons inside the Tab header of the TabsWindow. Applicable only to TabsWindow. */
|
|
1150
|
-
get: function () {
|
|
1151
|
-
return this.nativeElement ? this.nativeElement.tabScrollButtonsPosition : undefined;
|
|
1152
|
-
},
|
|
1153
|
-
set: function (value) {
|
|
1154
|
-
this.nativeElement ? this.nativeElement.tabScrollButtonsPosition = value : undefined;
|
|
1155
|
-
},
|
|
1156
|
-
enumerable: false,
|
|
1157
|
-
configurable: true
|
|
1158
|
-
});
|
|
1159
|
-
Object.defineProperty(WindowComponent.prototype, "tabTextOrientation", {
|
|
1160
|
-
/** @description Sets or gets the orientation of the text in the tabs labels of the TabsWindow. Applicable only to TabsWindow. */
|
|
1161
|
-
get: function () {
|
|
1162
|
-
return this.nativeElement ? this.nativeElement.tabTextOrientation : undefined;
|
|
1163
|
-
},
|
|
1164
|
-
set: function (value) {
|
|
1165
|
-
this.nativeElement ? this.nativeElement.tabTextOrientation = value : undefined;
|
|
1166
|
-
},
|
|
1167
|
-
enumerable: false,
|
|
1168
|
-
configurable: true
|
|
1169
|
-
});
|
|
1170
|
-
Object.defineProperty(WindowComponent.prototype, "theme", {
|
|
1171
|
-
/** @description Determines the theme. Theme defines the look of the element */
|
|
1172
|
-
get: function () {
|
|
1173
|
-
return this.nativeElement ? this.nativeElement.theme : undefined;
|
|
1174
|
-
},
|
|
1175
|
-
set: function (value) {
|
|
1176
|
-
this.nativeElement ? this.nativeElement.theme = value : undefined;
|
|
1177
|
-
},
|
|
1178
|
-
enumerable: false,
|
|
1179
|
-
configurable: true
|
|
1180
|
-
});
|
|
1181
|
-
Object.defineProperty(WindowComponent.prototype, "unfocusable", {
|
|
1182
|
-
/** @description If is set to true, the element cannot be focused. */
|
|
1183
|
-
get: function () {
|
|
1184
|
-
return this.nativeElement ? this.nativeElement.unfocusable : undefined;
|
|
1185
|
-
},
|
|
1186
|
-
set: function (value) {
|
|
1187
|
-
this.nativeElement ? this.nativeElement.unfocusable = value : undefined;
|
|
1188
|
-
},
|
|
1189
|
-
enumerable: false,
|
|
1190
|
-
configurable: true
|
|
1191
|
-
});
|
|
1192
|
-
Object.defineProperty(WindowComponent.prototype, "value", {
|
|
1193
|
-
/** @description Determines the value of the TextBox/ProgressBar inside the Dialog/Prompt/Progress Window */
|
|
1194
|
-
get: function () {
|
|
1195
|
-
return this.nativeElement ? this.nativeElement.value : undefined;
|
|
1196
|
-
},
|
|
1197
|
-
set: function (value) {
|
|
1198
|
-
this.nativeElement ? this.nativeElement.value = value : undefined;
|
|
1199
|
-
},
|
|
1200
|
-
enumerable: false,
|
|
1201
|
-
configurable: true
|
|
1202
|
-
});
|
|
1203
|
-
Object.defineProperty(WindowComponent.prototype, "windowParent", {
|
|
1204
|
-
/** @description Determines the actual parent of the element. The window can size and move only in the area of that element. */
|
|
1205
|
-
get: function () {
|
|
1206
|
-
return this.nativeElement ? this.nativeElement.windowParent : undefined;
|
|
1207
|
-
},
|
|
1208
|
-
set: function (value) {
|
|
1209
|
-
this.nativeElement ? this.nativeElement.windowParent = value : undefined;
|
|
1210
|
-
},
|
|
1211
|
-
enumerable: false,
|
|
1212
|
-
configurable: true
|
|
1213
|
-
});
|
|
1214
|
-
Object.defineProperty(WindowComponent.prototype, "wrap", {
|
|
1215
|
-
/** @description Indicates how the input wraps text. Applicable only to MultilinePromptWindow. */
|
|
1216
|
-
get: function () {
|
|
1217
|
-
return this.nativeElement ? this.nativeElement.wrap : undefined;
|
|
1218
|
-
},
|
|
1219
|
-
set: function (value) {
|
|
1220
|
-
this.nativeElement ? this.nativeElement.wrap = value : undefined;
|
|
1221
|
-
},
|
|
1222
|
-
enumerable: false,
|
|
1223
|
-
configurable: true
|
|
1224
|
-
});
|
|
1225
|
-
/** @description Appends a tabitem to the end of the list of tab items inside element.
|
|
1226
|
-
* @param {Node} node. A TabItem element that should be added to the rest of the items as the last item.
|
|
1227
|
-
* @returns {Node}
|
|
1228
|
-
*/
|
|
1229
|
-
WindowComponent.prototype.appendChild = function (node) {
|
|
1230
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1231
|
-
var getResultOnRender, result;
|
|
1232
|
-
var _this = this;
|
|
1233
|
-
return __generator(this, function (_a) {
|
|
1234
|
-
switch (_a.label) {
|
|
1235
|
-
case 0:
|
|
1236
|
-
getResultOnRender = function () {
|
|
1237
|
-
return new Promise(function (resolve) {
|
|
1238
|
-
_this.nativeElement.whenRendered(function () {
|
|
1239
|
-
var result = _this.nativeElement.appendChild(node);
|
|
1240
|
-
resolve(result);
|
|
1241
|
-
});
|
|
1242
|
-
});
|
|
1243
|
-
};
|
|
1244
|
-
return [4 /*yield*/, getResultOnRender()];
|
|
1245
|
-
case 1:
|
|
1246
|
-
result = _a.sent();
|
|
1247
|
-
return [2 /*return*/, result];
|
|
1248
|
-
}
|
|
1249
|
-
});
|
|
1250
|
-
});
|
|
1251
|
-
};
|
|
1252
|
-
/** @description Sets the window to the top level so the user can interact with it.
|
|
1253
|
-
*/
|
|
1254
|
-
WindowComponent.prototype.bringToFront = function () {
|
|
1255
|
-
var _this = this;
|
|
1256
|
-
if (this.nativeElement.isRendered) {
|
|
1257
|
-
this.nativeElement.bringToFront();
|
|
1258
|
-
}
|
|
1259
|
-
else {
|
|
1260
|
-
this.nativeElement.whenRendered(function () {
|
|
1261
|
-
_this.nativeElement.bringToFront();
|
|
1262
|
-
});
|
|
1263
|
-
}
|
|
1264
|
-
};
|
|
1265
|
-
/** @description Clears the content of the Window.
|
|
1266
|
-
*/
|
|
1267
|
-
WindowComponent.prototype.clear = function () {
|
|
1268
|
-
var _this = this;
|
|
1269
|
-
if (this.nativeElement.isRendered) {
|
|
1270
|
-
this.nativeElement.clear();
|
|
1271
|
-
}
|
|
1272
|
-
else {
|
|
1273
|
-
this.nativeElement.whenRendered(function () {
|
|
1274
|
-
_this.nativeElement.clear();
|
|
1275
|
-
});
|
|
1276
|
-
}
|
|
1277
|
-
};
|
|
1278
|
-
/** @description Closes the window.
|
|
1279
|
-
*/
|
|
1280
|
-
WindowComponent.prototype.close = function () {
|
|
1281
|
-
var _this = this;
|
|
1282
|
-
if (this.nativeElement.isRendered) {
|
|
1283
|
-
this.nativeElement.close();
|
|
1284
|
-
}
|
|
1285
|
-
else {
|
|
1286
|
-
this.nativeElement.whenRendered(function () {
|
|
1287
|
-
_this.nativeElement.close();
|
|
1288
|
-
});
|
|
1289
|
-
}
|
|
1290
|
-
};
|
|
1291
|
-
/** @description Collapses the window.
|
|
1292
|
-
* @returns {HTMLElement}
|
|
1293
|
-
*/
|
|
1294
|
-
WindowComponent.prototype.collapse = function () {
|
|
1295
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1296
|
-
var getResultOnRender, result;
|
|
1297
|
-
var _this = this;
|
|
1298
|
-
return __generator(this, function (_a) {
|
|
1299
|
-
switch (_a.label) {
|
|
1300
|
-
case 0:
|
|
1301
|
-
getResultOnRender = function () {
|
|
1302
|
-
return new Promise(function (resolve) {
|
|
1303
|
-
_this.nativeElement.whenRendered(function () {
|
|
1304
|
-
var result = _this.nativeElement.collapse();
|
|
1305
|
-
resolve(result);
|
|
1306
|
-
});
|
|
1307
|
-
});
|
|
1308
|
-
};
|
|
1309
|
-
return [4 /*yield*/, getResultOnRender()];
|
|
1310
|
-
case 1:
|
|
1311
|
-
result = _a.sent();
|
|
1312
|
-
return [2 /*return*/, result];
|
|
1313
|
-
}
|
|
1314
|
-
});
|
|
1315
|
-
});
|
|
1316
|
-
};
|
|
1317
|
-
/** @description Makes sure a tab item is visible by scrolling to it. Applicable only to TabsWindow.
|
|
1318
|
-
* @param {number} index. The index of the tab to scroll to.
|
|
1319
|
-
*/
|
|
1320
|
-
WindowComponent.prototype.ensureVisible = function (index) {
|
|
1321
|
-
var _this = this;
|
|
1322
|
-
if (this.nativeElement.isRendered) {
|
|
1323
|
-
this.nativeElement.ensureVisible(index);
|
|
1324
|
-
}
|
|
1325
|
-
else {
|
|
1326
|
-
this.nativeElement.whenRendered(function () {
|
|
1327
|
-
_this.nativeElement.ensureVisible(index);
|
|
1328
|
-
});
|
|
1329
|
-
}
|
|
1330
|
-
};
|
|
1331
|
-
/** @description Expands the window after being collapsed.
|
|
1332
|
-
* @returns {any[]}
|
|
1333
|
-
*/
|
|
1334
|
-
WindowComponent.prototype.expand = function () {
|
|
1335
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1336
|
-
var getResultOnRender, result;
|
|
1337
|
-
var _this = this;
|
|
1338
|
-
return __generator(this, function (_a) {
|
|
1339
|
-
switch (_a.label) {
|
|
1340
|
-
case 0:
|
|
1341
|
-
getResultOnRender = function () {
|
|
1342
|
-
return new Promise(function (resolve) {
|
|
1343
|
-
_this.nativeElement.whenRendered(function () {
|
|
1344
|
-
var result = _this.nativeElement.expand();
|
|
1345
|
-
resolve(result);
|
|
1346
|
-
});
|
|
1347
|
-
});
|
|
1348
|
-
};
|
|
1349
|
-
return [4 /*yield*/, getResultOnRender()];
|
|
1350
|
-
case 1:
|
|
1351
|
-
result = _a.sent();
|
|
1352
|
-
return [2 /*return*/, result];
|
|
1353
|
-
}
|
|
1354
|
-
});
|
|
1355
|
-
});
|
|
1356
|
-
};
|
|
1357
|
-
/** @description Inserts a new tab and an associated content section. Applicable only to TabsWindow.
|
|
1358
|
-
* @param {number} index. The index to insert a new tab at.
|
|
1359
|
-
* @param {any} details. An Object with the fields "label", "labelSize", "content" and "group".
|
|
1360
|
-
*/
|
|
1361
|
-
WindowComponent.prototype.insert = function (index, details) {
|
|
1362
|
-
var _this = this;
|
|
1363
|
-
if (this.nativeElement.isRendered) {
|
|
1364
|
-
this.nativeElement.insert(index, details);
|
|
1365
|
-
}
|
|
1366
|
-
else {
|
|
1367
|
-
this.nativeElement.whenRendered(function () {
|
|
1368
|
-
_this.nativeElement.insert(index, details);
|
|
1369
|
-
});
|
|
1370
|
-
}
|
|
1371
|
-
};
|
|
1372
|
-
/** @description Inserts the specified "smart-tab-item" node before the reference "smart-tab-item" node. Applicable only to TabsWindow.
|
|
1373
|
-
* @param {Node} newNode. The "smart-tab-item" node to insert.
|
|
1374
|
-
* @param {Node | null} referenceNode?. The "smart-tab-item" node before which newNode is inserted.
|
|
1375
|
-
* @returns {Node}
|
|
1376
|
-
*/
|
|
1377
|
-
WindowComponent.prototype.insertBefore = function (newNode, referenceNode) {
|
|
1378
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1379
|
-
var getResultOnRender, result;
|
|
1380
|
-
var _this = this;
|
|
1381
|
-
return __generator(this, function (_a) {
|
|
1382
|
-
switch (_a.label) {
|
|
1383
|
-
case 0:
|
|
1384
|
-
getResultOnRender = function () {
|
|
1385
|
-
return new Promise(function (resolve) {
|
|
1386
|
-
_this.nativeElement.whenRendered(function () {
|
|
1387
|
-
var result = _this.nativeElement.insertBefore(newNode, referenceNode);
|
|
1388
|
-
resolve(result);
|
|
1389
|
-
});
|
|
1390
|
-
});
|
|
1391
|
-
};
|
|
1392
|
-
return [4 /*yield*/, getResultOnRender()];
|
|
1393
|
-
case 1:
|
|
1394
|
-
result = _a.sent();
|
|
1395
|
-
return [2 /*return*/, result];
|
|
1396
|
-
}
|
|
1397
|
-
});
|
|
1398
|
-
});
|
|
1399
|
-
};
|
|
1400
|
-
/** @description Removes a tab and its associated content section. Applicable only to TabsWindow.
|
|
1401
|
-
* @param {number} index. The index of the tab to remove.
|
|
1402
|
-
*/
|
|
1403
|
-
WindowComponent.prototype.removeAt = function (index) {
|
|
1404
|
-
var _this = this;
|
|
1405
|
-
if (this.nativeElement.isRendered) {
|
|
1406
|
-
this.nativeElement.removeAt(index);
|
|
1407
|
-
}
|
|
1408
|
-
else {
|
|
1409
|
-
this.nativeElement.whenRendered(function () {
|
|
1410
|
-
_this.nativeElement.removeAt(index);
|
|
1411
|
-
});
|
|
1412
|
-
}
|
|
1413
|
-
};
|
|
1414
|
-
/** @description Removes a child "smart-tab-item" node. Applicable only to TabsWindow.
|
|
1415
|
-
* @param {Node} node. The "smart-tab-item" node to remove.
|
|
1416
|
-
* @returns {Node}
|
|
1417
|
-
*/
|
|
1418
|
-
WindowComponent.prototype.removeChild = function (node) {
|
|
1419
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1420
|
-
var getResultOnRender, result;
|
|
1421
|
-
var _this = this;
|
|
1422
|
-
return __generator(this, function (_a) {
|
|
1423
|
-
switch (_a.label) {
|
|
1424
|
-
case 0:
|
|
1425
|
-
getResultOnRender = function () {
|
|
1426
|
-
return new Promise(function (resolve) {
|
|
1427
|
-
_this.nativeElement.whenRendered(function () {
|
|
1428
|
-
var result = _this.nativeElement.removeChild(node);
|
|
1429
|
-
resolve(result);
|
|
1430
|
-
});
|
|
1431
|
-
});
|
|
1432
|
-
};
|
|
1433
|
-
return [4 /*yield*/, getResultOnRender()];
|
|
1434
|
-
case 1:
|
|
1435
|
-
result = _a.sent();
|
|
1436
|
-
return [2 /*return*/, result];
|
|
1437
|
-
}
|
|
1438
|
-
});
|
|
1439
|
-
});
|
|
1440
|
-
};
|
|
1441
|
-
/** @description Maximizes the window to fill the area.
|
|
1442
|
-
*/
|
|
1443
|
-
WindowComponent.prototype.maximize = function () {
|
|
1444
|
-
var _this = this;
|
|
1445
|
-
if (this.nativeElement.isRendered) {
|
|
1446
|
-
this.nativeElement.maximize();
|
|
1447
|
-
}
|
|
1448
|
-
else {
|
|
1449
|
-
this.nativeElement.whenRendered(function () {
|
|
1450
|
-
_this.nativeElement.maximize();
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
};
|
|
1454
|
-
/** @description Minimizes the window.
|
|
1455
|
-
*/
|
|
1456
|
-
WindowComponent.prototype.minimize = function () {
|
|
1457
|
-
var _this = this;
|
|
1458
|
-
if (this.nativeElement.isRendered) {
|
|
1459
|
-
this.nativeElement.minimize();
|
|
1460
|
-
}
|
|
1461
|
-
else {
|
|
1462
|
-
this.nativeElement.whenRendered(function () {
|
|
1463
|
-
_this.nativeElement.minimize();
|
|
1464
|
-
});
|
|
1465
|
-
}
|
|
1466
|
-
};
|
|
1467
|
-
/** @description Opens the window
|
|
1468
|
-
*/
|
|
1469
|
-
WindowComponent.prototype.open = function () {
|
|
1470
|
-
var _this = this;
|
|
1471
|
-
if (this.nativeElement.isRendered) {
|
|
1472
|
-
this.nativeElement.open();
|
|
1473
|
-
}
|
|
1474
|
-
else {
|
|
1475
|
-
this.nativeElement.whenRendered(function () {
|
|
1476
|
-
_this.nativeElement.open();
|
|
1477
|
-
});
|
|
1478
|
-
}
|
|
1479
|
-
};
|
|
1480
|
-
/** @description Pins the window. Disables window dragging.
|
|
1481
|
-
*/
|
|
1482
|
-
WindowComponent.prototype.pin = function () {
|
|
1483
|
-
var _this = this;
|
|
1484
|
-
if (this.nativeElement.isRendered) {
|
|
1485
|
-
this.nativeElement.pin();
|
|
1486
|
-
}
|
|
1487
|
-
else {
|
|
1488
|
-
this.nativeElement.whenRendered(function () {
|
|
1489
|
-
_this.nativeElement.pin();
|
|
1490
|
-
});
|
|
1491
|
-
}
|
|
1492
|
-
};
|
|
1493
|
-
/** @description Restores the window to it's previous size before maximization/minimization.
|
|
1494
|
-
*/
|
|
1495
|
-
WindowComponent.prototype.restore = function () {
|
|
1496
|
-
var _this = this;
|
|
1497
|
-
if (this.nativeElement.isRendered) {
|
|
1498
|
-
this.nativeElement.restore();
|
|
1499
|
-
}
|
|
1500
|
-
else {
|
|
1501
|
-
this.nativeElement.whenRendered(function () {
|
|
1502
|
-
_this.nativeElement.restore();
|
|
1503
|
-
});
|
|
1504
|
-
}
|
|
1505
|
-
};
|
|
1506
|
-
/** @description Selects a tab. Applicalbe only to TabsWindow elements.
|
|
1507
|
-
* @param {number} index. The index of the tab to select.
|
|
1508
|
-
*/
|
|
1509
|
-
WindowComponent.prototype.select = function (index) {
|
|
1510
|
-
var _this = this;
|
|
1511
|
-
if (this.nativeElement.isRendered) {
|
|
1512
|
-
this.nativeElement.select(index);
|
|
1513
|
-
}
|
|
1514
|
-
else {
|
|
1515
|
-
this.nativeElement.whenRendered(function () {
|
|
1516
|
-
_this.nativeElement.select(index);
|
|
1517
|
-
});
|
|
1518
|
-
}
|
|
1519
|
-
};
|
|
1520
|
-
/** @description Unpins the window. Enables window dragging.
|
|
1521
|
-
*/
|
|
1522
|
-
WindowComponent.prototype.unpin = function () {
|
|
1523
|
-
var _this = this;
|
|
1524
|
-
if (this.nativeElement.isRendered) {
|
|
1525
|
-
this.nativeElement.unpin();
|
|
1526
|
-
}
|
|
1527
|
-
else {
|
|
1528
|
-
this.nativeElement.whenRendered(function () {
|
|
1529
|
-
_this.nativeElement.unpin();
|
|
1530
|
-
});
|
|
1531
|
-
}
|
|
1532
|
-
};
|
|
1533
|
-
/** @description Updates a tab and its associated content section. Applicalbe only to TabsWindow elements.
|
|
1534
|
-
* @param {number} index. The index of the tab to update.
|
|
1535
|
-
* @param {string} label. The new label of the tab. The value can be the id of an HTMLTemplateElement
|
|
1536
|
-
* @param {string | HTMLElement} content. The new content of the tab.
|
|
1537
|
-
*/
|
|
1538
|
-
WindowComponent.prototype.update = function (index, label, content) {
|
|
1539
|
-
var _this = this;
|
|
1540
|
-
if (this.nativeElement.isRendered) {
|
|
1541
|
-
this.nativeElement.update(index, label, content);
|
|
1542
|
-
}
|
|
1543
|
-
else {
|
|
1544
|
-
this.nativeElement.whenRendered(function () {
|
|
1545
|
-
_this.nativeElement.update(index, label, content);
|
|
1546
|
-
});
|
|
1547
|
-
}
|
|
1548
|
-
};
|
|
1549
|
-
Object.defineProperty(WindowComponent.prototype, "isRendered", {
|
|
1550
|
-
get: function () {
|
|
1551
|
-
return this.nativeElement ? this.nativeElement.isRendered : false;
|
|
1552
|
-
},
|
|
1553
|
-
enumerable: false,
|
|
1554
|
-
configurable: true
|
|
1555
|
-
});
|
|
1556
|
-
WindowComponent.prototype.ngOnInit = function () {
|
|
1557
|
-
};
|
|
1558
|
-
WindowComponent.prototype.ngAfterViewInit = function () {
|
|
1559
|
-
var that = this;
|
|
1560
|
-
that.onCreate.emit(that.nativeElement);
|
|
1561
|
-
Smart.Render();
|
|
1562
|
-
this.nativeElement.classList.add('smart-angular');
|
|
1563
|
-
this.nativeElement.whenRendered(function () { that.onReady.emit(that.nativeElement); });
|
|
1564
|
-
this.listen();
|
|
1565
|
-
};
|
|
1566
|
-
WindowComponent.prototype.ngOnDestroy = function () {
|
|
1567
|
-
this.unlisten();
|
|
1568
|
-
};
|
|
1569
|
-
WindowComponent.prototype.ngOnChanges = function (changes) {
|
|
1570
|
-
if (this.nativeElement && this.nativeElement.isRendered) {
|
|
1571
|
-
for (var propName in changes) {
|
|
1572
|
-
if (changes.hasOwnProperty(propName)) {
|
|
1573
|
-
this.nativeElement[propName] = changes[propName].currentValue;
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
};
|
|
1578
|
-
/** @description Add event listeners. */
|
|
1579
|
-
WindowComponent.prototype.listen = function () {
|
|
1580
|
-
var that = this;
|
|
1581
|
-
that.eventHandlers['openingHandler'] = function (event) { that.onOpening.emit(event); };
|
|
1582
|
-
that.nativeElement.addEventListener('opening', that.eventHandlers['openingHandler']);
|
|
1583
|
-
that.eventHandlers['openHandler'] = function (event) { that.onOpen.emit(event); };
|
|
1584
|
-
that.nativeElement.addEventListener('open', that.eventHandlers['openHandler']);
|
|
1585
|
-
that.eventHandlers['closingHandler'] = function (event) { that.onClosing.emit(event); };
|
|
1586
|
-
that.nativeElement.addEventListener('closing', that.eventHandlers['closingHandler']);
|
|
1587
|
-
that.eventHandlers['closeHandler'] = function (event) { that.onClose.emit(event); };
|
|
1588
|
-
that.nativeElement.addEventListener('close', that.eventHandlers['closeHandler']);
|
|
1589
|
-
that.eventHandlers['collapseHandler'] = function (event) { that.onCollapse.emit(event); };
|
|
1590
|
-
that.nativeElement.addEventListener('collapse', that.eventHandlers['collapseHandler']);
|
|
1591
|
-
that.eventHandlers['dragEndHandler'] = function (event) { that.onDragEnd.emit(event); };
|
|
1592
|
-
that.nativeElement.addEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
|
|
1593
|
-
that.eventHandlers['dragStartHandler'] = function (event) { that.onDragStart.emit(event); };
|
|
1594
|
-
that.nativeElement.addEventListener('dragStart', that.eventHandlers['dragStartHandler']);
|
|
1595
|
-
that.eventHandlers['expandHandler'] = function (event) { that.onExpand.emit(event); };
|
|
1596
|
-
that.nativeElement.addEventListener('expand', that.eventHandlers['expandHandler']);
|
|
1597
|
-
that.eventHandlers['maximizeHandler'] = function (event) { that.onMaximize.emit(event); };
|
|
1598
|
-
that.nativeElement.addEventListener('maximize', that.eventHandlers['maximizeHandler']);
|
|
1599
|
-
that.eventHandlers['minimizeHandler'] = function (event) { that.onMinimize.emit(event); };
|
|
1600
|
-
that.nativeElement.addEventListener('minimize', that.eventHandlers['minimizeHandler']);
|
|
1601
|
-
that.eventHandlers['resizeEndHandler'] = function (event) { that.onResizeEnd.emit(event); };
|
|
1602
|
-
that.nativeElement.addEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);
|
|
1603
|
-
that.eventHandlers['resizeStartHandler'] = function (event) { that.onResizeStart.emit(event); };
|
|
1604
|
-
that.nativeElement.addEventListener('resizeStart', that.eventHandlers['resizeStartHandler']);
|
|
1605
|
-
that.eventHandlers['restoreHandler'] = function (event) { that.onRestore.emit(event); };
|
|
1606
|
-
that.nativeElement.addEventListener('restore', that.eventHandlers['restoreHandler']);
|
|
1607
|
-
};
|
|
1608
|
-
/** @description Remove event listeners. */
|
|
1609
|
-
WindowComponent.prototype.unlisten = function () {
|
|
1610
|
-
var that = this;
|
|
1611
|
-
if (that.eventHandlers['openingHandler']) {
|
|
1612
|
-
that.nativeElement.removeEventListener('opening', that.eventHandlers['openingHandler']);
|
|
1613
|
-
}
|
|
1614
|
-
if (that.eventHandlers['openHandler']) {
|
|
1615
|
-
that.nativeElement.removeEventListener('open', that.eventHandlers['openHandler']);
|
|
1616
|
-
}
|
|
1617
|
-
if (that.eventHandlers['closingHandler']) {
|
|
1618
|
-
that.nativeElement.removeEventListener('closing', that.eventHandlers['closingHandler']);
|
|
1619
|
-
}
|
|
1620
|
-
if (that.eventHandlers['closeHandler']) {
|
|
1621
|
-
that.nativeElement.removeEventListener('close', that.eventHandlers['closeHandler']);
|
|
1622
|
-
}
|
|
1623
|
-
if (that.eventHandlers['collapseHandler']) {
|
|
1624
|
-
that.nativeElement.removeEventListener('collapse', that.eventHandlers['collapseHandler']);
|
|
1625
|
-
}
|
|
1626
|
-
if (that.eventHandlers['dragEndHandler']) {
|
|
1627
|
-
that.nativeElement.removeEventListener('dragEnd', that.eventHandlers['dragEndHandler']);
|
|
1628
|
-
}
|
|
1629
|
-
if (that.eventHandlers['dragStartHandler']) {
|
|
1630
|
-
that.nativeElement.removeEventListener('dragStart', that.eventHandlers['dragStartHandler']);
|
|
1631
|
-
}
|
|
1632
|
-
if (that.eventHandlers['expandHandler']) {
|
|
1633
|
-
that.nativeElement.removeEventListener('expand', that.eventHandlers['expandHandler']);
|
|
1634
|
-
}
|
|
1635
|
-
if (that.eventHandlers['maximizeHandler']) {
|
|
1636
|
-
that.nativeElement.removeEventListener('maximize', that.eventHandlers['maximizeHandler']);
|
|
1637
|
-
}
|
|
1638
|
-
if (that.eventHandlers['minimizeHandler']) {
|
|
1639
|
-
that.nativeElement.removeEventListener('minimize', that.eventHandlers['minimizeHandler']);
|
|
1640
|
-
}
|
|
1641
|
-
if (that.eventHandlers['resizeEndHandler']) {
|
|
1642
|
-
that.nativeElement.removeEventListener('resizeEnd', that.eventHandlers['resizeEndHandler']);
|
|
1643
|
-
}
|
|
1644
|
-
if (that.eventHandlers['resizeStartHandler']) {
|
|
1645
|
-
that.nativeElement.removeEventListener('resizeStart', that.eventHandlers['resizeStartHandler']);
|
|
1646
|
-
}
|
|
1647
|
-
if (that.eventHandlers['restoreHandler']) {
|
|
1648
|
-
that.nativeElement.removeEventListener('restore', that.eventHandlers['restoreHandler']);
|
|
1649
|
-
}
|
|
1650
|
-
};
|
|
1651
|
-
return WindowComponent;
|
|
1652
|
-
}(BaseElement));
|
|
1653
|
-
WindowComponent.decorators = [
|
|
1654
|
-
{ type: core.Directive, args: [{
|
|
1655
|
-
selector: 'smart-window, [smart-window], smart-tabs-window, smart-prompt-window, smart-multilineprompt-window, smart-dialog-window, smart-alert-window, smart-progress-window, smart-wait-window'
|
|
1656
|
-
},] }
|
|
1657
|
-
];
|
|
1658
|
-
WindowComponent.ctorParameters = function () { return [
|
|
1659
|
-
{ type: core.ElementRef }
|
|
1660
|
-
]; };
|
|
1661
|
-
WindowComponent.propDecorators = {
|
|
1662
|
-
addNewTab: [{ type: core.Input }],
|
|
1663
|
-
animation: [{ type: core.Input }],
|
|
1664
|
-
autoCapitalize: [{ type: core.Input }],
|
|
1665
|
-
autoExpand: [{ type: core.Input }],
|
|
1666
|
-
cancelLabel: [{ type: core.Input }],
|
|
1667
|
-
completeLabel: [{ type: core.Input }],
|
|
1668
|
-
confirmLabel: [{ type: core.Input }],
|
|
1669
|
-
collapsed: [{ type: core.Input }],
|
|
1670
|
-
closeOnMaskClick: [{ type: core.Input }],
|
|
1671
|
-
dataSource: [{ type: core.Input }],
|
|
1672
|
-
disabled: [{ type: core.Input }],
|
|
1673
|
-
disableSnap: [{ type: core.Input }],
|
|
1674
|
-
displayMode: [{ type: core.Input }],
|
|
1675
|
-
dropPosition: [{ type: core.Input }],
|
|
1676
|
-
formatFunction: [{ type: core.Input }],
|
|
1677
|
-
footerPosition: [{ type: core.Input }],
|
|
1678
|
-
footerTemplate: [{ type: core.Input }],
|
|
1679
|
-
headerButtons: [{ type: core.Input }],
|
|
1680
|
-
headerTemplate: [{ type: core.Input }],
|
|
1681
|
-
headerPosition: [{ type: core.Input }],
|
|
1682
|
-
hint: [{ type: core.Input }],
|
|
1683
|
-
indeterminate: [{ type: core.Input }],
|
|
1684
|
-
inverted: [{ type: core.Input }],
|
|
1685
|
-
label: [{ type: core.Input }],
|
|
1686
|
-
liveResize: [{ type: core.Input }],
|
|
1687
|
-
layout: [{ type: core.Input }],
|
|
1688
|
-
locale: [{ type: core.Input }],
|
|
1689
|
-
locked: [{ type: core.Input }],
|
|
1690
|
-
localizeFormatFunction: [{ type: core.Input }],
|
|
1691
|
-
maximized: [{ type: core.Input }],
|
|
1692
|
-
messages: [{ type: core.Input }],
|
|
1693
|
-
modal: [{ type: core.Input }],
|
|
1694
|
-
max: [{ type: core.Input }],
|
|
1695
|
-
min: [{ type: core.Input }],
|
|
1696
|
-
minimized: [{ type: core.Input }],
|
|
1697
|
-
maxLength: [{ type: core.Input }],
|
|
1698
|
-
minLength: [{ type: core.Input }],
|
|
1699
|
-
opened: [{ type: core.Input }],
|
|
1700
|
-
pinned: [{ type: core.Input }],
|
|
1701
|
-
placeholder: [{ type: core.Input }],
|
|
1702
|
-
promptLabel: [{ type: core.Input }],
|
|
1703
|
-
readonly: [{ type: core.Input }],
|
|
1704
|
-
resizeIndicator: [{ type: core.Input }],
|
|
1705
|
-
resizeMode: [{ type: core.Input }],
|
|
1706
|
-
rightToLeft: [{ type: core.Input }],
|
|
1707
|
-
required: [{ type: core.Input }],
|
|
1708
|
-
requiredMessage: [{ type: core.Input }],
|
|
1709
|
-
selectAllOnFocus: [{ type: core.Input }],
|
|
1710
|
-
selectedIndex: [{ type: core.Input }],
|
|
1711
|
-
selectionMode: [{ type: core.Input }],
|
|
1712
|
-
selectionEnd: [{ type: core.Input }],
|
|
1713
|
-
selectionStart: [{ type: core.Input }],
|
|
1714
|
-
showProgressValue: [{ type: core.Input }],
|
|
1715
|
-
siblings: [{ type: core.Input }],
|
|
1716
|
-
size: [{ type: core.Input }],
|
|
1717
|
-
spellCheck: [{ type: core.Input }],
|
|
1718
|
-
tabCloseButtons: [{ type: core.Input }],
|
|
1719
|
-
tabCloseButtonMode: [{ type: core.Input }],
|
|
1720
|
-
tabOverflow: [{ type: core.Input }],
|
|
1721
|
-
tabPosition: [{ type: core.Input }],
|
|
1722
|
-
tabScrollButtonsPosition: [{ type: core.Input }],
|
|
1723
|
-
tabTextOrientation: [{ type: core.Input }],
|
|
1724
|
-
theme: [{ type: core.Input }],
|
|
1725
|
-
unfocusable: [{ type: core.Input }],
|
|
1726
|
-
value: [{ type: core.Input }],
|
|
1727
|
-
windowParent: [{ type: core.Input }],
|
|
1728
|
-
wrap: [{ type: core.Input }],
|
|
1729
|
-
onOpening: [{ type: core.Output }],
|
|
1730
|
-
onOpen: [{ type: core.Output }],
|
|
1731
|
-
onClosing: [{ type: core.Output }],
|
|
1732
|
-
onClose: [{ type: core.Output }],
|
|
1733
|
-
onCollapse: [{ type: core.Output }],
|
|
1734
|
-
onDragEnd: [{ type: core.Output }],
|
|
1735
|
-
onDragStart: [{ type: core.Output }],
|
|
1736
|
-
onExpand: [{ type: core.Output }],
|
|
1737
|
-
onMaximize: [{ type: core.Output }],
|
|
1738
|
-
onMinimize: [{ type: core.Output }],
|
|
1739
|
-
onResizeEnd: [{ type: core.Output }],
|
|
1740
|
-
onResizeStart: [{ type: core.Output }],
|
|
1741
|
-
onRestore: [{ type: core.Output }]
|
|
1742
|
-
};
|
|
1743
|
-
|
|
1744
|
-
var WindowModule = /** @class */ (function () {
|
|
1745
|
-
function WindowModule() {
|
|
1746
|
-
}
|
|
1747
|
-
return WindowModule;
|
|
1748
|
-
}());
|
|
1749
|
-
WindowModule.decorators = [
|
|
1750
|
-
{ type: core.NgModule, args: [{
|
|
1751
|
-
declarations: [WindowComponent],
|
|
1752
|
-
schemas: [core.CUSTOM_ELEMENTS_SCHEMA],
|
|
1753
|
-
exports: [WindowComponent]
|
|
1754
|
-
},] }
|
|
1755
|
-
];
|
|
1756
|
-
|
|
1757
|
-
/**
|
|
1758
|
-
* Generated bundle index. Do not edit.
|
|
1759
|
-
*/
|
|
1760
|
-
|
|
1761
|
-
exports.Smart = Smart;
|
|
1762
|
-
exports.WindowComponent = WindowComponent;
|
|
1763
|
-
exports.WindowModule = WindowModule;
|
|
1764
|
-
exports.ɵa = BaseElement;
|
|
1765
|
-
|
|
1766
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1767
|
-
|
|
1768
|
-
})));
|
|
1769
|
-
//# sourceMappingURL=smart-webcomponents-angular-window.umd.js.map
|