ngx-gccb 0.0.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 (90) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/animations/fade-right.animation.mjs +9 -0
  3. package/esm2022/lib/animations/fade-up.animation.mjs +9 -0
  4. package/esm2022/lib/animations/index.mjs +3 -0
  5. package/esm2022/lib/components/form-errors/form-errors.component.mjs +38 -0
  6. package/esm2022/lib/components/form-errors/index.mjs +2 -0
  7. package/esm2022/lib/components/form-input/form-input.component.mjs +49 -0
  8. package/esm2022/lib/components/form-input/index.mjs +2 -0
  9. package/esm2022/lib/components/index.mjs +7 -0
  10. package/esm2022/lib/components/loading-indicator/index.mjs +2 -0
  11. package/esm2022/lib/components/loading-indicator/loading-indicator.component.mjs +17 -0
  12. package/esm2022/lib/components/modal/index.mjs +2 -0
  13. package/esm2022/lib/components/modal/modal.component.mjs +25 -0
  14. package/esm2022/lib/components/off-canvas/index.mjs +2 -0
  15. package/esm2022/lib/components/off-canvas/off-canvas.component.mjs +27 -0
  16. package/esm2022/lib/components/toast/index.mjs +2 -0
  17. package/esm2022/lib/components/toast/toast.component.mjs +44 -0
  18. package/esm2022/lib/directives/button-outline.directive.mjs +33 -0
  19. package/esm2022/lib/directives/button.directive.mjs +54 -0
  20. package/esm2022/lib/directives/form-input.directive.mjs +31 -0
  21. package/esm2022/lib/directives/form-label.directive.mjs +20 -0
  22. package/esm2022/lib/directives/form-select.directive.mjs +31 -0
  23. package/esm2022/lib/directives/icon-button.directive.mjs +37 -0
  24. package/esm2022/lib/directives/index.mjs +9 -0
  25. package/esm2022/lib/directives/list-group-item.directive.mjs +23 -0
  26. package/esm2022/lib/directives/list-group.directive.mjs +22 -0
  27. package/esm2022/lib/helpers/index.mjs +2 -0
  28. package/esm2022/lib/helpers/sort.helper.mjs +31 -0
  29. package/esm2022/lib/interfaces/dictionary.interface.mjs +2 -0
  30. package/esm2022/lib/interfaces/index.mjs +2 -0
  31. package/esm2022/lib/pipe/form-control.pipe.mjs +17 -0
  32. package/esm2022/lib/pipe/index.mjs +2 -0
  33. package/esm2022/lib/services/index.mjs +6 -0
  34. package/esm2022/lib/services/loading-indicator.service.mjs +16 -0
  35. package/esm2022/lib/services/local.service.mjs +30 -0
  36. package/esm2022/lib/services/modal.service.mjs +28 -0
  37. package/esm2022/lib/services/toast.service.mjs +39 -0
  38. package/esm2022/lib/services/token.service.mjs +26 -0
  39. package/esm2022/lib/typings/array-extension.mjs +32 -0
  40. package/esm2022/lib/typings/date-extension.mjs +28 -0
  41. package/esm2022/lib/typings/index.mjs +4 -0
  42. package/esm2022/lib/typings/string-extensions.mjs +5 -0
  43. package/esm2022/ngx-gccb.mjs +5 -0
  44. package/esm2022/public-api.mjs +14 -0
  45. package/fesm2022/ngx-gccb.mjs +684 -0
  46. package/fesm2022/ngx-gccb.mjs.map +1 -0
  47. package/index.d.ts +5 -0
  48. package/lib/animations/fade-right.animation.d.ts +1 -0
  49. package/lib/animations/fade-up.animation.d.ts +1 -0
  50. package/lib/animations/index.d.ts +2 -0
  51. package/lib/components/form-errors/form-errors.component.d.ts +7 -0
  52. package/lib/components/form-errors/index.d.ts +1 -0
  53. package/lib/components/form-input/form-input.component.d.ts +21 -0
  54. package/lib/components/form-input/index.d.ts +1 -0
  55. package/lib/components/index.d.ts +6 -0
  56. package/lib/components/loading-indicator/index.d.ts +1 -0
  57. package/lib/components/loading-indicator/loading-indicator.component.d.ts +6 -0
  58. package/lib/components/modal/index.d.ts +1 -0
  59. package/lib/components/modal/modal.component.d.ts +10 -0
  60. package/lib/components/off-canvas/index.d.ts +1 -0
  61. package/lib/components/off-canvas/off-canvas.component.d.ts +10 -0
  62. package/lib/components/toast/index.d.ts +1 -0
  63. package/lib/components/toast/toast.component.d.ts +8 -0
  64. package/lib/directives/button-outline.directive.d.ts +11 -0
  65. package/lib/directives/button.directive.d.ts +15 -0
  66. package/lib/directives/form-input.directive.d.ts +10 -0
  67. package/lib/directives/form-label.directive.d.ts +6 -0
  68. package/lib/directives/form-select.directive.d.ts +10 -0
  69. package/lib/directives/icon-button.directive.d.ts +11 -0
  70. package/lib/directives/index.d.ts +8 -0
  71. package/lib/directives/list-group-item.directive.d.ts +9 -0
  72. package/lib/directives/list-group.directive.d.ts +9 -0
  73. package/lib/helpers/index.d.ts +1 -0
  74. package/lib/helpers/sort.helper.d.ts +1 -0
  75. package/lib/interfaces/dictionary.interface.d.ts +3 -0
  76. package/lib/interfaces/index.d.ts +1 -0
  77. package/lib/pipe/form-control.pipe.d.ts +8 -0
  78. package/lib/pipe/index.d.ts +1 -0
  79. package/lib/services/index.d.ts +5 -0
  80. package/lib/services/loading-indicator.service.d.ts +8 -0
  81. package/lib/services/local.service.d.ts +9 -0
  82. package/lib/services/modal.service.d.ts +12 -0
  83. package/lib/services/toast.service.d.ts +13 -0
  84. package/lib/services/token.service.d.ts +11 -0
  85. package/lib/typings/array-extension.d.ts +10 -0
  86. package/lib/typings/date-extension.d.ts +13 -0
  87. package/lib/typings/index.d.ts +3 -0
  88. package/lib/typings/string-extensions.d.ts +6 -0
  89. package/package.json +30 -0
  90. package/public-api.d.ts +8 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-gccb.mjs","sources":["../../../projects/ngx-gccb/src/lib/animations/fade-right.animation.ts","../../../projects/ngx-gccb/src/lib/animations/fade-up.animation.ts","../../../projects/ngx-gccb/src/lib/components/form-errors/form-errors.component.ts","../../../projects/ngx-gccb/src/lib/directives/button-outline.directive.ts","../../../projects/ngx-gccb/src/lib/directives/button.directive.ts","../../../projects/ngx-gccb/src/lib/directives/form-input.directive.ts","../../../projects/ngx-gccb/src/lib/directives/form-label.directive.ts","../../../projects/ngx-gccb/src/lib/directives/form-select.directive.ts","../../../projects/ngx-gccb/src/lib/directives/icon-button.directive.ts","../../../projects/ngx-gccb/src/lib/directives/list-group-item.directive.ts","../../../projects/ngx-gccb/src/lib/directives/list-group.directive.ts","../../../projects/ngx-gccb/src/lib/components/form-input/form-input.component.ts","../../../projects/ngx-gccb/src/lib/components/form-input/form-input.component.html","../../../projects/ngx-gccb/src/lib/components/loading-indicator/loading-indicator.component.ts","../../../projects/ngx-gccb/src/lib/components/loading-indicator/loading-indicator.component.html","../../../projects/ngx-gccb/src/lib/components/modal/modal.component.ts","../../../projects/ngx-gccb/src/lib/components/modal/modal.component.html","../../../projects/ngx-gccb/src/lib/components/off-canvas/off-canvas.component.ts","../../../projects/ngx-gccb/src/lib/components/off-canvas/off-canvas.component.html","../../../projects/ngx-gccb/src/lib/components/toast/toast.component.ts","../../../projects/ngx-gccb/src/lib/helpers/sort.helper.ts","../../../projects/ngx-gccb/src/lib/pipe/form-control.pipe.ts","../../../projects/ngx-gccb/src/lib/services/loading-indicator.service.ts","../../../projects/ngx-gccb/src/lib/services/local.service.ts","../../../projects/ngx-gccb/src/lib/services/modal.service.ts","../../../projects/ngx-gccb/src/lib/services/toast.service.ts","../../../projects/ngx-gccb/src/lib/services/token.service.ts","../../../projects/ngx-gccb/src/lib/typings/array-extension.ts","../../../projects/ngx-gccb/src/lib/typings/date-extension.ts","../../../projects/ngx-gccb/src/lib/typings/string-extensions.ts","../../../projects/ngx-gccb/src/public-api.ts","../../../projects/ngx-gccb/src/ngx-gccb.ts"],"sourcesContent":["import { animate, style, transition, trigger } from '@angular/animations';\n\nexport const FadeRightAnimation = trigger('fadeRightAnimation', [\n\ttransition(':enter', [\n\t\tstyle({ transform: 'translateX(-100%)', zIndex: 9999 }),\n\t\tanimate('200ms ease-in', style({ transform: 'translateX(0%)' })),\n\t]),\n\ttransition(':leave', [animate('200ms ease-in', style({ transform: 'translateX(-100%)' }))]),\n]);\n","import { animate, style, transition, trigger } from '@angular/animations';\n\nexport const FadeAnimation = trigger('fadeAnimation', [\n\ttransition(':enter', [\n\t\tstyle({ opacity: 0, transform: 'translateY(10px)' }),\n\t\tanimate('500ms', style({ opacity: 1, transform: 'translateY(0)' })),\n\t]),\n\ttransition(':leave', [animate('500ms', style({ opacity: 0, transform: 'translateY(10px)' }))]),\n]);\n","import { CommonModule } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { ValidationErrors } from '@angular/forms';\n\n@Component({\n\tselector: 'app-form-errors',\n\ttemplate: `\n\t\t<div class=\"invalid-feedback d-block\">\n\t\t\t@if (errors) {\n\t\t\t\t@if (errors['required']) {\n\t\t\t\t\t<div>Feld wird benötigt</div>\n\t\t\t\t}\n\t\t\t}\n\t\t</div>\n\t`,\n\tstandalone: true,\n\timports: [CommonModule],\n})\nexport class FormErrors {\n\t@Input() errors: ValidationErrors | null = null;\n}\n","import { Directive, ElementRef, Input, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'button[app-button-outline]',\n\tstandalone: true,\n})\nexport class ButtonOutlineDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLButtonElement> = inject(ElementRef<HTMLButtonElement>);\n\n\t@Input('app-button-outline') set appButton(val: string) {\n\t\tthis.elementRef.nativeElement.classList.add(`btn-outline-${val || 'secondary'}`);\n\t}\n\n\t@Input() set size(val: string) {\n\t\tthis.elementRef.nativeElement.classList.add(`btn-${val || 'sm'}`);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('btn');\n\t\tthis.elementRef.nativeElement.classList.add('shadow-sm');\n\t}\n}\n","import {\n\tDirective,\n\tElementRef,\n\tHostListener,\n\tInput,\n\tOnInit,\n\tRenderer2,\n\tinject,\n} from '@angular/core';\n\n// extends from autofocus?\n\n@Directive({\n\tselector: 'button[app-button]',\n\tstandalone: true,\n})\nexport class ButtonDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLButtonElement> = inject(ElementRef<HTMLButtonElement>);\n\tcolor!: string;\n\n\t@HostListener('focus', ['$event']) onFocus() {\n\t\tthis.isFocused = true;\n\t}\n\n\t@HostListener('blur', ['$event']) onblur() {\n\t\tthis.isFocused = false;\n\t}\n\n\tset isFocused(val: boolean) {\n\t\tif (val) {\n\t\t\tthis.elementRef.nativeElement.classList.add(`focus-ring-${this.color}`);\n\t\t} else {\n\t\t\tthis.elementRef.nativeElement.classList.remove(`focus-ring-${this.color}`);\n\t\t}\n\t}\n\n\t@Input('app-button') set appButton(val: string) {\n\t\tthis.color = val || 'secondary';\n\t\tthis.elementRef.nativeElement.classList.add(`btn-${this.color}`);\n\t}\n\n\t@Input() set size(val: string) {\n\t\tthis.elementRef.nativeElement.classList.add(`btn-${val || 'sm'}`);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('btn');\n\t}\n}\n","import { Directive, ElementRef, Input, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'input,textarea[app-form-input]',\n\tstandalone: true,\n})\nexport class FormInputDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLElement> = inject(ElementRef<HTMLElement>);\n\n\t@Input() set formInputInvalid(val: boolean) {\n\t\tif (val === true) {\n\t\t\tthis.elementRef.nativeElement.classList.add('is-invalid');\n\t\t} else {\n\t\t\tthis.elementRef.nativeElement.classList.remove('is-invalid');\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('form-control');\n\t}\n}\n","import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n\tselector: 'label[app-form-label]',\n\tstandalone: true,\n})\nexport class FormLabelDirective {\n\t@HostBinding('class')\n\telementClass = 'form-label';\n}\n","import { Directive, ElementRef, Input, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'select[app-form-select]',\n\tstandalone: true,\n})\nexport class FormSelectDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLElement> = inject(ElementRef<HTMLElement>);\n\n\t@Input() set formInputInvalid(val: boolean) {\n\t\tif (val === true) {\n\t\t\tthis.elementRef.nativeElement.classList.add('is-invalid');\n\t\t} else {\n\t\t\tthis.elementRef.nativeElement.classList.remove('is-invalid');\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('form-select');\n\t}\n}\n","import { Directive, ElementRef, Input, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'button[app-icon-button]',\n\tstandalone: true,\n})\nexport class IconButtonDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLButtonElement> = inject(ElementRef<HTMLButtonElement>);\n\n\t@Input('app-icon-button') set appButton(val: string) {\n\t\tthis.elementRef.nativeElement.classList.add(`btn-${val || 'light'}`);\n\t}\n\n\t@Input() set shadow(val: boolean) {\n\t\tif (val === true || val === undefined) {\n\t\t\tthis.elementRef.nativeElement.classList.add('shadow-sm');\n\t\t} else {\n\t\t\tthis.elementRef.nativeElement.classList.remove('shadow-sm');\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('btn', 'icon-button');\n\t}\n}\n","import { Directive, ElementRef, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'li[app-list-group-item]',\n\tstandalone: true,\n})\nexport class ListGroupItemDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLUListElement> = inject(ElementRef<HTMLUListElement>);\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('list-group-item');\n\t\tthis.elementRef.nativeElement.classList.add('list-group-item-action');\n\t\tthis.elementRef.nativeElement.classList.add(\n\t\t\t'd-flex',\n\t\t\t'flex-row',\n\t\t\t'justify-content-between'\n\t\t);\n\t}\n}\n","import { Directive, ElementRef, OnInit, Renderer2, inject } from '@angular/core';\n\n@Directive({\n\tselector: 'ul[app-list-group]',\n\tstandalone: true,\n})\nexport class ListGroupDirective implements OnInit {\n\trenderer = inject(Renderer2);\n\telementRef: ElementRef<HTMLUListElement> = inject(ElementRef<HTMLUListElement>);\n\n\tngOnInit(): void {\n\t\tthis.elementRef.nativeElement.classList.add('list-group');\n\t\tthis.elementRef.nativeElement.classList.add('list-group-flush');\n\t}\n}\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { FormInputDirective, FormLabelDirective, FormSelectDirective } from '../../directives';\nimport { FormErrors } from '../form-errors';\n\nexport interface ISelectOptions {\n\tlabel: string;\n\tvalue: string;\n}\n\n@Component({\n\tselector: 'app-form-input',\n\ttemplateUrl: './form-input.component.html',\n\tstandalone: true,\n\timports: [\n\t\tReactiveFormsModule,\n\t\tFormErrors,\n\t\tFormLabelDirective,\n\t\tFormInputDirective,\n\t\tFormSelectDirective,\n\t],\n})\nexport class FormInputComponent {\n\t@Input({ required: true }) control!: FormControl;\n\t@Input() inputType: string = 'text';\n\t@Input({ required: true }) inputLabel!: string;\n\t@Input() inputPlaceholder?: string;\n\t@Input() inputId?: string;\n\t@Input({ required: true }) inputName!: string;\n\t@Input() inputTabIndex?: string;\n\t@Input() isSubmitted: boolean = false;\n\t@Input() selectOptions?: ISelectOptions[];\n\n\t@Output() onEnter: EventEmitter<void> = new EventEmitter();\n}\n","<div class=\"form-floating mb-3\">\n\t@if (\n\t\tinputType === \"text\" ||\n\t\tinputType === \"number\" ||\n\t\tinputType === \"date\" ||\n\t\tinputType === \"datetime-local\"\n\t) {\n\t\t<input\n\t\t\t[type]=\"inputType\"\n\t\t\t[attr.id]=\"inputId || inputName\"\n\t\t\t[attr.name]=\"inputName\"\n\t\t\t[formControl]=\"control\"\n\t\t\tapp-form-input\n\t\t\t[formInputInvalid]=\"isSubmitted && !!control.errors\"\n\t\t\t[placeholder]=\"inputPlaceholder\"\n\t\t\t[tabIndex]=\"inputTabIndex\"\n\t\t\t(keydown.enter)=\"onEnter.next()\"\n\t\t/>\n\t}\n\t@if (inputType === \"select\") {\n\t\t<select\n\t\t\t[attr.id]=\"inputId || inputName\"\n\t\t\t[attr.name]=\"inputName\"\n\t\t\t[formControl]=\"control\"\n\t\t\tapp-form-select\n\t\t\t[formInputInvalid]=\"isSubmitted && !!control.errors\"\n\t\t\t[tabIndex]=\"inputTabIndex\"\n\t\t\t(keydown.enter)=\"onEnter.next()\"\n\t\t>\n\t\t\t@for (option of selectOptions; track option.value) {\n\t\t\t\t<option [value]=\"option.value\">\n\t\t\t\t\t{{ option.label }}\n\t\t\t\t</option>\n\t\t\t}\n\t\t</select>\n\t}\n\t<label app-form-label [attr.for]=\"inputName || inputId\"> {{ inputLabel }} </label>\n\t@if (isSubmitted && control.errors) {\n\t\t<app-form-errors [errors]=\"control.errors\" />\n\t}\n</div>\n","import { Component } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { faSpinner } from '@fortawesome/free-solid-svg-icons';\n\n@Component({\n\tselector: 'app-loading-indicator',\n\ttemplateUrl: './loading-indicator.component.html',\n\tstandalone: true,\n\tstyles: `\n\t\t:host {\n\t\t\tposition: fixed;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\ttransform: translate(-50%, -50%);\n\t\t\tcolor: #495057;\n\t\t}\n\t`,\n\timports: [FontAwesomeModule],\n})\nexport class LoadingIndicatorComponent {\n\tfaSpinner = faSpinner;\n}\n","<fa-icon animation=\"spin\" size=\"2x\" [icon]=\"faSpinner\"></fa-icon>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n\tselector: 'app-modal',\n\ttemplateUrl: './modal.component.html',\n\tstandalone: true,\n})\nexport class ModalComponent {\n\t@Input() title: string = '';\n\t@Input() showClose: boolean = true;\n\t@Output() onClose: EventEmitter<void> = new EventEmitter();\n\n\thandleClickClose() {\n\t\tthis.onClose.next();\n\t}\n}\n","<div class=\"modal d-block\" tabindex=\"-1\">\n\t<div class=\"modal-dialog\">\n\t\t<div class=\"modal-content\">\n\t\t\t<div class=\"modal-header\">\n\t\t\t\t<h5 class=\"modal-title\">{{ title }}</h5>\n\t\t\t\t@if (showClose) {\n\t\t\t\t\t<button type=\"button\" class=\"btn-close\" (click)=\"handleClickClose()\"></button>\n\t\t\t\t}\n\t\t\t</div>\n\n\t\t\t<div class=\"modal-body\">\n\t\t\t\t<ng-content />\n\t\t\t</div>\n\n\t\t\t<div class=\"modal-footer\">\n\t\t\t\t<ng-content select=\"[footer]\"></ng-content>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { faTimes } from '@fortawesome/free-solid-svg-icons';\nimport { IconButtonDirective } from '../../directives';\n\n@Component({\n\tselector: 'app-off-canvas',\n\ttemplateUrl: './off-canvas.component.html',\n\tstandalone: true,\n\tstyles: `\n\t\t:host {\n\t\t\tz-index: 9999;\n\t\t\tdisplay: block;\n\t\t}\n\t`,\n\timports: [FontAwesomeModule, IconButtonDirective],\n})\nexport class OffCanvasComponent {\n\t@Input() title: string = '';\n\t@Output() onClose: EventEmitter<void> = new EventEmitter();\n\n\tfaTimes = faTimes;\n\n\thandleClickClose() {\n\t\tthis.onClose.next();\n\t}\n}\n","<div class=\"offcanvas offcanvas-start show\" tabindex=\"-1\" id=\"offcanvas\">\n\t<div class=\"offcanvas-header\">\n\t\t<h5 class=\"offcanvas-title\" id=\"offcanvasLabel\">{{ title }}</h5>\n\t\t<button app-icon-button type=\"button\" (click)=\"handleClickClose()\">\n\t\t\t<fa-icon [icon]=\"faTimes\"></fa-icon>\n\t\t</button>\n\t</div>\n\t<ng-content />\n</div>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n\tselector: 'app-toast',\n\ttemplate: `\n\t\t<div class=\"toast align-items-center text-bg-dark border-0 show\">\n\t\t\t<div class=\"d-flex\">\n\t\t\t\t<div class=\"toast-body\" [innerHTML]=\"message\"></div>\n\t\t\t\t<button\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"btn-close btn-close-white me-2 m-auto\"\n\t\t\t\t\t(click)=\"onClose.next()\"\n\t\t\t\t></button>\n\t\t\t</div>\n\t\t</div>\n\t`,\n\tstandalone: true,\n})\nexport class ToastComponent {\n\t@Input() message?: string;\n\t@Output() onClose: EventEmitter<void> = new EventEmitter();\n}\n","enum SortOrder {\n\tNONE = 0,\n\tASC = 1,\n\tDESC = -1,\n}\n\nconst compareString = (valA: string, valB: string, ascending: boolean | undefined): number => {\n\treturn valA.localeCompare(valB) * (ascending ? SortOrder.ASC : SortOrder.DESC);\n};\n\nconst getSortOrder = <T>(valA: T, valB: T): SortOrder => {\n\treturn valA < valB ? SortOrder.DESC : valA === valB ? SortOrder.NONE : SortOrder.ASC;\n};\n\nconst compareNonString = <T>(valA: T, valB: T, ascending: boolean | undefined): number => {\n\treturn getSortOrder(valA, valB) * (ascending ? SortOrder.ASC : SortOrder.DESC);\n};\n\nconst getValue = <T>(valA: T, valB: T, ascending: boolean | undefined): number => {\n\tlet result: number = 0;\n\tif (typeof valA === 'string' && typeof valB === 'string') {\n\t\tresult = compareString(valA, valB, ascending);\n\t} else {\n\t\tresult = compareNonString(valA, valB, ascending);\n\t}\n\treturn result;\n};\n\nexport const sortHelper = <T, G>(\n\ta: T,\n\tb: T,\n\tvalueGetter: (a: T) => G,\n\tascending?: boolean,\n): number => {\n\tconst valA: G = valueGetter(a);\n\tconst valB: G = valueGetter(b);\n\treturn getValue(valA, valB, ascending);\n};\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { AbstractControl, FormControl } from '@angular/forms';\n\n@Pipe({\n\tname: 'formControl',\n\tstandalone: true,\n})\nexport class FormControlPipe implements PipeTransform {\n\ttransform(value: AbstractControl): FormControl<(typeof value)['value']> {\n\t\treturn value as FormControl<(typeof value)['value']>;\n\t}\n}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class LoadingIndicatorService {\n\tshow: BehaviorSubject<void> = new BehaviorSubject<void>(undefined);\n\thide: BehaviorSubject<void> = new BehaviorSubject<void>(undefined);\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class LocalService {\n\tget<T>(key: string): T | null {\n\t\tlet result: T | null = null;\n\t\tlet local: string | null = localStorage.getItem(key);\n\t\tif (local) {\n\t\t\tresult = JSON.parse(local);\n\t\t}\n\t\treturn result;\n\t}\n\n\tset<T>(key: string, val: T): void {\n\t\tlocalStorage.setItem(key, JSON.stringify(val));\n\t}\n\n\tremove(key: string): void {\n\t\tlocalStorage.removeItem(key);\n\t}\n\n\tremoveAll(): void {\n\t\tlocalStorage.clear();\n\t}\n}\n","import { DomPortalOutlet, TemplatePortal } from '@angular/cdk/portal';\nimport { Injectable, TemplateRef, ViewContainerRef } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\nexport class ModalService {\n\tviewContainerRef?: ViewContainerRef;\n\tportalHost!: DomPortalOutlet;\n\n\tinit(viewContainerRef: ViewContainerRef) {\n\t\tthis.portalHost = new DomPortalOutlet(document.body);\n\t\tthis.viewContainerRef = viewContainerRef;\n\t}\n\n\tshowTemplate(templateRef: TemplateRef<unknown>) {\n\t\tif (this.viewContainerRef) {\n\t\t\tconst newPortal = new TemplatePortal(templateRef, this.viewContainerRef);\n\t\t\tthis.portalHost.attach(newPortal);\n\t\t} else {\n\t\t\tthrow Error('no viewcontainer ref is set');\n\t\t}\n\t}\n\n\thide() {\n\t\tthis.portalHost.detach();\n\t}\n}\n","import { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';\nimport { ComponentFactoryResolver, Injectable, ViewContainerRef, inject } from '@angular/core';\nimport { ToastComponent } from '../components';\n\n@Injectable({ providedIn: 'root' })\nexport class ToastService {\n\tcomponentFactoryResolver = inject(ComponentFactoryResolver);\n\tviewContainerRef?: ViewContainerRef;\n\tportalHost!: DomPortalOutlet;\n\n\tinit(viewContainerRef: ViewContainerRef) {\n\t\tthis.portalHost = new DomPortalOutlet(document.body);\n\t\tthis.viewContainerRef = viewContainerRef;\n\t}\n\n\tshow(message: string) {\n\t\tif (this.viewContainerRef) {\n\t\t\tconst componentPortal = new ComponentPortal(\n\t\t\t\tToastComponent,\n\t\t\t\tthis.viewContainerRef,\n\t\t\t\tnull,\n\t\t\t\tthis.componentFactoryResolver\n\t\t\t);\n\t\t\tconst componentRef = this.portalHost.attachComponentPortal(componentPortal);\n\t\t\tcomponentRef.instance.message = message;\n\t\t\tcomponentRef.instance.onClose.subscribe(() => {\n\t\t\t\tthis.hide();\n\t\t\t});\n\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.hide();\n\t\t\t}, 3500);\n\t\t} else {\n\t\t\tthrow Error('no viewcontainer ref is set');\n\t\t}\n\t}\n\n\thide() {\n\t\tthis.portalHost.detach();\n\t}\n}\n","import { Injectable } from '@angular/core';\nimport { LocalService } from './local.service';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class TokenService {\n\tconstructor(private localService: LocalService) {}\n\n\tget(key: 'accesstoken' | 'refreshtoken'): string | null {\n\t\treturn this.localService.get<string>(key);\n\t}\n\n\tset(key: 'accesstoken' | 'refreshtoken', token: string): void {\n\t\tthis.localService.set(key, token);\n\t}\n\n\tremove(key: 'accesstoken' | 'refreshtoken'): void {\n\t\tthis.localService.remove(key);\n\t}\n}\n","import { sortHelper } from '../helpers';\nimport { IDictionary } from '../interfaces';\n\nexport {};\n\ndeclare global {\n\tinterface Array<T> {\n\t\tgroupBy(valueGetter: (a: T) => string): IDictionary<T[]>;\n\t\torderBy<T, G>(valueGetter: (a: T) => G, ascending?: boolean): T[];\n\t\tfilterBy<G>(key?: string): G[];\n\t\tdistinct<T>(comparator?: (obj1: unknown, obj2: unknown) => boolean): T[];\n\t}\n}\n\nArray.prototype.groupBy = function <T>(valueGetter: (a: T) => string): IDictionary<T> {\n\treturn this.reduce((curr, obj) => {\n\t\tconst key: string = valueGetter(obj);\n\t\t(curr[key] = curr[key] || []).push(obj);\n\t\treturn curr;\n\t}, {});\n};\n\nArray.prototype.orderBy = function <T, G>(\n\tvalueGetter: (a: T) => G,\n\tascending: boolean = true,\n): T[] {\n\tthis?.sort((a, b) => sortHelper(a, b, valueGetter, ascending));\n\treturn this;\n};\n\nArray.prototype.filterBy = function <T>(key?: string): T[] {\n\treturn this.filter((a) => {\n\t\tlet result: boolean = false;\n\t\tif (key && a[key]) {\n\t\t\tresult = a[key] === key;\n\t\t} else {\n\t\t\tresult = a === key;\n\t\t}\n\t\treturn result;\n\t});\n};\n\nArray.prototype.distinct = function <T>(\n\tcomparator?: (obj1: unknown, obj2: unknown) => boolean,\n): T[] {\n\tconst thisAsArray: T[] = this as T[];\n\tconst result: T[] = comparator\n\t\t? thisAsArray.filter(\n\t\t\t\t(value, index, array) => array.findIndex((o) => comparator(o, value)) === index,\n\t\t\t)\n\t\t: thisAsArray.filter((value, index, array) => array.indexOf(value) === index);\n\treturn result;\n};\n","import type { ConfigType, ManipulateType, OpUnitType } from 'dayjs';\nimport dayjs from 'dayjs';\nimport localizedFormat from 'dayjs/plugin/localizedFormat';\ndayjs.extend(localizedFormat);\n\ndeclare global {\n\tinterface Date {\n\t\tisAfter(date: ConfigType, unit?: OpUnitType): boolean;\n\t\tisBefore(date: ConfigType, unit?: OpUnitType): boolean;\n\t\tformat(template?: string): string;\n\t\tisValid(): boolean;\n\t\tadd(value: number, unit?: ManipulateType): Date;\n\t\tsubtract(value: number, unit?: ManipulateType): Date;\n\t\tfirstDayOfMonth(): Date;\n\t\tlastDayOfMonth(): Date;\n\t}\n}\n\nDate.prototype.isAfter = function (date: dayjs.ConfigType, unit?: dayjs.OpUnitType): boolean {\n\treturn dayjs(this).isAfter(date, unit);\n};\n\nDate.prototype.isBefore = function (date: dayjs.ConfigType, unit?: dayjs.OpUnitType): boolean {\n\treturn dayjs(this).isBefore(date, unit);\n};\n\nDate.prototype.format = function (template?: string): string {\n\treturn dayjs(this).format(template);\n};\n\nDate.prototype.isValid = function (): boolean {\n\treturn dayjs(this).isValid();\n};\n\nDate.prototype.add = function (value: number, unit?: ManipulateType): Date {\n\treturn dayjs(this).add(value, unit).toDate();\n};\n\nDate.prototype.subtract = function (value: number, unit?: ManipulateType): Date {\n\treturn dayjs(this).subtract(value, unit).toDate();\n};\n\nDate.prototype.firstDayOfMonth = function (): Date {\n\treturn dayjs(this).startOf('month').toDate();\n};\n\nDate.prototype.lastDayOfMonth = function (): Date {\n\treturn dayjs(this).endOf('month').toDate();\n};\n","export {};\n\ndeclare global {\n\tinterface String {\n\t\tcapitalize(): string;\n\t}\n}\n\nString.prototype.capitalize = function (): string {\n\treturn this.charAt(0).toUpperCase() + this.slice(1);\n};\n","/*\n * Public API Surface of ngx-gccb\n */\n\n// export * from './lib/ngx-gccb.component';\n// export * from './lib/ngx-gccb.service';\n\nexport * from './lib/animations';\nexport * from './lib/components';\nexport * from './lib/directives';\nexport * from './lib/helpers';\nexport * from './lib/interfaces';\nexport * from './lib/pipe';\nexport * from './lib/services';\nexport * from './lib/typings';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.LocalService"],"mappings":";;;;;;;;;;;;;;AAEa,MAAA,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,EAAE;IAC/D,UAAU,CAAC,QAAQ,EAAE;QACpB,KAAK,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACvD,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,CAAC;KAChE,CAAC;AACF,IAAA,UAAU,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3F,CAAA;;ACNY,MAAA,aAAa,GAAG,OAAO,CAAC,eAAe,EAAE;IACrD,UAAU,CAAC,QAAQ,EAAE;QACpB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;AACpD,QAAA,OAA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S,CAAC,QAAQ,GAAG,UAAU,KAAa,EAAE,IAAqB,EAAA;AACvE,IAAA,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC;AACnD,CAAC,CAAC;AAEF,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,YAAA;AAChC,IAAA,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;AAC9C,CAAC,CAAC;AAEF,IAAI,CAAC,SAAS,CAAC,cAAc,GAAG,YAAA;AAC/B,IAAA,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;AAC5C,CAAC;;ACxCD,MAAM,CAAC,SAAS,CAAC,UAAU,GAAG,YAAA;AAC7B,IAAA,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACrD,CAAC;;ACVD;;AAEG;AAEH;AACA;;ACLA;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-gccb" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export declare const FadeRightAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1 @@
1
+ export declare const FadeAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1,2 @@
1
+ export * from './fade-right.animation';
2
+ export * from './fade-up.animation';
@@ -0,0 +1,7 @@
1
+ import { ValidationErrors } from '@angular/forms';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FormErrors {
4
+ errors: ValidationErrors | null;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormErrors, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormErrors, "app-form-errors", never, { "errors": { "alias": "errors"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './form-errors.component';
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export interface ISelectOptions {
5
+ label: string;
6
+ value: string;
7
+ }
8
+ export declare class FormInputComponent {
9
+ control: FormControl;
10
+ inputType: string;
11
+ inputLabel: string;
12
+ inputPlaceholder?: string;
13
+ inputId?: string;
14
+ inputName: string;
15
+ inputTabIndex?: string;
16
+ isSubmitted: boolean;
17
+ selectOptions?: ISelectOptions[];
18
+ onEnter: EventEmitter<void>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "app-form-input", never, { "control": { "alias": "control"; "required": true; }; "inputType": { "alias": "inputType"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": true; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inputName": { "alias": "inputName"; "required": true; }; "inputTabIndex": { "alias": "inputTabIndex"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; "selectOptions": { "alias": "selectOptions"; "required": false; }; }, { "onEnter": "onEnter"; }, never, never, true, never>;
21
+ }
@@ -0,0 +1 @@
1
+ export * from './form-input.component';
@@ -0,0 +1,6 @@
1
+ export * from './form-errors';
2
+ export * from './form-input';
3
+ export * from './loading-indicator';
4
+ export * from './modal';
5
+ export * from './off-canvas';
6
+ export * from './toast';
@@ -0,0 +1 @@
1
+ export * from './loading-indicator.component';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LoadingIndicatorComponent {
3
+ faSpinner: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorComponent, "app-loading-indicator", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1 @@
1
+ export * from './modal.component';
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalComponent {
4
+ title: string;
5
+ showClose: boolean;
6
+ onClose: EventEmitter<void>;
7
+ handleClickClose(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; }, { "onClose": "onClose"; }, never, ["*", "[footer]"], true, never>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './off-canvas.component';
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class OffCanvasComponent {
4
+ title: string;
5
+ onClose: EventEmitter<void>;
6
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
7
+ handleClickClose(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<OffCanvasComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<OffCanvasComponent, "app-off-canvas", never, { "title": { "alias": "title"; "required": false; }; }, { "onClose": "onClose"; }, never, ["*"], true, never>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './toast.component';
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToastComponent {
4
+ message?: string;
5
+ onClose: EventEmitter<void>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "app-toast", never, { "message": { "alias": "message"; "required": false; }; }, { "onClose": "onClose"; }, never, never, true, never>;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonOutlineDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLButtonElement>;
6
+ set appButton(val: string);
7
+ set size(val: string);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonOutlineDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonOutlineDirective, "button[app-button-outline]", never, { "appButton": { "alias": "app-button-outline"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLButtonElement>;
6
+ color: string;
7
+ onFocus(): void;
8
+ onblur(): void;
9
+ set isFocused(val: boolean);
10
+ set appButton(val: string);
11
+ set size(val: string);
12
+ ngOnInit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "button[app-button]", never, { "appButton": { "alias": "app-button"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1,10 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FormInputDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLElement>;
6
+ set formInputInvalid(val: boolean);
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormInputDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormInputDirective, "input,textarea[app-form-input]", never, { "formInputInvalid": { "alias": "formInputInvalid"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FormLabelDirective {
3
+ elementClass: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormLabelDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormLabelDirective, "label[app-form-label]", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FormSelectDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLElement>;
6
+ set formInputInvalid(val: boolean);
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormSelectDirective, "select[app-form-select]", never, { "formInputInvalid": { "alias": "formInputInvalid"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IconButtonDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLButtonElement>;
6
+ set appButton(val: string);
7
+ set shadow(val: boolean);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IconButtonDirective, "button[app-icon-button]", never, { "appButton": { "alias": "app-icon-button"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,8 @@
1
+ export * from './button-outline.directive';
2
+ export * from './button.directive';
3
+ export * from './form-input.directive';
4
+ export * from './form-label.directive';
5
+ export * from './form-select.directive';
6
+ export * from './icon-button.directive';
7
+ export * from './list-group-item.directive';
8
+ export * from './list-group.directive';
@@ -0,0 +1,9 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListGroupItemDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLUListElement>;
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupItemDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListGroupItemDirective, "li[app-list-group-item]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListGroupDirective implements OnInit {
4
+ renderer: Renderer2;
5
+ elementRef: ElementRef<HTMLUListElement>;
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListGroupDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListGroupDirective, "ul[app-list-group]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './sort.helper';
@@ -0,0 +1 @@
1
+ export declare const sortHelper: <T, G>(a: T, b: T, valueGetter: (a: T) => G, ascending?: boolean) => number;
@@ -0,0 +1,3 @@
1
+ export interface IDictionary<T> {
2
+ [key: string]: T;
3
+ }
@@ -0,0 +1 @@
1
+ export * from './dictionary.interface';
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { AbstractControl, FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormControlPipe implements PipeTransform {
5
+ transform(value: AbstractControl): FormControl<(typeof value)['value']>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormControlPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormControlPipe, "formControl", true>;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './form-control.pipe';
@@ -0,0 +1,5 @@
1
+ export * from './loading-indicator.service';
2
+ export * from './local.service';
3
+ export * from './modal.service';
4
+ export * from './toast.service';
5
+ export * from './token.service';
@@ -0,0 +1,8 @@
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingIndicatorService {
4
+ show: BehaviorSubject<void>;
5
+ hide: BehaviorSubject<void>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingIndicatorService>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LocalService {
3
+ get<T>(key: string): T | null;
4
+ set<T>(key: string, val: T): void;
5
+ remove(key: string): void;
6
+ removeAll(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalService>;
9
+ }
@@ -0,0 +1,12 @@
1
+ import { DomPortalOutlet } from '@angular/cdk/portal';
2
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ModalService {
5
+ viewContainerRef?: ViewContainerRef;
6
+ portalHost: DomPortalOutlet;
7
+ init(viewContainerRef: ViewContainerRef): void;
8
+ showTemplate(templateRef: TemplateRef<unknown>): void;
9
+ hide(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { DomPortalOutlet } from '@angular/cdk/portal';
2
+ import { ComponentFactoryResolver, ViewContainerRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ToastService {
5
+ componentFactoryResolver: ComponentFactoryResolver;
6
+ viewContainerRef?: ViewContainerRef;
7
+ portalHost: DomPortalOutlet;
8
+ init(viewContainerRef: ViewContainerRef): void;
9
+ show(message: string): void;
10
+ hide(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { LocalService } from './local.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TokenService {
4
+ private localService;
5
+ constructor(localService: LocalService);
6
+ get(key: 'accesstoken' | 'refreshtoken'): string | null;
7
+ set(key: 'accesstoken' | 'refreshtoken', token: string): void;
8
+ remove(key: 'accesstoken' | 'refreshtoken'): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TokenService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { IDictionary } from '../interfaces';
2
+ export {};
3
+ declare global {
4
+ interface Array<T> {
5
+ groupBy(valueGetter: (a: T) => string): IDictionary<T[]>;
6
+ orderBy<T, G>(valueGetter: (a: T) => G, ascending?: boolean): T[];
7
+ filterBy<G>(key?: string): G[];
8
+ distinct<T>(comparator?: (obj1: unknown, obj2: unknown) => boolean): T[];
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ import type { ConfigType, ManipulateType, OpUnitType } from 'dayjs';
2
+ declare global {
3
+ interface Date {
4
+ isAfter(date: ConfigType, unit?: OpUnitType): boolean;
5
+ isBefore(date: ConfigType, unit?: OpUnitType): boolean;
6
+ format(template?: string): string;
7
+ isValid(): boolean;
8
+ add(value: number, unit?: ManipulateType): Date;
9
+ subtract(value: number, unit?: ManipulateType): Date;
10
+ firstDayOfMonth(): Date;
11
+ lastDayOfMonth(): Date;
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ export * from './array-extension';
2
+ export * from './date-extension';
3
+ export * from './string-extensions';
@@ -0,0 +1,6 @@
1
+ export {};
2
+ declare global {
3
+ interface String {
4
+ capitalize(): string;
5
+ }
6
+ }
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "ngx-gccb",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^17.2.0",
6
+ "@angular/core": "^17.2.0",
7
+ "bootstrap": "^5.3.2",
8
+ "@fortawesome/angular-fontawesome": "^0.14.1",
9
+ "@fortawesome/fontawesome-svg-core": "^6.4.2",
10
+ "@fortawesome/free-solid-svg-icons": "^6.4.2",
11
+ "dayjs": "^1.11.10"
12
+ },
13
+ "dependencies": {
14
+ "tslib": "^2.3.0"
15
+ },
16
+ "sideEffects": false,
17
+ "module": "fesm2022/ngx-gccb.mjs",
18
+ "typings": "index.d.ts",
19
+ "exports": {
20
+ "./package.json": {
21
+ "default": "./package.json"
22
+ },
23
+ ".": {
24
+ "types": "./index.d.ts",
25
+ "esm2022": "./esm2022/ngx-gccb.mjs",
26
+ "esm": "./esm2022/ngx-gccb.mjs",
27
+ "default": "./fesm2022/ngx-gccb.mjs"
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,8 @@
1
+ export * from './lib/animations';
2
+ export * from './lib/components';
3
+ export * from './lib/directives';
4
+ export * from './lib/helpers';
5
+ export * from './lib/interfaces';
6
+ export * from './lib/pipe';
7
+ export * from './lib/services';
8
+ export * from './lib/typings';