@acorex/components 7.0.27 → 7.0.29

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 (127) hide show
  1. package/alert/src/alert.component.d.ts +2 -2
  2. package/badge/src/badge.component.d.ts +2 -2
  3. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -6
  4. package/button/src/button-group.component.d.ts +6 -6
  5. package/button/src/button-item.component.d.ts +6 -6
  6. package/color-palette/src/color-palette-input.component.d.ts +1 -0
  7. package/color-picker/src/color-picker.component.d.ts +21 -18
  8. package/common/src/services/overlay.service.d.ts +2 -0
  9. package/date-picker/src/datepicker.component.d.ts +14 -14
  10. package/decorators/src/text.component.d.ts +1 -1
  11. package/esm2020/alert/src/alert.component.mjs +2 -2
  12. package/esm2020/badge/src/badge.component.mjs +2 -2
  13. package/esm2020/calendar/src/calendar.component.mjs +9 -9
  14. package/esm2020/card/src/card.component.mjs +2 -2
  15. package/esm2020/color-palette/src/color-palette-input.component.mjs +22 -11
  16. package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
  17. package/esm2020/color-palette/src/color-palette-preview.component.mjs +2 -2
  18. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +15 -9
  19. package/esm2020/color-palette/src/color-palette.component.mjs +14 -8
  20. package/esm2020/color-picker/src/color-picker.component.mjs +35 -14
  21. package/esm2020/common/src/services/overlay.service.mjs +32 -16
  22. package/esm2020/decorators/src/text.component.mjs +4 -4
  23. package/esm2020/decorators/src/title.component.mjs +2 -3
  24. package/esm2020/dialog/src/dialog.component.mjs +2 -2
  25. package/esm2020/mixin/src/value-mixin.class.mjs +2 -1
  26. package/esm2020/picker/public-api.mjs +2 -1
  27. package/esm2020/picker/src/picker-column.component.mjs +22 -0
  28. package/esm2020/picker/src/picker.component.mjs +3 -24
  29. package/esm2020/picker/src/picker.module.mjs +6 -5
  30. package/esm2020/popup/src/popup.component.mjs +4 -5
  31. package/esm2020/popup/src/popup.service.mjs +25 -10
  32. package/esm2020/progress-bar/src/progress-bar.component.mjs +2 -2
  33. package/esm2020/range-slider/src/range-slider.component.mjs +2 -2
  34. package/esm2020/select-box/src/selectbox.component.mjs +32 -17
  35. package/esm2020/switch/src/switch.component.mjs +2 -2
  36. package/esm2020/tabs/src/tabs.component.mjs +2 -2
  37. package/fesm2015/acorex-components-alert.mjs +2 -2
  38. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  39. package/fesm2015/acorex-components-badge.mjs +2 -2
  40. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  41. package/fesm2015/acorex-components-calendar.mjs +9 -8
  42. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  43. package/fesm2015/acorex-components-card.mjs +2 -2
  44. package/fesm2015/acorex-components-card.mjs.map +1 -1
  45. package/fesm2015/acorex-components-color-palette.mjs +50 -27
  46. package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
  47. package/fesm2015/acorex-components-color-picker.mjs +33 -13
  48. package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
  49. package/fesm2015/acorex-components-common.mjs +30 -14
  50. package/fesm2015/acorex-components-common.mjs.map +1 -1
  51. package/fesm2015/acorex-components-decorators.mjs +3 -4
  52. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  53. package/fesm2015/acorex-components-dialog.mjs +2 -2
  54. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  55. package/fesm2015/acorex-components-mixin.mjs +1 -0
  56. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  57. package/fesm2015/acorex-components-picker.mjs +27 -28
  58. package/fesm2015/acorex-components-picker.mjs.map +1 -1
  59. package/fesm2015/acorex-components-popup.mjs +25 -11
  60. package/fesm2015/acorex-components-popup.mjs.map +1 -1
  61. package/fesm2015/acorex-components-progress-bar.mjs +2 -2
  62. package/fesm2015/acorex-components-progress-bar.mjs.map +1 -1
  63. package/fesm2015/acorex-components-range-slider.mjs +2 -2
  64. package/fesm2015/acorex-components-range-slider.mjs.map +1 -1
  65. package/fesm2015/acorex-components-select-box.mjs +31 -17
  66. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  67. package/fesm2015/acorex-components-switch.mjs +2 -2
  68. package/fesm2015/acorex-components-switch.mjs.map +1 -1
  69. package/fesm2015/acorex-components-tabs.mjs +2 -3
  70. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  71. package/fesm2020/acorex-components-alert.mjs +2 -2
  72. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  73. package/fesm2020/acorex-components-badge.mjs +2 -2
  74. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  75. package/fesm2020/acorex-components-calendar.mjs +9 -8
  76. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  77. package/fesm2020/acorex-components-card.mjs +2 -2
  78. package/fesm2020/acorex-components-card.mjs.map +1 -1
  79. package/fesm2020/acorex-components-color-palette.mjs +50 -27
  80. package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
  81. package/fesm2020/acorex-components-color-picker.mjs +33 -13
  82. package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
  83. package/fesm2020/acorex-components-common.mjs +30 -14
  84. package/fesm2020/acorex-components-common.mjs.map +1 -1
  85. package/fesm2020/acorex-components-decorators.mjs +3 -4
  86. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  87. package/fesm2020/acorex-components-dialog.mjs +2 -2
  88. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  89. package/fesm2020/acorex-components-mixin.mjs +1 -0
  90. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  91. package/fesm2020/acorex-components-picker.mjs +27 -28
  92. package/fesm2020/acorex-components-picker.mjs.map +1 -1
  93. package/fesm2020/acorex-components-popup.mjs +25 -11
  94. package/fesm2020/acorex-components-popup.mjs.map +1 -1
  95. package/fesm2020/acorex-components-progress-bar.mjs +2 -2
  96. package/fesm2020/acorex-components-progress-bar.mjs.map +1 -1
  97. package/fesm2020/acorex-components-range-slider.mjs +2 -2
  98. package/fesm2020/acorex-components-range-slider.mjs.map +1 -1
  99. package/fesm2020/acorex-components-select-box.mjs +31 -17
  100. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  101. package/fesm2020/acorex-components-switch.mjs +2 -2
  102. package/fesm2020/acorex-components-switch.mjs.map +1 -1
  103. package/fesm2020/acorex-components-tabs.mjs +2 -3
  104. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  105. package/mixin/src/base-components.class.d.ts +2 -2
  106. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  107. package/mixin/src/button-mixin.class.d.ts +2 -2
  108. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  109. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  110. package/mixin/src/datalist-component.class.d.ts +10 -10
  111. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  112. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  113. package/mixin/src/loading-mixin.class.d.ts +2 -2
  114. package/mixin/src/mixin.class.d.ts +61 -61
  115. package/mixin/src/page-component.class.d.ts +2 -2
  116. package/mixin/src/selection-component.class.d.ts +2 -2
  117. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  118. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  119. package/mixin/src/value-mixin.class.d.ts +8 -8
  120. package/package.json +1 -1
  121. package/picker/public-api.d.ts +1 -0
  122. package/picker/src/picker-column.component.d.ts +11 -0
  123. package/picker/src/picker.component.d.ts +2 -4
  124. package/picker/src/picker.module.d.ts +9 -8
  125. package/popup/src/popup.service.d.ts +19 -14
  126. package/select-box/src/selectbox.component.d.ts +1 -1
  127. package/tabs/src/tab-item.component.d.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-common.mjs","sources":["../../../../projects/acorex/components/common/src/classes/events.class.ts","../../../../projects/acorex/components/common/src/classes/components.class.ts","../../../../projects/acorex/components/common/src/classes/styles.class.ts","../../../../projects/acorex/components/common/src/directives/auto-focus.directive.ts","../../../../projects/acorex/components/common/src/directives/debounce-time.directive.ts","../../../../projects/acorex/components/common/src/services/hotkey.service.ts","../../../../projects/acorex/components/common/src/directives/hotkey.directive.ts","../../../../projects/acorex/components/common/src/directives/infinite-scroll.directive.ts","../../../../projects/acorex/components/common/src/directives/responsive.directive.ts","../../../../projects/acorex/components/common/src/services/custom-cdk-overlay.service.ts","../../../../projects/acorex/components/common/src/services/overlay.service.ts","../../../../projects/acorex/components/common/src/common.module.ts","../../../../projects/acorex/components/common/acorex-components-common.ts"],"sourcesContent":["/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXEvent {\r\n /**\r\n * The sender component\r\n */\r\n component: any;\r\n /**\r\n * The root native element\r\n */\r\n htmlElement?: HTMLElement;\r\n\r\n isUserInteraction?: boolean = false;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXHtmlEvent<E extends Event = Event> extends AXEvent {\r\n nativeEvent?: E;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXValueChangedEvent<T = any> extends AXEvent {\r\n name?: string;\r\n value?: T;\r\n oldValue?: T;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXClickEvent extends AXHtmlEvent<MouseEvent> {\r\n /**\r\n * uses for extra data\r\n */\r\n data?: any;\r\n\r\n nativeEvent?: any;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXButtonClickEvent extends AXClickEvent {\r\n name: string;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXItemClickEvent<T> extends AXHtmlEvent<MouseEvent> {\r\n item: T;\r\n}\r\n\r\n/**\r\n * Fires each time the component gets focused.\r\n * @category Events\r\n */\r\nexport class AXFocusEvent extends AXHtmlEvent<FocusEvent> { }\r\n\r\n/**\r\n * Fires each time an item or multiple items selected by the user or value.\r\n * @category Events\r\n */\r\nexport class AXSelectionValueChangedEvent extends AXValueChangedEvent<\r\n any | any[]\r\n> {\r\n value?: any;\r\n oldValue?: any;\r\n selectedKeys?: any[];\r\n selectedItems?: any[];\r\n}\r\n\r\n/**\r\n * Contains range start & end values\r\n * @category Events\r\n */\r\nexport class AXRangeChangedEvent<T> extends AXEvent {\r\n /**\r\n * The range start value\r\n */\r\n start?: T;\r\n /**\r\n * The range end value\r\n */\r\n end?: T;\r\n}\r\n","import { EventEmitter, Injectable } from '@angular/core';\r\nimport { AXEvent, AXValueChangedEvent } from './events.class';\r\n\r\nexport const TAB_META_KEY = '__meta__';\r\n\r\nexport class AXComponentCloseEvent extends AXEvent {\r\n data?: any;\r\n}\r\nexport class AXComponentClosing {\r\n cancel: boolean = false;\r\n data?: any;\r\n}\r\n\r\nexport class AXComponentResult {\r\n sender: any;\r\n data?: any;\r\n}\r\n\r\n/**\r\n * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.\r\n */\r\nexport class AXComponentClosedPromise extends Promise<AXComponentResult> {\r\n private closeMethod: () => void;\r\n constructor(\r\n executor: (\r\n resolve: (value?: AXComponentResult | PromiseLike<AXComponentResult>) => void,\r\n reject: (reason?: any) => void\r\n ) => void\r\n ) {\r\n super(executor);\r\n }\r\n\r\n public close() {\r\n if (this.closeMethod) {\r\n this.closeMethod();\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport abstract class AXComponent {\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXClosbaleComponent extends AXComponent {\r\n abstract close(): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXSearchableComponent extends AXComponent {\r\n abstract search(value: string): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXValuableComponent extends AXComponent {\r\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;\r\n abstract value: any;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXFocusableComponent extends AXComponent {\r\n abstract focus();\r\n}\r\n\r\nexport interface AXPagedComponentInterface {\r\n goToPage(page: number);\r\n get totalCount(): number;\r\n get pageSize(): number;\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXPagedComponent\r\n extends AXComponent\r\n implements AXPagedComponentInterface\r\n{\r\n abstract goToPage(page: number);\r\n abstract get totalCount(): number;\r\n abstract pageSize: number;\r\n abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n","export const AX_STYLE_COLOR_TYPES =\r\n [\r\n 'primary'\r\n , 'secondary'\r\n , 'info'\r\n , 'danger'\r\n , 'success'\r\n , 'warning'\r\n , 'light'\r\n , 'dark'\r\n ];\r\n\r\n/**\r\n * A token that specifies the color style of component.\r\n */\r\nexport type AXStyleColorType =\r\n | 'primary'\r\n | 'secondary'\r\n | 'danger'\r\n | 'success'\r\n | 'warning'\r\n | 'ghost'\r\n\r\nexport type AXStyleLookType =\r\n | 'default'\r\n | 'blank'\r\n | 'outline'\r\n\r\nexport const AX_LOCATIONS = [\r\n 'bottom-start',\r\n 'bottom-center',\r\n 'bottom-end',\r\n 'top-start',\r\n 'top-center',\r\n 'top-end',\r\n 'center-end',\r\n 'center-start'\r\n];\r\nexport type AXLocation =\r\n | 'bottom-start'\r\n | 'bottom-center'\r\n | 'bottom-end'\r\n | 'top-start'\r\n | 'top-center'\r\n | 'top-end'\r\n | 'center-end'\r\n | 'center-start';\r\n\r\nexport const AX_DIRECTIONS = ['vertical', 'horizontal'];\r\n/**\r\n * A token that specifies the direction of component.\r\n */\r\nexport type AXDirection = 'vertical' | 'horizontal';\r\n\r\n/**\r\n * A token that specifies the selection mode of component.\r\n */\r\nexport type AXSelectionMode = 'single' | 'multiple';\r\n","import {\r\n AfterContentInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { AXFocusableComponent } from '../classes/components.class';\r\n\r\n@Directive({\r\n selector: '[axAutoFocus]',\r\n})\r\nexport class AXAutoFocusDirective implements AfterContentInit {\r\n\r\n @Input('axAutoFocus')\r\n public autoFocus?: boolean = true;\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXFocusableComponent\r\n ) { }\r\n\r\n\r\n @Input('focus-time')\r\n time: number = 100;\r\n\r\n ngAfterContentInit(): void {\r\n if (this.autoFocus) {\r\n const list = [\r\n 'button',\r\n 'input',\r\n '[href]',\r\n 'select',\r\n 'textarea',\r\n '[tabindex]',\r\n ].map((c) => c + ':not([tabindex=\"-1\"])');\r\n\r\n const focusable =\r\n this.el.nativeElement.querySelector<HTMLElement>(list.join(', ')) ??\r\n this.el.nativeElement;\r\n \r\n const attr = document.createAttribute('autofocus');\r\n focusable.setAttributeNode(attr);\r\n const hasTabindex = focusable.hasAttribute('tabindex');\r\n if (!hasTabindex) {\r\n focusable.setAttribute('tabIndex', '0');\r\n }\r\n setTimeout(() => {\r\n focusable.focus();\r\n }, 100);\r\n }\r\n }\r\n}\r\n","import { Directive, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\r\nimport { NgModel } from \"@angular/forms\";\r\nimport { debounceTime, distinctUntilChanged, skip, Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[ngModelChangeDebounced]',\r\n})\r\nexport class AXNgModelChangeDebouncedDirective implements OnDestroy {\r\n\r\n @Output()\r\n ngModelChangeDebounced = new EventEmitter<any>();\r\n\r\n @Output()\r\n ngModelChangeDebounceTimeChange = new EventEmitter<number>()\r\n\r\n private _ngModelChangeDebounceTime: number = 0;\r\n @Input()\r\n public get ngModelChangeDebounceTime(): number {\r\n return this._ngModelChangeDebounceTime;\r\n }\r\n public set ngModelChangeDebounceTime(v: number) {\r\n if (v != this._ngModelChangeDebounceTime) {\r\n this._ngModelChangeDebounceTime = v;\r\n this.ngModelChangeDebounceTimeChange.emit(v);\r\n this.update()\r\n }\r\n }\r\n\r\n private subscription: Subscription;\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n constructor(private ngModel: NgModel) {\r\n this.ngModelChangeDebounceTime = 0;\r\n }\r\n\r\n private update() {\r\n this.subscription?.unsubscribe();\r\n //\r\n this.subscription = this.ngModel.control.valueChanges.pipe(\r\n skip(1), // skip initial value\r\n distinctUntilChanged(),\r\n debounceTime(this.ngModelChangeDebounceTime)\r\n ).subscribe((value) => this.ngModelChangeDebounced.emit(value));\r\n }\r\n}","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { EventManager } from '@angular/platform-browser';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\ntype Options = {\r\n element: any;\r\n keys: string;\r\n};\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXHotkeysService {\r\n defaults: Partial<Options> = {\r\n element: this.document,\r\n };\r\n\r\n constructor(\r\n private eventManager: EventManager,\r\n @Inject(DOCUMENT) private document: Document\r\n ) {}\r\n\r\n addShortcut(options: Partial<Options>) {\r\n const merged = { ...this.defaults, ...options };\r\n const event = `keydown.${merged.keys}`;\r\n\r\n return new Observable((observer) => {\r\n const handler = (e: UIEvent) => {\r\n e.preventDefault();\r\n observer.next(e);\r\n };\r\n\r\n const dispose = this.eventManager.addEventListener(\r\n merged.element,\r\n event,\r\n handler\r\n );\r\n\r\n return () => {\r\n dispose();\r\n };\r\n });\r\n }\r\n}\r\n","import {\r\n AfterViewInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXComponent } from '../classes/components.class';\r\nimport { AXHotkeysService } from '../services/hotkey.service';\r\n\r\nexport type AXHotKeyAction = { [key: string]: string | Function; parmas?: any };\r\n\r\n@Directive({\r\n selector: '[hotkey]',\r\n})\r\nexport class AXHotkeyDirective implements AfterViewInit {\r\n @Input('hotkey')\r\n public hotkey: string | AXHotKeyAction | AXHotKeyAction[] = '';\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXComponent,\r\n private hs: AXHotkeysService\r\n ) {}\r\n\r\n ngAfterViewInit(): void {\r\n if (!this.hotkey || !this._host) return;\r\n\r\n if (typeof this.hotkey == 'string') {\r\n this._addDefaultAction(this.hotkey);\r\n } else if (typeof this.hotkey == 'object' && !Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction([this.hotkey as AXHotKeyAction]);\r\n } else if (Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction(this.hotkey);\r\n }\r\n }\r\n\r\n private _addDefaultAction(hotkey: string) {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n ['click', 'toggle', 'open', 'focus'].forEach((a) => {\r\n if (this._host[a]) {\r\n this._host[a]();\r\n return;\r\n }\r\n });\r\n })\r\n );\r\n }\r\n\r\n private _addHotKeyAction(hotkeys: AXHotKeyAction[]) {\r\n hotkeys.forEach((k) => {\r\n const hotkey = (<unknown>Object.entries(k)[0][0]) as string;\r\n const action = <unknown>Object.entries(k)[0][1];\r\n if (!action) this._addDefaultAction(hotkey);\r\n else {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n if (typeof action == 'string' && this._host[action]) {\r\n this._host[action]();\r\n return;\r\n }\r\n if (typeof action == 'function') {\r\n action();\r\n return;\r\n }\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._subs.forEach((s) => {\r\n s.unsubscribe();\r\n });\r\n }\r\n}\r\n","import { Directive, AfterViewInit, ElementRef, Input } from '@angular/core';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { exhaustMap, filter, map, pairwise, startWith } from 'rxjs/operators';\r\n\r\n\r\nexport interface AXScrollPosition {\r\n scrollHeight: number;\r\n scrollTop: number;\r\n clientHeight: number;\r\n};\r\n\r\nconst AX_DEFAULT_SCROLL_POSITION: AXScrollPosition = {\r\n scrollHeight: 0,\r\n scrollTop: 0,\r\n clientHeight: 0\r\n};\r\n\r\n@Directive({\r\n selector: '[axInfiniteScroller]'\r\n})\r\nexport class AXInfiniteScrollerDirective implements AfterViewInit {\r\n\r\n private scrollEvent$: Observable<any>;\r\n\r\n private userScrolledDown$: Observable<any>;\r\n\r\n\r\n private requestOnScroll$: Observable<any>;\r\n\r\n @Input()\r\n scrollCallback: Function;\r\n\r\n @Input()\r\n immediateCallback;\r\n\r\n @Input()\r\n scrollPercent = 70;\r\n\r\n constructor(private elm: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n\r\n this.registerScrollEvent();\r\n\r\n this.streamScrollEvents();\r\n\r\n this.requestCallbackOnScroll();\r\n\r\n }\r\n\r\n private registerScrollEvent() {\r\n\r\n this.scrollEvent$ = fromEvent(this.elm.nativeElement, 'scroll');\r\n\r\n }\r\n\r\n private streamScrollEvents() {\r\n this.userScrolledDown$ = this.scrollEvent$\r\n .pipe(\r\n map((e: any): AXScrollPosition => ({\r\n scrollHeight: e.target.scrollHeight,\r\n scrollTop: e.target.scrollTop,\r\n clientHeight: e.target.clientHeight\r\n })),\r\n pairwise(),\r\n filter(positions => this.isUserScrollingDown(positions) && this.isScrollExpectedPercent(positions[1]))\r\n );\r\n }\r\n\r\n private requestCallbackOnScroll() {\r\n this.requestOnScroll$ = this.userScrolledDown$;\r\n\r\n if (this.immediateCallback) {\r\n this.requestOnScroll$ = this.requestOnScroll$.pipe(\r\n startWith([AX_DEFAULT_SCROLL_POSITION, AX_DEFAULT_SCROLL_POSITION])\r\n );\r\n }\r\n\r\n this.requestOnScroll$.pipe(\r\n exhaustMap(() => {\r\n return this.scrollCallback();\r\n }))\r\n //.subscribe((data) => { console.log(data) }, (err) => console.log(err));\r\n\r\n }\r\n\r\n private isUserScrollingDown = (positions) => {\r\n return positions[0].sT < positions[1].sT;\r\n }\r\n\r\n private isScrollExpectedPercent = (position) => {\r\n return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);\r\n }\r\n\r\n}","import { Directive, ElementRef, OnDestroy } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-responsive]' })\r\nexport class AXResponsiveDirective implements OnDestroy {\r\n\r\n private _observer: ResizeObserver = new ResizeObserver(entries => {\r\n for (let entry of entries) {\r\n\r\n if (entry.target) {\r\n const e = entry.target;\r\n const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];\r\n elements.map(c => ({\r\n element: c,\r\n classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))\r\n })).forEach(c => {\r\n e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);\r\n });\r\n }\r\n }\r\n });;\r\n\r\n constructor(private _elementRef: ElementRef<HTMLDivElement>) {\r\n this._observer.observe(_elementRef.nativeElement);\r\n }\r\n\r\n ngOnDestroy() {\r\n this._observer.disconnect();\r\n this._observer.unobserve(this._elementRef.nativeElement);\r\n }\r\n\r\n}","import {\r\n Overlay,\r\n OverlayKeyboardDispatcher,\r\n OverlayPositionBuilder,\r\n ScrollStrategyOptions,\r\n OverlayContainer,\r\n OverlayRef,\r\n OverlayConfig,\r\n OverlayOutsideClickDispatcher,\r\n} from '@angular/cdk/overlay';\r\n\r\n// TODO: 'ComponentFactoryResolver' is deprecated.\r\nimport {\r\n ComponentFactoryResolver,\r\n Inject,\r\n Injector,\r\n NgZone,\r\n Renderer2,\r\n RendererFactory2,\r\n Injectable,\r\n} from '@angular/core';\r\n\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { DOCUMENT, Location } from '@angular/common';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlayContainer extends OverlayContainer {\r\n public setContainerElement(containerElement: HTMLElement): void {\r\n this._containerElement = containerElement;\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlay extends Overlay {\r\n private readonly _dynamicOverlayContainer: DynamicOverlayContainer;\r\n private renderer: Renderer2;\r\n\r\n constructor(\r\n scrollStrategies: ScrollStrategyOptions,\r\n _overlayContainer: DynamicOverlayContainer,\r\n _componentFactoryResolver: ComponentFactoryResolver,\r\n _positionBuilder: OverlayPositionBuilder,\r\n _keyboardDispatcher: OverlayKeyboardDispatcher,\r\n _injector: Injector,\r\n _ngZone: NgZone,\r\n @Inject(DOCUMENT) _document: any,\r\n _directionality: Directionality,\r\n rendererFactory: RendererFactory2,\r\n _location: Location,\r\n _outsideClickDispatcher: OverlayOutsideClickDispatcher\r\n ) {\r\n super(\r\n scrollStrategies,\r\n _overlayContainer,\r\n _componentFactoryResolver,\r\n _positionBuilder,\r\n _keyboardDispatcher,\r\n _injector,\r\n _ngZone,\r\n _document,\r\n _directionality,\r\n _location,\r\n _outsideClickDispatcher\r\n );\r\n this.renderer = rendererFactory.createRenderer(null, null);\r\n\r\n this._dynamicOverlayContainer = _overlayContainer;\r\n }\r\n\r\n private setContainerElement(containerElement: HTMLElement): void {\r\n this.renderer.setStyle(containerElement, 'transform', 'translateZ(0)');\r\n this._dynamicOverlayContainer.setContainerElement(containerElement);\r\n }\r\n\r\n public createOn(\r\n containerElement: HTMLElement,\r\n config?: OverlayConfig\r\n ): OverlayRef {\r\n this.setContainerElement(containerElement);\r\n return super.create(config);\r\n }\r\n}\r\n","import { Injectable, ApplicationRef, ViewContainerRef, TemplateRef } from '@angular/core';\r\nimport { ConnectedPosition, Overlay, OverlayPositionBuilder, PositionStrategy, ScrollStrategy } from '@angular/cdk/overlay';\r\nimport { TemplatePortal, Portal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { merge } from 'rxjs';\r\nimport { DynamicOverlay } from './custom-cdk-overlay.service';\r\nimport { AXConnectedPosition } from '../classes/drawing.class';\r\n\r\nexport interface AXOverlayViewRef {\r\n instance: any;\r\n dispose: () => void;\r\n isOpen: () => boolean;\r\n}\r\n\r\nexport interface AXOverlayConfigs {\r\n position?: AXConnectedPosition | AXConnectedPosition[] | PositionStrategy;\r\n hasBackdrop?: boolean;\r\n transparentBackdrop?: boolean;\r\n closeOnClickOutside?: boolean;\r\n targetElement?: HTMLElement;\r\n containerElement?: HTMLElement;\r\n onBackdropClick?: () => void;\r\n panelClass?: string[] | string;\r\n backdropClass?: string[] | string;\r\n scroll?: 'auto' | 'block' | 'close';\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXOverlayService {\r\n constructor(\r\n private overlayService: DynamicOverlay,\r\n private overlayService2: Overlay,\r\n private appRef: ApplicationRef) {\r\n\r\n }\r\n\r\n position(): OverlayPositionBuilder {\r\n return this.overlayService.position();\r\n }\r\n\r\n show(content: any, context?: any, configs?: AXOverlayConfigs): AXOverlayViewRef {\r\n configs = Object.assign({\r\n hasBackdrop: true,\r\n transparentBackdrop: true,\r\n closeOnClickOutside: true\r\n }, configs || {});\r\n // get root viewref\r\n const viewRef: ViewContainerRef = this.appRef.components[0].instance.viewRef;\r\n\r\n let portal: Portal<any>;\r\n // get component by route\r\n if (typeof content === 'string') {\r\n // TODO: ???\r\n }\r\n // create portal from component\r\n else if (content instanceof TemplateRef) {\r\n portal = new TemplatePortal(content, viewRef, context);\r\n }\r\n else if (typeof content === 'function') {\r\n portal = new ComponentPortal(content, viewRef);\r\n }\r\n let positionStrategy: PositionStrategy;\r\n if (configs.position && configs.targetElement) {\r\n const p: ConnectedPosition[] = Array.isArray(configs.position) ? (configs.position as ConnectedPosition[]) : [configs.position as ConnectedPosition];\r\n positionStrategy = this.overlayService.position()\r\n .flexibleConnectedTo(configs.targetElement)\r\n .withPositions(p)\r\n .withPush(true);\r\n }\r\n else {\r\n positionStrategy = configs.position ?\r\n configs.position as PositionStrategy :\r\n this.overlayService.position().global().centerHorizontally().centerVertically();\r\n }\r\n let scrollStrategy: ScrollStrategy = this.overlayService.scrollStrategies.reposition({ autoClose: true });\r\n if (configs.scroll === 'block') {\r\n scrollStrategy = this.overlayService.scrollStrategies.block();\r\n }\r\n if (configs.scroll === 'close') {\r\n scrollStrategy = this.overlayService.scrollStrategies.close();\r\n }\r\n\r\n const config = {\r\n positionStrategy,\r\n scrollStrategy,\r\n hasBackdrop: configs.hasBackdrop,\r\n disposeOnNavigation: true,\r\n backdropClass: configs.backdropClass ? configs.backdropClass : (configs.transparentBackdrop ? 'cdk-overlay-transparent-backdrop' : undefined),\r\n panelClass: configs.panelClass ? configs.panelClass : ['ax-animate-animated', 'ax-animate-zoomIn', 'ax-animate-faster']\r\n };\r\n let overlayRef: any = configs.containerElement ? this.overlayService.createOn(configs.containerElement, config) : this.overlayService2.create(config);\r\n\r\n const host = overlayRef.attach(portal!);\r\n if (host.instance) {\r\n Object.assign(host.instance, context);\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n if (configs.closeOnClickOutside) {\r\n merge(\r\n overlayRef.backdropClick(),\r\n overlayRef.detachments(),\r\n ).subscribe(() => {\r\n overlayRef.dispose();\r\n overlayRef = undefined;\r\n if (configs!.onBackdropClick) {\r\n configs!.onBackdropClick();\r\n }\r\n });\r\n\r\n }\r\n return {\r\n instance: host.instance,\r\n dispose: overlayRef.dispose.bind(overlayRef),\r\n isOpen: () => {\r\n return overlayRef.hasAttached();\r\n }\r\n };\r\n }\r\n\r\n}","import { NgModule } from '@angular/core';\r\nimport { AXAutoFocusDirective } from './directives/auto-focus.directive';\r\nimport { AXNgModelChangeDebouncedDirective } from './directives/debounce-time.directive';\r\nimport { AXHotkeyDirective } from './directives/hotkey.directive';\r\nimport { AXInfiniteScrollerDirective } from './directives/infinite-scroll.directive';\r\nimport { AXResponsiveDirective } from './directives/responsive.directive';\r\n@NgModule({\r\n imports: [],\r\n exports: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXAutoFocusDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXHotkeyDirective,\r\n ],\r\n declarations: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXAutoFocusDirective,\r\n AXHotkeyDirective,\r\n ],\r\n providers: [],\r\n})\r\nexport class AXCommonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXFocusableComponent","i1.AXComponent","i2.AXHotkeysService","i1","i1.DynamicOverlay","i2"],"mappings":";;;;;;;;;;;;;;AAAA;;;AAGG;MACU,OAAO,CAAA;AAApB,IAAA,WAAA,GAAA;QAUE,IAAiB,CAAA,iBAAA,GAAa,KAAK,CAAC;KACrC;AAAA,CAAA;AAED;;;AAGG;AACG,MAAO,WAAqC,SAAQ,OAAO,CAAA;AAEhE,CAAA;AAED;;;AAGG;AACG,MAAO,mBAA6B,SAAQ,OAAO,CAAA;AAIxD,CAAA;AAED;;;AAGG;AACG,MAAO,YAAa,SAAQ,WAAuB,CAAA;AAOxD,CAAA;AAED;;;AAGG;AACG,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AAEnD,CAAA;AAED;;;AAGG;AACG,MAAO,gBAAoB,SAAQ,WAAuB,CAAA;AAE/D,CAAA;AAED;;;AAGG;AACG,MAAO,YAAa,SAAQ,WAAuB,CAAA;AAAI,CAAA;AAE7D;;;AAGG;AACG,MAAO,4BAA6B,SAAQ,mBAEjD,CAAA;AAKA,CAAA;AAED;;;AAGG;AACG,MAAO,mBAAuB,SAAQ,OAAO,CAAA;AASlD;;AC7FM,MAAM,YAAY,GAAG,WAAW;AAEjC,MAAO,qBAAsB,SAAQ,OAAO,CAAA;AAEjD,CAAA;MACY,kBAAkB,CAAA;AAA/B,IAAA,WAAA,GAAA;QACE,IAAM,CAAA,MAAA,GAAY,KAAK,CAAC;KAEzB;AAAA,CAAA;MAEY,iBAAiB,CAAA;AAG7B,CAAA;AAED;;AAEG;AACG,MAAO,wBAAyB,SAAQ,OAA0B,CAAA;AAEtE,IAAA,WAAA,CACE,QAGS,EAAA;QAET,KAAK,CAAC,QAAQ,C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Ac,EAAA,UAAA,EAAA,CAAA;kBAlB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,2BAA2B;wBAC3B,oBAAoB;wBACpB,iCAAiC;wBACjC,iBAAiB;AAClB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,2BAA2B;wBAC3B,iCAAiC;wBACjC,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-common.mjs","sources":["../../../../projects/acorex/components/common/src/classes/events.class.ts","../../../../projects/acorex/components/common/src/classes/components.class.ts","../../../../projects/acorex/components/common/src/classes/styles.class.ts","../../../../projects/acorex/components/common/src/directives/auto-focus.directive.ts","../../../../projects/acorex/components/common/src/directives/debounce-time.directive.ts","../../../../projects/acorex/components/common/src/services/hotkey.service.ts","../../../../projects/acorex/components/common/src/directives/hotkey.directive.ts","../../../../projects/acorex/components/common/src/directives/infinite-scroll.directive.ts","../../../../projects/acorex/components/common/src/directives/responsive.directive.ts","../../../../projects/acorex/components/common/src/services/custom-cdk-overlay.service.ts","../../../../projects/acorex/components/common/src/services/overlay.service.ts","../../../../projects/acorex/components/common/src/common.module.ts","../../../../projects/acorex/components/common/acorex-components-common.ts"],"sourcesContent":["/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXEvent {\r\n /**\r\n * The sender component\r\n */\r\n component: any;\r\n /**\r\n * The root native element\r\n */\r\n htmlElement?: HTMLElement;\r\n\r\n isUserInteraction?: boolean = false;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXHtmlEvent<E extends Event = Event> extends AXEvent {\r\n nativeEvent?: E;\r\n}\r\n\r\n/**\r\n * Contains native event\r\n * @category Events\r\n */\r\nexport class AXValueChangedEvent<T = any> extends AXEvent {\r\n name?: string;\r\n value?: T;\r\n oldValue?: T;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXClickEvent extends AXHtmlEvent<MouseEvent> {\r\n /**\r\n * uses for extra data\r\n */\r\n data?: any;\r\n\r\n nativeEvent?: any;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXButtonClickEvent extends AXClickEvent {\r\n name: string;\r\n}\r\n\r\n/**\r\n * Fires each time the user click the element.\r\n * @category Events\r\n */\r\nexport class AXItemClickEvent<T> extends AXHtmlEvent<MouseEvent> {\r\n item: T;\r\n}\r\n\r\n/**\r\n * Fires each time the component gets focused.\r\n * @category Events\r\n */\r\nexport class AXFocusEvent extends AXHtmlEvent<FocusEvent> { }\r\n\r\n/**\r\n * Fires each time an item or multiple items selected by the user or value.\r\n * @category Events\r\n */\r\nexport class AXSelectionValueChangedEvent extends AXValueChangedEvent<\r\n any | any[]\r\n> {\r\n value?: any;\r\n oldValue?: any;\r\n selectedKeys?: any[];\r\n selectedItems?: any[];\r\n}\r\n\r\n/**\r\n * Contains range start & end values\r\n * @category Events\r\n */\r\nexport class AXRangeChangedEvent<T> extends AXEvent {\r\n /**\r\n * The range start value\r\n */\r\n start?: T;\r\n /**\r\n * The range end value\r\n */\r\n end?: T;\r\n}\r\n","import { EventEmitter, Injectable } from '@angular/core';\r\nimport { AXEvent, AXValueChangedEvent } from './events.class';\r\n\r\nexport const TAB_META_KEY = '__meta__';\r\n\r\nexport class AXComponentCloseEvent extends AXEvent {\r\n data?: any;\r\n}\r\nexport class AXComponentClosing {\r\n cancel: boolean = false;\r\n data?: any;\r\n}\r\n\r\nexport class AXComponentResult {\r\n sender: any;\r\n data?: any;\r\n}\r\n\r\n/**\r\n * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.\r\n */\r\nexport class AXComponentClosedPromise extends Promise<AXComponentResult> {\r\n private closeMethod: () => void;\r\n constructor(\r\n executor: (\r\n resolve: (value?: AXComponentResult | PromiseLike<AXComponentResult>) => void,\r\n reject: (reason?: any) => void\r\n ) => void\r\n ) {\r\n super(executor);\r\n }\r\n\r\n public close() {\r\n if (this.closeMethod) {\r\n this.closeMethod();\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n@Injectable()\r\nexport abstract class AXComponent {\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXClosbaleComponent extends AXComponent {\r\n abstract close(): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXSearchableComponent extends AXComponent {\r\n abstract search(value: string): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXValuableComponent extends AXComponent {\r\n abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;\r\n abstract value: any;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXFocusableComponent extends AXComponent {\r\n abstract focus();\r\n}\r\n\r\nexport interface AXPagedComponentInterface {\r\n goToPage(page: number);\r\n get totalCount(): number;\r\n get pageSize(): number;\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXPagedComponent\r\n extends AXComponent\r\n implements AXPagedComponentInterface\r\n{\r\n abstract goToPage(page: number);\r\n abstract get totalCount(): number;\r\n abstract pageSize: number;\r\n abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;\r\n}\r\n","export const AX_STYLE_COLOR_TYPES =\r\n [\r\n 'primary'\r\n , 'secondary'\r\n , 'info'\r\n , 'danger'\r\n , 'success'\r\n , 'warning'\r\n , 'light'\r\n , 'dark'\r\n ];\r\n\r\n/**\r\n * A token that specifies the color style of component.\r\n */\r\nexport type AXStyleColorType =\r\n | 'primary'\r\n | 'secondary'\r\n | 'danger'\r\n | 'success'\r\n | 'warning'\r\n | 'ghost'\r\n\r\nexport type AXStyleLookType =\r\n | 'default'\r\n | 'blank'\r\n | 'outline'\r\n\r\nexport const AX_LOCATIONS = [\r\n 'bottom-start',\r\n 'bottom-center',\r\n 'bottom-end',\r\n 'top-start',\r\n 'top-center',\r\n 'top-end',\r\n 'center-end',\r\n 'center-start'\r\n];\r\nexport type AXLocation =\r\n | 'bottom-start'\r\n | 'bottom-center'\r\n | 'bottom-end'\r\n | 'top-start'\r\n | 'top-center'\r\n | 'top-end'\r\n | 'center-end'\r\n | 'center-start';\r\n\r\nexport const AX_DIRECTIONS = ['vertical', 'horizontal'];\r\n/**\r\n * A token that specifies the direction of component.\r\n */\r\nexport type AXDirection = 'vertical' | 'horizontal';\r\n\r\n/**\r\n * A token that specifies the selection mode of component.\r\n */\r\nexport type AXSelectionMode = 'single' | 'multiple';\r\n","import {\r\n AfterContentInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { AXFocusableComponent } from '../classes/components.class';\r\n\r\n@Directive({\r\n selector: '[axAutoFocus]',\r\n})\r\nexport class AXAutoFocusDirective implements AfterContentInit {\r\n\r\n @Input('axAutoFocus')\r\n public autoFocus?: boolean = true;\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXFocusableComponent\r\n ) { }\r\n\r\n\r\n @Input('focus-time')\r\n time: number = 100;\r\n\r\n ngAfterContentInit(): void {\r\n if (this.autoFocus) {\r\n const list = [\r\n 'button',\r\n 'input',\r\n '[href]',\r\n 'select',\r\n 'textarea',\r\n '[tabindex]',\r\n ].map((c) => c + ':not([tabindex=\"-1\"])');\r\n\r\n const focusable =\r\n this.el.nativeElement.querySelector<HTMLElement>(list.join(', ')) ??\r\n this.el.nativeElement;\r\n \r\n const attr = document.createAttribute('autofocus');\r\n focusable.setAttributeNode(attr);\r\n const hasTabindex = focusable.hasAttribute('tabindex');\r\n if (!hasTabindex) {\r\n focusable.setAttribute('tabIndex', '0');\r\n }\r\n setTimeout(() => {\r\n focusable.focus();\r\n }, 100);\r\n }\r\n }\r\n}\r\n","import { Directive, EventEmitter, Input, OnDestroy, Output } from \"@angular/core\";\r\nimport { NgModel } from \"@angular/forms\";\r\nimport { debounceTime, distinctUntilChanged, skip, Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[ngModelChangeDebounced]',\r\n})\r\nexport class AXNgModelChangeDebouncedDirective implements OnDestroy {\r\n\r\n @Output()\r\n ngModelChangeDebounced = new EventEmitter<any>();\r\n\r\n @Output()\r\n ngModelChangeDebounceTimeChange = new EventEmitter<number>()\r\n\r\n private _ngModelChangeDebounceTime: number = 0;\r\n @Input()\r\n public get ngModelChangeDebounceTime(): number {\r\n return this._ngModelChangeDebounceTime;\r\n }\r\n public set ngModelChangeDebounceTime(v: number) {\r\n if (v != this._ngModelChangeDebounceTime) {\r\n this._ngModelChangeDebounceTime = v;\r\n this.ngModelChangeDebounceTimeChange.emit(v);\r\n this.update()\r\n }\r\n }\r\n\r\n private subscription: Subscription;\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n constructor(private ngModel: NgModel) {\r\n this.ngModelChangeDebounceTime = 0;\r\n }\r\n\r\n private update() {\r\n this.subscription?.unsubscribe();\r\n //\r\n this.subscription = this.ngModel.control.valueChanges.pipe(\r\n skip(1), // skip initial value\r\n distinctUntilChanged(),\r\n debounceTime(this.ngModelChangeDebounceTime)\r\n ).subscribe((value) => this.ngModelChangeDebounced.emit(value));\r\n }\r\n}","import { DOCUMENT } from '@angular/common';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { EventManager } from '@angular/platform-browser';\r\nimport { Observable } from 'rxjs/internal/Observable';\r\n\r\ntype Options = {\r\n element: any;\r\n keys: string;\r\n};\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXHotkeysService {\r\n defaults: Partial<Options> = {\r\n element: this.document,\r\n };\r\n\r\n constructor(\r\n private eventManager: EventManager,\r\n @Inject(DOCUMENT) private document: Document\r\n ) {}\r\n\r\n addShortcut(options: Partial<Options>) {\r\n const merged = { ...this.defaults, ...options };\r\n const event = `keydown.${merged.keys}`;\r\n\r\n return new Observable((observer) => {\r\n const handler = (e: UIEvent) => {\r\n e.preventDefault();\r\n observer.next(e);\r\n };\r\n\r\n const dispose = this.eventManager.addEventListener(\r\n merged.element,\r\n event,\r\n handler\r\n );\r\n\r\n return () => {\r\n dispose();\r\n };\r\n });\r\n }\r\n}\r\n","import {\r\n AfterViewInit,\r\n Directive,\r\n ElementRef,\r\n Host,\r\n Input,\r\n Optional,\r\n Self,\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXComponent } from '../classes/components.class';\r\nimport { AXHotkeysService } from '../services/hotkey.service';\r\n\r\nexport type AXHotKeyAction = { [key: string]: string | Function; parmas?: any };\r\n\r\n@Directive({\r\n selector: '[hotkey]',\r\n})\r\nexport class AXHotkeyDirective implements AfterViewInit {\r\n @Input('hotkey')\r\n public hotkey: string | AXHotKeyAction | AXHotKeyAction[] = '';\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private el: ElementRef<HTMLElement>,\r\n @Host()\r\n @Self()\r\n @Optional()\r\n public _host: AXComponent,\r\n private hs: AXHotkeysService\r\n ) {}\r\n\r\n ngAfterViewInit(): void {\r\n if (!this.hotkey || !this._host) return;\r\n\r\n if (typeof this.hotkey == 'string') {\r\n this._addDefaultAction(this.hotkey);\r\n } else if (typeof this.hotkey == 'object' && !Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction([this.hotkey as AXHotKeyAction]);\r\n } else if (Array.isArray(this.hotkey)) {\r\n this._addHotKeyAction(this.hotkey);\r\n }\r\n }\r\n\r\n private _addDefaultAction(hotkey: string) {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n ['click', 'toggle', 'open', 'focus'].forEach((a) => {\r\n if (this._host[a]) {\r\n this._host[a]();\r\n return;\r\n }\r\n });\r\n })\r\n );\r\n }\r\n\r\n private _addHotKeyAction(hotkeys: AXHotKeyAction[]) {\r\n hotkeys.forEach((k) => {\r\n const hotkey = (<unknown>Object.entries(k)[0][0]) as string;\r\n const action = <unknown>Object.entries(k)[0][1];\r\n if (!action) this._addDefaultAction(hotkey);\r\n else {\r\n this._subs.push(\r\n this.hs.addShortcut({ keys: hotkey }).subscribe(() => {\r\n if (typeof action == 'string' && this._host[action]) {\r\n this._host[action]();\r\n return;\r\n }\r\n if (typeof action == 'function') {\r\n action();\r\n return;\r\n }\r\n })\r\n );\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this._subs.forEach((s) => {\r\n s.unsubscribe();\r\n });\r\n }\r\n}\r\n","import { Directive, AfterViewInit, ElementRef, Input } from '@angular/core';\r\nimport { fromEvent, Observable } from 'rxjs';\r\nimport { exhaustMap, filter, map, pairwise, startWith } from 'rxjs/operators';\r\n\r\n\r\nexport interface AXScrollPosition {\r\n scrollHeight: number;\r\n scrollTop: number;\r\n clientHeight: number;\r\n};\r\n\r\nconst AX_DEFAULT_SCROLL_POSITION: AXScrollPosition = {\r\n scrollHeight: 0,\r\n scrollTop: 0,\r\n clientHeight: 0\r\n};\r\n\r\n@Directive({\r\n selector: '[axInfiniteScroller]'\r\n})\r\nexport class AXInfiniteScrollerDirective implements AfterViewInit {\r\n\r\n private scrollEvent$: Observable<any>;\r\n\r\n private userScrolledDown$: Observable<any>;\r\n\r\n\r\n private requestOnScroll$: Observable<any>;\r\n\r\n @Input()\r\n scrollCallback: Function;\r\n\r\n @Input()\r\n immediateCallback;\r\n\r\n @Input()\r\n scrollPercent = 70;\r\n\r\n constructor(private elm: ElementRef) { }\r\n\r\n ngAfterViewInit() {\r\n\r\n this.registerScrollEvent();\r\n\r\n this.streamScrollEvents();\r\n\r\n this.requestCallbackOnScroll();\r\n\r\n }\r\n\r\n private registerScrollEvent() {\r\n\r\n this.scrollEvent$ = fromEvent(this.elm.nativeElement, 'scroll');\r\n\r\n }\r\n\r\n private streamScrollEvents() {\r\n this.userScrolledDown$ = this.scrollEvent$\r\n .pipe(\r\n map((e: any): AXScrollPosition => ({\r\n scrollHeight: e.target.scrollHeight,\r\n scrollTop: e.target.scrollTop,\r\n clientHeight: e.target.clientHeight\r\n })),\r\n pairwise(),\r\n filter(positions => this.isUserScrollingDown(positions) && this.isScrollExpectedPercent(positions[1]))\r\n );\r\n }\r\n\r\n private requestCallbackOnScroll() {\r\n this.requestOnScroll$ = this.userScrolledDown$;\r\n\r\n if (this.immediateCallback) {\r\n this.requestOnScroll$ = this.requestOnScroll$.pipe(\r\n startWith([AX_DEFAULT_SCROLL_POSITION, AX_DEFAULT_SCROLL_POSITION])\r\n );\r\n }\r\n\r\n this.requestOnScroll$.pipe(\r\n exhaustMap(() => {\r\n return this.scrollCallback();\r\n }))\r\n //.subscribe((data) => { console.log(data) }, (err) => console.log(err));\r\n\r\n }\r\n\r\n private isUserScrollingDown = (positions) => {\r\n return positions[0].sT < positions[1].sT;\r\n }\r\n\r\n private isScrollExpectedPercent = (position) => {\r\n return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);\r\n }\r\n\r\n}","import { Directive, ElementRef, OnDestroy } from '@angular/core';\r\n\r\n@Directive({ selector: '[ax-responsive]' })\r\nexport class AXResponsiveDirective implements OnDestroy {\r\n\r\n private _observer: ResizeObserver = new ResizeObserver(entries => {\r\n for (let entry of entries) {\r\n\r\n if (entry.target) {\r\n const e = entry.target;\r\n const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];\r\n elements.map(c => ({\r\n element: c,\r\n classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))\r\n })).forEach(c => {\r\n e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);\r\n });\r\n }\r\n }\r\n });;\r\n\r\n constructor(private _elementRef: ElementRef<HTMLDivElement>) {\r\n this._observer.observe(_elementRef.nativeElement);\r\n }\r\n\r\n ngOnDestroy() {\r\n this._observer.disconnect();\r\n this._observer.unobserve(this._elementRef.nativeElement);\r\n }\r\n\r\n}","import {\r\n Overlay,\r\n OverlayKeyboardDispatcher,\r\n OverlayPositionBuilder,\r\n ScrollStrategyOptions,\r\n OverlayContainer,\r\n OverlayRef,\r\n OverlayConfig,\r\n OverlayOutsideClickDispatcher,\r\n} from '@angular/cdk/overlay';\r\n\r\n// TODO: 'ComponentFactoryResolver' is deprecated.\r\nimport {\r\n ComponentFactoryResolver,\r\n Inject,\r\n Injector,\r\n NgZone,\r\n Renderer2,\r\n RendererFactory2,\r\n Injectable,\r\n} from '@angular/core';\r\n\r\nimport { Directionality } from '@angular/cdk/bidi';\r\nimport { DOCUMENT, Location } from '@angular/common';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlayContainer extends OverlayContainer {\r\n public setContainerElement(containerElement: HTMLElement): void {\r\n this._containerElement = containerElement;\r\n }\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class DynamicOverlay extends Overlay {\r\n private readonly _dynamicOverlayContainer: DynamicOverlayContainer;\r\n private renderer: Renderer2;\r\n\r\n constructor(\r\n scrollStrategies: ScrollStrategyOptions,\r\n _overlayContainer: DynamicOverlayContainer,\r\n _componentFactoryResolver: ComponentFactoryResolver,\r\n _positionBuilder: OverlayPositionBuilder,\r\n _keyboardDispatcher: OverlayKeyboardDispatcher,\r\n _injector: Injector,\r\n _ngZone: NgZone,\r\n @Inject(DOCUMENT) _document: any,\r\n _directionality: Directionality,\r\n rendererFactory: RendererFactory2,\r\n _location: Location,\r\n _outsideClickDispatcher: OverlayOutsideClickDispatcher\r\n ) {\r\n super(\r\n scrollStrategies,\r\n _overlayContainer,\r\n _componentFactoryResolver,\r\n _positionBuilder,\r\n _keyboardDispatcher,\r\n _injector,\r\n _ngZone,\r\n _document,\r\n _directionality,\r\n _location,\r\n _outsideClickDispatcher\r\n );\r\n this.renderer = rendererFactory.createRenderer(null, null);\r\n\r\n this._dynamicOverlayContainer = _overlayContainer;\r\n }\r\n\r\n private setContainerElement(containerElement: HTMLElement): void {\r\n this.renderer.setStyle(containerElement, 'transform', 'translateZ(0)');\r\n this._dynamicOverlayContainer.setContainerElement(containerElement);\r\n }\r\n\r\n public createOn(\r\n containerElement: HTMLElement,\r\n config?: OverlayConfig\r\n ): OverlayRef {\r\n this.setContainerElement(containerElement);\r\n return super.create(config);\r\n }\r\n}\r\n","import {\r\n Injectable,\r\n ApplicationRef,\r\n ViewContainerRef,\r\n TemplateRef,\r\n} from '@angular/core';\r\nimport {\r\n ConnectedPosition,\r\n Overlay,\r\n OverlayPositionBuilder,\r\n PositionStrategy,\r\n ScrollStrategy,\r\n} from '@angular/cdk/overlay';\r\nimport { TemplatePortal, Portal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { merge } from 'rxjs';\r\nimport { DynamicOverlay } from './custom-cdk-overlay.service';\r\nimport { AXConnectedPosition } from '../classes/drawing.class';\r\nimport { NavigationStart, RouterEvent, Router } from '@angular/router';\r\n\r\nexport interface AXOverlayViewRef {\r\n instance: any;\r\n dispose: () => void;\r\n isOpen: () => boolean;\r\n}\r\n\r\nexport interface AXOverlayConfigs {\r\n position?: AXConnectedPosition | AXConnectedPosition[] | PositionStrategy;\r\n hasBackdrop?: boolean;\r\n transparentBackdrop?: boolean;\r\n closeOnClickOutside?: boolean;\r\n targetElement?: HTMLElement;\r\n containerElement?: HTMLElement;\r\n onBackdropClick?: () => void;\r\n panelClass?: string[] | string;\r\n backdropClass?: string[] | string;\r\n scroll?: 'auto' | 'block' | 'close';\r\n}\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXOverlayService {\r\n portal: Portal<any>;\r\n constructor(\r\n private overlayService: DynamicOverlay,\r\n private overlayService2: Overlay,\r\n private appRef: ApplicationRef\r\n ) {}\r\n\r\n position(): OverlayPositionBuilder {\r\n return this.overlayService.position();\r\n }\r\n\r\n show(\r\n content: any,\r\n context?: any,\r\n configs?: AXOverlayConfigs\r\n ): AXOverlayViewRef {\r\n configs = Object.assign(\r\n {\r\n hasBackdrop: true,\r\n transparentBackdrop: true,\r\n closeOnClickOutside: true,\r\n },\r\n configs || {}\r\n );\r\n // get root viewref\r\n const viewRef: ViewContainerRef =\r\n this.appRef.components[0].instance.viewRef;\r\n\r\n console.log(configs);\r\n\r\n // let portal: Portal<any>;\r\n // get component by route\r\n if (typeof content === 'string') {\r\n // TODO: ???\r\n }\r\n // create portal from component\r\n else if (content instanceof TemplateRef) {\r\n this.portal = new TemplatePortal(content, viewRef, context);\r\n } else if (typeof content === 'function') {\r\n this.portal = new ComponentPortal(content, viewRef);\r\n }\r\n let positionStrategy: PositionStrategy;\r\n if (configs.position && configs.targetElement) {\r\n const p: ConnectedPosition[] = Array.isArray(configs.position)\r\n ? (configs.position as ConnectedPosition[])\r\n : [configs.position as ConnectedPosition];\r\n positionStrategy = this.overlayService\r\n .position()\r\n .flexibleConnectedTo(configs.targetElement)\r\n .withPositions(p)\r\n .withPush(true);\r\n } else {\r\n positionStrategy = configs.position\r\n ? (configs.position as PositionStrategy)\r\n : this.overlayService\r\n .position()\r\n .global()\r\n .centerHorizontally()\r\n .centerVertically();\r\n }\r\n let scrollStrategy: ScrollStrategy =\r\n this.overlayService.scrollStrategies.reposition({ autoClose: true });\r\n if (configs.scroll === 'block') {\r\n scrollStrategy = this.overlayService.scrollStrategies.block();\r\n }\r\n if (configs.scroll === 'close') {\r\n scrollStrategy = this.overlayService.scrollStrategies.close();\r\n }\r\n\r\n const config = {\r\n positionStrategy,\r\n scrollStrategy,\r\n hasBackdrop: configs.hasBackdrop,\r\n disposeOnNavigation: true,\r\n backdropClass: configs.backdropClass\r\n ? configs.backdropClass\r\n : configs.transparentBackdrop\r\n ? 'cdk-overlay-transparent-backdrop'\r\n : undefined,\r\n panelClass: configs.panelClass\r\n ? configs.panelClass\r\n : ['ax-animate-animated', 'ax-animate-zoomIn', 'ax-animate-faster'],\r\n };\r\n let overlayRef: any = configs.containerElement\r\n ? this.overlayService.createOn(configs.containerElement, config)\r\n : this.overlayService2.create(config);\r\n\r\n const host = overlayRef.attach(this.portal!);\r\n if (host.instance) {\r\n Object.assign(host.instance, context);\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n\r\n if (configs.closeOnClickOutside) {\r\n merge(overlayRef.backdropClick(), overlayRef.detachments()).subscribe(\r\n () => {\r\n overlayRef.dispose();\r\n overlayRef = undefined;\r\n if (configs!.onBackdropClick) {\r\n configs!.onBackdropClick();\r\n }\r\n }\r\n );\r\n }\r\n return {\r\n instance: host.instance,\r\n dispose: overlayRef.dispose.bind(overlayRef),\r\n isOpen: () => {\r\n return overlayRef.hasAttached();\r\n },\r\n };\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { AXAutoFocusDirective } from './directives/auto-focus.directive';\r\nimport { AXNgModelChangeDebouncedDirective } from './directives/debounce-time.directive';\r\nimport { AXHotkeyDirective } from './directives/hotkey.directive';\r\nimport { AXInfiniteScrollerDirective } from './directives/infinite-scroll.directive';\r\nimport { AXResponsiveDirective } from './directives/responsive.directive';\r\n@NgModule({\r\n imports: [],\r\n exports: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXAutoFocusDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXHotkeyDirective,\r\n ],\r\n declarations: [\r\n AXResponsiveDirective,\r\n AXInfiniteScrollerDirective,\r\n AXNgModelChangeDebouncedDirective,\r\n AXAutoFocusDirective,\r\n AXHotkeyDirective,\r\n ],\r\n providers: [],\r\n})\r\nexport class AXCommonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXFocusableComponent","i1.AXComponent","i2.AXHotkeysService","i1","i1.DynamicOverlay","i2"],"mappings":";;;;;;;;;;;;;;AAAA;;;AAGG;MACU,OAAO,CAAA;AAApB,IAAA,WAAA,GAAA;QAUE,IAAiB,CAAA,iBAAA,GAAa,KAAK,CAAC;KACrC;AAAA,CAAA;AAED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CAAiC;wBACjC,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -188,7 +188,7 @@ class AXDecoratorTitleComponent extends AXBaseComponentMixin {
188
188
  }
189
189
  }
190
190
  AXDecoratorTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
191
- AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTitleComponent, selector: "ax-title", host: { classAttribute: "ax-title" }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
191
+ AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTitleComponent, selector: "ax-title", usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
192
192
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
193
193
  type: Component,
194
194
  args: [{
@@ -196,7 +196,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
196
196
  template: `<ng-content></ng-content>`,
197
197
  changeDetection: ChangeDetectionStrategy.OnPush,
198
198
  encapsulation: ViewEncapsulation.None,
199
- host: { class: 'ax-title' },
200
199
  }]
201
200
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
202
201
 
@@ -238,12 +237,12 @@ class AXDecoratorTextComponent extends AXBaseComponentMixin {
238
237
  }
239
238
  }
240
239
  AXDecoratorTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
241
- AXDecoratorTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTextComponent, selector: "ax-text", inputs: { content: "content" }, providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }], usesInheritance: true, ngImport: i0, template: `{{ content }}`, isInline: true });
240
+ AXDecoratorTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTextComponent, selector: "ax-text", inputs: { content: "content" }, providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
242
241
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTextComponent, decorators: [{
243
242
  type: Component,
244
243
  args: [{
245
244
  selector: 'ax-text',
246
- template: `{{ content }}`,
245
+ template: `<ng-content></ng-content>`,
247
246
  providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }],
248
247
  }]
249
248
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../projects/acorex/components/decorators/src/icon.component.ts","../../../../projects/acorex/components/decorators/src/close-button.component.ts","../../../../projects/acorex/components/decorators/src/content.component.ts","../../../../projects/acorex/components/decorators/src/prefix.component.ts","../../../../projects/acorex/components/decorators/src/suffix.component.ts","../../../../projects/acorex/components/decorators/src/header.component.ts","../../../../projects/acorex/components/decorators/src/footer.component.ts","../../../../projects/acorex/components/decorators/src/title.component.ts","../../../../projects/acorex/components/decorators/src/overlay.component.ts","../../../../projects/acorex/components/decorators/src/placeholder.component.ts","../../../../projects/acorex/components/decorators/src/text.component.ts","../../../../projects/acorex/components/decorators/src/sub-title.component.ts","../../../../projects/acorex/components/decorators/src/form-hint.component.ts","../../../../projects/acorex/components/decorators/src/decorators.module.ts","../../../../projects/acorex/components/decorators/acorex-components-decorators.ts"],"sourcesContent":["import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-icon',\r\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }],\r\n})\r\nexport class AXDecoratorIconComponent extends AXBaseComponentMixin {\r\n @Input()\r\n icon: string;\r\n\r\n @HostBinding('class')\r\n private get __iconClass(): string {\r\n return `${this.icon}`;\r\n }\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n Optional,\r\n Inject,\r\n} from '@angular/core';\r\nimport { AXClosbaleComponent } from '@acorex/components/common';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-close-button',\r\n template: `<ax-icon\r\n [icon]=\"icon\"\r\n (click)=\"_handleOnClick($event)\"\r\n tabindex=\"1\"\r\n ></ax-icon>`,\r\n host: { class: 'ax-icon ax-close-button' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n @Optional()\r\n @Inject(AXClosbaleComponent)\r\n private _parent?: AXClosbaleComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n private _icon: string = 'ax-icon ax-icon-close';\r\n @Input()\r\n public get icon(): string {\r\n return this._icon || 'ax-icon-close';\r\n }\r\n public set icon(v: string) {\r\n this._icon = v;\r\n }\r\n\r\n _handleOnClick(e: MouseEvent) {\r\n this._parent?.close();\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-content',\r\n template: ` <ng-content> </ng-content> `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-content' },\r\n})\r\nexport class AXDecoratorContentComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-prefix',\r\n template: ` <ng-content></ng-content> `,\r\n host: { class: 'ax-prefix' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorPrefixComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-suffix',\r\n template: ` <ng-content></ng-content> `,\r\n host: { class: 'ax-suffix' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorSuffixComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-header',\r\n template: `\r\n <ng-content\r\n select=\"ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-data-pager,ax-close-button,ng-container,ng-content,ax-content\"\r\n ></ng-content>\r\n `,\r\n host: { class: 'ax-header' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorHeaderComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-footer',\r\n template: `\r\n <ng-content\r\n select=\"ax-suffix,ax-prefix,ax-button,ax-title,ax-data-pager,ax-close-button,ng-container\"\r\n ></ng-content>\r\n `,\r\n host: { class: 'ax-footer' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorFooterComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-title',\r\n template: `<ng-content></ng-content>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-title' },\r\n})\r\nexport class AXDecoratorTitleComponent extends AXBaseComponentMixin {\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n}\r\n","import { Component, HostBinding, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-overlay',\r\n template: `<ng-content></ng-content>`,\r\n})\r\nexport class AXDecoratorOverlayComponent {\r\n @HostBinding('attr.data-overlay-mode')\r\n @Input()\r\n displayMode: 'hover' | 'always' = 'hover';\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-placeholder',\r\n template: `<ng-content></ng-content>`,\r\n})\r\nexport class AXDecoratorPlaceholderComponent {\r\n\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport { ChangeDetectorRef, Component, ElementRef, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-text',\r\n template: `{{ content }}`,\r\n providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }],\r\n})\r\nexport class AXDecoratorTextComponent extends AXBaseComponentMixin {\r\n @Input() content: string;\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-sub-title',\r\n template: `<div *ngIf=\"text\">{{ text }}</div>\r\n <ng-container><ng-content *ngIf=\"!text\"></ng-content></ng-container>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-sub-title' },\r\n})\r\nexport class AXDecoratorSubTitleComponent extends AXBaseComponentMixin {\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n @Input()\r\n text: string = '';\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-form-hint',\r\n template: ' <p class=\"ax-form-hint-text\"><ng-content></ng-content></p>',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXDecoratorFormHintComponent extends AXBaseComponentMixin {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorPrefixComponent } from './prefix.component';\r\nimport { AXDecoratorSuffixComponent } from './suffix.component';\r\nimport { AXDecoratorContentComponent } from './content.component';\r\nimport { AXDecoratorHeaderComponent } from './header.component';\r\nimport { AXDecoratorFooterComponent } from './footer.component';\r\nimport { AXDecoratorIconComponent } from './icon.component';\r\nimport { AXDecoratorTitleComponent } from './title.component';\r\nimport { AXDecoratorCloseButtonComponent } from './close-button.component';\r\nimport { AXDecoratorOverlayComponent } from './overlay.component';\r\nimport { AXDecoratorPlaceholderComponent } from './placeholder.component';\r\nimport { AXDecoratorTextComponent } from './text.component';\r\nimport { AXDecoratorSubTitleComponent } from './sub-title.component';\r\nimport { AXDecoratorFormHintComponent } from './form-hint.component';\r\n\r\nconst COMPONENT = [\r\n AXDecoratorPrefixComponent,\r\n AXDecoratorSuffixComponent,\r\n AXDecoratorContentComponent,\r\n AXDecoratorHeaderComponent,\r\n AXDecoratorFooterComponent,\r\n AXDecoratorIconComponent,\r\n AXDecoratorTitleComponent,\r\n AXDecoratorSubTitleComponent,\r\n AXDecoratorCloseButtonComponent,\r\n AXDecoratorOverlayComponent,\r\n AXDecoratorPlaceholderComponent,\r\n AXDecoratorTextComponent,\r\n AXDecoratorFormHintComponent\r\n];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDecoratorModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXDecoratorIconComponent"],"mappings":";;;;;;;;AAkBM,MAAO,wBAAyB,SAAQ,oBAAoB,CAAA;IAShE,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KACxB;AAPD,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OAAO,CAAG,EAAA,IAAI,CAAC,IAAI,EAAE,CAAC;KACvB;;qHAPU,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,EAFxB,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,E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,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../projects/acorex/components/decorators/src/icon.component.ts","../../../../projects/acorex/components/decorators/src/close-button.component.ts","../../../../projects/acorex/components/decorators/src/content.component.ts","../../../../projects/acorex/components/decorators/src/prefix.component.ts","../../../../projects/acorex/components/decorators/src/suffix.component.ts","../../../../projects/acorex/components/decorators/src/header.component.ts","../../../../projects/acorex/components/decorators/src/footer.component.ts","../../../../projects/acorex/components/decorators/src/title.component.ts","../../../../projects/acorex/components/decorators/src/overlay.component.ts","../../../../projects/acorex/components/decorators/src/placeholder.component.ts","../../../../projects/acorex/components/decorators/src/text.component.ts","../../../../projects/acorex/components/decorators/src/sub-title.component.ts","../../../../projects/acorex/components/decorators/src/form-hint.component.ts","../../../../projects/acorex/components/decorators/src/decorators.module.ts","../../../../projects/acorex/components/decorators/acorex-components-decorators.ts"],"sourcesContent":["import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-icon',\r\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }],\r\n})\r\nexport class AXDecoratorIconComponent extends AXBaseComponentMixin {\r\n @Input()\r\n icon: string;\r\n\r\n @HostBinding('class')\r\n private get __iconClass(): string {\r\n return `${this.icon}`;\r\n }\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n Optional,\r\n Inject,\r\n} from '@angular/core';\r\nimport { AXClosbaleComponent } from '@acorex/components/common';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-close-button',\r\n template: `<ax-icon\r\n [icon]=\"icon\"\r\n (click)=\"_handleOnClick($event)\"\r\n tabindex=\"1\"\r\n ></ax-icon>`,\r\n host: { class: 'ax-icon ax-close-button' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n @Optional()\r\n @Inject(AXClosbaleComponent)\r\n private _parent?: AXClosbaleComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n private _icon: string = 'ax-icon ax-icon-close';\r\n @Input()\r\n public get icon(): string {\r\n return this._icon || 'ax-icon-close';\r\n }\r\n public set icon(v: string) {\r\n this._icon = v;\r\n }\r\n\r\n _handleOnClick(e: MouseEvent) {\r\n this._parent?.close();\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-content',\r\n template: ` <ng-content> </ng-content> `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-content' },\r\n})\r\nexport class AXDecoratorContentComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-prefix',\r\n template: ` <ng-content></ng-content> `,\r\n host: { class: 'ax-prefix' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorPrefixComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-suffix',\r\n template: ` <ng-content></ng-content> `,\r\n host: { class: 'ax-suffix' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorSuffixComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-header',\r\n template: `\r\n <ng-content\r\n select=\"ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-data-pager,ax-close-button,ng-container,ng-content,ax-content\"\r\n ></ng-content>\r\n `,\r\n host: { class: 'ax-header' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorHeaderComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-footer',\r\n template: `\r\n <ng-content\r\n select=\"ax-suffix,ax-prefix,ax-button,ax-title,ax-data-pager,ax-close-button,ng-container\"\r\n ></ng-content>\r\n `,\r\n host: { class: 'ax-footer' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorFooterComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-title',\r\n template: `<ng-content></ng-content>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDecoratorTitleComponent extends AXBaseComponentMixin {\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n}\r\n","import { Component, HostBinding, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-overlay',\r\n template: `<ng-content></ng-content>`,\r\n})\r\nexport class AXDecoratorOverlayComponent {\r\n @HostBinding('attr.data-overlay-mode')\r\n @Input()\r\n displayMode: 'hover' | 'always' = 'hover';\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-placeholder',\r\n template: `<ng-content></ng-content>`,\r\n})\r\nexport class AXDecoratorPlaceholderComponent {\r\n\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n Input,\r\n OnInit,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-text',\r\n template: `<ng-content></ng-content>`,\r\n providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }],\r\n})\r\nexport class AXDecoratorTextComponent extends AXBaseComponentMixin {\r\n @Input() content: string;\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-sub-title',\r\n template: `<div *ngIf=\"text\">{{ text }}</div>\r\n <ng-container><ng-content *ngIf=\"!text\"></ng-content></ng-container>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-sub-title' },\r\n})\r\nexport class AXDecoratorSubTitleComponent extends AXBaseComponentMixin {\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n @Input()\r\n text: string = '';\r\n}\r\n","import { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-form-hint',\r\n template: ' <p class=\"ax-form-hint-text\"><ng-content></ng-content></p>',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXDecoratorFormHintComponent extends AXBaseComponentMixin {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorPrefixComponent } from './prefix.component';\r\nimport { AXDecoratorSuffixComponent } from './suffix.component';\r\nimport { AXDecoratorContentComponent } from './content.component';\r\nimport { AXDecoratorHeaderComponent } from './header.component';\r\nimport { AXDecoratorFooterComponent } from './footer.component';\r\nimport { AXDecoratorIconComponent } from './icon.component';\r\nimport { AXDecoratorTitleComponent } from './title.component';\r\nimport { AXDecoratorCloseButtonComponent } from './close-button.component';\r\nimport { AXDecoratorOverlayComponent } from './overlay.component';\r\nimport { AXDecoratorPlaceholderComponent } from './placeholder.component';\r\nimport { AXDecoratorTextComponent } from './text.component';\r\nimport { AXDecoratorSubTitleComponent } from './sub-title.component';\r\nimport { AXDecoratorFormHintComponent } from './form-hint.component';\r\n\r\nconst COMPONENT = [\r\n AXDecoratorPrefixComponent,\r\n AXDecoratorSuffixComponent,\r\n AXDecoratorContentComponent,\r\n AXDecoratorHeaderComponent,\r\n AXDecoratorFooterComponent,\r\n AXDecoratorIconComponent,\r\n AXDecoratorTitleComponent,\r\n AXDecoratorSubTitleComponent,\r\n AXDecoratorCloseButtonComponent,\r\n AXDecoratorOverlayComponent,\r\n AXDecoratorPlaceholderComponent,\r\n AXDecoratorTextComponent,\r\n AXDecoratorFormHintComponent\r\n];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDecoratorModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.AXDecoratorIconComponent"],"mappings":";;;;;;;;AAkBM,MAAO,wBAAyB,SAAQ,oBAAoB,CAAA;IAShE,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KACxB;AAPD,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OAAO,CAAG,EAAA,IAAI,CAAC,IAA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,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJb,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACtCD;;AAEG;;;;"}
@@ -55,10 +55,10 @@ class AXDialogComponent extends AXBaseComponentMixin {
55
55
  }
56
56
  }
57
57
  AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
58
- AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>", styles: [".ax-dialog{display:flex;flex-direction:column;position:relative;background-color:rgb(var(--ax-color-surface));width:25vw;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;outline-color:transparent}@media (max-width: 599px){.ax-dialog{width:93vw}}@media (min-width: 600px){.ax-dialog{min-width:50vw;max-width:85vw}}@media (min-width: 1200px){.ax-dialog{min-width:35vw;max-width:60vw}}@media (min-width: 1800px){.ax-dialog{min-width:25vw;max-width:40vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:1rem}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{text-align:center;margin:0}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{display:flex;gap:.5rem;padding:1.5rem 1.5rem 1rem}@media (max-width: 599px){.ax-dialog .ax-dialog-content-wrapper{padding:1.25rem 1rem 1rem}}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;border-radius:999rem;cursor:move;font-size:1.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{margin-inline-start:1rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{font-size:1.125rem;font-weight:500;line-height:1.5rem;color:rgba(var(--ax-color-ghost),.8);margin-bottom:.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:.875rem;color:rgba(var(--ax-color-ghost),.7)}.ax-dialog ax-footer{background-color:rgba(var(--ax-color-ghost),.06);padding:.75rem 1.5rem;justify-content:flex-end}@media (max-width: 599px){.ax-dialog ax-footer{padding:.75rem 1rem}}.ax-dialog.ax-primary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary-600))}.ax-dialog.ax-secondary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary-600))}.ax-dialog.ax-success-default .ax-dialog-icon{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success-600))}.ax-dialog.ax-warning-default .ax-dialog-icon{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning-600))}.ax-dialog.ax-danger-default .ax-dialog-icon{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger-600))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "focus-time"] }, { kind: "directive", type: i2.AXHotkeyDirective, selector: "[hotkey]", inputs: ["hotkey"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i6.AXDecoratorFooterComponent, selector: "ax-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
58
+ AXDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDialogComponent, selector: "ax-dialog", usesInheritance: true, ngImport: i0, template: "<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>", styles: [".ax-dialog{display:flex;flex-direction:column;position:relative;background-color:rgb(var(--ax-color-surface));width:25vw;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;outline-color:transparent}@media (max-width: 599px){.ax-dialog{width:93vw}}@media (min-width: 600px){.ax-dialog{min-width:50vw;max-width:85vw}}@media (min-width: 1200px){.ax-dialog{min-width:35vw;max-width:60vw}}@media (min-width: 1800px){.ax-dialog{min-width:25vw;max-width:40vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:1rem}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{text-align:center;margin:0}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{display:flex;gap:.5rem;padding:1.5rem 1.5rem 1rem}@media (max-width: 599px){.ax-dialog .ax-dialog-content-wrapper{padding:1.25rem 1rem 1rem}}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;border-radius:99rem;cursor:move;font-size:1.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{margin-inline-start:1rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{font-size:1.125rem;font-weight:500;line-height:1.5rem;color:rgba(var(--ax-color-ghost),.8);margin-bottom:.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:.875rem;color:rgba(var(--ax-color-ghost),.7)}.ax-dialog ax-footer{background-color:rgba(var(--ax-color-ghost),.06);padding:.75rem 1.5rem;justify-content:flex-end}@media (max-width: 599px){.ax-dialog ax-footer{padding:.75rem 1rem}}.ax-dialog.ax-primary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary-600))}.ax-dialog.ax-secondary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary-600))}.ax-dialog.ax-success-default .ax-dialog-icon{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success-600))}.ax-dialog.ax-warning-default .ax-dialog-icon{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning-600))}.ax-dialog.ax-danger-default .ax-dialog-icon{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger-600))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "focus-time"] }, { kind: "directive", type: i2.AXHotkeyDirective, selector: "[hotkey]", inputs: ["hotkey"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i6.AXDecoratorFooterComponent, selector: "ax-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
59
59
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDialogComponent, decorators: [{
60
60
  type: Component,
61
- args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>", styles: [".ax-dialog{display:flex;flex-direction:column;position:relative;background-color:rgb(var(--ax-color-surface));width:25vw;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;outline-color:transparent}@media (max-width: 599px){.ax-dialog{width:93vw}}@media (min-width: 600px){.ax-dialog{min-width:50vw;max-width:85vw}}@media (min-width: 1200px){.ax-dialog{min-width:35vw;max-width:60vw}}@media (min-width: 1800px){.ax-dialog{min-width:25vw;max-width:40vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:1rem}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{text-align:center;margin:0}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{display:flex;gap:.5rem;padding:1.5rem 1.5rem 1rem}@media (max-width: 599px){.ax-dialog .ax-dialog-content-wrapper{padding:1.25rem 1rem 1rem}}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;border-radius:999rem;cursor:move;font-size:1.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{margin-inline-start:1rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{font-size:1.125rem;font-weight:500;line-height:1.5rem;color:rgba(var(--ax-color-ghost),.8);margin-bottom:.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:.875rem;color:rgba(var(--ax-color-ghost),.7)}.ax-dialog ax-footer{background-color:rgba(var(--ax-color-ghost),.06);padding:.75rem 1.5rem;justify-content:flex-end}@media (max-width: 599px){.ax-dialog ax-footer{padding:.75rem 1rem}}.ax-dialog.ax-primary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary-600))}.ax-dialog.ax-secondary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary-600))}.ax-dialog.ax-success-default .ax-dialog-icon{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success-600))}.ax-dialog.ax-warning-default .ax-dialog-icon{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning-600))}.ax-dialog.ax-danger-default .ax-dialog-icon{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger-600))}\n"] }]
61
+ args: [{ selector: 'ax-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>", styles: [".ax-dialog{display:flex;flex-direction:column;position:relative;background-color:rgb(var(--ax-color-surface));width:25vw;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;outline-color:transparent}@media (max-width: 599px){.ax-dialog{width:93vw}}@media (min-width: 600px){.ax-dialog{min-width:50vw;max-width:85vw}}@media (min-width: 1200px){.ax-dialog{min-width:35vw;max-width:60vw}}@media (min-width: 1800px){.ax-dialog{min-width:25vw;max-width:40vw}}.ax-dialog.ax-orientation-horizontal .ax-dialog-content-wrapper{flex-direction:row}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper{flex-direction:column;align-items:center}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-icon-side{margin-bottom:1rem}.ax-dialog.ax-orientation-vertical .ax-dialog-content-wrapper .ax-dialog-content-side{text-align:center;margin:0}.ax-dialog.ax-orientation-vertical ax-footer ax-button{flex:1}.ax-dialog .ax-dialog-content-wrapper{display:flex;gap:.5rem;padding:1.5rem 1.5rem 1rem}@media (max-width: 599px){.ax-dialog .ax-dialog-content-wrapper{padding:1.25rem 1rem 1rem}}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-icon-side .ax-dialog-icon{width:3rem;height:3rem;display:flex;justify-content:center;align-items:center;border-radius:99rem;cursor:move;font-size:1.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side{margin-inline-start:1rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-title{font-size:1.125rem;font-weight:500;line-height:1.5rem;color:rgba(var(--ax-color-ghost),.8);margin-bottom:.5rem}.ax-dialog .ax-dialog-content-wrapper .ax-dialog-content-side .ax-dialog-content{font-size:.875rem;color:rgba(var(--ax-color-ghost),.7)}.ax-dialog ax-footer{background-color:rgba(var(--ax-color-ghost),.06);padding:.75rem 1.5rem;justify-content:flex-end}@media (max-width: 599px){.ax-dialog ax-footer{padding:.75rem 1rem}}.ax-dialog.ax-primary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-primary-100));color:rgb(var(--ax-color-primary-600))}.ax-dialog.ax-secondary-default .ax-dialog-icon{background-color:rgb(var(--ax-color-secondary-100));color:rgb(var(--ax-color-secondary-600))}.ax-dialog.ax-success-default .ax-dialog-icon{background-color:rgb(var(--ax-color-success-100));color:rgb(var(--ax-color-success-600))}.ax-dialog.ax-warning-default .ax-dialog-icon{background-color:rgb(var(--ax-color-warning-100));color:rgb(var(--ax-color-warning-600))}.ax-dialog.ax-danger-default .ax-dialog-icon{background-color:rgb(var(--ax-color-danger-100));color:rgb(var(--ax-color-danger-600))}\n"] }]
62
62
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
63
63
 
64
64
  const COMPONENT = [AXDialogComponent];
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-dialog.mjs","sources":["../../../../projects/acorex/components/dialog/src/dialog.component.ts","../../../../projects/acorex/components/dialog/src/dialog.component.html","../../../../projects/acorex/components/dialog/src/dialog.module.ts","../../../../projects/acorex/components/dialog/src/dialog.service.ts","../../../../projects/acorex/components/dialog/acorex-components-dialog.ts"],"sourcesContent":["import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { AXButtonItem } from '@acorex/components/button';\r\nimport { AXDialogOptions } from './dialog.class';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-dialog',\r\n templateUrl: './dialog.component.html',\r\n styleUrls: ['./dialog.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDialogComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n options: AXDialogOptions | any;\r\n _icon: string;\r\n close: () => void;\r\n\r\n onInit() {\r\n switch (this.options.type) {\r\n case 'success':\r\n this._icon = 'ax-icon ax-icon-done';\r\n break;\r\n case 'danger':\r\n this._icon = 'ax-icon ax-icon-error';\r\n break;\r\n case 'warning':\r\n this._icon = 'ax-icon ax-icon-warning';\r\n break;\r\n default:\r\n this._icon = 'ax-icon ax-icon-done';\r\n break;\r\n }\r\n }\r\n\r\n _handleButtonClick(button: AXButtonItem) {\r\n if (button.onClick) {\r\n button.onClick();\r\n }\r\n }\r\n\r\n _hasAutoFocus(button: AXButtonItem) {\r\n const result =\r\n button.autofocus ||\r\n this.options.buttons.length == 1 ||\r\n ((button.type == 'submit' || button.type == 'cancel') &&\r\n !this.options.buttons.some((c) => c.autofocus));\r\n if (result) {\r\n button.autofocus = true;\r\n }\r\n return result;\r\n }\r\n}\r\n","<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { A11yModule } from '@angular/cdk/a11y';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXPageModule } from '@acorex/components/page';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXCommonModule } from '@acorex/components/common';\r\nimport { AXDialogComponent } from './dialog.component';\r\n\r\nconst COMPONENT = [AXDialogComponent];\r\nconst MODULES = [CommonModule,AXCommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDialogModule { }\r\n","import { AXTranslator } from '@acorex/core/translation';\r\nimport { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { AXStyleColorType } from '@acorex/components/common';\r\nimport {\r\n AXDialogOptions,\r\n AXDialogRef,\r\n} from './dialog.class';\r\nimport { AXDialogComponent } from './dialog.component';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXDialogService {\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private overlayService: Overlay,\r\n private parentInjector: Injector,\r\n private sso: ScrollStrategyOptions\r\n ) { }\r\n\r\n /**\r\n * Show an alert box with 'Okay' button.\r\n */\r\n alert(title: string, content: string, type: AXStyleColorType = 'primary'): Promise<void> {\r\n return new Promise((resolve) => {\r\n const popup = this.open({\r\n title,\r\n type: type,\r\n content,\r\n buttons: [\r\n {\r\n name: 'confirm',\r\n text: AXTranslator.get('common.okay'),\r\n color: type,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve();\r\n }\r\n },\r\n },\r\n ],\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Show a confirm box with 'Okay' & 'Cancel' buttons.\r\n */\r\n confirm(title: string, content: string, type: AXStyleColorType = 'primary'): Promise<{ result: boolean }> {\r\n return new Promise<{ result: boolean }>((resolve) => {\r\n const popup = this.open({\r\n title,\r\n content,\r\n type,\r\n buttons: [\r\n {\r\n name: 'confirm',\r\n text: AXTranslator.get('common.okay'),\r\n color: type,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: true });\r\n }\r\n },\r\n type: 'submit',\r\n },\r\n {\r\n name: 'cancel',\r\n text: AXTranslator.get('common.cancel'),\r\n color: `ghost`,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: false });\r\n }\r\n },\r\n hotkey: {\r\n \"Escape\": () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: false });\r\n }\r\n }\r\n },\r\n type: 'cancel',\r\n },\r\n ],\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Show a custom dialog box.\r\n */\r\n show(options: AXDialogOptions): Promise<{ name: string }> {\r\n return new Promise((resolve) => {\r\n const popup = this.open(options);\r\n options.orientation = options.orientation || 'horizontal';\r\n options.buttons?.forEach((b) => {\r\n const orginalClick = b.onClick;\r\n b.onClick = () => {\r\n popup.close();\r\n if (orginalClick) {\r\n orginalClick();\r\n }\r\n if (resolve) {\r\n resolve({ name: b.name! });\r\n }\r\n };\r\n });\r\n });\r\n }\r\n\r\n private open(options: AXDialogOptions): AXDialogRef {\r\n let positionStrategy = this.overlayService\r\n .position()\r\n .global()\r\n .centerHorizontally()\r\n .centerVertically();\r\n\r\n const lastActiveElement = document.activeElement as HTMLElement;\r\n const overlayRef = this.overlayService.create({\r\n positionStrategy,\r\n hasBackdrop: true,\r\n scrollStrategy: this.sso.block(),\r\n panelClass: ['ax-animate-bounceIn', 'ax-animate-faster'],\r\n });\r\n const dialogPortal = new ComponentPortal(\r\n AXDialogComponent,\r\n null,\r\n this.parentInjector\r\n );\r\n const host = overlayRef.attach(dialogPortal);\r\n if (host.instance) {\r\n Object.assign(host.instance, {\r\n options: options,\r\n close: () => {\r\n overlayRef.dispose();\r\n if (lastActiveElement?.focus) {\r\n lastActiveElement.focus();\r\n }\r\n },\r\n });\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n\r\n return {\r\n close: () => {\r\n host.instance.close();\r\n },\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;AAkBM,MAAO,iBAAkB,SAAQ,oBAAoB,CAAA;IACzD,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KACxB;IAMD,MAAM,GAAA;AACJ,QAAA,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI;AACvB,YAAA,KAAK,SAAS;AACZ,gBAAA,IAAI,CAAC,KAAK,GAAG,sBAAsB,CAAC;gBACpC,MAAM;AACR,YAAA,KAAK,QAAQ;AACX,gBAAA,IAAI,CAAC,KAAK,GAAG,uBAAuB,CAAC;gBACrC,MAAM;AACR,YAAA,KAAK,SAAS;AACZ,gBAAA,IAAI,CAAC,KAAK,GAAG,yBAAyB,CAAC;gBACvC,MAAM;AACR,YAAA;AACE,gBAAA,IAAI,CAAC,KAAK,GAAG,sBAAsB,CAAC;gBACpC,MAAM;AACT,SAAA;KACF;AAED,IAAA,kBAAkB,CAAC,MAAoB,EAAA;QACrC,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,MAAM,CAAC,OAAO,EAAE,CAAC;AAClB,SAAA;KACF;AAED,IAAA,aAAa,CAAC,MAAoB,EAAA;AAChC,QAAA,MAAM,MAAM,GACV,MAAM,CAAC,SAAS;AAChB,YAAA,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC;AAChC,aAAC,CAAC,MAAM,CAAC,IAAI,IAAI,QAAQ,IAAI,MAAM,CAAC,IAAI,IAAI,QAAQ;AAClD,gBAAA,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,C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KAAK,EAAE,MAAK;oBACV,UAAU,CAAC,OAAO,EAAE,CAAC;oBACrB,IAAI,iBAAiB,EAAE,KAAK,EAAE;wBAC5B,iBAAiB,CAAC,KAAK,EAAE,CAAC;AAC3B,qBAAA;iBACF;AACF,aAAA,CAAC,CAAC;YACH,UAAU,CAAC,MAAK;AACd,gBAAA,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,CAAC;aACxC,EAAE,CAAC,CAAC,CAAC;AACP,SAAA;QAED,OAAO;YACL,KAAK,EAAE,MAAK;AACV,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;SACF,CAAC;KACH;;4GAlJU,eAAe,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,OAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,EAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,qBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cADF,MAAM,EAAA,CAAA,CAAA;2FACnB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAD3B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;AChBlC;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-dialog.mjs","sources":["../../../../projects/acorex/components/dialog/src/dialog.component.ts","../../../../projects/acorex/components/dialog/src/dialog.component.html","../../../../projects/acorex/components/dialog/src/dialog.module.ts","../../../../projects/acorex/components/dialog/src/dialog.service.ts","../../../../projects/acorex/components/dialog/acorex-components-dialog.ts"],"sourcesContent":["import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { AXButtonItem } from '@acorex/components/button';\r\nimport { AXDialogOptions } from './dialog.class';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-dialog',\r\n templateUrl: './dialog.component.html',\r\n styleUrls: ['./dialog.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXDialogComponent extends AXBaseComponentMixin {\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n options: AXDialogOptions | any;\r\n _icon: string;\r\n close: () => void;\r\n\r\n onInit() {\r\n switch (this.options.type) {\r\n case 'success':\r\n this._icon = 'ax-icon ax-icon-done';\r\n break;\r\n case 'danger':\r\n this._icon = 'ax-icon ax-icon-error';\r\n break;\r\n case 'warning':\r\n this._icon = 'ax-icon ax-icon-warning';\r\n break;\r\n default:\r\n this._icon = 'ax-icon ax-icon-done';\r\n break;\r\n }\r\n }\r\n\r\n _handleButtonClick(button: AXButtonItem) {\r\n if (button.onClick) {\r\n button.onClick();\r\n }\r\n }\r\n\r\n _hasAutoFocus(button: AXButtonItem) {\r\n const result =\r\n button.autofocus ||\r\n this.options.buttons.length == 1 ||\r\n ((button.type == 'submit' || button.type == 'cancel') &&\r\n !this.options.buttons.some((c) => c.autofocus));\r\n if (result) {\r\n button.autofocus = true;\r\n }\r\n return result;\r\n }\r\n}\r\n","<div aria-modal=\"true\" [cdkTrapFocus]=\"true\">\r\n <div class=\"ax-dialog ax-{{options.type}}-default ax-orientation-{{options.orientation}}\" cdkDrag role=\"alert\" cdkDragHandle>\r\n <div class=\"ax-dialog-content-wrapper\">\r\n <div class=\"ax-dialog-icon-side\">\r\n <i class=\"ax-dialog-icon {{_icon}}\"></i>\r\n </div>\r\n <div class=\"ax-dialog-content-side\">\r\n <div class=\"ax-dialog-title\">{{options.title}}</div>\r\n <div class=\"ax-dialog-content\">{{options.content}}</div>\r\n </div>\r\n <div class=\"ax-dialog-dismiss-icon\">\r\n <i class=\"ax-icon ax-icon-close\" *ngIf=\"options.dismissible\" (click)=\"close()\"></i>\r\n </div>\r\n </div>\r\n <ax-footer>\r\n <ng-container *ngFor=\"let button of options.buttons;let i=index\">\r\n <ax-button [text]=\"button.text\" [axAutoFocus]=\"_hasAutoFocus(button)\" [hotkey]=\"button.hotkey\"\r\n (onClick)=\"_handleButtonClick(button)\" [class]=\"button.cssClass\" [look]=\"button.look\"\r\n [color]=\"button.color\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { A11yModule } from '@angular/cdk/a11y';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXPageModule } from '@acorex/components/page';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXCommonModule } from '@acorex/components/common';\r\nimport { AXDialogComponent } from './dialog.component';\r\n\r\nconst COMPONENT = [AXDialogComponent];\r\nconst MODULES = [CommonModule,AXCommonModule, DragDropModule, A11yModule, AXButtonModule, AXPageModule, AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDialogModule { }\r\n","import { AXTranslator } from '@acorex/core/translation';\r\nimport { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { AXStyleColorType } from '@acorex/components/common';\r\nimport {\r\n AXDialogOptions,\r\n AXDialogRef,\r\n} from './dialog.class';\r\nimport { AXDialogComponent } from './dialog.component';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXDialogService {\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private overlayService: Overlay,\r\n private parentInjector: Injector,\r\n private sso: ScrollStrategyOptions\r\n ) { }\r\n\r\n /**\r\n * Show an alert box with 'Okay' button.\r\n */\r\n alert(title: string, content: string, type: AXStyleColorType = 'primary'): Promise<void> {\r\n return new Promise((resolve) => {\r\n const popup = this.open({\r\n title,\r\n type: type,\r\n content,\r\n buttons: [\r\n {\r\n name: 'confirm',\r\n text: AXTranslator.get('common.okay'),\r\n color: type,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve();\r\n }\r\n },\r\n },\r\n ],\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Show a confirm box with 'Okay' & 'Cancel' buttons.\r\n */\r\n confirm(title: string, content: string, type: AXStyleColorType = 'primary'): Promise<{ result: boolean }> {\r\n return new Promise<{ result: boolean }>((resolve) => {\r\n const popup = this.open({\r\n title,\r\n content,\r\n type,\r\n buttons: [\r\n {\r\n name: 'confirm',\r\n text: AXTranslator.get('common.okay'),\r\n color: type,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: true });\r\n }\r\n },\r\n type: 'submit',\r\n },\r\n {\r\n name: 'cancel',\r\n text: AXTranslator.get('common.cancel'),\r\n color: `ghost`,\r\n onClick: () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: false });\r\n }\r\n },\r\n hotkey: {\r\n \"Escape\": () => {\r\n popup.close();\r\n if (resolve) {\r\n resolve({ result: false });\r\n }\r\n }\r\n },\r\n type: 'cancel',\r\n },\r\n ],\r\n });\r\n });\r\n }\r\n\r\n /**\r\n * Show a custom dialog box.\r\n */\r\n show(options: AXDialogOptions): Promise<{ name: string }> {\r\n return new Promise((resolve) => {\r\n const popup = this.open(options);\r\n options.orientation = options.orientation || 'horizontal';\r\n options.buttons?.forEach((b) => {\r\n const orginalClick = b.onClick;\r\n b.onClick = () => {\r\n popup.close();\r\n if (orginalClick) {\r\n orginalClick();\r\n }\r\n if (resolve) {\r\n resolve({ name: b.name! });\r\n }\r\n };\r\n });\r\n });\r\n }\r\n\r\n private open(options: AXDialogOptions): AXDialogRef {\r\n let positionStrategy = this.overlayService\r\n .position()\r\n .global()\r\n .centerHorizontally()\r\n .centerVertically();\r\n\r\n const lastActiveElement = document.activeElement as HTMLElement;\r\n const overlayRef = this.overlayService.create({\r\n positionStrategy,\r\n hasBackdrop: true,\r\n scrollStrategy: this.sso.block(),\r\n panelClass: ['ax-animate-bounceIn', 'ax-animate-faster'],\r\n });\r\n const dialogPortal = new ComponentPortal(\r\n AXDialogComponent,\r\n null,\r\n this.parentInjector\r\n );\r\n const host = overlayRef.attach(dialogPortal);\r\n if (host.instance) {\r\n Object.assign(host.instance, {\r\n options: options,\r\n close: () => {\r\n overlayRef.dispose();\r\n if (lastActiveElement?.focus) {\r\n lastActiveElement.focus();\r\n }\r\n },\r\n });\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n\r\n return {\r\n close: () => {\r\n host.instance.close();\r\n },\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;AAkBM,MAAO,iBAAkB,SAAQ,oBAAoB,CAAA;IACzD,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;KACxB;IAMD,MAAM,GAAA;AACJ,QAAA,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI;AACvB,YAAA,KAAK,SAAS;AACZ,gBAAA,IAAI,CAAC,KAAK,GAAG,sBAAsB,CAAC;gBACpC,MAAM;AACR,YAAA,KAAK,QAAQ;AACX,gBAAA,IAAI,CAAC,KAAK,GAAG,uBAAuB,CAAC;gBACrC,MAAM;AACR,YAAA,KAAK,SAAS;AACZ,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EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cADF,MAAM,EAAA,CAAA,CAAA;2FACnB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAD3B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;AChBlC;;AAEG;;;;"}
@@ -1085,6 +1085,7 @@ function _ValueComponenetMixin(Base) {
1085
1085
  isUserInteraction: this.isUserInteraction,
1086
1086
  });
1087
1087
  this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value, "f"));
1088
+ __classPrivateFieldSet(this, _isUserInteraction, false, "f");
1088
1089
  }
1089
1090
  _internalSetValue(value) {
1090
1091
  return this._setValue(value);