@rxap/directives 12.3.1 → 13.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/esm2020/index.mjs +14 -0
  2. package/esm2020/lib/avatar-background-image.directive.mjs +58 -0
  3. package/esm2020/lib/background-image.directive.mjs +134 -0
  4. package/esm2020/lib/confirm-click.mjs +34 -0
  5. package/esm2020/lib/contenteditable.directive.mjs +81 -0
  6. package/esm2020/lib/full-width.directive.mjs +31 -0
  7. package/esm2020/lib/if-truthy.directive.mjs +72 -0
  8. package/esm2020/lib/method-template.directive.mjs +156 -0
  9. package/esm2020/lib/method.directive.mjs +118 -0
  10. package/esm2020/lib/movable-divider.directive.mjs +103 -0
  11. package/esm2020/lib/prevent-default.directive.mjs +31 -0
  12. package/esm2020/lib/share-button.directive.mjs +75 -0
  13. package/esm2020/lib/stop-immediate-propagation.directive.mjs +31 -0
  14. package/esm2020/lib/stop-propagation.directive.mjs +31 -0
  15. package/esm2020/rxap-directives.mjs +5 -0
  16. package/fesm2015/{rxap-directives.js → rxap-directives.mjs} +271 -109
  17. package/fesm2015/rxap-directives.mjs.map +1 -0
  18. package/fesm2020/rxap-directives.mjs +928 -0
  19. package/fesm2020/rxap-directives.mjs.map +1 -0
  20. package/index.d.ts +1 -0
  21. package/lib/method-template.directive.d.ts +49 -0
  22. package/package.json +29 -15
  23. package/bundles/rxap-directives.umd.js +0 -1273
  24. package/bundles/rxap-directives.umd.js.map +0 -1
  25. package/esm2015/index.js +0 -13
  26. package/esm2015/index.js.map +0 -1
  27. package/esm2015/lib/avatar-background-image.directive.js +0 -58
  28. package/esm2015/lib/avatar-background-image.directive.js.map +0 -1
  29. package/esm2015/lib/background-image.directive.js +0 -137
  30. package/esm2015/lib/background-image.directive.js.map +0 -1
  31. package/esm2015/lib/confirm-click.js +0 -34
  32. package/esm2015/lib/confirm-click.js.map +0 -1
  33. package/esm2015/lib/contenteditable.directive.js +0 -84
  34. package/esm2015/lib/contenteditable.directive.js.map +0 -1
  35. package/esm2015/lib/full-width.directive.js +0 -31
  36. package/esm2015/lib/full-width.directive.js.map +0 -1
  37. package/esm2015/lib/if-truthy.directive.js +0 -75
  38. package/esm2015/lib/if-truthy.directive.js.map +0 -1
  39. package/esm2015/lib/method.directive.js +0 -122
  40. package/esm2015/lib/method.directive.js.map +0 -1
  41. package/esm2015/lib/movable-divider.directive.js +0 -104
  42. package/esm2015/lib/movable-divider.directive.js.map +0 -1
  43. package/esm2015/lib/prevent-default.directive.js +0 -31
  44. package/esm2015/lib/prevent-default.directive.js.map +0 -1
  45. package/esm2015/lib/share-button.directive.js +0 -77
  46. package/esm2015/lib/share-button.directive.js.map +0 -1
  47. package/esm2015/lib/stop-immediate-propagation.directive.js +0 -31
  48. package/esm2015/lib/stop-immediate-propagation.directive.js.map +0 -1
  49. package/esm2015/lib/stop-propagation.directive.js +0 -31
  50. package/esm2015/lib/stop-propagation.directive.js.map +0 -1
  51. package/esm2015/rxap-directives.js +0 -5
  52. package/esm2015/rxap-directives.js.map +0 -1
  53. package/fesm2015/rxap-directives.js.map +0 -1
@@ -1,1273 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@rxap/services'), require('@rxap/utilities'), require('@rxap/utilities/rxjs'), require('rxjs'), require('rxjs/operators')) :
3
- typeof define === 'function' && define.amd ? define('@rxap/directives', ['exports', '@angular/core', '@rxap/services', '@rxap/utilities', '@rxap/utilities/rxjs', 'rxjs', 'rxjs/operators'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.rxap = global.rxap || {}, global.rxap.directives = {}), global.ng.core, global.i1, global.utilities, global.rxjs, global.rxjs, global.rxjs.operators));
5
- })(this, (function (exports, i0, i1, utilities, rxjs, rxjs$1, operators) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
-
28
- /*! *****************************************************************************
29
- Copyright (c) Microsoft Corporation.
30
-
31
- Permission to use, copy, modify, and/or distribute this software for any
32
- purpose with or without fee is hereby granted.
33
-
34
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
35
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
36
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
37
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
38
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
39
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
40
- PERFORMANCE OF THIS SOFTWARE.
41
- ***************************************************************************** */
42
- /* global Reflect, Promise */
43
- var extendStatics = function (d, b) {
44
- extendStatics = Object.setPrototypeOf ||
45
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
46
- function (d, b) { for (var p in b)
47
- if (Object.prototype.hasOwnProperty.call(b, p))
48
- d[p] = b[p]; };
49
- return extendStatics(d, b);
50
- };
51
- function __extends(d, b) {
52
- if (typeof b !== "function" && b !== null)
53
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
54
- extendStatics(d, b);
55
- function __() { this.constructor = d; }
56
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
57
- }
58
- var __assign = function () {
59
- __assign = Object.assign || function __assign(t) {
60
- for (var s, i = 1, n = arguments.length; i < n; i++) {
61
- s = arguments[i];
62
- for (var p in s)
63
- if (Object.prototype.hasOwnProperty.call(s, p))
64
- t[p] = s[p];
65
- }
66
- return t;
67
- };
68
- return __assign.apply(this, arguments);
69
- };
70
- function __rest(s, e) {
71
- var t = {};
72
- for (var p in s)
73
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
74
- t[p] = s[p];
75
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
76
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
77
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
78
- t[p[i]] = s[p[i]];
79
- }
80
- return t;
81
- }
82
- function __decorate(decorators, target, key, desc) {
83
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
84
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
85
- r = Reflect.decorate(decorators, target, key, desc);
86
- else
87
- for (var i = decorators.length - 1; i >= 0; i--)
88
- if (d = decorators[i])
89
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
90
- return c > 3 && r && Object.defineProperty(target, key, r), r;
91
- }
92
- function __param(paramIndex, decorator) {
93
- return function (target, key) { decorator(target, key, paramIndex); };
94
- }
95
- function __metadata(metadataKey, metadataValue) {
96
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
97
- return Reflect.metadata(metadataKey, metadataValue);
98
- }
99
- function __awaiter(thisArg, _arguments, P, generator) {
100
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
101
- return new (P || (P = Promise))(function (resolve, reject) {
102
- function fulfilled(value) { try {
103
- step(generator.next(value));
104
- }
105
- catch (e) {
106
- reject(e);
107
- } }
108
- function rejected(value) { try {
109
- step(generator["throw"](value));
110
- }
111
- catch (e) {
112
- reject(e);
113
- } }
114
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
115
- step((generator = generator.apply(thisArg, _arguments || [])).next());
116
- });
117
- }
118
- function __generator(thisArg, body) {
119
- var _ = { label: 0, sent: function () { if (t[0] & 1)
120
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
121
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
122
- function verb(n) { return function (v) { return step([n, v]); }; }
123
- function step(op) {
124
- if (f)
125
- throw new TypeError("Generator is already executing.");
126
- while (_)
127
- try {
128
- 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)
129
- return t;
130
- if (y = 0, t)
131
- op = [op[0] & 2, t.value];
132
- switch (op[0]) {
133
- case 0:
134
- case 1:
135
- t = op;
136
- break;
137
- case 4:
138
- _.label++;
139
- return { value: op[1], done: false };
140
- case 5:
141
- _.label++;
142
- y = op[1];
143
- op = [0];
144
- continue;
145
- case 7:
146
- op = _.ops.pop();
147
- _.trys.pop();
148
- continue;
149
- default:
150
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
151
- _ = 0;
152
- continue;
153
- }
154
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
155
- _.label = op[1];
156
- break;
157
- }
158
- if (op[0] === 6 && _.label < t[1]) {
159
- _.label = t[1];
160
- t = op;
161
- break;
162
- }
163
- if (t && _.label < t[2]) {
164
- _.label = t[2];
165
- _.ops.push(op);
166
- break;
167
- }
168
- if (t[2])
169
- _.ops.pop();
170
- _.trys.pop();
171
- continue;
172
- }
173
- op = body.call(thisArg, _);
174
- }
175
- catch (e) {
176
- op = [6, e];
177
- y = 0;
178
- }
179
- finally {
180
- f = t = 0;
181
- }
182
- if (op[0] & 5)
183
- throw op[1];
184
- return { value: op[0] ? op[1] : void 0, done: true };
185
- }
186
- }
187
- var __createBinding = Object.create ? (function (o, m, k, k2) {
188
- if (k2 === undefined)
189
- k2 = k;
190
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
191
- }) : (function (o, m, k, k2) {
192
- if (k2 === undefined)
193
- k2 = k;
194
- o[k2] = m[k];
195
- });
196
- function __exportStar(m, o) {
197
- for (var p in m)
198
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
199
- __createBinding(o, m, p);
200
- }
201
- function __values(o) {
202
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
203
- if (m)
204
- return m.call(o);
205
- if (o && typeof o.length === "number")
206
- return {
207
- next: function () {
208
- if (o && i >= o.length)
209
- o = void 0;
210
- return { value: o && o[i++], done: !o };
211
- }
212
- };
213
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
214
- }
215
- function __read(o, n) {
216
- var m = typeof Symbol === "function" && o[Symbol.iterator];
217
- if (!m)
218
- return o;
219
- var i = m.call(o), r, ar = [], e;
220
- try {
221
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
222
- ar.push(r.value);
223
- }
224
- catch (error) {
225
- e = { error: error };
226
- }
227
- finally {
228
- try {
229
- if (r && !r.done && (m = i["return"]))
230
- m.call(i);
231
- }
232
- finally {
233
- if (e)
234
- throw e.error;
235
- }
236
- }
237
- return ar;
238
- }
239
- /** @deprecated */
240
- function __spread() {
241
- for (var ar = [], i = 0; i < arguments.length; i++)
242
- ar = ar.concat(__read(arguments[i]));
243
- return ar;
244
- }
245
- /** @deprecated */
246
- function __spreadArrays() {
247
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
248
- s += arguments[i].length;
249
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
250
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
251
- r[k] = a[j];
252
- return r;
253
- }
254
- function __spreadArray(to, from) {
255
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
256
- to[j] = from[i];
257
- return to;
258
- }
259
- function __await(v) {
260
- return this instanceof __await ? (this.v = v, this) : new __await(v);
261
- }
262
- function __asyncGenerator(thisArg, _arguments, generator) {
263
- if (!Symbol.asyncIterator)
264
- throw new TypeError("Symbol.asyncIterator is not defined.");
265
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
266
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
267
- function verb(n) { if (g[n])
268
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
269
- function resume(n, v) { try {
270
- step(g[n](v));
271
- }
272
- catch (e) {
273
- settle(q[0][3], e);
274
- } }
275
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
276
- function fulfill(value) { resume("next", value); }
277
- function reject(value) { resume("throw", value); }
278
- function settle(f, v) { if (f(v), q.shift(), q.length)
279
- resume(q[0][0], q[0][1]); }
280
- }
281
- function __asyncDelegator(o) {
282
- var i, p;
283
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
284
- 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; }
285
- }
286
- function __asyncValues(o) {
287
- if (!Symbol.asyncIterator)
288
- throw new TypeError("Symbol.asyncIterator is not defined.");
289
- var m = o[Symbol.asyncIterator], i;
290
- 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);
291
- 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); }); }; }
292
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
293
- }
294
- function __makeTemplateObject(cooked, raw) {
295
- if (Object.defineProperty) {
296
- Object.defineProperty(cooked, "raw", { value: raw });
297
- }
298
- else {
299
- cooked.raw = raw;
300
- }
301
- return cooked;
302
- }
303
- ;
304
- var __setModuleDefault = Object.create ? (function (o, v) {
305
- Object.defineProperty(o, "default", { enumerable: true, value: v });
306
- }) : function (o, v) {
307
- o["default"] = v;
308
- };
309
- function __importStar(mod) {
310
- if (mod && mod.__esModule)
311
- return mod;
312
- var result = {};
313
- if (mod != null)
314
- for (var k in mod)
315
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
316
- __createBinding(result, mod, k);
317
- __setModuleDefault(result, mod);
318
- return result;
319
- }
320
- function __importDefault(mod) {
321
- return (mod && mod.__esModule) ? mod : { default: mod };
322
- }
323
- function __classPrivateFieldGet(receiver, state, kind, f) {
324
- if (kind === "a" && !f)
325
- throw new TypeError("Private accessor was defined without a getter");
326
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
327
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
328
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
329
- }
330
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
331
- if (kind === "m")
332
- throw new TypeError("Private method is not writable");
333
- if (kind === "a" && !f)
334
- throw new TypeError("Private accessor was defined without a setter");
335
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
336
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
337
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
338
- }
339
-
340
- exports.GlobalStyleOptions = void 0;
341
- (function (GlobalStyleOptions) {
342
- GlobalStyleOptions["INITIAL"] = "initial";
343
- GlobalStyleOptions["INHERIT"] = "inherit";
344
- })(exports.GlobalStyleOptions || (exports.GlobalStyleOptions = {}));
345
- // TODO : complete description
346
- // https://www.w3schools.com/cssref/css3_pr_background-size.asp
347
- exports.BackgroundSizeOptions = void 0;
348
- (function (BackgroundSizeOptions) {
349
- BackgroundSizeOptions["AUTO"] = "auto";
350
- BackgroundSizeOptions["COVER"] = "cover";
351
- BackgroundSizeOptions["CONTAIN"] = "contain";
352
- })(exports.BackgroundSizeOptions || (exports.BackgroundSizeOptions = {}));
353
- // TODO : complete options and description
354
- // https://www.w3schools.com/cssref/pr_background-repeat.asp
355
- exports.BackgroundRepeatOptions = void 0;
356
- (function (BackgroundRepeatOptions) {
357
- BackgroundRepeatOptions["NO_REPEAT"] = "no-repeat";
358
- })(exports.BackgroundRepeatOptions || (exports.BackgroundRepeatOptions = {}));
359
- // TODO : complete options and description
360
- // https://www.w3schools.com/cssref/pr_background-position.asp
361
- exports.BackgroundPositionOptions = void 0;
362
- (function (BackgroundPositionOptions) {
363
- BackgroundPositionOptions["CENTER"] = "center";
364
- BackgroundPositionOptions["CENTER_CENTER"] = "center center";
365
- })(exports.BackgroundPositionOptions || (exports.BackgroundPositionOptions = {}));
366
- var BackgroundImageDirective = /** @class */ (function () {
367
- // TODO : add inputs for all 'background-*' styles
368
- function BackgroundImageDirective(host, renderer, imageLoader) {
369
- this.host = host;
370
- this.renderer = renderer;
371
- this.imageLoader = imageLoader;
372
- this.imageUrl = null;
373
- }
374
- BackgroundImageDirective.prototype.ngOnInit = function () {
375
- if (this.size) {
376
- this.sizeChange(this.size);
377
- }
378
- if (this.position) {
379
- this.positionChange(this.position);
380
- }
381
- if (this.repeat) {
382
- this.repeatChange(this.repeat);
383
- }
384
- };
385
- BackgroundImageDirective.prototype.ngOnChanges = function (changes) {
386
- var e_1, _a;
387
- try {
388
- for (var _b = __values(Object.keys(changes)), _c = _b.next(); !_c.done; _c = _b.next()) {
389
- var propertyKey = _c.value;
390
- switch (propertyKey) {
391
- case 'imageUrl':
392
- if (changes.imageUrl.currentValue) {
393
- this.imageUrlChange(changes.imageUrl.currentValue);
394
- }
395
- break;
396
- case 'size':
397
- this.sizeChange(changes.size.currentValue);
398
- break;
399
- case 'repeat':
400
- this.repeatChange(changes.repeat.currentValue);
401
- break;
402
- case 'position':
403
- this.positionChange(changes.position.currentValue);
404
- break;
405
- }
406
- }
407
- }
408
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
409
- finally {
410
- try {
411
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
412
- }
413
- finally { if (e_1) throw e_1.error; }
414
- }
415
- };
416
- BackgroundImageDirective.prototype.repeatChange = function (repeat) {
417
- this.renderer.setStyle(this.host.nativeElement, 'background-repeat', repeat);
418
- };
419
- BackgroundImageDirective.prototype.positionChange = function (position) {
420
- this.renderer.setStyle(this.host.nativeElement, 'background-position', position);
421
- };
422
- BackgroundImageDirective.prototype.sizeChange = function (size) {
423
- this.renderer.setStyle(this.host.nativeElement, 'background-size', size);
424
- };
425
- BackgroundImageDirective.prototype.imageUrlChange = function (imageUrl) {
426
- return __awaiter(this, void 0, void 0, function () {
427
- return __generator(this, function (_a) {
428
- switch (_a.label) {
429
- case 0:
430
- if (this.placeholderImageUrl) {
431
- this.renderer.setStyle(this.host.nativeElement, 'background-image', "url(\"" + this.placeholderImageUrl + "\")");
432
- }
433
- if (!imageUrl) return [3 /*break*/, 2];
434
- return [4 /*yield*/, this.imageLoader.load(imageUrl)];
435
- case 1:
436
- _a.sent();
437
- this.renderer.setStyle(this.host.nativeElement, 'background-image', "url(\"" + imageUrl + "\")");
438
- return [3 /*break*/, 3];
439
- case 2:
440
- if (i0.isDevMode()) {
441
- console.warn('background image url is not defined');
442
- }
443
- _a.label = 3;
444
- case 3: return [2 /*return*/];
445
- }
446
- });
447
- });
448
- };
449
- return BackgroundImageDirective;
450
- }());
451
- BackgroundImageDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ImageLoaderService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
452
- BackgroundImageDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0__namespace });
453
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirective, decorators: [{
454
- type: i0.Directive,
455
- args: [{
456
- selector: '[rxapBackgroundImage]',
457
- }]
458
- }], ctorParameters: function () {
459
- return [{ type: i0__namespace.ElementRef, decorators: [{
460
- type: i0.Inject,
461
- args: [i0.ElementRef]
462
- }] }, { type: i0__namespace.Renderer2, decorators: [{
463
- type: i0.Inject,
464
- args: [i0.Renderer2]
465
- }] }, { type: i1__namespace.ImageLoaderService, decorators: [{
466
- type: i0.Inject,
467
- args: [i1.ImageLoaderService]
468
- }] }];
469
- }, propDecorators: { imageUrl: [{
470
- type: i0.Input,
471
- args: ['rxapBackgroundImage']
472
- }], placeholderImageUrl: [{
473
- type: i0.Input
474
- }], size: [{
475
- type: i0.Input
476
- }], repeat: [{
477
- type: i0.Input
478
- }], position: [{
479
- type: i0.Input
480
- }] } });
481
- var BackgroundImageDirectiveModule = /** @class */ (function () {
482
- function BackgroundImageDirectiveModule() {
483
- }
484
- return BackgroundImageDirectiveModule;
485
- }());
486
- BackgroundImageDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
487
- BackgroundImageDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
488
- BackgroundImageDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirectiveModule });
489
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: BackgroundImageDirectiveModule, decorators: [{
490
- type: i0.NgModule,
491
- args: [{
492
- declarations: [BackgroundImageDirective],
493
- exports: [BackgroundImageDirective],
494
- }]
495
- }] });
496
-
497
- var PreventDefaultDirective = /** @class */ (function () {
498
- function PreventDefaultDirective() {
499
- }
500
- PreventDefaultDirective.prototype.onClick = function ($event) {
501
- $event.preventDefault();
502
- };
503
- return PreventDefaultDirective;
504
- }());
505
- PreventDefaultDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
506
- PreventDefaultDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0__namespace });
507
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirective, decorators: [{
508
- type: i0.Directive,
509
- args: [{
510
- selector: '[rxapPreventDefault]'
511
- }]
512
- }], propDecorators: { onClick: [{
513
- type: i0.HostListener,
514
- args: ['click', ['$event']]
515
- }] } });
516
- var PreventDefaultDirectiveModule = /** @class */ (function () {
517
- function PreventDefaultDirectiveModule() {
518
- }
519
- return PreventDefaultDirectiveModule;
520
- }());
521
- PreventDefaultDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
522
- PreventDefaultDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] });
523
- PreventDefaultDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirectiveModule });
524
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: PreventDefaultDirectiveModule, decorators: [{
525
- type: i0.NgModule,
526
- args: [{
527
- exports: [PreventDefaultDirective],
528
- declarations: [PreventDefaultDirective]
529
- }]
530
- }] });
531
-
532
- var StopImmediatePropagationDirective = /** @class */ (function () {
533
- function StopImmediatePropagationDirective() {
534
- }
535
- StopImmediatePropagationDirective.prototype.onClick = function ($event) {
536
- $event.stopImmediatePropagation();
537
- };
538
- return StopImmediatePropagationDirective;
539
- }());
540
- StopImmediatePropagationDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
541
- StopImmediatePropagationDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0__namespace });
542
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirective, decorators: [{
543
- type: i0.Directive,
544
- args: [{
545
- selector: '[rxapStopImmediatePropagation]'
546
- }]
547
- }], propDecorators: { onClick: [{
548
- type: i0.HostListener,
549
- args: ['click', ['$event']]
550
- }] } });
551
- var StopImmediatePropagationDirectiveModule = /** @class */ (function () {
552
- function StopImmediatePropagationDirectiveModule() {
553
- }
554
- return StopImmediatePropagationDirectiveModule;
555
- }());
556
- StopImmediatePropagationDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
557
- StopImmediatePropagationDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] });
558
- StopImmediatePropagationDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirectiveModule });
559
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopImmediatePropagationDirectiveModule, decorators: [{
560
- type: i0.NgModule,
561
- args: [{
562
- exports: [StopImmediatePropagationDirective],
563
- declarations: [StopImmediatePropagationDirective]
564
- }]
565
- }] });
566
-
567
- var StopPropagationDirective = /** @class */ (function () {
568
- function StopPropagationDirective() {
569
- }
570
- StopPropagationDirective.prototype.onClick = function ($event) {
571
- $event.stopPropagation();
572
- };
573
- return StopPropagationDirective;
574
- }());
575
- StopPropagationDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
576
- StopPropagationDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0__namespace });
577
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirective, decorators: [{
578
- type: i0.Directive,
579
- args: [{
580
- selector: '[rxapStopPropagation]'
581
- }]
582
- }], propDecorators: { onClick: [{
583
- type: i0.HostListener,
584
- args: ['click', ['$event']]
585
- }] } });
586
- var StopPropagationDirectiveModule = /** @class */ (function () {
587
- function StopPropagationDirectiveModule() {
588
- }
589
- return StopPropagationDirectiveModule;
590
- }());
591
- StopPropagationDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
592
- StopPropagationDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] });
593
- StopPropagationDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirectiveModule });
594
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: StopPropagationDirectiveModule, decorators: [{
595
- type: i0.NgModule,
596
- args: [{
597
- exports: [StopPropagationDirective],
598
- declarations: [StopPropagationDirective]
599
- }]
600
- }] });
601
-
602
- var ShareService = /** @class */ (function () {
603
- function ShareService() {
604
- }
605
- ShareService.prototype.share = function (data) {
606
- return __awaiter(this, void 0, void 0, function () {
607
- return __generator(this, function (_a) {
608
- switch (_a.label) {
609
- case 0:
610
- if (!this.isShareSupported()) return [3 /*break*/, 4];
611
- if (!navigator.canShare(data)) return [3 /*break*/, 2];
612
- return [4 /*yield*/, navigator.share(data)];
613
- case 1:
614
- _a.sent();
615
- return [3 /*break*/, 3];
616
- case 2:
617
- console.debug('share data:', data);
618
- throw new Error('Can not share data. Data is invalid!');
619
- case 3: return [3 /*break*/, 5];
620
- case 4:
621
- alert('Native share is not supported!');
622
- _a.label = 5;
623
- case 5: return [2 /*return*/];
624
- }
625
- });
626
- });
627
- };
628
- ShareService.prototype.isShareSupported = function () {
629
- return !!navigator.share;
630
- };
631
- return ShareService;
632
- }());
633
- ShareService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
634
- ShareService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareService, providedIn: 'root' });
635
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareService, decorators: [{
636
- type: i0.Injectable,
637
- args: [{ providedIn: 'root' }]
638
- }] });
639
- var ShareButtonDirective = /** @class */ (function () {
640
- function ShareButtonDirective(shareService) {
641
- this.shareService = shareService;
642
- }
643
- ShareButtonDirective.prototype.share = function () {
644
- this.shareService.share({ url: this.url, text: this.text, files: this.files, title: this.title })
645
- .then(function () { return console.log('share successfully'); })
646
- .catch(function (err) { return console.error('share failed', err.message); });
647
- };
648
- return ShareButtonDirective;
649
- }());
650
- ShareButtonDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
651
- ShareButtonDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ShareButtonDirective, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0__namespace });
652
- __decorate([
653
- utilities.Required,
654
- __metadata("design:type", String)
655
- ], ShareButtonDirective.prototype, "title", void 0);
656
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirective, decorators: [{
657
- type: i0.Directive,
658
- args: [{
659
- selector: '[rxapShareButton]'
660
- }]
661
- }], ctorParameters: function () { return [{ type: ShareService }]; }, propDecorators: { url: [{
662
- type: i0.Input
663
- }], text: [{
664
- type: i0.Input
665
- }], title: [{
666
- type: i0.Input
667
- }], files: [{
668
- type: i0.Input
669
- }], share: [{
670
- type: i0.HostListener,
671
- args: ['click']
672
- }] } });
673
- var ShareButtonDirectiveModule = /** @class */ (function () {
674
- function ShareButtonDirectiveModule() {
675
- }
676
- return ShareButtonDirectiveModule;
677
- }());
678
- ShareButtonDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
679
- ShareButtonDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] });
680
- ShareButtonDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirectiveModule });
681
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ShareButtonDirectiveModule, decorators: [{
682
- type: i0.NgModule,
683
- args: [{
684
- exports: [ShareButtonDirective],
685
- declarations: [ShareButtonDirective]
686
- }]
687
- }] });
688
-
689
- var FullWidthDirective = /** @class */ (function () {
690
- function FullWidthDirective() {
691
- this.width = '100%';
692
- }
693
- return FullWidthDirective;
694
- }());
695
- FullWidthDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
696
- FullWidthDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0__namespace });
697
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirective, decorators: [{
698
- type: i0.Directive,
699
- args: [{
700
- selector: '[rxapFullWidth]',
701
- }]
702
- }], propDecorators: { width: [{
703
- type: i0.HostBinding,
704
- args: ['style.width']
705
- }] } });
706
- var FullWidthDirectiveModule = /** @class */ (function () {
707
- function FullWidthDirectiveModule() {
708
- }
709
- return FullWidthDirectiveModule;
710
- }());
711
- FullWidthDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
712
- FullWidthDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
713
- FullWidthDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirectiveModule });
714
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FullWidthDirectiveModule, decorators: [{
715
- type: i0.NgModule,
716
- args: [{
717
- declarations: [FullWidthDirective],
718
- exports: [FullWidthDirective]
719
- }]
720
- }] });
721
-
722
- var AvatarBackgroundImageDirective = /** @class */ (function (_super) {
723
- __extends(AvatarBackgroundImageDirective, _super);
724
- function AvatarBackgroundImageDirective(host, renderer, imageLoader, avatarImage) {
725
- var _this = _super.call(this, host, renderer, imageLoader) || this;
726
- _this.avatarImage = avatarImage;
727
- _this.imageUrl = null;
728
- _this.size = exports.BackgroundSizeOptions.COVER;
729
- _this.repeat = exports.BackgroundRepeatOptions.NO_REPEAT;
730
- return _this;
731
- }
732
- Object.defineProperty(AvatarBackgroundImageDirective.prototype, "name", {
733
- set: function (name) {
734
- if (!this.placeholderImageUrl) {
735
- this.placeholderImageUrl = this.avatarImage.get({ name: name });
736
- }
737
- },
738
- enumerable: false,
739
- configurable: true
740
- });
741
- return AvatarBackgroundImageDirective;
742
- }(BackgroundImageDirective));
743
- AvatarBackgroundImageDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ImageLoaderService }, { token: i1.AvatarImageService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
744
- AvatarBackgroundImageDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0__namespace });
745
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirective, decorators: [{
746
- type: i0.Directive,
747
- args: [{
748
- // tslint:disable-next-line:directive-selector
749
- selector: '[rxapAvatarBackgroundImage]',
750
- }]
751
- }], ctorParameters: function () {
752
- return [{ type: i0__namespace.ElementRef, decorators: [{
753
- type: i0.Inject,
754
- args: [i0.ElementRef]
755
- }] }, { type: i0__namespace.Renderer2, decorators: [{
756
- type: i0.Inject,
757
- args: [i0.Renderer2]
758
- }] }, { type: i1__namespace.ImageLoaderService, decorators: [{
759
- type: i0.Inject,
760
- args: [i1.ImageLoaderService]
761
- }] }, { type: i1__namespace.AvatarImageService, decorators: [{
762
- type: i0.Inject,
763
- args: [i1.AvatarImageService]
764
- }] }];
765
- }, propDecorators: { name: [{
766
- type: i0.Input
767
- }], imageUrl: [{
768
- type: i0.Input,
769
- args: ['rxapAvatarBackgroundImage']
770
- }] } });
771
- var AvatarBackgroundImageDirectiveModule = /** @class */ (function () {
772
- function AvatarBackgroundImageDirectiveModule() {
773
- }
774
- return AvatarBackgroundImageDirectiveModule;
775
- }());
776
- AvatarBackgroundImageDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
777
- AvatarBackgroundImageDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
778
- AvatarBackgroundImageDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirectiveModule });
779
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AvatarBackgroundImageDirectiveModule, decorators: [{
780
- type: i0.NgModule,
781
- args: [{
782
- declarations: [AvatarBackgroundImageDirective],
783
- exports: [AvatarBackgroundImageDirective],
784
- }]
785
- }] });
786
-
787
- var ContenteditableDirective = /** @class */ (function () {
788
- function ContenteditableDirective(elementRef) {
789
- this.elementRef = elementRef;
790
- this.contenteditable = true;
791
- this.spellcheck = false;
792
- this.change = new i0.EventEmitter();
793
- }
794
- ContenteditableDirective.prototype.onClick = function ($event) {
795
- $event.stopPropagation();
796
- };
797
- ContenteditableDirective.prototype.onInput = function ($event) {
798
- var _a, _b;
799
- return __awaiter(this, void 0, void 0, function () {
800
- var value, event, result;
801
- return __generator(this, function (_c) {
802
- switch (_c.label) {
803
- case 0:
804
- value = (_a = ($event.target.textContent)) === null || _a === void 0 ? void 0 : _a.trim();
805
- if (!(value && value.length >= 2)) return [3 /*break*/, 2];
806
- event = {
807
- value: value,
808
- parameters: this.parameters
809
- };
810
- this.change.emit(event);
811
- return [4 /*yield*/, ((_b = this.method) === null || _b === void 0 ? void 0 : _b.call(event))];
812
- case 1:
813
- result = _c.sent();
814
- if (result && typeof result === 'string') {
815
- this.initial = this.elementRef.nativeElement.innerText = result;
816
- }
817
- else if (this.initial) {
818
- this.elementRef.nativeElement.innerText = this.initial;
819
- }
820
- _c.label = 2;
821
- case 2: return [2 /*return*/];
822
- }
823
- });
824
- });
825
- };
826
- return ContenteditableDirective;
827
- }());
828
- ContenteditableDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
829
- ContenteditableDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: { method: ["rxapContenteditable", "method"], parameters: "parameters", initial: "initial" }, outputs: { change: "rxapContenteditable" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable", "attr.spellcheck": "this.spellcheck" } }, ngImport: i0__namespace });
830
- __decorate([
831
- utilities.DebounceCall(1000),
832
- __metadata("design:type", Function),
833
- __metadata("design:paramtypes", [Object]),
834
- __metadata("design:returntype", Promise)
835
- ], ContenteditableDirective.prototype, "onInput", null);
836
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirective, decorators: [{
837
- type: i0.Directive,
838
- args: [{
839
- selector: '[rxapContenteditable]'
840
- }]
841
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { contenteditable: [{
842
- type: i0.HostBinding,
843
- args: ['attr.contenteditable']
844
- }], spellcheck: [{
845
- type: i0.HostBinding,
846
- args: ['attr.spellcheck']
847
- }], method: [{
848
- type: i0.Input,
849
- args: ['rxapContenteditable']
850
- }], change: [{
851
- type: i0.Output,
852
- args: ['rxapContenteditable']
853
- }], parameters: [{
854
- type: i0.Input
855
- }], initial: [{
856
- type: i0.Input
857
- }], onClick: [{
858
- type: i0.HostListener,
859
- args: ['click', ['$event']]
860
- }], onInput: [{
861
- type: i0.HostListener,
862
- args: ['input', ['$event']]
863
- }] } });
864
- var ContenteditableDirectiveModule = /** @class */ (function () {
865
- function ContenteditableDirectiveModule() {
866
- }
867
- return ContenteditableDirectiveModule;
868
- }());
869
- ContenteditableDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
870
- ContenteditableDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
871
- ContenteditableDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirectiveModule });
872
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ContenteditableDirectiveModule, decorators: [{
873
- type: i0.NgModule,
874
- args: [{
875
- declarations: [ContenteditableDirective],
876
- exports: [ContenteditableDirective]
877
- }]
878
- }] });
879
-
880
- var ConfirmClick = /** @class */ (function () {
881
- function ConfirmClick() {
882
- this._hasConfirmDirective = false;
883
- }
884
- Object.defineProperty(ConfirmClick.prototype, "hasConfirmDirective", {
885
- set: function (value) {
886
- this._hasConfirmDirective = utilities.coerceBoolean(value);
887
- },
888
- enumerable: false,
889
- configurable: true
890
- });
891
- ConfirmClick.prototype.onClick = function () {
892
- if (!this._hasConfirmDirective) {
893
- this.execute();
894
- }
895
- };
896
- ConfirmClick.prototype.onConfirm = function () {
897
- this.execute();
898
- };
899
- return ConfirmClick;
900
- }());
901
- ConfirmClick.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ConfirmClick, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
902
- ConfirmClick.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ConfirmClick });
903
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ConfirmClick, decorators: [{
904
- type: i0.Injectable
905
- }], propDecorators: { hasConfirmDirective: [{
906
- type: i0.Input,
907
- args: ['rxapConfirm']
908
- }], onClick: [{
909
- type: i0.HostListener,
910
- args: ['click']
911
- }], onConfirm: [{
912
- type: i0.HostListener,
913
- args: ['confirmed']
914
- }] } });
915
-
916
- var MethodDirective = /** @class */ (function () {
917
- function MethodDirective() {
918
- this._hasConfirmDirective = false;
919
- this.immediately = false;
920
- this.executed$ = new i0.EventEmitter();
921
- this.failure$ = new i0.EventEmitter();
922
- this.successful$ = new i0.EventEmitter();
923
- /**
924
- * true - a remote method call is in progress
925
- */
926
- this.executing$ = new rxjs.ToggleSubject();
927
- }
928
- Object.defineProperty(MethodDirective.prototype, "hasConfirmDirective", {
929
- set: function (value) {
930
- this._hasConfirmDirective = utilities.coerceBoolean(value);
931
- },
932
- enumerable: false,
933
- configurable: true
934
- });
935
- MethodDirective.prototype.ngOnInit = function () {
936
- if (this.immediately) {
937
- this.execute();
938
- }
939
- };
940
- MethodDirective.prototype.onConfirmed = function () {
941
- return this.execute();
942
- };
943
- MethodDirective.prototype.onClick = function () {
944
- if (!this._hasConfirmDirective) {
945
- return this.execute();
946
- }
947
- else {
948
- if (i0.isDevMode()) {
949
- console.debug('Skip method call. Wait for confirmation.');
950
- }
951
- }
952
- return Promise.resolve();
953
- };
954
- MethodDirective.prototype.execute = function () {
955
- return __awaiter(this, void 0, void 0, function () {
956
- var result, error_1;
957
- return __generator(this, function (_b) {
958
- switch (_b.label) {
959
- case 0:
960
- this.executing$.enable();
961
- _b.label = 1;
962
- case 1:
963
- _b.trys.push([1, 3, 4, 5]);
964
- return [4 /*yield*/, this.method.call(this.parameters)];
965
- case 2:
966
- result = _b.sent();
967
- this.executed(result);
968
- this.successful(result);
969
- return [3 /*break*/, 5];
970
- case 3:
971
- error_1 = _b.sent();
972
- if (i0.isDevMode()) {
973
- console.error("Method directive execution failed:", error_1.message);
974
- }
975
- this.failure(error_1);
976
- return [3 /*break*/, 5];
977
- case 4:
978
- this.executing$.disable();
979
- return [7 /*endfinally*/];
980
- case 5: return [2 /*return*/];
981
- }
982
- });
983
- });
984
- };
985
- MethodDirective.prototype.setParameter = function (parameterKey, value) {
986
- var _b;
987
- this.updateParameters((_b = {}, _b[parameterKey] = value, _b));
988
- };
989
- MethodDirective.prototype.updateParameters = function (parameters) {
990
- var _a;
991
- this.parameters = Object.assign(Object.assign({}, ((_a = this.parameters) !== null && _a !== void 0 ? _a : {})), parameters);
992
- };
993
- MethodDirective.prototype.executed = function (result) {
994
- this.executed$.emit(result);
995
- };
996
- MethodDirective.prototype.failure = function (error) {
997
- this.failure$.emit(error);
998
- };
999
- MethodDirective.prototype.successful = function (result) {
1000
- this.successful$.emit(result);
1001
- };
1002
- return MethodDirective;
1003
- }());
1004
- MethodDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
1005
- MethodDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MethodDirective, selector: "[rxapMethod]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], method: ["rxapMethod", "method"], parameters: "parameters", immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapMethod"], ngImport: i0__namespace });
1006
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirective, decorators: [{
1007
- type: i0.Directive,
1008
- args: [{
1009
- selector: '[rxapMethod]',
1010
- exportAs: 'rxapMethod'
1011
- }]
1012
- }], ctorParameters: function () { return []; }, propDecorators: { hasConfirmDirective: [{
1013
- type: i0.Input,
1014
- args: ['rxapConfirm']
1015
- }], method: [{
1016
- type: i0.Input,
1017
- args: ['rxapMethod']
1018
- }], parameters: [{
1019
- type: i0.Input
1020
- }], immediately: [{
1021
- type: i0.Input
1022
- }], executed$: [{
1023
- type: i0.Output,
1024
- args: ['executed']
1025
- }], failure$: [{
1026
- type: i0.Output,
1027
- args: ['failure']
1028
- }], successful$: [{
1029
- type: i0.Output,
1030
- args: ['successful']
1031
- }], onConfirmed: [{
1032
- type: i0.HostListener,
1033
- args: ['confirmed']
1034
- }], onClick: [{
1035
- type: i0.HostListener,
1036
- args: ['click']
1037
- }] } });
1038
- var MethodDirectiveModule = /** @class */ (function () {
1039
- function MethodDirectiveModule() {
1040
- }
1041
- return MethodDirectiveModule;
1042
- }());
1043
- MethodDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1044
- MethodDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
1045
- MethodDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirectiveModule });
1046
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MethodDirectiveModule, decorators: [{
1047
- type: i0.NgModule,
1048
- args: [{
1049
- declarations: [MethodDirective],
1050
- exports: [MethodDirective]
1051
- }]
1052
- }] });
1053
-
1054
- var MovableDividerDirective = /** @class */ (function () {
1055
- function MovableDividerDirective(renderer) {
1056
- this.renderer = renderer;
1057
- this.origin = 'right';
1058
- this.cursor = 'ew-resize';
1059
- this._subscription = new rxjs$1.Subscription();
1060
- /**
1061
- * Indicates that the divider is moved with mouse down
1062
- * @private
1063
- */
1064
- this._moveDivider = false;
1065
- /**
1066
- * Holds the current fixed element width.
1067
- * If null the move divider feature was not yet used and the initial
1068
- * fixed element width is not calculated
1069
- * @private
1070
- */
1071
- this._fixedElementWidth = null;
1072
- }
1073
- MovableDividerDirective.prototype.ngOnDestroy = function () {
1074
- var _a;
1075
- (_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1076
- };
1077
- MovableDividerDirective.prototype.ngOnInit = function () {
1078
- var _this = this;
1079
- this._subscription.add(rxjs$1.fromEvent(this.containerElement, 'mousemove').pipe(operators.tap(function ($event) {
1080
- if (_this._moveDivider) {
1081
- if (!_this._fixedElementWidth) {
1082
- _this._fixedElementWidth = _this.fixedElement.clientWidth;
1083
- }
1084
- if (_this.origin === 'right') {
1085
- _this._fixedElementWidth = $event.clientX - _this.containerElement.getBoundingClientRect().left;
1086
- }
1087
- else if (_this.origin === 'left') {
1088
- if (i0.isDevMode()) {
1089
- console.log({
1090
- clientWidth: _this.containerElement.clientWidth,
1091
- clientX: $event.clientX,
1092
- clientLeft: _this.containerElement.getBoundingClientRect().left
1093
- });
1094
- }
1095
- _this._fixedElementWidth = _this.containerElement.clientWidth - $event.clientX + _this.containerElement.getBoundingClientRect().left;
1096
- }
1097
- else {
1098
- throw new Error("The origin '" + _this.origin + "' is not supported.");
1099
- }
1100
- var width = _this._fixedElementWidth + 'px';
1101
- _this.renderer.setStyle(_this.fixedElement, 'max-width', width);
1102
- _this.renderer.setStyle(_this.fixedElement, 'min-width', width);
1103
- _this.renderer.setStyle(_this.fixedElement, 'flex-basis', width);
1104
- }
1105
- })).subscribe());
1106
- this._subscription.add(rxjs$1.fromEvent(this.containerElement, 'mouseup').pipe(operators.tap(function () { return _this._moveDivider = false; })).subscribe());
1107
- };
1108
- MovableDividerDirective.prototype.onMousedown = function () {
1109
- this._moveDivider = true;
1110
- };
1111
- return MovableDividerDirective;
1112
- }());
1113
- MovableDividerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirective, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1114
- MovableDividerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0__namespace });
1115
- __decorate([
1116
- utilities.Required,
1117
- __metadata("design:type", HTMLDivElement)
1118
- ], MovableDividerDirective.prototype, "containerElement", void 0);
1119
- __decorate([
1120
- utilities.Required,
1121
- __metadata("design:type", HTMLDivElement)
1122
- ], MovableDividerDirective.prototype, "fixedElement", void 0);
1123
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirective, decorators: [{
1124
- type: i0.Directive,
1125
- args: [{
1126
- selector: '[rxapMovableDivider]'
1127
- }]
1128
- }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }]; }, propDecorators: { containerElement: [{
1129
- type: i0.Input
1130
- }], fixedElement: [{
1131
- type: i0.Input
1132
- }], origin: [{
1133
- type: i0.Input
1134
- }], cursor: [{
1135
- type: i0.HostBinding,
1136
- args: ['style.cursor']
1137
- }], onMousedown: [{
1138
- type: i0.HostListener,
1139
- args: ['mousedown']
1140
- }] } });
1141
- var MovableDividerDirectiveModule = /** @class */ (function () {
1142
- function MovableDividerDirectiveModule() {
1143
- }
1144
- return MovableDividerDirectiveModule;
1145
- }());
1146
- MovableDividerDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1147
- MovableDividerDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
1148
- MovableDividerDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirectiveModule });
1149
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MovableDividerDirectiveModule, decorators: [{
1150
- type: i0.NgModule,
1151
- args: [{
1152
- declarations: [MovableDividerDirective],
1153
- exports: [MovableDividerDirective]
1154
- }]
1155
- }] });
1156
-
1157
- // TODO : mv to rxap package
1158
- var IfTruthyDirective = /** @class */ (function () {
1159
- function IfTruthyDirective(templateRef, viewContainerRef, cdr) {
1160
- this.templateRef = templateRef;
1161
- this.viewContainerRef = viewContainerRef;
1162
- this.cdr = cdr;
1163
- }
1164
- /**
1165
- * Asserts the correct type of the context for the template that `NgForOf` will render.
1166
- *
1167
- * The presence of this method is a signal to the Ivy template type-check compiler that the
1168
- * `NgForOf` structural directive renders its template with a specific context type.
1169
- */
1170
- IfTruthyDirective.ngTemplateContextGuard = function (dir, ctx) {
1171
- return true;
1172
- };
1173
- IfTruthyDirective.prototype.ngOnChanges = function (changes) {
1174
- if (this.method && this.parameters) {
1175
- this.execute();
1176
- }
1177
- };
1178
- IfTruthyDirective.prototype.execute = function () {
1179
- return __awaiter(this, void 0, void 0, function () {
1180
- var result;
1181
- return __generator(this, function (_a) {
1182
- switch (_a.label) {
1183
- case 0: return [4 /*yield*/, this.method.call(this.parameters)];
1184
- case 1:
1185
- result = _a.sent();
1186
- if (this.hasChanged(result)) {
1187
- this.viewContainerRef.clear();
1188
- if (result) {
1189
- this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });
1190
- }
1191
- }
1192
- this.cdr.detectChanges();
1193
- return [2 /*return*/];
1194
- }
1195
- });
1196
- });
1197
- };
1198
- IfTruthyDirective.prototype.hasChanged = function (current) {
1199
- if (this._last !== undefined) {
1200
- var currentTrackBy = this.trackBy ? this.trackBy(current) : current;
1201
- var lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;
1202
- return currentTrackBy !== lastTrackBy;
1203
- }
1204
- return true;
1205
- };
1206
- return IfTruthyDirective;
1207
- }());
1208
- IfTruthyDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirective, deps: [{ token: i0__namespace.TemplateRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1209
- IfTruthyDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0__namespace });
1210
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirective, decorators: [{
1211
- type: i0.Directive,
1212
- args: [{
1213
- selector: '[rxapIfTruthy]'
1214
- }]
1215
- }], ctorParameters: function () { return [{ type: i0__namespace.TemplateRef }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { method: [{
1216
- type: i0.Input,
1217
- args: ['rxapIfTruthy']
1218
- }], parameters: [{
1219
- type: i0.Input,
1220
- args: ['rxapIfTruthyParameters']
1221
- }], trackBy: [{
1222
- type: i0.Input,
1223
- args: ['rxapIfTruthyTrackBy']
1224
- }] } });
1225
- var IfTruthyDirectiveModule = /** @class */ (function () {
1226
- function IfTruthyDirectiveModule() {
1227
- }
1228
- return IfTruthyDirectiveModule;
1229
- }());
1230
- IfTruthyDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1231
- IfTruthyDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
1232
- IfTruthyDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirectiveModule });
1233
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: IfTruthyDirectiveModule, decorators: [{
1234
- type: i0.NgModule,
1235
- args: [{
1236
- declarations: [IfTruthyDirective],
1237
- exports: [IfTruthyDirective]
1238
- }]
1239
- }] });
1240
-
1241
- /**
1242
- * Generated bundle index. Do not edit.
1243
- */
1244
-
1245
- exports.AvatarBackgroundImageDirective = AvatarBackgroundImageDirective;
1246
- exports.AvatarBackgroundImageDirectiveModule = AvatarBackgroundImageDirectiveModule;
1247
- exports.BackgroundImageDirective = BackgroundImageDirective;
1248
- exports.BackgroundImageDirectiveModule = BackgroundImageDirectiveModule;
1249
- exports.ConfirmClick = ConfirmClick;
1250
- exports.ContenteditableDirective = ContenteditableDirective;
1251
- exports.ContenteditableDirectiveModule = ContenteditableDirectiveModule;
1252
- exports.FullWidthDirective = FullWidthDirective;
1253
- exports.FullWidthDirectiveModule = FullWidthDirectiveModule;
1254
- exports.IfTruthyDirective = IfTruthyDirective;
1255
- exports.IfTruthyDirectiveModule = IfTruthyDirectiveModule;
1256
- exports.MethodDirective = MethodDirective;
1257
- exports.MethodDirectiveModule = MethodDirectiveModule;
1258
- exports.MovableDividerDirective = MovableDividerDirective;
1259
- exports.MovableDividerDirectiveModule = MovableDividerDirectiveModule;
1260
- exports.PreventDefaultDirective = PreventDefaultDirective;
1261
- exports.PreventDefaultDirectiveModule = PreventDefaultDirectiveModule;
1262
- exports.ShareButtonDirective = ShareButtonDirective;
1263
- exports.ShareButtonDirectiveModule = ShareButtonDirectiveModule;
1264
- exports.ShareService = ShareService;
1265
- exports.StopImmediatePropagationDirective = StopImmediatePropagationDirective;
1266
- exports.StopImmediatePropagationDirectiveModule = StopImmediatePropagationDirectiveModule;
1267
- exports.StopPropagationDirective = StopPropagationDirective;
1268
- exports.StopPropagationDirectiveModule = StopPropagationDirectiveModule;
1269
-
1270
- Object.defineProperty(exports, '__esModule', { value: true });
1271
-
1272
- }));
1273
- //# sourceMappingURL=rxap-directives.umd.js.map