@rxap/directives 12.3.0 → 13.0.0-next.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 (52) hide show
  1. package/esm2020/index.mjs +13 -0
  2. package/esm2020/lib/avatar-background-image.directive.mjs +58 -0
  3. package/esm2020/lib/background-image.directive.mjs +134 -0
  4. package/esm2020/lib/confirm-click.mjs +34 -0
  5. package/esm2020/lib/contenteditable.directive.mjs +81 -0
  6. package/esm2020/lib/full-width.directive.mjs +31 -0
  7. package/esm2020/lib/if-truthy.directive.mjs +72 -0
  8. package/esm2020/lib/method.directive.mjs +118 -0
  9. package/esm2020/lib/movable-divider.directive.mjs +103 -0
  10. package/esm2020/lib/prevent-default.directive.mjs +31 -0
  11. package/esm2020/lib/share-button.directive.mjs +75 -0
  12. package/esm2020/lib/stop-immediate-propagation.directive.mjs +31 -0
  13. package/esm2020/lib/stop-propagation.directive.mjs +31 -0
  14. package/esm2020/rxap-directives.mjs +5 -0
  15. package/fesm2015/{rxap-directives.js → rxap-directives.mjs} +118 -112
  16. package/fesm2015/rxap-directives.mjs.map +1 -0
  17. package/fesm2020/rxap-directives.mjs +775 -0
  18. package/fesm2020/rxap-directives.mjs.map +1 -0
  19. package/package.json +29 -15
  20. package/src/schematics/ng-add/index.js +1 -1
  21. package/src/schematics/ng-add/index.js.map +1 -1
  22. package/bundles/rxap-directives.umd.js +0 -1273
  23. package/bundles/rxap-directives.umd.js.map +0 -1
  24. package/esm2015/index.js +0 -13
  25. package/esm2015/index.js.map +0 -1
  26. package/esm2015/lib/avatar-background-image.directive.js +0 -58
  27. package/esm2015/lib/avatar-background-image.directive.js.map +0 -1
  28. package/esm2015/lib/background-image.directive.js +0 -137
  29. package/esm2015/lib/background-image.directive.js.map +0 -1
  30. package/esm2015/lib/confirm-click.js +0 -34
  31. package/esm2015/lib/confirm-click.js.map +0 -1
  32. package/esm2015/lib/contenteditable.directive.js +0 -84
  33. package/esm2015/lib/contenteditable.directive.js.map +0 -1
  34. package/esm2015/lib/full-width.directive.js +0 -31
  35. package/esm2015/lib/full-width.directive.js.map +0 -1
  36. package/esm2015/lib/if-truthy.directive.js +0 -75
  37. package/esm2015/lib/if-truthy.directive.js.map +0 -1
  38. package/esm2015/lib/method.directive.js +0 -122
  39. package/esm2015/lib/method.directive.js.map +0 -1
  40. package/esm2015/lib/movable-divider.directive.js +0 -102
  41. package/esm2015/lib/movable-divider.directive.js.map +0 -1
  42. package/esm2015/lib/prevent-default.directive.js +0 -31
  43. package/esm2015/lib/prevent-default.directive.js.map +0 -1
  44. package/esm2015/lib/share-button.directive.js +0 -77
  45. package/esm2015/lib/share-button.directive.js.map +0 -1
  46. package/esm2015/lib/stop-immediate-propagation.directive.js +0 -31
  47. package/esm2015/lib/stop-immediate-propagation.directive.js.map +0 -1
  48. package/esm2015/lib/stop-propagation.directive.js +0 -31
  49. package/esm2015/lib/stop-propagation.directive.js.map +0 -1
  50. package/esm2015/rxap-directives.js +0 -5
  51. package/esm2015/rxap-directives.js.map +0 -1
  52. package/fesm2015/rxap-directives.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rxap-directives.mjs","sources":["../../../../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":["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: any) {\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":[],"mappings":";;;;;;;;;;IAcY;AAAZ,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAA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,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;YACtE,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACzE,OAAO,cAAc,KAAK,WAAW,CAAC;SACvC;QAED,OAAO,IAAI,CAAC;KACb;;8GAhEU,iBAAiB;kGAAjB,iBAAiB;2FAAjB,iBAAiB;kBAH7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;iBAC3B;iKAiBQ,MAAM;sBADZ,KAAK;uBAAC,cAAc;gBAGd,UAAU;sBADhB,KAAK;uBAAC,wBAAwB;gBAGxB,OAAO;sBADb,KAAK;uBAAC,qBAAqB;;MAsDjB,uBAAuB;;oHAAvB,uBAAuB;qHAAvB,uBAAuB,iBAzEvB,iBAAiB,aAAjB,iBAAiB;qHAyEjB,uBAAuB;2FAAvB,uBAAuB;kBAJnC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,iBAAiB,CAAE;oBACnC,OAAO,EAAE,CAAE,iBAAiB,CAAE;iBAC/B;;;AC7FD;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/directives",
3
- "version": "12.3.0",
3
+ "version": "13.0.0-next.1",
4
4
  "private": false,
5
5
  "author": "Merzough Münker",
6
6
  "homepage": "https://gitlab.com/rxap/packages/libs/directives",
@@ -16,13 +16,14 @@
16
16
  },
17
17
  "description": "A collection of utility angular directives used in RxAP.",
18
18
  "peerDependencies": {
19
- "@angular-devkit/schematics": "^12.2.9",
20
- "@angular/cdk": "^12.0.1",
21
- "@angular/common": "^12.0.1",
22
- "@angular/core": "^12.0.1",
23
- "@angular/router": "^12.0.1",
24
- "@rxap/services": "^12.0.8",
25
- "@rxap/utilities": "^12.2.2",
19
+ "@angular-devkit/schematics": "^13.2.4",
20
+ "@angular/cdk": "^13.2.3",
21
+ "@angular/common": "^13.2.3",
22
+ "@angular/core": "^13.2.3",
23
+ "@angular/platform-browser-dynamic": "^13.2.3",
24
+ "@angular/router": "^13.2.3",
25
+ "@rxap/services": "^13.0.0-next.0",
26
+ "@rxap/utilities": "^13.0.0-next.1",
26
27
  "reflect-metadata": "^0.1.13",
27
28
  "rxjs": "^6.5.5"
28
29
  },
@@ -43,14 +44,27 @@
43
44
  "save": "dependencies"
44
45
  },
45
46
  "dependencies": {
46
- "@rxap/schematics-utilities": "^12.7.0",
47
- "tslib": "^2.2.0"
47
+ "@rxap/schematics-utilities": "^13.0.0-next.0",
48
+ "tslib": "^2.3.1"
48
49
  },
49
- "main": "bundles/rxap-directives.umd.js",
50
- "module": "fesm2015/rxap-directives.js",
51
- "es2015": "fesm2015/rxap-directives.js",
52
- "esm2015": "esm2015/rxap-directives.js",
53
- "fesm2015": "fesm2015/rxap-directives.js",
50
+ "module": "fesm2015/rxap-directives.mjs",
51
+ "es2020": "fesm2020/rxap-directives.mjs",
52
+ "esm2020": "esm2020/rxap-directives.mjs",
53
+ "fesm2020": "fesm2020/rxap-directives.mjs",
54
+ "fesm2015": "fesm2015/rxap-directives.mjs",
54
55
  "typings": "rxap-directives.d.ts",
56
+ "exports": {
57
+ "./package.json": {
58
+ "default": "./package.json"
59
+ },
60
+ ".": {
61
+ "types": "./rxap-directives.d.ts",
62
+ "esm2020": "./esm2020/rxap-directives.mjs",
63
+ "es2020": "./fesm2020/rxap-directives.mjs",
64
+ "es2015": "./fesm2015/rxap-directives.mjs",
65
+ "node": "./fesm2015/rxap-directives.mjs",
66
+ "default": "./fesm2020/rxap-directives.mjs"
67
+ }
68
+ },
55
69
  "sideEffects": false
56
70
  }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_utilities_1 = require("@rxap/schematics-utilities");
4
4
  function default_1() {
5
- return schematics_utilities_1.InstallPeerDependencies();
5
+ return (0, schematics_utilities_1.InstallPeerDependencies)();
6
6
  }
7
7
  exports.default = default_1;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/directives/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,8CAAuB,EAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/directives/src/schematics/ng-add/index.ts"],"names":[],"mappings":";;AACA,qEAAqE;AAErE;IACE,OAAO,IAAA,8CAAuB,GAAE,CAAC;AACnC,CAAC;AAFD,4BAEC"}