@rxap/components 12.0.10-alpha.0 → 13.0.0-next.0

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 (69) hide show
  1. package/_theming.scss +1 -1
  2. package/esm2020/index.mjs +33 -0
  3. package/esm2020/lib/button/button.component.mjs +309 -0
  4. package/esm2020/lib/button/button.component.module.mjs +50 -0
  5. package/esm2020/lib/confirm/confirm.component.mjs +24 -0
  6. package/esm2020/lib/confirm/confirm.component.module.mjs +35 -0
  7. package/esm2020/lib/confirm/confirm.directive.mjs +86 -0
  8. package/{esm2015/lib/copy-to-clipboard/copy-to-clipboard.component.js → esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.mjs} +5 -10
  9. package/esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.module.mjs +46 -0
  10. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.mjs +30 -0
  11. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.mjs +34 -0
  12. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +23 -0
  13. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.mjs +34 -0
  14. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.mjs +12 -0
  15. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.module.mjs +22 -0
  16. package/esm2020/lib/json-viewer/json-viewer.component.mjs +172 -0
  17. package/esm2020/lib/json-viewer/json-viewer.component.module.mjs +22 -0
  18. package/esm2020/lib/json-viewer/json-viewer.tokens.mjs +24 -0
  19. package/{esm2015/lib/navigate-back-button/navigate-back-button.component.js → esm2020/lib/navigate-back-button/navigate-back-button.component.mjs} +5 -11
  20. package/esm2020/lib/navigate-back-button/navigate-back-button.component.module.mjs +30 -0
  21. package/esm2020/rxap-components.mjs +5 -0
  22. package/fesm2015/rxap-components.mjs +928 -0
  23. package/fesm2015/rxap-components.mjs.map +1 -0
  24. package/{fesm2015/rxap-components.js → fesm2020/rxap-components.mjs} +77 -124
  25. package/fesm2020/rxap-components.mjs.map +1 -0
  26. package/package.json +34 -20
  27. package/src/schematics/ng-add/index.js +1 -1
  28. package/src/schematics/ng-add/index.js.map +1 -1
  29. package/bundles/rxap-components.umd.js +0 -1433
  30. package/bundles/rxap-components.umd.js.map +0 -1
  31. package/esm2015/index.js +0 -33
  32. package/esm2015/index.js.map +0 -1
  33. package/esm2015/lib/button/button.component.js +0 -317
  34. package/esm2015/lib/button/button.component.js.map +0 -1
  35. package/esm2015/lib/button/button.component.module.js +0 -50
  36. package/esm2015/lib/button/button.component.module.js.map +0 -1
  37. package/esm2015/lib/confirm/confirm.component.js +0 -30
  38. package/esm2015/lib/confirm/confirm.component.js.map +0 -1
  39. package/esm2015/lib/confirm/confirm.component.module.js +0 -35
  40. package/esm2015/lib/confirm/confirm.component.module.js.map +0 -1
  41. package/esm2015/lib/confirm/confirm.directive.js +0 -87
  42. package/esm2015/lib/confirm/confirm.directive.js.map +0 -1
  43. package/esm2015/lib/copy-to-clipboard/copy-to-clipboard.component.js.map +0 -1
  44. package/esm2015/lib/copy-to-clipboard/copy-to-clipboard.component.module.js +0 -46
  45. package/esm2015/lib/copy-to-clipboard/copy-to-clipboard.component.module.js.map +0 -1
  46. package/esm2015/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.js +0 -36
  47. package/esm2015/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.js.map +0 -1
  48. package/esm2015/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.js +0 -34
  49. package/esm2015/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.js.map +0 -1
  50. package/esm2015/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.js +0 -29
  51. package/esm2015/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.js.map +0 -1
  52. package/esm2015/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.js +0 -34
  53. package/esm2015/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.js.map +0 -1
  54. package/esm2015/lib/empty-router-outlet/empty-router-outlet.component.js +0 -15
  55. package/esm2015/lib/empty-router-outlet/empty-router-outlet.component.js.map +0 -1
  56. package/esm2015/lib/empty-router-outlet/empty-router-outlet.component.module.js +0 -22
  57. package/esm2015/lib/empty-router-outlet/empty-router-outlet.component.module.js.map +0 -1
  58. package/esm2015/lib/json-viewer/json-viewer.component.js +0 -178
  59. package/esm2015/lib/json-viewer/json-viewer.component.js.map +0 -1
  60. package/esm2015/lib/json-viewer/json-viewer.component.module.js +0 -22
  61. package/esm2015/lib/json-viewer/json-viewer.component.module.js.map +0 -1
  62. package/esm2015/lib/json-viewer/json-viewer.tokens.js +0 -24
  63. package/esm2015/lib/json-viewer/json-viewer.tokens.js.map +0 -1
  64. package/esm2015/lib/navigate-back-button/navigate-back-button.component.js.map +0 -1
  65. package/esm2015/lib/navigate-back-button/navigate-back-button.component.module.js +0 -30
  66. package/esm2015/lib/navigate-back-button/navigate-back-button.component.module.js.map +0 -1
  67. package/esm2015/rxap-components.js +0 -5
  68. package/esm2015/rxap-components.js.map +0 -1
  69. package/fesm2015/rxap-components.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/button/button.component.ts","../../../../../../libs/components/src/lib/button/button.component.html"],"names":[],"mappings":";AACA,OAAO,EACL,SAAS,EAET,uBAAuB,EAEvB,KAAK,EACL,WAAW,EACX,UAAU,EACV,iBAAiB,EAEjB,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,MAAM,EAEN,QAAQ,EACT,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EAER,SAAS,EACT,cAAc,EAEd,gCAAgC,EACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC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AQ;;0BAAI,MAAM;2BAAC,qBAAqB;4CA1FhC,OAAO;sBADjB,WAAW;uBAAC,oBAAoB;gBAUtB,YAAY;sBADtB,WAAW;uBAAC,yBAAyB;gBAU3B,QAAQ;sBADlB,WAAW;uBAAC,gBAAgB;gBAclB,IAAI;sBADd,WAAW;uBAAC,gBAAgB;gBAKb,OAAO;sBAAtB,KAAK;gBACU,UAAU;sBAAzB,KAAK;gBAGC,MAAM;sBADZ,KAAK;gBAKC,UAAU;sBAFhB,KAAK;uBAAC,aAAa;gBAKb,IAAI;sBADV,KAAK;gBAKC,OAAO;sBAFb,WAAW;uBAAC,mBAAmB;;sBAC/B,KAAK;gBAKC,eAAe;sBAFrB,WAAW;uBAAC,4BAA4B;;sBACxC,KAAK;gBAMC,KAAK;sBAHX,WAAW;uBAAC,oBAAoB;;sBAChC,WAAW;uBAAC,iBAAiB;;sBAC7B,KAAK;gBAKC,IAAI;sBAFV,WAAW;uBAAC,gBAAgB;;sBAC5B,KAAK;gBAKC,OAAO;sBAFb,WAAW;uBAAC,mBAAmB;;sBAC/B,KAAK;gBAIC,UAAU;sBADhB,MAAM;uBAAC,WAAW;gBAIZ,YAAY;sBADlB,MAAM;uBAAC,aAAa;gBAuJd,OAAO;sBADb,YAAY;uBAAC,OAAO","sourcesContent":["import type { Injector } from '@angular/core';\nimport {\n Component,\n OnInit,\n ChangeDetectionStrategy,\n OnChanges,\n Input,\n HostBinding,\n ElementRef,\n ChangeDetectorRef,\n SimpleChanges,\n Inject,\n Optional,\n ViewEncapsulation,\n HostListener,\n EventEmitter,\n Output,\n OnDestroy,\n INJECTOR\n} from '@angular/core';\nimport {\n Required,\n Action,\n IsSvgIcon,\n IsMaterialIcon,\n IconConfig,\n applyContextToFunctionOrConstant\n} from '@rxap/utilities';\nimport { Overlay } from '@angular/cdk/overlay';\nimport { MatButton } from '@angular/material/button';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { ConfirmDirective } from '../confirm/confirm.directive';\nimport { Subscription } from 'rxjs';\nimport {\n ButtonDefinition,\n ButtonTypes\n} from '@rxap/utilities/rxjs';\n\nconst DEFAULT_ROUND_BUTTON_COLOR = 'accent';\n\nconst BUTTON_HOST_ATTRIBUTES = [\n 'mat-button',\n 'mat-flat-button',\n 'mat-icon-button',\n 'mat-raised-button',\n 'mat-stroked-button',\n 'mat-mini-fab',\n 'mat-fab',\n];\n\n@Component({\n selector: 'button[rxap-button]',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n inputs: ['disabled', 'disableRipple', 'color'],\n host: {\n '[attr.disabled]': 'disabled || null',\n '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n class: 'mat-focus-indicator',\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ButtonComponent\n extends MatButton\n implements OnInit, OnChanges, OnDestroy\n{\n @HostBinding('attr.data-svg-icon')\n public get svgIcon(): boolean {\n if (this.icon) {\n return IsSvgIcon(this.icon);\n }\n\n return false;\n }\n\n @HostBinding('attr.data-material-icon')\n public get materialIcon(): boolean {\n if (this.icon) {\n return IsMaterialIcon(this.icon);\n }\n\n return false;\n }\n\n @HostBinding('attr.data-icon')\n public get iconName(): string | null {\n if (this.icon) {\n if (IsSvgIcon(this.icon)) {\n return this.icon.svgIcon;\n } else {\n return this.icon.icon;\n }\n }\n\n return null;\n }\n\n @HostBinding('attr.data-name')\n public get name(): string {\n return this.definition.name;\n }\n\n @Input() public context?: any[];\n @Input() public contextAll?: any[][];\n\n @Input()\n public action: Action | null = null;\n\n @Input('rxap-button')\n @Required\n public definition!: ButtonDefinition<any[]>;\n\n @Input()\n public icon: IconConfig | null = null;\n\n @HostBinding('attr.data-tooltip')\n @Input()\n public tooltip = '';\n\n @HostBinding('attr.data-tooltip-disabled')\n @Input()\n public tooltipDisabled = false;\n\n @HostBinding('attr.data-disabled')\n @HostBinding('attr.data-label')\n @Input()\n public label = '';\n\n @HostBinding('attr.data-show')\n @Input()\n public show = true;\n\n @HostBinding('attr.data-confirm')\n @Input()\n public confirm = false;\n\n @Output('confirmed')\n public confirmed$ = new EventEmitter();\n\n @Output('unconfirmed')\n public unconfirmed$ = new EventEmitter();\n\n public readonly types = ButtonTypes;\n private _confirmDirective!: ConfirmDirective;\n private _subscription = new Subscription();\n\n constructor(\n @Inject(ChangeDetectorRef)\n public readonly cdr: ChangeDetectorRef,\n @Inject(Overlay)\n public readonly overlay: Overlay,\n @Inject(INJECTOR)\n public readonly injector: Injector,\n @Inject(ElementRef)\n public readonly elementRef: ElementRef,\n @Inject(FocusMonitor)\n _focusMonitor: FocusMonitor,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) _animationMode: string\n ) {\n super(elementRef, _focusMonitor, _animationMode);\n }\n\n public contextChange(context: any[] = []) {\n this.disabled = !!applyContextToFunctionOrConstant(\n this.definition.disabled,\n context,\n this.disabled\n );\n this.icon = applyContextToFunctionOrConstant(\n this.definition.icon,\n context,\n this.icon\n );\n this.label = applyContextToFunctionOrConstant(\n this.definition.label,\n context,\n this.label\n )!;\n this.tooltip = applyContextToFunctionOrConstant(\n this.definition.tooltip,\n context,\n this.tooltip\n )!;\n this.tooltipDisabled = !!applyContextToFunctionOrConstant(\n this.definition.tooltipDisabled,\n context,\n this.tooltipDisabled\n );\n this.confirm = applyContextToFunctionOrConstant(\n this.definition.confirm,\n context,\n this.confirm\n )!;\n this.color = applyContextToFunctionOrConstant(\n this.definition.theme,\n context,\n this.color\n ) as any;\n this.action = applyContextToFunctionOrConstant(\n this.definition.action,\n context,\n this.action\n );\n\n if (this.definition.hide) {\n this.show = !applyContextToFunctionOrConstant(\n this.definition.hide,\n context,\n this.show\n );\n }\n\n if (this.definition.show) {\n this.show = !!applyContextToFunctionOrConstant(\n this.definition.show,\n context,\n this.show\n );\n }\n }\n\n public contextAllChange(contextAll: any[][] = []) {\n this.cdr.detach();\n\n this.show = false;\n this.disabled = true;\n\n if (contextAll.length) {\n this.contextChange(contextAll[0]);\n }\n\n for (const context of contextAll) {\n this.disabled = !!applyContextToFunctionOrConstant(\n this.definition.disabled,\n context,\n this.disabled\n );\n if (this.definition.hide) {\n this.show = !applyContextToFunctionOrConstant(\n this.definition.hide,\n context,\n this.show\n );\n }\n\n if (this.definition.show) {\n this.show = !!applyContextToFunctionOrConstant(\n this.definition.show,\n context,\n this.show\n );\n }\n }\n\n this.cdr.reattach();\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n if (changes.context && !changes.context.firstChange) {\n this.contextChange(changes.context.currentValue);\n }\n if (changes.contextAll && !changes.contextAll.firstChange) {\n this.contextAllChange(changes.contextAll.currentValue);\n }\n }\n\n public ngOnInit() {\n if (this.context) {\n this.contextChange(this.context);\n }\n if (this.contextAll) {\n this.contextAllChange(this.contextAll);\n }\n if (!this.context && !this.contextAll) {\n this.contextChange();\n }\n this.updateClasses();\n this._confirmDirective = new ConfirmDirective(\n this.overlay,\n this.elementRef\n );\n this._subscription.add(\n this._confirmDirective.unconfirmed.subscribe(this.unconfirmed$)\n );\n this._subscription.add(\n this._confirmDirective.confirmed.subscribe(this.confirm)\n );\n }\n\n @HostListener('click')\n public onClick() {\n if (this.confirm) {\n this._confirmDirective.onClick();\n }\n const actions = this.getActions();\n if (actions.length) {\n actions.forEach((action) => {\n this.emitClick(action);\n });\n } else {\n this.emitClick(null);\n }\n }\n\n public emitClick($event: Action | null): void {\n if (this.definition.click$) {\n this.definition.click$.next($event ?? null);\n }\n }\n\n public getActions(): Action[] {\n if (this.contextAll && this.contextAll.length) {\n return this.contextAll\n .map((context) =>\n applyContextToFunctionOrConstant(\n this.definition.action,\n context,\n null\n )\n )\n .filter(Boolean) as Action[];\n } else if (this.action) {\n return [this.action];\n }\n return [];\n }\n\n public _hasHostAttributes(...attributes: string[]): boolean {\n const descriptor = Object.getOwnPropertyDescriptor(this, 'definition');\n const hasDefinition = !!descriptor && descriptor.hasOwnProperty('value');\n\n if (hasDefinition) {\n for (const attribute of attributes) {\n switch (attribute) {\n case 'mat-icon-button':\n if (this.definition.type === ButtonTypes.Icon) {\n return true;\n }\n break;\n\n case 'mat-fab':\n if (this.definition.type === ButtonTypes.Fab) {\n return true;\n }\n break;\n\n case 'mat-mini-fab':\n if (this.definition.type === ButtonTypes.MiniFab) {\n return true;\n }\n break;\n\n case 'mat-raised-button':\n if (this.definition.type === ButtonTypes.Raised) {\n return true;\n }\n break;\n\n // TODO : add support for all mat button types\n }\n }\n }\n\n return super._hasHostAttributes(...attributes);\n }\n\n /** Whether the button is icon button. */\n public isIconButton: boolean = this._hasHostAttributes('mat-icon-button');\n public isRoundButton: boolean = this._hasHostAttributes(\n 'mat-fab',\n 'mat-mini-fab'\n );\n\n public ngOnDestroy() {\n super.ngOnDestroy();\n this._confirmDirective.ngOnDestroy();\n this._subscription.unsubscribe();\n }\n\n public updateClasses(): void {\n this.isRoundButton = this._hasHostAttributes('mat-fab', 'mat-mini-fab');\n this.isIconButton = this._hasHostAttributes('mat-icon-button');\n\n for (const attr of BUTTON_HOST_ATTRIBUTES) {\n if (this._hasHostAttributes(attr)) {\n (this._getHostElement() as HTMLElement).classList.add(attr);\n }\n }\n\n if (this.isRoundButton) {\n this.color = DEFAULT_ROUND_BUTTON_COLOR;\n }\n }\n}\n","<span [matTooltipDisabled]=\"tooltipDisabled\" [matTooltip]=\"tooltip\" class=\"mat-button-wrapper\">\n <ng-template\n [ngIfElse]=\"labelOrIconTemplate\"\n [ngIfThen]=\"labelWithIconTemplate\"\n [ngIf]=\"icon && label\">\n </ng-template>\n</span>\n<div [class.mat-button-ripple-round]=\"isRoundButton || isIconButton\" [matRippleCentered]=\"isIconButton\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleTrigger]=\"_getHostElement()\"\n class=\"mat-button-ripple\"\n matRipple></div>\n<div class=\"mat-button-focus-overlay\"></div>\n\n<ng-template #labelTemplate>{{label}}</ng-template>\n<ng-template #labelWithIconTemplate>\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\".8rem\">\n <mat-icon [inline]=\"true\" [rxapIcon]=\"icon\" fxFlex=\"nogrow\"></mat-icon>\n <span fxFlex=\"nogrow\">{{label}}</span>\n </span>\n</ng-template>\n<ng-template #iconTemplate>\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n</ng-template>\n<ng-template #labelOrIconTemplate>\n <ng-template [ngIfElse]=\"labelTemplate\"\n [ngIfThen]=\"iconTemplate\"\n [ngIf]=\"icon\">\n </ng-template>\n</ng-template>\n"]}
@@ -1,50 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { ButtonComponent } from './button.component';
3
- import { MatRippleModule } from '@angular/material/core';
4
- import { FlexLayoutModule } from '@angular/flex-layout';
5
- import { CommonModule } from '@angular/common';
6
- import { MatIconModule } from '@angular/material/icon';
7
- import { MatButtonModule } from '@angular/material/button';
8
- import { MatTooltipModule } from '@angular/material/tooltip';
9
- import { ConfirmComponentModule } from '../confirm/confirm.component.module';
10
- import { IconDirectiveModule } from '@rxap/material-directives/icon';
11
- import * as i0 from "@angular/core";
12
- export class ButtonComponentModule {
13
- }
14
- ButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
- ButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ButtonComponentModule, declarations: [ButtonComponent], imports: [MatRippleModule,
16
- FlexLayoutModule,
17
- CommonModule,
18
- MatIconModule,
19
- MatButtonModule,
20
- MatTooltipModule,
21
- ConfirmComponentModule,
22
- IconDirectiveModule], exports: [ButtonComponent] });
23
- ButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ButtonComponentModule, imports: [[
24
- MatRippleModule,
25
- FlexLayoutModule,
26
- CommonModule,
27
- MatIconModule,
28
- MatButtonModule,
29
- MatTooltipModule,
30
- ConfirmComponentModule,
31
- IconDirectiveModule
32
- ]] });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ButtonComponentModule, decorators: [{
34
- type: NgModule,
35
- args: [{
36
- declarations: [ButtonComponent],
37
- imports: [
38
- MatRippleModule,
39
- FlexLayoutModule,
40
- CommonModule,
41
- MatIconModule,
42
- MatButtonModule,
43
- MatTooltipModule,
44
- ConfirmComponentModule,
45
- IconDirectiveModule
46
- ],
47
- exports: [ButtonComponent]
48
- }]
49
- }] });
50
- //# sourceMappingURL=button.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/button/button.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;;AAiBrE,MAAM,OAAO,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAbhB,eAAe,aAE7B,eAAe;QACf,gBAAgB;QAChB,YAAY;QACZ,aAAa;QACb,eAAe;QACf,gBAAgB;QAChB,sBAAsB;QACtB,mBAAmB,aAEL,eAAe;mHAEpB,qBAAqB,YAZlB;YACZ,eAAe;YACf,gBAAgB;YAChB,YAAY;YACZ,aAAa;YACb,eAAe;YACf,gBAAgB;YAChB,sBAAsB;YACtB,mBAAmB;SACpB;2FAGU,qBAAqB;kBAdjC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,eAAe,CAAE;oBACjC,OAAO,EAAO;wBACZ,eAAe;wBACf,gBAAgB;wBAChB,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,sBAAsB;wBACtB,mBAAmB;qBACpB;oBACD,OAAO,EAAO,CAAE,eAAe,CAAE;iBAClC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { ButtonComponent } from './button.component';\nimport { MatRippleModule } from '@angular/material/core';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { ConfirmComponentModule } from '../confirm/confirm.component.module';\nimport { IconDirectiveModule } from '@rxap/material-directives/icon';\n\n\n@NgModule({\n declarations: [ ButtonComponent ],\n imports: [\n MatRippleModule,\n FlexLayoutModule,\n CommonModule,\n MatIconModule,\n MatButtonModule,\n MatTooltipModule,\n ConfirmComponentModule,\n IconDirectiveModule\n ],\n exports: [ ButtonComponent ]\n})\nexport class ButtonComponentModule {}\n"]}
@@ -1,30 +0,0 @@
1
- import { Component, ChangeDetectionStrategy, EventEmitter, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/material/button";
4
- import * as i2 from "@angular/material/icon";
5
- import * as i3 from "@angular/flex-layout";
6
- export class ConfirmComponent {
7
- constructor() {
8
- this.confirmed = new EventEmitter();
9
- this.unconfirmed = new EventEmitter();
10
- }
11
- }
12
- ConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- ConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: ConfirmComponent, selector: "rxap-confirm", outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { classAttribute: "rxap-confirm" }, ngImport: i0, template: "<div class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button type=\"button\" (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button>\n <mat-icon>done</mat-icon>\n </button>\n <button type=\"button\" (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button>\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n", styles: [".container{border-radius:8px;padding:4px}"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponent, decorators: [{
15
- type: Component,
16
- args: [{
17
- selector: 'rxap-confirm',
18
- templateUrl: './confirm.component.html',
19
- styleUrls: ['./confirm.component.scss'],
20
- host: {
21
- class: 'rxap-confirm'
22
- },
23
- changeDetection: ChangeDetectionStrategy.OnPush
24
- }]
25
- }], propDecorators: { confirmed: [{
26
- type: Output
27
- }], unconfirmed: [{
28
- type: Output
29
- }] } });
30
- //# sourceMappingURL=confirm.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirm.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/confirm/confirm.component.ts","../../../../../../libs/components/src/lib/confirm/confirm.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACP,MAAM,eAAe,CAAC;;;;;AAWvB,MAAM,OAAO,gBAAgB;IAT7B;QAYS,cAAS,GAAG,IAAI,YAAY,EAAQ,CAAC;QAGrC,gBAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;KAE/C;;6GARY,gBAAgB;iGAAhB,gBAAgB,+JChB7B,2WAQA;2FDQa,gBAAgB;kBAT5B,SAAS;mBAAC;oBACT,QAAQ,EAAS,cAAc;oBAC/B,WAAW,EAAM,0BAA0B;oBAC3C,SAAS,EAAQ,CAAE,0BAA0B,CAAE;oBAC/C,IAAI,EAAa;wBACf,KAAK,EAAE,cAAc;qBACtB;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAIQ,SAAS;sBADf,MAAM;gBAIA,WAAW;sBADjB,MAAM","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n EventEmitter,\n Output\n} from '@angular/core';\n\n@Component({\n selector: 'rxap-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: [ './confirm.component.scss' ],\n host: {\n class: 'rxap-confirm'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmComponent {\n\n @Output()\n public confirmed = new EventEmitter<void>();\n\n @Output()\n public unconfirmed = new EventEmitter<void>();\n\n}\n","<div class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button type=\"button\" (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button>\n <mat-icon>done</mat-icon>\n </button>\n <button type=\"button\" (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button>\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n"]}
@@ -1,35 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { ConfirmComponent } from './confirm.component';
3
- import { FlexModule } from '@angular/flex-layout';
4
- import { MatIconModule } from '@angular/material/icon';
5
- import { ConfirmDirective } from './confirm.directive';
6
- import { OverlayModule } from '@angular/cdk/overlay';
7
- import { MatButtonModule } from '@angular/material/button';
8
- import * as i0 from "@angular/core";
9
- export class ConfirmComponentModule {
10
- }
11
- ConfirmComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- ConfirmComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponentModule, declarations: [ConfirmComponent, ConfirmDirective], imports: [FlexModule,
13
- MatButtonModule,
14
- MatIconModule,
15
- OverlayModule], exports: [ConfirmComponent, ConfirmDirective] });
16
- ConfirmComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponentModule, imports: [[
17
- FlexModule,
18
- MatButtonModule,
19
- MatIconModule,
20
- OverlayModule
21
- ]] });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmComponentModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- declarations: [ConfirmComponent, ConfirmDirective],
26
- imports: [
27
- FlexModule,
28
- MatButtonModule,
29
- MatIconModule,
30
- OverlayModule
31
- ],
32
- exports: [ConfirmComponent, ConfirmDirective]
33
- }]
34
- }] });
35
- //# sourceMappingURL=confirm.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirm.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/confirm/confirm.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAY3D,MAAM,OAAO,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,iBATjB,gBAAgB,EAAE,gBAAgB,aAEhD,UAAU;QACV,eAAe;QACf,aAAa;QACb,aAAa,aAEC,gBAAgB,EAAE,gBAAgB;oHAEvC,sBAAsB,YARnB;YACZ,UAAU;YACV,eAAe;YACf,aAAa;YACb,aAAa;SACd;2FAGU,sBAAsB;kBAVlC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,gBAAgB,EAAE,gBAAgB,CAAE;oBACpD,OAAO,EAAO;wBACZ,UAAU;wBACV,eAAe;wBACf,aAAa;wBACb,aAAa;qBACd;oBACD,OAAO,EAAO,CAAE,gBAAgB,EAAE,gBAAgB,CAAE;iBACrD","sourcesContent":["import { NgModule } from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport { FlexModule } from '@angular/flex-layout';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ConfirmDirective } from './confirm.directive';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { MatButtonModule } from '@angular/material/button';\n\n@NgModule({\n declarations: [ ConfirmComponent, ConfirmDirective ],\n imports: [\n FlexModule,\n MatButtonModule,\n MatIconModule,\n OverlayModule\n ],\n exports: [ ConfirmComponent, ConfirmDirective ]\n})\nexport class ConfirmComponentModule {}\n"]}
@@ -1,87 +0,0 @@
1
- import { Directive, HostListener, ElementRef, EventEmitter, Output, Input, Inject, } from '@angular/core';
2
- import { ConfirmComponent } from './confirm.component';
3
- import { Overlay } from '@angular/cdk/overlay';
4
- import { ComponentPortal } from '@angular/cdk/portal';
5
- import { tap, take } from 'rxjs/operators';
6
- import { Subscription } from 'rxjs';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/cdk/overlay";
9
- export class ConfirmDirective {
10
- constructor(overlay, elementRef) {
11
- this.overlay = overlay;
12
- this.elementRef = elementRef;
13
- this.confirmed = new EventEmitter();
14
- this.unconfirmed = new EventEmitter();
15
- this.subscription = null;
16
- }
17
- // use a set input to allow auto import detection if the eventValue
18
- // is not set
19
- set eventValue(value) {
20
- if (value !== '') {
21
- this._eventValue = value;
22
- }
23
- }
24
- onClick() {
25
- if (this.subscription) {
26
- return;
27
- }
28
- this.overlayRef = this.overlay.create({
29
- scrollStrategy: this.overlay.scrollStrategies.close(),
30
- positionStrategy: this.overlay
31
- .position()
32
- .flexibleConnectedTo(this.elementRef.nativeElement)
33
- .withPositions([
34
- {
35
- originX: 'start',
36
- originY: 'bottom',
37
- overlayX: 'start',
38
- overlayY: 'top',
39
- },
40
- ])
41
- .withDefaultOffsetY(10),
42
- });
43
- const componentPortal = new ComponentPortal(ConfirmComponent);
44
- const componentRef = this.overlayRef.attach(componentPortal);
45
- this.subscription = new Subscription();
46
- this.subscription.add(componentRef.instance.confirmed
47
- .pipe(take(1), tap(() => this.confirmed.emit(this._eventValue)), tap(() => { var _a; return (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.dispose(); }), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
48
- .subscribe());
49
- this.subscription.add(componentRef.instance.unconfirmed
50
- .pipe(take(1), tap(() => this.unconfirmed.emit(this._eventValue)), tap(() => { var _a; return (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.dispose(); }), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
51
- .subscribe());
52
- this.subscription.add(this.overlayRef
53
- .detachments()
54
- .pipe(take(1), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
55
- .subscribe());
56
- }
57
- ngOnDestroy() {
58
- var _a, _b;
59
- (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
60
- (_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
61
- }
62
- }
63
- ConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmDirective, deps: [{ token: Overlay }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
64
- ConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: { eventValue: ["rxapConfirm", "eventValue"] }, outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmDirective, decorators: [{
66
- type: Directive,
67
- args: [{
68
- selector: '[rxapConfirm]',
69
- }]
70
- }], ctorParameters: function () { return [{ type: i1.Overlay, decorators: [{
71
- type: Inject,
72
- args: [Overlay]
73
- }] }, { type: i0.ElementRef, decorators: [{
74
- type: Inject,
75
- args: [ElementRef]
76
- }] }]; }, propDecorators: { eventValue: [{
77
- type: Input,
78
- args: ['rxapConfirm']
79
- }], confirmed: [{
80
- type: Output
81
- }], unconfirmed: [{
82
- type: Output
83
- }], onClick: [{
84
- type: HostListener,
85
- args: ['click']
86
- }] } });
87
- //# sourceMappingURL=confirm.directive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"confirm.directive.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/confirm/confirm.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,MAAM,EAEN,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAc,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;;;AAKpC,MAAM,OAAO,gBAAgB;IAsB3B,YAEmB,OAAgB,EAEhB,UAAsB;QAFtB,YAAO,GAAP,OAAO,CAAS;QAEhB,eAAU,GAAV,UAAU,CA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A,IAAI,CAAC,YAAY,0CAAE,WAAW,EAAE,CAAC;QACjC,MAAA,IAAI,CAAC,UAAU,0CAAE,OAAO,EAAE,CAAC;IAC7B,CAAC;;6GA/FU,gBAAgB,kBAuBjB,OAAO,aAEP,UAAU;iGAzBT,gBAAgB;2FAAhB,gBAAgB;kBAH5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;iBAC1B;;0BAwBI,MAAM;2BAAC,OAAO;;0BAEd,MAAM;2BAAC,UAAU;4CArBT,UAAU;sBADpB,KAAK;uBAAC,aAAa;gBAQb,SAAS;sBADf,MAAM;gBAIA,WAAW;sBADjB,MAAM;gBAiBA,OAAO;sBADb,YAAY;uBAAC,OAAO","sourcesContent":["import {\n Directive,\n HostListener,\n ElementRef,\n EventEmitter,\n Output,\n OnDestroy,\n Input,\n Inject,\n} from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { tap, take } from 'rxjs/operators';\nimport { Subscription } from 'rxjs';\n\n@Directive({\n selector: '[rxapConfirm]',\n})\nexport class ConfirmDirective<T = any> implements OnDestroy {\n // use a set input to allow auto import detection if the eventValue\n // is not set\n @Input('rxapConfirm')\n public set eventValue(value: T | '') {\n if (value !== '') {\n this._eventValue = value;\n }\n }\n\n @Output()\n public confirmed = new EventEmitter<T | undefined>();\n\n @Output()\n public unconfirmed = new EventEmitter<T | undefined>();\n\n private subscription: Subscription | null = null;\n\n private overlayRef?: OverlayRef;\n\n private _eventValue?: T;\n\n constructor(\n @Inject(Overlay)\n private readonly overlay: Overlay,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef\n ) {}\n\n @HostListener('click')\n public onClick() {\n if (this.subscription) {\n return;\n }\n\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.close(),\n positionStrategy: this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef.nativeElement)\n .withPositions([\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n ])\n .withDefaultOffsetY(10),\n });\n const componentPortal = new ComponentPortal(ConfirmComponent);\n\n const componentRef = this.overlayRef.attach(componentPortal);\n\n this.subscription = new Subscription();\n\n this.subscription.add(\n componentRef.instance.confirmed\n .pipe(\n take(1),\n tap(() => this.confirmed.emit(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe())\n )\n .subscribe()\n );\n\n this.subscription.add(\n componentRef.instance.unconfirmed\n .pipe(\n take(1),\n tap(() => this.unconfirmed.emit(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe())\n )\n .subscribe()\n );\n\n this.subscription.add(\n this.overlayRef\n .detachments()\n .pipe(\n take(1),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe())\n )\n .subscribe()\n );\n }\n\n public ngOnDestroy() {\n this.subscription?.unsubscribe();\n this.overlayRef?.dispose();\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy-to-clipboard.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts","../../../../../../libs/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;;;;;AAQ3C,MAAM,OAAO,wBAAwB;IANrC;QAQkB,WAAM,GAAc,IAAI,CAAC;QACzB,aAAQ,GAAY,KAAK,CAAC;KAG3C;;qHANY,wBAAwB;yGAAxB,wBAAwB,kICbrC,gYAKA;ADYqB;IAAT,QAAQ;;uDAAuB;2FAJ9B,wBAAwB;kBANpC,SAAS;mBAAC;oBACT,QAAQ,EAAS,wBAAwB;oBACzC,WAAW,EAAM,oCAAoC;oBACrD,SAAS,EAAQ,CAAE,oCAAoC,CAAE;oBACzD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAGiB,MAAM;sBAArB,KAAK;gBACU,QAAQ;sBAAvB,KAAK;gBACoB,KAAK;sBAA9B,KAAK","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\n\n@Component({\n selector: 'rxap-copy-to-clipboard',\n templateUrl: './copy-to-clipboard.component.html',\n styleUrls: [ './copy-to-clipboard.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CopyToClipboardComponent {\n\n @Input() public active: boolean = true;\n @Input() public disabled: boolean = false;\n @Input() @Required public value!: string;\n\n}\n","<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\".2rem\">\n <rxap-copy-to-clipboard-button fxFlex=\"40px\" *ngIf=\"active\" [value]=\"value\"></rxap-copy-to-clipboard-button>\n <span #ref fxFlex=\"nogrow\" class=\"content\"><ng-content></ng-content></span>\n <span *ngIf=\"!ref.innerHTML.trim()\" fxFlex=\"nogrow\" class=\"content\">{{ value }}</span>\n</div>\n"]}
@@ -1,46 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CopyToClipboardComponent } from './copy-to-clipboard.component';
3
- import { FlexLayoutModule } from '@angular/flex-layout';
4
- import { ClipboardModule } from '@angular/cdk/clipboard';
5
- import { CommonModule } from '@angular/common';
6
- import { MatButtonModule } from '@angular/material/button';
7
- import { MatIconModule } from '@angular/material/icon';
8
- import { MatSnackBarModule } from '@angular/material/snack-bar';
9
- import { CopyToClipboardButtonComponentModule } from '../copy-to-clipboard-button/copy-to-clipboard-button.component.module';
10
- import * as i0 from "@angular/core";
11
- export class CopyToClipboardModule {
12
- }
13
- CopyToClipboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
- CopyToClipboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardModule, declarations: [CopyToClipboardComponent], imports: [FlexLayoutModule,
15
- ClipboardModule,
16
- CommonModule,
17
- MatIconModule,
18
- MatButtonModule,
19
- MatSnackBarModule,
20
- CopyToClipboardButtonComponentModule], exports: [CopyToClipboardComponent] });
21
- CopyToClipboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardModule, imports: [[
22
- FlexLayoutModule,
23
- ClipboardModule,
24
- CommonModule,
25
- MatIconModule,
26
- MatButtonModule,
27
- MatSnackBarModule,
28
- CopyToClipboardButtonComponentModule,
29
- ]] });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardModule, decorators: [{
31
- type: NgModule,
32
- args: [{
33
- declarations: [CopyToClipboardComponent],
34
- imports: [
35
- FlexLayoutModule,
36
- ClipboardModule,
37
- CommonModule,
38
- MatIconModule,
39
- MatButtonModule,
40
- MatSnackBarModule,
41
- CopyToClipboardButtonComponentModule,
42
- ],
43
- exports: [CopyToClipboardComponent]
44
- }]
45
- }] });
46
- //# sourceMappingURL=copy-to-clipboard.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy-to-clipboard.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uEAAuE,CAAC;;AAgB7H,MAAM,OAAO,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAZhB,wBAAwB,aAEtC,gBAAgB;QAChB,eAAe;QACf,YAAY;QACZ,aAAa;QACb,eAAe;QACf,iBAAiB;QACjB,oCAAoC,aAEtB,wBAAwB;mHAE7B,qBAAqB,YAXlB;YACZ,gBAAgB;YAChB,eAAe;YACf,YAAY;YACZ,aAAa;YACb,eAAe;YACf,iBAAiB;YACjB,oCAAoC;SACrC;2FAGU,qBAAqB;kBAbjC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,wBAAwB,CAAE;oBAC1C,OAAO,EAAO;wBACZ,gBAAgB;wBAChB,eAAe;wBACf,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,iBAAiB;wBACjB,oCAAoC;qBACrC;oBACD,OAAO,EAAO,CAAE,wBAAwB,CAAE;iBAC3C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CopyToClipboardComponent } from './copy-to-clipboard.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { CopyToClipboardButtonComponentModule } from '../copy-to-clipboard-button/copy-to-clipboard-button.component.module';\n\n\n@NgModule({\n declarations: [ CopyToClipboardComponent ],\n imports: [\n FlexLayoutModule,\n ClipboardModule,\n CommonModule,\n MatIconModule,\n MatButtonModule,\n MatSnackBarModule,\n CopyToClipboardButtonComponentModule,\n ],\n exports: [ CopyToClipboardComponent ]\n})\nexport class CopyToClipboardModule {}\n"]}
@@ -1,36 +0,0 @@
1
- import { Component, ChangeDetectionStrategy, Input, Inject, } from '@angular/core';
2
- import { MatSnackBar } from '@angular/material/snack-bar';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- import * as i2 from "@angular/material/icon";
6
- import * as i3 from "@angular/cdk/clipboard";
7
- import * as i4 from "@angular/material/snack-bar";
8
- export class CopyToClipboardButtonComponent {
9
- constructor(snackbar) {
10
- this.snackbar = snackbar;
11
- this.value = '';
12
- }
13
- copied() {
14
- this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {
15
- duration: 2500,
16
- });
17
- }
18
- }
19
- CopyToClipboardButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
20
- CopyToClipboardButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: { value: "value" }, host: { classAttribute: "rxap-copy-to-clipboard-button" }, ngImport: i0, template: "<button\n [cdkCopyToClipboard]=\"value\"\n (click)=\"$event.stopPropagation()\"\n (cdkCopyToClipboardCopied)=\"copied()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n", styles: [""], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
22
- type: Component,
23
- args: [{
24
- selector: 'rxap-copy-to-clipboard-button',
25
- templateUrl: './copy-to-clipboard-button.component.html',
26
- styleUrls: ['./copy-to-clipboard-button.component.scss'],
27
- changeDetection: ChangeDetectionStrategy.OnPush,
28
- host: { class: 'rxap-copy-to-clipboard-button' },
29
- }]
30
- }], ctorParameters: function () { return [{ type: i4.MatSnackBar, decorators: [{
31
- type: Inject,
32
- args: [MatSnackBar]
33
- }] }]; }, propDecorators: { value: [{
34
- type: Input
35
- }] } });
36
- //# sourceMappingURL=copy-to-clipboard-button.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy-to-clipboard-button.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts","../../../../../../libs/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;;;;;;AAS1D,MAAM,OAAO,8BAA8B;IAIzC,YAAkD,QAAqB;QAArB,aAAQ,GAAR,QAAQ,CAAa;QAFhE,UAAK,GAAW,EAAE,CAAC;IAEgD,CAAC;IAEpE,MAAM;QACX,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,4CAA4C,EAAE,IAAI,EAAE;YACrE,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC;IACL,CAAC;;2HAVU,8BAA8B,kBAIrB,WAAW;+GAJpB,8BAA8B,4JCf3C,yNASA;2FDMa,8BAA8B;kBAP1C,SAAS;mBAAC;oBACT,QAAQ,EAAE,+BAA+B;oBACzC,WAAW,EAAE,2CAA2C;oBACxD,SAAS,EAAE,CAAC,2CAA2C,CAAC;oBACxD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,+BAA+B,EAAE;iBACjD;;0BAKc,MAAM;2BAAC,WAAW;4CAFxB,KAAK;sBADX,KAAK","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input,\n Inject,\n} from '@angular/core';\nimport { MatSnackBar } from '@angular/material/snack-bar';\n\n@Component({\n selector: 'rxap-copy-to-clipboard-button',\n templateUrl: './copy-to-clipboard-button.component.html',\n styleUrls: ['./copy-to-clipboard-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-copy-to-clipboard-button' },\n})\nexport class CopyToClipboardButtonComponent {\n @Input()\n public value: string = '';\n\n constructor(@Inject(MatSnackBar) private readonly snackbar: MatSnackBar) {}\n\n public copied() {\n this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {\n duration: 2500,\n });\n }\n}\n","<button\n [cdkCopyToClipboard]=\"value\"\n (click)=\"$event.stopPropagation()\"\n (cdkCopyToClipboardCopied)=\"copied()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n"]}
@@ -1,34 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CopyToClipboardButtonComponent } from './copy-to-clipboard-button.component';
3
- import { MatIconModule } from '@angular/material/icon';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import { ClipboardModule } from '@angular/cdk/clipboard';
6
- import { MatSnackBarModule } from '@angular/material/snack-bar';
7
- import * as i0 from "@angular/core";
8
- export class CopyToClipboardButtonComponentModule {
9
- }
10
- CopyToClipboardButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- CopyToClipboardButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponentModule, declarations: [CopyToClipboardButtonComponent], imports: [MatIconModule,
12
- MatButtonModule,
13
- ClipboardModule,
14
- MatSnackBarModule], exports: [CopyToClipboardButtonComponent] });
15
- CopyToClipboardButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponentModule, imports: [[
16
- MatIconModule,
17
- MatButtonModule,
18
- ClipboardModule,
19
- MatSnackBarModule
20
- ]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: CopyToClipboardButtonComponentModule, decorators: [{
22
- type: NgModule,
23
- args: [{
24
- declarations: [CopyToClipboardButtonComponent],
25
- imports: [
26
- MatIconModule,
27
- MatButtonModule,
28
- ClipboardModule,
29
- MatSnackBarModule
30
- ],
31
- exports: [CopyToClipboardButtonComponent]
32
- }]
33
- }] });
34
- //# sourceMappingURL=copy-to-clipboard-button.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"copy-to-clipboard-button.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;;AAYhE,MAAM,OAAO,oCAAoC;;iIAApC,oCAAoC;kIAApC,oCAAoC,iBAT/B,8BAA8B,aAE5C,aAAa;QACb,eAAe;QACf,eAAe;QACf,iBAAiB,aAEH,8BAA8B;kIAEnC,oCAAoC,YARjC;YACZ,aAAa;YACb,eAAe;YACf,eAAe;YACf,iBAAiB;SAClB;2FAGU,oCAAoC;kBAVhD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,8BAA8B,CAAE;oBAChD,OAAO,EAAO;wBACZ,aAAa;wBACb,eAAe;wBACf,eAAe;wBACf,iBAAiB;qBAClB;oBACD,OAAO,EAAO,CAAE,8BAA8B,CAAE;iBACjD","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CopyToClipboardButtonComponent } from './copy-to-clipboard-button.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\n\n@NgModule({\n declarations: [ CopyToClipboardButtonComponent ],\n imports: [\n MatIconModule,\n MatButtonModule,\n ClipboardModule,\n MatSnackBarModule\n ],\n exports: [ CopyToClipboardButtonComponent ]\n})\nexport class CopyToClipboardButtonComponentModule {}\n"]}
@@ -1,29 +0,0 @@
1
- import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
2
- import { ThemeService } from '@rxap/services';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- import * as i2 from "@angular/material/icon";
6
- import * as i3 from "@rxap/directives";
7
- import * as i4 from "@angular/common";
8
- import * as i5 from "@rxap/services";
9
- export class DarkModeToggleButtonComponent {
10
- constructor(theme) {
11
- this.theme = theme;
12
- }
13
- }
14
- DarkModeToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
15
- DarkModeToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: DarkModeToggleButtonComponent, selector: "rxap-dark-mode-toggle-button", host: { classAttribute: "rxap-dark-mode-toggle-button" }, ngImport: i0, template: "<button rxapStopPropagation mat-icon-button (click)=\"theme.toggleDarkTheme()\">\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n", styles: [""], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.StopPropagationDirective, selector: "[rxapStopPropagation]" }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponent, decorators: [{
17
- type: Component,
18
- args: [{
19
- selector: 'rxap-dark-mode-toggle-button',
20
- templateUrl: './dark-mode-toggle-button.component.html',
21
- styleUrls: ['./dark-mode-toggle-button.component.scss'],
22
- changeDetection: ChangeDetectionStrategy.OnPush,
23
- host: { class: 'rxap-dark-mode-toggle-button' },
24
- }]
25
- }], ctorParameters: function () { return [{ type: i5.ThemeService, decorators: [{
26
- type: Inject,
27
- args: [ThemeService]
28
- }] }]; } });
29
- //# sourceMappingURL=dark-mode-toggle-button.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dark-mode-toggle-button.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.ts","../../../../../../libs/components/src/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;;;AAS9C,MAAM,OAAO,6BAA6B;IACxC,YAEkB,KAAmB;QAAnB,UAAK,GAAL,KAAK,CAAc;IAClC,CAAC;;0HAJO,6BAA6B,kBAE9B,YAAY;8GAFX,6BAA6B,8HCV1C,4NAIA;2FDMa,6BAA6B;kBAPzC,SAAS;mBAAC;oBACT,QAAQ,EAAE,8BAA8B;oBACxC,WAAW,EAAE,0CAA0C;oBACvD,SAAS,EAAE,CAAC,0CAA0C,CAAC;oBACvD,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE;iBAChD;;0BAGI,MAAM;2BAAC,YAAY","sourcesContent":["import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';\nimport { ThemeService } from '@rxap/services';\n\n@Component({\n selector: 'rxap-dark-mode-toggle-button',\n templateUrl: './dark-mode-toggle-button.component.html',\n styleUrls: ['./dark-mode-toggle-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-dark-mode-toggle-button' },\n})\nexport class DarkModeToggleButtonComponent {\n constructor(\n @Inject(ThemeService)\n public readonly theme: ThemeService\n ) {}\n}\n","<button rxapStopPropagation mat-icon-button (click)=\"theme.toggleDarkTheme()\">\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n"]}
@@ -1,34 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { DarkModeToggleButtonComponent } from './dark-mode-toggle-button.component';
3
- import { MatButtonModule } from '@angular/material/button';
4
- import { MatIconModule } from '@angular/material/icon';
5
- import { CommonModule } from '@angular/common';
6
- import { StopPropagationDirectiveModule } from '@rxap/directives';
7
- import * as i0 from "@angular/core";
8
- export class DarkModeToggleButtonComponentModule {
9
- }
10
- DarkModeToggleButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- DarkModeToggleButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponentModule, declarations: [DarkModeToggleButtonComponent], imports: [MatButtonModule,
12
- MatIconModule,
13
- CommonModule,
14
- StopPropagationDirectiveModule], exports: [DarkModeToggleButtonComponent] });
15
- DarkModeToggleButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponentModule, imports: [[
16
- MatButtonModule,
17
- MatIconModule,
18
- CommonModule,
19
- StopPropagationDirectiveModule,
20
- ]] });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: DarkModeToggleButtonComponentModule, decorators: [{
22
- type: NgModule,
23
- args: [{
24
- declarations: [DarkModeToggleButtonComponent],
25
- imports: [
26
- MatButtonModule,
27
- MatIconModule,
28
- CommonModule,
29
- StopPropagationDirectiveModule,
30
- ],
31
- exports: [DarkModeToggleButtonComponent]
32
- }]
33
- }] });
34
- //# sourceMappingURL=dark-mode-toggle-button.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dark-mode-toggle-button.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,kBAAkB,CAAC;;AAalE,MAAM,OAAO,mCAAmC;;gIAAnC,mCAAmC;iIAAnC,mCAAmC,iBAT/B,6BAA6B,aAE1C,eAAe;QACf,aAAa;QACb,YAAY;QACZ,8BAA8B,aAEtB,6BAA6B;iIAE5B,mCAAmC,YARrC;YACP,eAAe;YACf,aAAa;YACb,YAAY;YACZ,8BAA8B;SAC/B;2FAGU,mCAAmC;kBAV/C,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE;wBACP,eAAe;wBACf,aAAa;wBACb,YAAY;wBACZ,8BAA8B;qBAC/B;oBACD,OAAO,EAAE,CAAC,6BAA6B,CAAC;iBACzC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { DarkModeToggleButtonComponent } from './dark-mode-toggle-button.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { StopPropagationDirectiveModule } from '@rxap/directives';\n\n\n@NgModule({\n declarations: [DarkModeToggleButtonComponent],\n imports: [\n MatButtonModule,\n MatIconModule,\n CommonModule,\n StopPropagationDirectiveModule,\n ],\n exports: [DarkModeToggleButtonComponent]\n})\nexport class DarkModeToggleButtonComponentModule { }\n"]}
@@ -1,15 +0,0 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/router";
4
- export class EmptyRouterOutletComponent {
5
- }
6
- EmptyRouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
- EmptyRouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: EmptyRouterOutletComponent, selector: "ng-component", ngImport: i0, template: "<router-outlet></router-outlet>\n", directives: [{ type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
9
- type: Component,
10
- args: [{
11
- templateUrl: './empty-router-outlet.component.html',
12
- changeDetection: ChangeDetectionStrategy.OnPush
13
- }]
14
- }] });
15
- //# sourceMappingURL=empty-router-outlet.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"empty-router-outlet.component.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/empty-router-outlet/empty-router-outlet.component.ts","../../../../../../libs/components/src/lib/empty-router-outlet/empty-router-outlet.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACxB,MAAM,eAAe,CAAC;;;AAMvB,MAAM,OAAO,0BAA0B;;uHAA1B,0BAA0B;2GAA1B,0BAA0B,oDCTvC,mCACA;2FDQa,0BAA0B;kBAJtC,SAAS;mBAAC;oBACT,WAAW,EAAM,sCAAsC;oBACvD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy\n} from '@angular/core';\n\n@Component({\n templateUrl: './empty-router-outlet.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EmptyRouterOutletComponent {}\n","<router-outlet></router-outlet>\n"]}
@@ -1,22 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { EmptyRouterOutletComponent } from './empty-router-outlet.component';
3
- import { RouterModule } from '@angular/router';
4
- import * as i0 from "@angular/core";
5
- export class EmptyRouterOutletModule {
6
- }
7
- EmptyRouterOutletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- EmptyRouterOutletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletModule, declarations: [EmptyRouterOutletComponent], imports: [RouterModule], exports: [EmptyRouterOutletComponent] });
9
- EmptyRouterOutletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletModule, imports: [[
10
- RouterModule
11
- ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: EmptyRouterOutletModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [EmptyRouterOutletComponent],
16
- imports: [
17
- RouterModule
18
- ],
19
- exports: [EmptyRouterOutletComponent]
20
- }]
21
- }] });
22
- //# sourceMappingURL=empty-router-outlet.component.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"empty-router-outlet.component.module.js","sourceRoot":"","sources":["../../../../../../libs/components/src/lib/empty-router-outlet/empty-router-outlet.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAU/C,MAAM,OAAO,uBAAuB;;oHAAvB,uBAAuB;qHAAvB,uBAAuB,iBANlB,0BAA0B,aAExC,YAAY,aAEE,0BAA0B;qHAE/B,uBAAuB,YALpB;YACZ,YAAY;SACb;2FAGU,uBAAuB;kBAPnC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,0BAA0B,CAAE;oBAC5C,OAAO,EAAO;wBACZ,YAAY;qBACb;oBACD,OAAO,EAAO,CAAE,0BAA0B,CAAE;iBAC7C","sourcesContent":["import { NgModule } from '@angular/core';\nimport { EmptyRouterOutletComponent } from './empty-router-outlet.component';\nimport { RouterModule } from '@angular/router';\n\n\n@NgModule({\n declarations: [ EmptyRouterOutletComponent ],\n imports: [\n RouterModule\n ],\n exports: [ EmptyRouterOutletComponent ]\n})\nexport class EmptyRouterOutletModule {}\n"]}