@rxap/directives 12.3.0 → 12.3.1

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 (31) hide show
  1. package/bundles/rxap-directives.umd.js +94 -94
  2. package/bundles/rxap-directives.umd.js.map +1 -1
  3. package/esm2015/lib/avatar-background-image.directive.js +7 -7
  4. package/esm2015/lib/avatar-background-image.directive.js.map +1 -1
  5. package/esm2015/lib/background-image.directive.js +7 -7
  6. package/esm2015/lib/background-image.directive.js.map +1 -1
  7. package/esm2015/lib/confirm-click.js +3 -3
  8. package/esm2015/lib/confirm-click.js.map +1 -1
  9. package/esm2015/lib/contenteditable.directive.js +7 -7
  10. package/esm2015/lib/contenteditable.directive.js.map +1 -1
  11. package/esm2015/lib/full-width.directive.js +7 -7
  12. package/esm2015/lib/full-width.directive.js.map +1 -1
  13. package/esm2015/lib/if-truthy.directive.js +7 -7
  14. package/esm2015/lib/if-truthy.directive.js.map +1 -1
  15. package/esm2015/lib/method.directive.js +7 -7
  16. package/esm2015/lib/method.directive.js.map +1 -1
  17. package/esm2015/lib/movable-divider.directive.js +15 -13
  18. package/esm2015/lib/movable-divider.directive.js.map +1 -1
  19. package/esm2015/lib/prevent-default.directive.js +7 -7
  20. package/esm2015/lib/prevent-default.directive.js.map +1 -1
  21. package/esm2015/lib/share-button.directive.js +10 -10
  22. package/esm2015/lib/share-button.directive.js.map +1 -1
  23. package/esm2015/lib/stop-immediate-propagation.directive.js +7 -7
  24. package/esm2015/lib/stop-immediate-propagation.directive.js.map +1 -1
  25. package/esm2015/lib/stop-propagation.directive.js +7 -7
  26. package/esm2015/lib/stop-propagation.directive.js.map +1 -1
  27. package/fesm2015/rxap-directives.js +90 -88
  28. package/fesm2015/rxap-directives.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/schematics/ng-add/index.js +1 -1
  31. package/src/schematics/ng-add/index.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-directives.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../libs/directives/src/lib/background-image.directive.ts","../../../../libs/directives/src/lib/prevent-default.directive.ts","../../../../libs/directives/src/lib/stop-immediate-propagation.directive.ts","../../../../libs/directives/src/lib/stop-propagation.directive.ts","../../../../libs/directives/src/lib/share-button.directive.ts","../../../../libs/directives/src/lib/full-width.directive.ts","../../../../libs/directives/src/lib/avatar-background-image.directive.ts","../../../../libs/directives/src/lib/contenteditable.directive.ts","../../../../libs/directives/src/lib/confirm-click.ts","../../../../libs/directives/src/lib/method.directive.ts","../../../../libs/directives/src/lib/movable-divider.directive.ts","../../../../libs/directives/src/lib/if-truthy.directive.ts","../../../../libs/directives/src/rxap-directives.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapPreventDefault]'\n})\nexport class PreventDefaultDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.preventDefault();\n }\n\n}\n\n@NgModule({\n exports: [ PreventDefaultDirective ],\n declarations: [ PreventDefaultDirective ]\n})\nexport class PreventDefaultDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopImmediatePropagation]'\n})\nexport class StopImmediatePropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopImmediatePropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopImmediatePropagationDirective ],\n declarations: [ StopImmediatePropagationDirective ]\n})\nexport class StopImmediatePropagationDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopPropagation]'\n})\nexport class StopPropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopPropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopPropagationDirective ],\n declarations: [ StopPropagationDirective ]\n})\nexport class StopPropagationDirectiveModule {}\n","import {\n Directive,\n HostListener,\n Input,\n Injectable,\n NgModule\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class ShareService {\n\n public async share(data: { url?: string, text?: string, title?: string, files?: ReadonlyArray<File> }) {\n\n if (this.isShareSupported()) {\n\n if ((navigator as any).canShare(data)) {\n\n await (navigator as any).share(data);\n\n } else {\n console.debug('share data:', data);\n throw new Error('Can not share data. Data is invalid!');\n }\n\n } else {\n alert('Native share is not supported!');\n }\n\n }\n\n private isShareSupported(): boolean {\n return !!(navigator as any).share;\n }\n\n}\n\n@Directive({\n selector: '[rxapShareButton]'\n})\nexport class ShareButtonDirective {\n\n @Input()\n public url!: string;\n\n @Input()\n public text!: string;\n\n @Input()\n @Required\n public title!: string;\n\n @Input()\n public files?: ReadonlyArray<File>;\n\n constructor(private readonly shareService: ShareService) {}\n\n @HostListener('click')\n public share() {\n this.shareService.share({ url: this.url, text: this.text, files: this.files, title: this.title })\n .then(() => console.log('share successfully'))\n .catch(err => console.error('share failed', err.message));\n }\n\n}\n\n@NgModule({\n exports: [ ShareButtonDirective ],\n declarations: [ ShareButtonDirective ]\n})\nexport class ShareButtonDirectiveModule {\n\n}\n","import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n","import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n","import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n","import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n","import {\n Directive,\n NgModule,\n Input,\n Output,\n EventEmitter,\n HostListener,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\nimport {\n Method,\n ToggleSubject\n} from '@rxap/utilities/rxjs';\n\n@Directive({\n selector: '[rxapMethod]',\n exportAs: 'rxapMethod'\n})\nexport class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {\n\n private _hasConfirmDirective = false;\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n @Input('rxapMethod')\n public method!: Method<ReturnType, Parameters>;\n @Input()\n public parameters?: Parameters;\n @Input()\n public immediately: boolean = false;\n @Output('executed')\n public executed$ = new EventEmitter();\n @Output('failure')\n public failure$ = new EventEmitter<Error>();\n @Output('successful')\n public successful$ = new EventEmitter<ReturnType>();\n /**\n * true - a remote method call is in progress\n */\n public executing$ = new ToggleSubject();\n\n constructor() { }\n\n public ngOnInit() {\n if (this.immediately) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirmed() {\n return this.execute();\n }\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n return this.execute();\n } else {\n if (isDevMode()) {\n console.debug('Skip method call. Wait for confirmation.');\n }\n }\n return Promise.resolve();\n }\n\n public async execute(): Promise<void> {\n this.executing$.enable();\n try {\n const result = await this.method.call(this.parameters);\n this.executed(result);\n this.successful(result);\n } catch (error) {\n if (isDevMode()) {\n console.error(`Method directive execution failed:`, error.message);\n }\n this.failure(error);\n } finally {\n this.executing$.disable();\n }\n }\n\n public setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void {\n this.updateParameters({ [ parameterKey ]: value } as any);\n }\n\n public updateParameters(parameters: Partial<Parameters>): void {\n this.parameters = { ...(this.parameters ?? {}), ...parameters } as any;\n }\n\n protected executed(result: any) {\n this.executed$.emit(result);\n }\n\n protected failure(error: Error) {\n this.failure$.emit(error);\n }\n\n protected successful(result: ReturnType) {\n this.successful$.emit(result);\n }\n\n}\n\n@NgModule({\n declarations: [ MethodDirective ],\n exports: [ MethodDirective ]\n})\nexport class MethodDirectiveModule {}\n","import {\n Directive,\n HostBinding,\n HostListener,\n Input,\n NgModule,\n OnDestroy,\n OnInit,\n Renderer2\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport { tap } from 'rxjs/operators';\n\n@Directive({\n selector: '[rxapMovableDivider]'\n})\nexport class MovableDividerDirective implements OnDestroy, OnInit {\n\n @Input()\n @Required\n public containerElement!: HTMLDivElement;\n\n @Input()\n @Required\n public fixedElement!: HTMLDivElement;\n\n @Input()\n public origin: 'right' | 'left' = 'right';\n @HostBinding('style.cursor')\n public cursor = 'ew-resize';\n private _subscription = new Subscription();\n /**\n * Indicates that the divider is moved with mouse down\n * @private\n */\n private _moveDivider = false;\n /**\n * Holds the current fixed element width.\n * If null the move divider feature was not yet used and the initial\n * fixed element width is not calculated\n * @private\n */\n private _fixedElementWidth: number | null = null;\n\n constructor(private readonly renderer: Renderer2) { }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n this._subscription.add(fromEvent<MouseEvent>(this.containerElement, 'mousemove').pipe(\n tap(($event: MouseEvent) => {\n if (this._moveDivider) {\n if (!this._fixedElementWidth) {\n this._fixedElementWidth = this.fixedElement.clientWidth as number;\n }\n if (this.origin === 'right') {\n this._fixedElementWidth = $event.clientX - this.containerElement.getBoundingClientRect().left;\n } else if (this.origin === 'left') {\n console.log({\n clientWidth: this.containerElement.clientWidth,\n clientX: $event.clientX,\n clientLeft: this.containerElement.getBoundingClientRect().left\n });\n this._fixedElementWidth = this.containerElement.clientWidth - $event.clientX + this.containerElement.getBoundingClientRect().left;\n } else {\n throw new Error(`The origin '${this.origin}' is not supported.`);\n }\n const width = this._fixedElementWidth + 'px';\n this.renderer.setStyle(this.fixedElement, 'max-width', width);\n this.renderer.setStyle(this.fixedElement, 'min-width', width);\n this.renderer.setStyle(this.fixedElement, 'flex-basis', width);\n }\n })\n ).subscribe());\n this._subscription.add(fromEvent(this.containerElement, 'mouseup').pipe(\n tap(() => this._moveDivider = false)\n ).subscribe());\n }\n\n @HostListener('mousedown')\n public onMousedown() {\n this._moveDivider = true;\n }\n\n}\n\n@NgModule({\n declarations: [ MovableDividerDirective ],\n exports: [ MovableDividerDirective ]\n})\nexport class MovableDividerDirectiveModule {}\n","import {\n ChangeDetectorRef,\n Directive,\n Input,\n NgModule,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface IfTruthyDirectiveTemplateContext<Data> {\n $implicit: Data;\n}\n\n// TODO : mv to rxap package\n\n@Directive({\n selector: '[rxapIfTruthy]'\n})\nexport class IfTruthyDirective<Data, Parameters = any> implements OnChanges {\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(\n dir: IfTruthyDirective<T>,\n ctx: any\n ): ctx is IfTruthyDirectiveTemplateContext<T> {\n return true;\n }\n\n @Input('rxapIfTruthy')\n public method!: Method<Data, Parameters>;\n @Input('rxapIfTruthyParameters')\n public parameters!: Parameters;\n @Input('rxapIfTruthyTrackBy')\n public trackBy!: (data: Data) => any;\n private _last?: Data;\n\n constructor(\n private readonly templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly cdr: ChangeDetectorRef\n ) {\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n\n if (this.method && this.parameters) {\n this.execute();\n }\n\n }\n\n protected async execute() {\n\n const result = await this.method.call(this.parameters);\n\n if (this.hasChanged(result)) {\n\n this.viewContainerRef.clear();\n\n if (result) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });\n }\n\n }\n\n this.cdr.detectChanges();\n\n }\n\n protected hasChanged(current: Data) {\n if (this._last !== undefined) {\n const currentTrackBy = this.trackBy ? this.trackBy(current) : current;\n const lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;\n return currentTrackBy !== lastTrackBy;\n }\n\n return true;\n }\n\n\n}\n\n@NgModule({\n declarations: [ IfTruthyDirective ],\n exports: [ IfTruthyDirective ]\n})\nexport class IfTruthyDirectiveModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["GlobalStyleOptions","BackgroundSizeOptions","BackgroundRepeatOptions","BackgroundPositionOptions","isDevMode","ElementRef","Renderer2","ImageLoaderService","Directive","Inject","Input","NgModule","HostListener","Injectable","Required","HostBinding","AvatarImageService","EventEmitter","DebounceCall","Output","coerceBoolean","ToggleSubject","Subscription","fromEvent","tap"],"mappings":";;;;;;;;;;;;;;;;;;;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wBACR,YAAY,EAAE,CAAE,iBAAiB,CAAE;wBACnC,OAAO,EAAE,CAAE,iBAAiB,CAAE;qBAC/B;;;IC7FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"rxap-directives.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../libs/directives/src/lib/background-image.directive.ts","../../../../libs/directives/src/lib/prevent-default.directive.ts","../../../../libs/directives/src/lib/stop-immediate-propagation.directive.ts","../../../../libs/directives/src/lib/stop-propagation.directive.ts","../../../../libs/directives/src/lib/share-button.directive.ts","../../../../libs/directives/src/lib/full-width.directive.ts","../../../../libs/directives/src/lib/avatar-background-image.directive.ts","../../../../libs/directives/src/lib/contenteditable.directive.ts","../../../../libs/directives/src/lib/confirm-click.ts","../../../../libs/directives/src/lib/method.directive.ts","../../../../libs/directives/src/lib/movable-divider.directive.ts","../../../../libs/directives/src/lib/if-truthy.directive.ts","../../../../libs/directives/src/rxap-directives.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapPreventDefault]'\n})\nexport class PreventDefaultDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.preventDefault();\n }\n\n}\n\n@NgModule({\n exports: [ PreventDefaultDirective ],\n declarations: [ PreventDefaultDirective ]\n})\nexport class PreventDefaultDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopImmediatePropagation]'\n})\nexport class StopImmediatePropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopImmediatePropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopImmediatePropagationDirective ],\n declarations: [ StopImmediatePropagationDirective ]\n})\nexport class StopImmediatePropagationDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopPropagation]'\n})\nexport class StopPropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopPropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopPropagationDirective ],\n declarations: [ StopPropagationDirective ]\n})\nexport class StopPropagationDirectiveModule {}\n","import {\n Directive,\n HostListener,\n Input,\n Injectable,\n NgModule\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class ShareService {\n\n public async share(data: { url?: string, text?: string, title?: string, files?: ReadonlyArray<File> }) {\n\n if (this.isShareSupported()) {\n\n if ((navigator as any).canShare(data)) {\n\n await (navigator as any).share(data);\n\n } else {\n console.debug('share data:', data);\n throw new Error('Can not share data. Data is invalid!');\n }\n\n } else {\n alert('Native share is not supported!');\n }\n\n }\n\n private isShareSupported(): boolean {\n return !!(navigator as any).share;\n }\n\n}\n\n@Directive({\n selector: '[rxapShareButton]'\n})\nexport class ShareButtonDirective {\n\n @Input()\n public url!: string;\n\n @Input()\n public text!: string;\n\n @Input()\n @Required\n public title!: string;\n\n @Input()\n public files?: ReadonlyArray<File>;\n\n constructor(private readonly shareService: ShareService) {}\n\n @HostListener('click')\n public share() {\n this.shareService.share({ url: this.url, text: this.text, files: this.files, title: this.title })\n .then(() => console.log('share successfully'))\n .catch(err => console.error('share failed', err.message));\n }\n\n}\n\n@NgModule({\n exports: [ ShareButtonDirective ],\n declarations: [ ShareButtonDirective ]\n})\nexport class ShareButtonDirectiveModule {\n\n}\n","import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n","import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n","import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n","import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n","import {\n Directive,\n NgModule,\n Input,\n Output,\n EventEmitter,\n HostListener,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\nimport {\n Method,\n ToggleSubject\n} from '@rxap/utilities/rxjs';\n\n@Directive({\n selector: '[rxapMethod]',\n exportAs: 'rxapMethod'\n})\nexport class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {\n\n private _hasConfirmDirective = false;\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n @Input('rxapMethod')\n public method!: Method<ReturnType, Parameters>;\n @Input()\n public parameters?: Parameters;\n @Input()\n public immediately: boolean = false;\n @Output('executed')\n public executed$ = new EventEmitter();\n @Output('failure')\n public failure$ = new EventEmitter<Error>();\n @Output('successful')\n public successful$ = new EventEmitter<ReturnType>();\n /**\n * true - a remote method call is in progress\n */\n public executing$ = new ToggleSubject();\n\n constructor() { }\n\n public ngOnInit() {\n if (this.immediately) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirmed() {\n return this.execute();\n }\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n return this.execute();\n } else {\n if (isDevMode()) {\n console.debug('Skip method call. Wait for confirmation.');\n }\n }\n return Promise.resolve();\n }\n\n public async execute(): Promise<void> {\n this.executing$.enable();\n try {\n const result = await this.method.call(this.parameters);\n this.executed(result);\n this.successful(result);\n } catch (error) {\n if (isDevMode()) {\n console.error(`Method directive execution failed:`, error.message);\n }\n this.failure(error);\n } finally {\n this.executing$.disable();\n }\n }\n\n public setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void {\n this.updateParameters({ [ parameterKey ]: value } as any);\n }\n\n public updateParameters(parameters: Partial<Parameters>): void {\n this.parameters = { ...(this.parameters ?? {}), ...parameters } as any;\n }\n\n protected executed(result: any) {\n this.executed$.emit(result);\n }\n\n protected failure(error: Error) {\n this.failure$.emit(error);\n }\n\n protected successful(result: ReturnType) {\n this.successful$.emit(result);\n }\n\n}\n\n@NgModule({\n declarations: [ MethodDirective ],\n exports: [ MethodDirective ]\n})\nexport class MethodDirectiveModule {}\n","import {\n Directive,\n HostBinding,\n HostListener,\n Input,\n NgModule,\n OnDestroy,\n OnInit,\n Renderer2,\n isDevMode\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport { tap } from 'rxjs/operators';\n\n@Directive({\n selector: '[rxapMovableDivider]'\n})\nexport class MovableDividerDirective implements OnDestroy, OnInit {\n\n @Input()\n @Required\n public containerElement!: HTMLDivElement;\n\n @Input()\n @Required\n public fixedElement!: HTMLDivElement;\n\n @Input()\n public origin: 'right' | 'left' = 'right';\n @HostBinding('style.cursor')\n public cursor = 'ew-resize';\n private _subscription = new Subscription();\n /**\n * Indicates that the divider is moved with mouse down\n * @private\n */\n private _moveDivider = false;\n /**\n * Holds the current fixed element width.\n * If null the move divider feature was not yet used and the initial\n * fixed element width is not calculated\n * @private\n */\n private _fixedElementWidth: number | null = null;\n\n constructor(private readonly renderer: Renderer2) { }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n this._subscription.add(fromEvent<MouseEvent>(this.containerElement, 'mousemove').pipe(\n tap(($event: MouseEvent) => {\n if (this._moveDivider) {\n if (!this._fixedElementWidth) {\n this._fixedElementWidth = this.fixedElement.clientWidth as number;\n }\n if (this.origin === 'right') {\n this._fixedElementWidth = $event.clientX - this.containerElement.getBoundingClientRect().left;\n } else if (this.origin === 'left') {\n if (isDevMode()) {\n console.log({\n clientWidth: this.containerElement.clientWidth,\n clientX: $event.clientX,\n clientLeft: this.containerElement.getBoundingClientRect().left\n });\n }\n this._fixedElementWidth = this.containerElement.clientWidth - $event.clientX + this.containerElement.getBoundingClientRect().left;\n } else {\n throw new Error(`The origin '${this.origin}' is not supported.`);\n }\n const width = this._fixedElementWidth + 'px';\n this.renderer.setStyle(this.fixedElement, 'max-width', width);\n this.renderer.setStyle(this.fixedElement, 'min-width', width);\n this.renderer.setStyle(this.fixedElement, 'flex-basis', width);\n }\n })\n ).subscribe());\n this._subscription.add(fromEvent(this.containerElement, 'mouseup').pipe(\n tap(() => this._moveDivider = false)\n ).subscribe());\n }\n\n @HostListener('mousedown')\n public onMousedown() {\n this._moveDivider = true;\n }\n\n}\n\n@NgModule({\n declarations: [ MovableDividerDirective ],\n exports: [ MovableDividerDirective ]\n})\nexport class MovableDividerDirectiveModule {}\n","import {\n ChangeDetectorRef,\n Directive,\n Input,\n NgModule,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface IfTruthyDirectiveTemplateContext<Data> {\n $implicit: Data;\n}\n\n// TODO : mv to rxap package\n\n@Directive({\n selector: '[rxapIfTruthy]'\n})\nexport class IfTruthyDirective<Data, Parameters = any> implements OnChanges {\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(\n dir: IfTruthyDirective<T>,\n ctx: any\n ): ctx is IfTruthyDirectiveTemplateContext<T> {\n return true;\n }\n\n @Input('rxapIfTruthy')\n public method!: Method<Data, Parameters>;\n @Input('rxapIfTruthyParameters')\n public parameters!: Parameters;\n @Input('rxapIfTruthyTrackBy')\n public trackBy!: (data: Data) => any;\n private _last?: Data;\n\n constructor(\n private readonly templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly cdr: ChangeDetectorRef\n ) {\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n\n if (this.method && this.parameters) {\n this.execute();\n }\n\n }\n\n protected async execute() {\n\n const result = await this.method.call(this.parameters);\n\n if (this.hasChanged(result)) {\n\n this.viewContainerRef.clear();\n\n if (result) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });\n }\n\n }\n\n this.cdr.detectChanges();\n\n }\n\n protected hasChanged(current: Data) {\n if (this._last !== undefined) {\n const currentTrackBy = this.trackBy ? this.trackBy(current) : current;\n const lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;\n return currentTrackBy !== lastTrackBy;\n }\n\n return true;\n }\n\n\n}\n\n@NgModule({\n declarations: [ IfTruthyDirective ],\n exports: [ IfTruthyDirective ]\n})\nexport class IfTruthyDirectiveModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["GlobalStyleOptions","BackgroundSizeOptions","BackgroundRepeatOptions","BackgroundPositionOptions","isDevMode","ElementRef","Renderer2","ImageLoaderService","Directive","Inject","Input","NgModule","HostListener","Injectable","Required","HostBinding","AvatarImageService","EventEmitter","DebounceCall","Output","coerceBoolean","ToggleSubject","Subscription","fromEvent","tap"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;aAEc,SAAS,CAAC,CAAC,EAAE,CAAC;QAC1B,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IAAI;YACrC,MAAM,IAAI,SAAS,CAAC,sBAAsB,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,+BAA+B,CAAC,CAAC;QAC9F,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;QACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,IAAI,EAAE,EAA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AK;2BAAC,cAAc;oBAGd,UAAU;0BADhBA,QAAK;2BAAC,wBAAwB;oBAGxB,OAAO;0BADbA,QAAK;2BAAC,qBAAqB;;;QAsD9B;;;;+IAAa,uBAAuB;gJAAvB,uBAAuB,iBAzEvB,iBAAiB,aAAjB,iBAAiB;gJAyEjB,uBAAuB;sHAAvB,uBAAuB;sBAJnCC,WAAQ;uBAAC;wBACR,YAAY,EAAE,CAAE,iBAAiB,CAAE;wBACnC,OAAO,EAAE,CAAE,iBAAiB,CAAE;qBAC/B;;;IC7FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -17,9 +17,9 @@ export class AvatarBackgroundImageDirective extends BackgroundImageDirective {
17
17
  }
18
18
  }
19
19
  }
20
- AvatarBackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }, { token: AvatarImageService }], target: i0.ɵɵFactoryTarget.Directive });
21
- AvatarBackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
20
+ AvatarBackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }, { token: AvatarImageService }], target: i0.ɵɵFactoryTarget.Directive });
21
+ AvatarBackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  // tslint:disable-next-line:directive-selector
@@ -45,10 +45,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
45
45
  }] } });
46
46
  export class AvatarBackgroundImageDirectiveModule {
47
47
  }
48
- AvatarBackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
50
- AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
48
+ AvatarBackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
50
+ AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
52
52
  type: NgModule,
53
53
  args: [{
54
54
  declarations: [AvatarBackgroundImageDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-background-image.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/avatar-background-image.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;;AAMxE,MAAM,OAAO,8BAA+B,SAAQ,wBAAwB;IAe1E,YAEE,IAAgB,EAEhB,QAAmB,EAEnB,WAA+B,EAEd,WAA+B;QAEhD,KAAK,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;QAFlB,gBAAW,GAAX,WAAW,CAAoB;QAd3C,aAAQ,GAA8B,IAAI,CAAC;QAE3C,SAAI,GAAG,qBAAqB,CAAC,KAAK,CAAC;QAEnC,WAAM,GAAG,uBAAuB,CAAC,SAAS,CAAC;IAalD,CAAC;IAzBD,IACW,IAAI,CAAC,IAAY;QAC1B,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC7B,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;SAC3D;IACH,CAAC;;2HANU,8BAA8B,kBAgB/B,UAAU,aAEV,SAAS,aAET,kBAAkB,aAElB,kBAAkB;+GAtBjB,8BAA8B;2FAA9B,8BAA8B;kBAJ1C,SAAS;mBAAC;oBACT,8CAA8C;oBAC9C,QAAQ,EAAE,6BAA6B;iBACxC;;0BAiBI,MAAM;2BAAC,UAAU;;0BAEjB,MAAM;2BAAC,SAAS;;0BAEhB,MAAM;2BAAC,kBAAkB;;0BAEzB,MAAM;2BAAC,kBAAkB;4CApBjB,IAAI;sBADd,KAAK;gBAQC,QAAQ;sBADd,KAAK;uBAAC,2BAA2B;;AAyBpC,MAAM,OAAO,oCAAoC;;iIAApC,oCAAoC;kIAApC,oCAAoC,iBAjCpC,8BAA8B,aAA9B,8BAA8B;kIAiC9B,oCAAoC;2FAApC,oCAAoC;kBAJhD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE,CAAC,8BAA8B,CAAC;iBAC1C","sourcesContent":["import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n"]}
1
+ {"version":3,"file":"avatar-background-image.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/avatar-background-image.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;;AAMxE,MAAM,OAAO,8BAA+B,SAAQ,wBAAwB;IAe1E,YAEE,IAAgB,EAEhB,QAAmB,EAEnB,WAA+B,EAEd,WAA+B;QAEhD,KAAK,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;QAFlB,gBAAW,GAAX,WAAW,CAAoB;QAd3C,aAAQ,GAA8B,IAAI,CAAC;QAE3C,SAAI,GAAG,qBAAqB,CAAC,KAAK,CAAC;QAEnC,WAAM,GAAG,uBAAuB,CAAC,SAAS,CAAC;IAalD,CAAC;IAzBD,IACW,IAAI,CAAC,IAAY;QAC1B,IAAI,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC7B,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;SAC3D;IACH,CAAC;;4HANU,8BAA8B,kBAgB/B,UAAU,aAEV,SAAS,aAET,kBAAkB,aAElB,kBAAkB;gHAtBjB,8BAA8B;4FAA9B,8BAA8B;kBAJ1C,SAAS;mBAAC;oBACT,8CAA8C;oBAC9C,QAAQ,EAAE,6BAA6B;iBACxC;;0BAiBI,MAAM;2BAAC,UAAU;;0BAEjB,MAAM;2BAAC,SAAS;;0BAEhB,MAAM;2BAAC,kBAAkB;;0BAEzB,MAAM;2BAAC,kBAAkB;4CApBjB,IAAI;sBADd,KAAK;gBAQC,QAAQ;sBADd,KAAK;uBAAC,2BAA2B;;AAyBpC,MAAM,OAAO,oCAAoC;;kIAApC,oCAAoC;mIAApC,oCAAoC,iBAjCpC,8BAA8B,aAA9B,8BAA8B;mIAiC9B,oCAAoC;4FAApC,oCAAoC;kBAJhD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE,CAAC,8BAA8B,CAAC;iBAC1C","sourcesContent":["import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n"]}
@@ -94,9 +94,9 @@ export class BackgroundImageDirective {
94
94
  });
95
95
  }
96
96
  }
97
- BackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }], target: i0.ɵɵFactoryTarget.Directive });
98
- BackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 });
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirective, decorators: [{
97
+ BackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }], target: i0.ɵɵFactoryTarget.Directive });
98
+ BackgroundImageDirective.ɵdir = i0.ɵɵ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 });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirective, decorators: [{
100
100
  type: Directive,
101
101
  args: [{
102
102
  selector: '[rxapBackgroundImage]',
@@ -124,10 +124,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
124
124
  }] } });
125
125
  export class BackgroundImageDirectiveModule {
126
126
  }
127
- BackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
128
- BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
129
- BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule });
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
127
+ BackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
128
+ BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
129
+ BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule });
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
131
131
  type: NgModule,
132
132
  args: [{
133
133
  declarations: [BackgroundImageDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"background-image.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/background-image.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,SAAS,EACT,KAAK,EAGL,SAAS,GAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;;AAEpD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,C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AE;gBACZ,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBACtC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CACpB,IAAI,CAAC,IAAI,CAAC,aAAa,EACvB,kBAAkB,EAClB,QAAQ,QAAQ,IAAI,CACrB,CAAC;aACH;iBAAM;gBACL,IAAI,SAAS,EAAE,EAAE;oBACf,OAAO,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;iBACrD;aACF;QACH,CAAC;KAAA;;qHAvGU,wBAAwB,kBAmBzB,UAAU,aAEV,SAAS,aAET,kBAAkB;yGAvBjB,wBAAwB;2FAAxB,wBAAwB;kBAHpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;iBAClC;;0BAoBI,MAAM;2BAAC,UAAU;;0BAEjB,MAAM;2BAAC,SAAS;;0BAEhB,MAAM;2BAAC,kBAAkB;4CArBrB,QAAQ;sBADd,KAAK;uBAAC,qBAAqB;gBAIrB,mBAAmB;sBADzB,KAAK;gBAIC,IAAI;sBADV,KAAK;gBAIC,MAAM;sBADZ,KAAK;gBAIC,QAAQ;sBADd,KAAK;;AAiGR,MAAM,OAAO,8BAA8B;;2HAA9B,8BAA8B;4HAA9B,8BAA8B,iBA9G9B,wBAAwB,aAAxB,wBAAwB;4HA8GxB,8BAA8B;2FAA9B,8BAA8B;kBAJ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;iBACpC","sourcesContent":["import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n"]}
1
+ {"version":3,"file":"background-image.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/background-image.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,SAAS,EACT,KAAK,EAGL,SAAS,GAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;;;AAEpD,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,8BAA8B;AAC9B,+DAA+D;AAC/D,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,4CAAmB,CAAA;AACrB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC;AAOD,0CAA0C;AAC1C,4DAA4D;AAC5D,MAAM,CAAN,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IACjC,kDAA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aAEV,SAAS,aAET,kBAAkB;0GAvBjB,wBAAwB;4FAAxB,wBAAwB;kBAHpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;iBAClC;;0BAoBI,MAAM;2BAAC,UAAU;;0BAEjB,MAAM;2BAAC,SAAS;;0BAEhB,MAAM;2BAAC,kBAAkB;4CArBrB,QAAQ;sBADd,KAAK;uBAAC,qBAAqB;gBAIrB,mBAAmB;sBADzB,KAAK;gBAIC,IAAI;sBADV,KAAK;gBAIC,MAAM;sBADZ,KAAK;gBAIC,QAAQ;sBADd,KAAK;;AAiGR,MAAM,OAAO,8BAA8B;;4HAA9B,8BAA8B;6HAA9B,8BAA8B,iBA9G9B,wBAAwB,aAAxB,wBAAwB;6HA8GxB,8BAA8B;4FAA9B,8BAA8B;kBAJ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;iBACpC","sourcesContent":["import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n"]}
@@ -17,9 +17,9 @@ export class ConfirmClick {
17
17
  this.execute();
18
18
  }
19
19
  }
20
- ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
- ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick, decorators: [{
20
+ ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick, decorators: [{
23
23
  type: Injectable
24
24
  }], propDecorators: { hasConfirmDirective: [{
25
25
  type: Input,
@@ -1 +1 @@
1
- {"version":3,"file":"confirm-click.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/confirm-click.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAGhD,MAAM,OAAgB,YAAY;IADlC;QAQU,yBAAoB,GAAY,KAAK,CAAC;KAgB/C;IArBC,IACW,mBAAmB,CAAC,KAAU;QACvC,IAAI,CAAC,oBAAoB,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC;IAKM,OAAO;QACZ,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC9B,IAAI,CAAC,OAAO,EAAE,CAAC;SAChB;IACH,CAAC;IAGM,SAAS;QACd,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;;yGAnBmB,YAAY;6GAAZ,YAAY;2FAAZ,YAAY;kBADjC,UAAU;8BAIE,mBAAmB;sBAD7B,KAAK;uBAAC,aAAa;gBAQb,OAAO;sBADb,YAAY;uBAAC,OAAO;gBAQd,SAAS;sBADf,YAAY;uBAAC,WAAW","sourcesContent":["import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n"]}
1
+ {"version":3,"file":"confirm-click.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/confirm-click.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAGhD,MAAM,OAAgB,YAAY;IADlC;QAQU,yBAAoB,GAAY,KAAK,CAAC;KAgB/C;IArBC,IACW,mBAAmB,CAAC,KAAU;QACvC,IAAI,CAAC,oBAAoB,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACnD,CAAC;IAKM,OAAO;QACZ,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC9B,IAAI,CAAC,OAAO,EAAE,CAAC;SAChB;IACH,CAAC;IAGM,SAAS;QACd,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;;0GAnBmB,YAAY;8GAAZ,YAAY;4FAAZ,YAAY;kBADjC,UAAU;8BAIE,mBAAmB;sBAD7B,KAAK;uBAAC,aAAa;gBAQb,OAAO;sBADb,YAAY;uBAAC,OAAO;gBAQd,SAAS;sBADf,YAAY;uBAAC,WAAW","sourcesContent":["import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n"]}
@@ -33,15 +33,15 @@ export class ContenteditableDirective {
33
33
  });
34
34
  }
35
35
  }
36
- ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
37
- ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", 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 });
36
+ ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
37
+ ContenteditableDirective.ɵdir = i0.ɵɵ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 });
38
38
  __decorate([
39
39
  DebounceCall(1000),
40
40
  __metadata("design:type", Function),
41
41
  __metadata("design:paramtypes", [Object]),
42
42
  __metadata("design:returntype", Promise)
43
43
  ], ContenteditableDirective.prototype, "onInput", null);
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirective, decorators: [{
45
45
  type: Directive,
46
46
  args: [{
47
47
  selector: '[rxapContenteditable]'
@@ -71,10 +71,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
71
71
  }] } });
72
72
  export class ContenteditableDirectiveModule {
73
73
  }
74
- ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
- ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
76
- ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
74
+ ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
+ ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
76
+ ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
78
78
  type: NgModule,
79
79
  args: [{
80
80
  declarations: [ContenteditableDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"contenteditable.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/contenteditable.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,MAAM,EACN,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAW/C,MAAM,OAAO,wBAAwB;IAoBnC,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QAjB5C,oBAAe,GAAG,IAAI,CAAC;QAGvB,eAAU,GAAG,KAAK,CAAC;QAMnB,WAAM,GAAG,IAAI,YAAY,EAAwB,CAAC;IASzD,CAAC;IAGM,OAAO,CAAC,MAAa;QAC1B,MAAM,CAAC,eAAe,EAAE,CAAC;IAC3B,CAAC;IAIY,OAAO,CAAC,MAAW;;;YAC9B,MAAM,KAAK,GAAG,MAAA,CAAE,MAAM,CAAC,MAAsB,CAAC,WAAW,CAAC,0C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B,wBAAwB;4HAqDxB,8BAA8B;2FAA9B,8BAA8B;kBAJ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,CAAE;oBAC1C,OAAO,EAAO,CAAE,wBAAwB,CAAE;iBAC3C","sourcesContent":["import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n"]}
1
+ {"version":3,"file":"contenteditable.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/contenteditable.directive.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ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,wBAAwB;kBAHpC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;iBAClC;iGAIQ,eAAe;sBADrB,WAAW;uBAAC,sBAAsB;gBAI5B,UAAU;sBADhB,WAAW;uBAAC,iBAAiB;gBAIvB,MAAM;sBADZ,KAAK;uBAAC,qBAAqB;gBAIrB,MAAM;sBADZ,MAAM;uBAAC,qBAAqB;gBAItB,UAAU;sBADhB,KAAK;gBAIC,OAAO;sBADb,KAAK;gBAOC,OAAO;sBADb,YAAY;uBAAC,OAAO,EAAE,CAAE,QAAQ,CAAE;gBAOtB,OAAO;sBAFnB,YAAY;uBAAC,OAAO,EAAE,CAAE,QAAQ,CAAE;;AAyBrC,MAAM,OAAO,8BAA8B;;4HAA9B,8BAA8B;6HAA9B,8BAA8B,iBArD9B,wBAAwB,aAAxB,wBAAwB;6HAqDxB,8BAA8B;4FAA9B,8BAA8B;kBAJ1C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,CAAE;oBAC1C,OAAO,EAAO,CAAE,wBAAwB,CAAE;iBAC3C","sourcesContent":["import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n"]}
@@ -5,9 +5,9 @@ export class FullWidthDirective {
5
5
  this.width = '100%';
6
6
  }
7
7
  }
8
- FullWidthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
- FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirective, decorators: [{
8
+ FullWidthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
9
+ FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirective, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[rxapFullWidth]',
@@ -18,10 +18,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
18
18
  }] } });
19
19
  export class FullWidthDirectiveModule {
20
20
  }
21
- FullWidthDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
23
- FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
21
+ FullWidthDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
+ FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
23
+ FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
25
25
  type: NgModule,
26
26
  args: [{
27
27
  declarations: [FullWidthDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"full-width.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/full-width.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACT,MAAM,eAAe,CAAC;;AAKvB,MAAM,OAAO,kBAAkB;IAH/B;QAMS,UAAK,GAAW,MAAM,CAAC;KAE/B;;+GALY,kBAAkB;mGAAlB,kBAAkB;2FAAlB,kBAAkB;kBAH9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;iBAC5B;8BAIQ,KAAK;sBADX,WAAW;uBAAC,aAAa;;AAS5B,MAAM,OAAO,wBAAwB;;qHAAxB,wBAAwB;sHAAxB,wBAAwB,iBAXxB,kBAAkB,aAAlB,kBAAkB;sHAWlB,wBAAwB;2FAAxB,wBAAwB;kBAJpC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;iBAC9B","sourcesContent":["import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n"]}
1
+ {"version":3,"file":"full-width.directive.js","sourceRoot":"","sources":["../../../../../libs/directives/src/lib/full-width.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACT,MAAM,eAAe,CAAC;;AAKvB,MAAM,OAAO,kBAAkB;IAH/B;QAMS,UAAK,GAAW,MAAM,CAAC;KAE/B;;gHALY,kBAAkB;oGAAlB,kBAAkB;4FAAlB,kBAAkB;kBAH9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;iBAC5B;8BAIQ,KAAK;sBADX,WAAW;uBAAC,aAAa;;AAS5B,MAAM,OAAO,wBAAwB;;sHAAxB,wBAAwB;uHAAxB,wBAAwB,iBAXxB,kBAAkB,aAAlB,kBAAkB;uHAWlB,wBAAwB;4FAAxB,wBAAwB;kBAJpC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;iBAC9B","sourcesContent":["import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n"]}
@@ -43,9 +43,9 @@ export class IfTruthyDirective {
43
43
  return true;
44
44
  }
45
45
  }
46
- IfTruthyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
47
- IfTruthyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirective, decorators: [{
46
+ IfTruthyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
47
+ IfTruthyDirective.ɵdir = i0.ɵɵ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 });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirective, decorators: [{
49
49
  type: Directive,
50
50
  args: [{
51
51
  selector: '[rxapIfTruthy]'
@@ -62,10 +62,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
62
62
  }] } });
63
63
  export class IfTruthyDirectiveModule {
64
64
  }
65
- IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
66
- IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
67
- IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
65
+ IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
66
+ IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
67
+ IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
69
69
  type: NgModule,
70
70
  args: [{
71
71
  declarations: [IfTruthyDirective],