@acorex/components 7.0.10 → 7.0.12

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 (161) 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-picker/src/color-picker.component.d.ts +16 -16
  7. package/date-picker/src/datepicker.component.d.ts +14 -14
  8. package/esm2020/button/src/button.component.mjs +2 -2
  9. package/esm2020/collapse/src/collapse.component.mjs +3 -3
  10. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +3 -3
  11. package/esm2020/dialog/src/dialog.component.mjs +2 -2
  12. package/esm2020/notification/acorex-components-notification.mjs +5 -0
  13. package/esm2020/notification/public-api.mjs +5 -0
  14. package/esm2020/notification/src/notification.class.mjs +2 -0
  15. package/esm2020/notification/src/notification.component.mjs +63 -0
  16. package/esm2020/notification/src/notification.module.mjs +21 -0
  17. package/esm2020/notification/src/notification.service.mjs +136 -0
  18. package/esm2020/number-box/src/number-box.component.mjs +3 -3
  19. package/esm2020/select-box/src/selectbox.component.mjs +3 -3
  20. package/esm2020/toast/src/toast.component.mjs +2 -2
  21. package/fesm2015/acorex-components-action-sheet.mjs +1 -0
  22. package/fesm2015/acorex-components-alert.mjs +1 -0
  23. package/fesm2015/acorex-components-avatar.mjs +1 -0
  24. package/fesm2015/acorex-components-badge.mjs +1 -0
  25. package/fesm2015/acorex-components-breadcrumbs.mjs +1 -0
  26. package/fesm2015/acorex-components-button.mjs +2 -2
  27. package/fesm2015/acorex-components-button.mjs.map +1 -1
  28. package/fesm2015/acorex-components-calendar.mjs +1 -0
  29. package/fesm2015/acorex-components-checkbox.mjs +1 -0
  30. package/fesm2015/acorex-components-chips.mjs +1 -0
  31. package/fesm2015/acorex-components-collapse.mjs +3 -2
  32. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  33. package/fesm2015/acorex-components-color-palette.mjs +1 -0
  34. package/fesm2015/acorex-components-color-picker.mjs +1 -0
  35. package/fesm2015/acorex-components-common.mjs +1 -0
  36. package/fesm2015/acorex-components-context-menu.mjs +1 -0
  37. package/fesm2015/acorex-components-data-pager.mjs +3 -2
  38. package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
  39. package/fesm2015/acorex-components-data-table.mjs +1 -0
  40. package/fesm2015/acorex-components-date-picker.mjs +1 -0
  41. package/fesm2015/acorex-components-decorators.mjs +1 -0
  42. package/fesm2015/acorex-components-dialog.mjs +2 -2
  43. package/fesm2015/acorex-components-drawer.mjs +1 -0
  44. package/fesm2015/acorex-components-dropdown.mjs +1 -0
  45. package/fesm2015/acorex-components-form.mjs +1 -0
  46. package/fesm2015/acorex-components-image.mjs +1 -0
  47. package/fesm2015/acorex-components-label.mjs +1 -0
  48. package/fesm2015/acorex-components-loading.mjs +1 -0
  49. package/fesm2015/acorex-components-menu.mjs +1 -0
  50. package/fesm2015/acorex-components-mixin.mjs +1 -0
  51. package/fesm2015/acorex-components-notification.mjs +221 -0
  52. package/fesm2015/acorex-components-notification.mjs.map +1 -0
  53. package/fesm2015/acorex-components-number-box.mjs +3 -2
  54. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  55. package/fesm2015/acorex-components-page.mjs +1 -0
  56. package/fesm2015/acorex-components-password-box.mjs +1 -0
  57. package/fesm2015/acorex-components-popover.mjs +1 -0
  58. package/fesm2015/acorex-components-popup.mjs +1 -0
  59. package/fesm2015/acorex-components-progress-bar.mjs +1 -0
  60. package/fesm2015/acorex-components-radio.mjs +1 -0
  61. package/fesm2015/acorex-components-range-slider.mjs +1 -0
  62. package/fesm2015/acorex-components-rating.mjs +1 -0
  63. package/fesm2015/acorex-components-result.mjs +1 -0
  64. package/fesm2015/acorex-components-search-box.mjs +1 -0
  65. package/fesm2015/acorex-components-select-box.mjs +3 -2
  66. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  67. package/fesm2015/acorex-components-selection-list.mjs +1 -0
  68. package/fesm2015/acorex-components-switch.mjs +1 -0
  69. package/fesm2015/acorex-components-tabs.mjs +1 -0
  70. package/fesm2015/acorex-components-tag.mjs +1 -0
  71. package/fesm2015/acorex-components-textarea.mjs +1 -0
  72. package/fesm2015/acorex-components-textbox.mjs +1 -0
  73. package/fesm2015/acorex-components-time-box.mjs +1 -0
  74. package/fesm2015/acorex-components-toast.mjs +2 -2
  75. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  76. package/fesm2015/acorex-components-tooltip.mjs +1 -0
  77. package/fesm2015/acorex-components-tree-view.mjs +1 -0
  78. package/fesm2015/acorex-components-uploader.mjs +1 -0
  79. package/fesm2015/acorex-components.mjs +1 -0
  80. package/fesm2020/acorex-components-action-sheet.mjs +1 -0
  81. package/fesm2020/acorex-components-alert.mjs +1 -0
  82. package/fesm2020/acorex-components-avatar.mjs +1 -0
  83. package/fesm2020/acorex-components-badge.mjs +1 -0
  84. package/fesm2020/acorex-components-breadcrumbs.mjs +1 -0
  85. package/fesm2020/acorex-components-button.mjs +2 -2
  86. package/fesm2020/acorex-components-button.mjs.map +1 -1
  87. package/fesm2020/acorex-components-calendar.mjs +1 -0
  88. package/fesm2020/acorex-components-checkbox.mjs +1 -0
  89. package/fesm2020/acorex-components-chips.mjs +1 -0
  90. package/fesm2020/acorex-components-collapse.mjs +3 -2
  91. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  92. package/fesm2020/acorex-components-color-palette.mjs +1 -0
  93. package/fesm2020/acorex-components-color-picker.mjs +1 -0
  94. package/fesm2020/acorex-components-common.mjs +1 -0
  95. package/fesm2020/acorex-components-context-menu.mjs +1 -0
  96. package/fesm2020/acorex-components-data-pager.mjs +3 -2
  97. package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
  98. package/fesm2020/acorex-components-data-table.mjs +1 -0
  99. package/fesm2020/acorex-components-date-picker.mjs +1 -0
  100. package/fesm2020/acorex-components-decorators.mjs +1 -0
  101. package/fesm2020/acorex-components-dialog.mjs +2 -2
  102. package/fesm2020/acorex-components-drawer.mjs +1 -0
  103. package/fesm2020/acorex-components-dropdown.mjs +1 -0
  104. package/fesm2020/acorex-components-form.mjs +1 -0
  105. package/fesm2020/acorex-components-image.mjs +1 -0
  106. package/fesm2020/acorex-components-label.mjs +1 -0
  107. package/fesm2020/acorex-components-loading.mjs +1 -0
  108. package/fesm2020/acorex-components-menu.mjs +1 -0
  109. package/fesm2020/acorex-components-mixin.mjs +1 -0
  110. package/fesm2020/acorex-components-notification.mjs +221 -0
  111. package/fesm2020/acorex-components-notification.mjs.map +1 -0
  112. package/fesm2020/acorex-components-number-box.mjs +3 -2
  113. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  114. package/fesm2020/acorex-components-page.mjs +1 -0
  115. package/fesm2020/acorex-components-password-box.mjs +1 -0
  116. package/fesm2020/acorex-components-popover.mjs +1 -0
  117. package/fesm2020/acorex-components-popup.mjs +1 -0
  118. package/fesm2020/acorex-components-progress-bar.mjs +1 -0
  119. package/fesm2020/acorex-components-radio.mjs +1 -0
  120. package/fesm2020/acorex-components-range-slider.mjs +1 -0
  121. package/fesm2020/acorex-components-rating.mjs +1 -0
  122. package/fesm2020/acorex-components-result.mjs +1 -0
  123. package/fesm2020/acorex-components-search-box.mjs +1 -0
  124. package/fesm2020/acorex-components-select-box.mjs +3 -2
  125. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  126. package/fesm2020/acorex-components-selection-list.mjs +1 -0
  127. package/fesm2020/acorex-components-switch.mjs +1 -0
  128. package/fesm2020/acorex-components-tabs.mjs +1 -0
  129. package/fesm2020/acorex-components-tag.mjs +1 -0
  130. package/fesm2020/acorex-components-textarea.mjs +1 -0
  131. package/fesm2020/acorex-components-textbox.mjs +1 -0
  132. package/fesm2020/acorex-components-time-box.mjs +1 -0
  133. package/fesm2020/acorex-components-toast.mjs +2 -2
  134. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  135. package/fesm2020/acorex-components-tooltip.mjs +1 -0
  136. package/fesm2020/acorex-components-tree-view.mjs +1 -0
  137. package/fesm2020/acorex-components-uploader.mjs +1 -0
  138. package/fesm2020/acorex-components.mjs +1 -0
  139. package/mixin/src/base-components.class.d.ts +2 -2
  140. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  141. package/mixin/src/button-mixin.class.d.ts +2 -2
  142. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  143. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  144. package/mixin/src/datalist-component.class.d.ts +10 -10
  145. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  146. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  147. package/mixin/src/loading-mixin.class.d.ts +2 -2
  148. package/mixin/src/mixin.class.d.ts +61 -61
  149. package/mixin/src/page-component.class.d.ts +2 -2
  150. package/mixin/src/selection-component.class.d.ts +2 -2
  151. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  152. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  153. package/mixin/src/value-mixin.class.d.ts +8 -8
  154. package/notification/index.d.ts +5 -0
  155. package/notification/public-api.d.ts +4 -0
  156. package/notification/src/notification.class.d.ts +16 -0
  157. package/notification/src/notification.component.d.ts +25 -0
  158. package/notification/src/notification.module.d.ts +8 -0
  159. package/notification/src/notification.service.d.ts +21 -0
  160. package/package.json +9 -1
  161. package/tabs/src/tab-item.component.d.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-data-pager.mjs","sources":["../../../../projects/acorex/components/data-pager/src/data-pager-base.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-info.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-input-selector.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-next-buttons.components.ts","../../../../projects/acorex/components/data-pager/src/data-pager-numeric-selector.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-pagesize-dropdown.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-prev-buttons.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager.component.html","../../../../projects/acorex/components/data-pager/src/data-pager.module.ts","../../../../projects/acorex/components/data-pager/acorex-components-data-pager.ts"],"sourcesContent":["import { EventEmitter, Inject, Injectable } from '@angular/core';\r\nimport { AXEvent } from '@acorex/components/common';\r\nimport { AXInteractiveComponenetMixin } from '@acorex/components/mixin';\r\n\r\n/**\r\n * A token that specifies the display mode of datapager component.\r\n */\r\nexport type AXDataPagerDisplayMode = 'full' | 'compact' | 'custom';\r\n\r\nexport interface AXDataPagerInfoData {\r\n range: { from: number; to: number };\r\n page: number;\r\n skip: number;\r\n take: number;\r\n totalPages: number;\r\n totalItems: number;\r\n}\r\n\r\nexport class AXPagerPageChangedEvent\r\n extends AXEvent\r\n implements AXDataPagerInfoData\r\n{\r\n range: { from: number; to: number } = { from: 0, to: 0 };\r\n page: number = 0;\r\n skip: number = 0;\r\n take: number = 0;\r\n totalPages: number = 0;\r\n totalItems: number = 0;\r\n}\r\n\r\nexport class AXPagerStateChangedEvent extends AXPagerPageChangedEvent {}\r\n\r\n@Injectable()\r\nexport abstract class AXPagerComponent {\r\n abstract onStateChanged: EventEmitter<AXPagerStateChangedEvent>;\r\n abstract get state(): AXDataPagerInfoData;\r\n abstract size: number;\r\n abstract goNextPage(): void;\r\n abstract goLastPage(): void;\r\n abstract goFirstPage(): void;\r\n abstract goPrevPage(): void;\r\n abstract goToPage(page: number): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXDataPagerChild extends AXInteractiveComponenetMixin {\r\n constructor(@Inject(Array) ...args: any[]) {\r\n super(...args);\r\n }\r\n}\r\n","import { AXTranslator } from '@acorex/core/translation';\r\nimport {\r\n Component,\r\n ChangeDetectionStrategy,\r\n ViewEncapsulation,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n Inject,\r\n} from '@angular/core';\r\nimport {\r\n AXDataPagerChild,\r\n AXPagerComponent,\r\n} from './data-pager-base.component';\r\n\r\n@Component({\r\n selector: 'ax-data-pager-info',\r\n template: `{{ _textFormatted }}`,\r\n host: { class: 'ax-data-pager-info' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXDataPagerChild, useExisting: AXDataPagerInfoComponent },\r\n ],\r\n})\r\nexport class AXDataPagerInfoComponent extends AXDataPagerChild {\r\n constructor(\r\n private elementRef: ElementRef<HTMLDivElement>,\r\n private cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Input()\r\n text: string = AXTranslator.get('datapager.info.text');\r\n\r\n _textFormatted: string;\r\n\r\n onViewInit() {\r\n this._updateText();\r\n this._parent.onStateChanged.subscribe((c) => {\r\n this._updateText();\r\n });\r\n }\r\n\r\n private _updateText() {\r\n const info = this._parent.state;\r\n if ([info.range, info.range.from, info.totalItems].every((c) => c)) {\r\n this._textFormatted = this.text\r\n .replace('[from]', info.range.from.toString())\r\n .replace('[to]', info.range.to.toString())\r\n .replace('[totalItems]', info.totalItems.toString())\r\n .replace('[page]', info.page.toString())\r\n .replace('[totalPages]', info.totalPages.toString());\r\n this.cdr.markForCheck();\r\n } else {\r\n }\r\n }\r\n}\r\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXValueChangedEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-input-selector',\r\n template: `\r\n <ax-number-box [value]=\"_currentPage\" class=\"ax-sm\" (onValueChanged)=\"_handleValueChanged($event)\" [showSpinButtons]=\"false\"\r\n [minValue]=\"1\" [maxValue]=\"_totalPages\" allowNull=\"false\">\r\n </ax-number-box>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerInputSelectorComponent }]\r\n})\r\nexport class AXDataPagerInputSelectorComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n private cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n _totalPages: number = 1;\r\n _currentPage: number = 1;\r\n\r\n onViewInit() {\r\n this._currentPage = this._parent.state.page;\r\n this._totalPages = this._parent.state.totalPages;\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._currentPage = c.page;\r\n this._totalPages = c.totalPages;\r\n this.cdr.markForCheck();\r\n });\r\n }\r\n\r\n _handleValueChanged(e: AXValueChangedEvent<number>) {\r\n //TODO: debounceTime\r\n this._parent.goToPage(e.value as number);\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-next-buttons',\r\n template: `\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the next page\" (onClick)=\"_emitOnNextPageClick($event)\" >\r\n <ax-icon [ngClass]=\"{'ax-icon-chevron-left': rtl,'ax-icon-chevron-right': !rtl}\"></ax-icon> \r\n <i ></i> \r\n </ax-button>\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the last page\" (onClick)=\"_emitOnLastPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-first-page': rtl,'ax-icon-last-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNextButtonsComponent }]\r\n})\r\nexport class AXDataPagerNextButtonsComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit() {\r\n this._checkDisabled();\r\n //\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._checkDisabled();\r\n });\r\n }\r\n\r\n private _checkDisabled() {\r\n this.disabled = this._parent.state.page == this._parent.state.totalPages;\r\n }\r\n\r\n _emitOnLastPageClick(e: AXClickEvent) {\r\n this._parent.goLastPage();\r\n }\r\n\r\n _emitOnNextPageClick(e: AXClickEvent) {\r\n this._parent.goNextPage();\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject, NgZone } from \"@angular/core\";\r\nimport { AXButtonItem } from \"@acorex/components/button\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-numeric-selector',\r\n template: `\r\n <ax-button [disabled]=\"_currentPage==1\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" (onClick)=\"_handleOnItemClick({data:1})\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n <ax-button-group color=\"ghost\" look=\"blank\" class=\"ax-sm\" >\r\n <ax-button *ngFor=\"let item of _items\" color=\"ghost\" look=\"blank\" [selected]=\"_currentPage==item.data\" class=\"ax-sm\" [text]=\"item.text\" (onClick)=\"_handleOnItemClick(item)\">\r\n <ax-icon [class]=\"item.iconClass\" *ngIf=\"item.iconClass\">\r\n </ax-icon>\r\n </ax-button>\r\n </ax-button-group>\r\n <ax-button [disabled]=\"_currentPage==_lastPage\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" (onClick)=\"_handleOnItemClick({data:_lastPage})\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': !rtl,'ax-icon-first-page': rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNumericSelectorComponent }]\r\n})\r\nexport class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n private _zone: NgZone,\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n\r\n _items: AXButtonItem[] = [];\r\n _currentPage: number = 1;\r\n _lastPage: number = 1;\r\n\r\n private _displayCount: number = 5;\r\n\r\n onViewInit() {\r\n this._generateDisplayItems();\r\n this._parent.onStateChanged.subscribe(c => {\r\n\r\n this._generateDisplayItems();\r\n });\r\n }\r\n\r\n private _generateDisplayItems(): void {\r\n this._currentPage = this._parent.state.page;\r\n this._lastPage = this._parent.state.totalPages;\r\n //\r\n this._items = [];\r\n\r\n const start: number = Math.max(0, ((Math.ceil(this._currentPage / this._displayCount) - 1) * this._displayCount) + 1);\r\n const end: number = Math.min(start + this._displayCount - 1, this._lastPage);\r\n //\r\n if (start > this._displayCount) {\r\n this._items.push({\r\n iconClass: 'ax-icon-more ax-rotate-90',\r\n data: start - 1\r\n });\r\n }\r\n //\r\n for (let i = start; i <= end; i++) {\r\n this._items.push({\r\n text: i.toString(),\r\n data: i\r\n });\r\n }\r\n if (end < this._lastPage) {\r\n this._items.push({\r\n iconClass: 'ax-icon-more ax-rotate-90',\r\n data: end + 1\r\n });\r\n }\r\n this._cdr.detectChanges();\r\n }\r\n\r\n _handleOnItemClick(e: any) {\r\n this._parent.goToPage(Number(e.data));\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Input, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-page-sizes',\r\n template: `\r\n <ax-button [text]=\"_size\" color=\"ghost\" look=\"blank\" class=\"ax-sm\">\r\n <ax-dropdown-panel (onItemClick)=\"_emitOnItemClick($event)\">\r\n <ax-button-item *ngFor=\"let item of _items\" [text]=\"item.text\" [data]=\"item.data\" [selected]=\"item.selected\" >\r\n </ax-button-item>\r\n </ax-dropdown-panel>\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-icon-arrow-down\"></ax-icon>\r\n </ax-suffix>\r\n </ax-button>\r\n <!-- <span >items per page</span> -->\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n outputs: [],\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }]\r\n})\r\nexport class AXDataPagerPageSizesComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n _size: number;\r\n\r\n\r\n onViewInit() {\r\n this._generateDisplayItems();\r\n //\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._generateDisplayItems();\r\n });\r\n }\r\n\r\n\r\n //TODO: AXButtonItems type error\r\n _items: any[] = [];\r\n\r\n private _sizes: number[];\r\n @Input()\r\n public get sizes(): number[] {\r\n return this._sizes || [5, 10, 20, 50, 100];\r\n }\r\n public set sizes(v: number[]) {\r\n this._sizes = v;\r\n this._generateDisplayItems();\r\n }\r\n\r\n private _generateDisplayItems(): void {\r\n this._size = this._parent.state.take;\r\n this._items = this.sizes.map((s:any) => ({\r\n text: s.toString(),\r\n selected: s == this._size,\r\n data: {\r\n size: s\r\n }\r\n }));\r\n this._cdr.detectChanges();\r\n }\r\n\r\n\r\n _emitOnItemClick(e: AXClickEvent) {\r\n this._size = this._parent.size = Number(e.data.size);\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-prev-buttons',\r\n template: `\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the last page\" (onClick)=\"_emitOnFirstPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the next page\" (onClick)=\"_emitOnPrevPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-chevron-left': !rtl,'ax-icon-chevron-right': rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }]\r\n})\r\nexport class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {\r\n\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit() {\r\n this._checkDisabled();\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._checkDisabled();\r\n });\r\n }\r\n\r\n private _checkDisabled() {\r\n this.disabled = this._parent.state.page == 1;\r\n }\r\n\r\n\r\n _emitOnFirstPageClick(e: AXClickEvent) {\r\n this._parent.goFirstPage();\r\n }\r\n\r\n _emitOnPrevPageClick(e: AXClickEvent) {\r\n this._parent.goPrevPage();\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 EventEmitter,\r\n Output,\r\n Inject,\r\n Optional,\r\n} from '@angular/core';\r\nimport { isNumber } from 'lodash-es';\r\nimport { AXPagedComponent } from '@acorex/components/common';\r\n\r\nimport {\r\n AXDataPagerDisplayMode,\r\n AXDataPagerInfoData,\r\n AXPagerComponent,\r\n AXPagerStateChangedEvent,\r\n} from './data-pager-base.component';\r\nimport { AXBaseValueComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-data-pager',\r\n templateUrl: './data-pager.component.html',\r\n styleUrls: ['./data-pager.component.scss'],\r\n inputs: ['value', 'name'],\r\n outputs: ['valueChange', 'onValueChanged'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXPagerComponent, useExisting: AXDataPagerComponent }],\r\n})\r\nexport class AXDataPagerComponent extends AXBaseValueComponentMixin {\r\n\r\n private _size: number = 10;\r\n @Input()\r\n public get size(): number {\r\n return this._size;\r\n }\r\n public set size(v: number) {\r\n if (v != this._size) {\r\n this._size = v;\r\n if (this._parent) {\r\n this._parent.pageSize = v;\r\n }\r\n const newPage = Math.ceil(this.state.range.from / this._size) || 1;\r\n this.value = newPage;\r\n this._emitStateChangedEvent();\r\n }\r\n }\r\n\r\n private _total: number = 0;\r\n @Input()\r\n public get total(): number {\r\n return this._total;\r\n }\r\n public set total(v: number) {\r\n const t = v && v > 0 ? v : 0;\r\n if (t != this._total) {\r\n this._total = t;\r\n this._emitStateChangedEvent();\r\n }\r\n }\r\n\r\n private _totalPages: number = 0;\r\n\r\n public get totalPages(): number {\r\n return this._totalPages;\r\n }\r\n\r\n private set totalPages(value: number) {\r\n this._totalPages = value;\r\n }\r\n\r\n @Input()\r\n displayMode: AXDataPagerDisplayMode = 'full';\r\n\r\n @Output()\r\n onStateChanged: EventEmitter<AXPagerStateChangedEvent> = new EventEmitter<AXPagerStateChangedEvent>();\r\n\r\n constructor(\r\n private _elementRef: ElementRef,\r\n private _cdr: ChangeDetectorRef,\r\n @Optional()\r\n @Inject(AXPagedComponent)\r\n private _parent: AXPagedComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onInit() {\r\n if (this._parent) {\r\n this._parent.onPageChanged.subscribe((c) => {\r\n this.size = this._parent.pageSize;\r\n this.total = this._parent.totalCount;\r\n this.value = c.value;\r\n });\r\n this.size = this._parent.pageSize;\r\n this.total = this._parent.totalCount;\r\n }\r\n this.goFirstPage();\r\n }\r\n\r\n onViewInit() {\r\n this._emitStateChangedEvent();\r\n }\r\n\r\n _onValueChanged(oldValue: number, newValue: number) {\r\n this._emitStateChangedEvent();\r\n }\r\n\r\n _getValue(value: any) {\r\n if (!isNumber(value) || !value || this.totalPages == 0)\r\n return 1\r\n return value > this.totalPages ? this.totalPages : value;\r\n }\r\n\r\n public get state(): AXDataPagerInfoData {\r\n const skip = Math.max(0, (this.value - 1) * this.size);\r\n const result = {\r\n page: this.value,\r\n totalItems: this.total,\r\n totalPages: this.totalPages,\r\n range: {\r\n from: skip + 1,\r\n to: Math.min(this.value * this.size, this.total),\r\n },\r\n skip,\r\n take: this.size,\r\n };\r\n return result;\r\n }\r\n\r\n private _emitStateChangedEvent(): void {\r\n this.totalPages = Math.ceil(this._total / this.size);\r\n //\r\n this.onStateChanged.emit(\r\n Object.assign(\r\n {\r\n component: this,\r\n htmlElement: this._elementRef.nativeElement,\r\n },\r\n this.state\r\n )\r\n );\r\n if (this.totalPages > 0)\r\n this._parent?.goToPage(this.value);\r\n }\r\n\r\n goNextPage(): void {\r\n this.goToPage(Math.min(++this.value, this.totalPages));\r\n }\r\n\r\n goLastPage(): void {\r\n this.goToPage(this.totalPages);\r\n }\r\n\r\n goFirstPage(): void {\r\n this.goToPage(1);\r\n }\r\n\r\n goPrevPage(): void {\r\n this.goToPage(Math.max(--this.value, 1));\r\n }\r\n\r\n goToPage(page: number): void {\r\n if (page != this.value) {\r\n this.value = page;\r\n }\r\n }\r\n}\r\n","<ng-container [ngSwitch]=\"displayMode\">\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ax-prefix>\r\n <ax-data-pager-numeric-selector>\r\n </ax-data-pager-numeric-selector>\r\n <ax-data-pager-page-sizes>\r\n </ax-data-pager-page-sizes>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'compact'\">\r\n <ax-prefix>\r\n <ax-data-pager-prev-buttons>\r\n </ax-data-pager-prev-buttons>\r\n <ax-data-pager-input-selector>\r\n </ax-data-pager-input-selector>\r\n <ax-data-pager-next-buttons>\r\n </ax-data-pager-next-buttons>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </ng-container>\r\n</ng-container>\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDataPagerComponent } from './data-pager.component';\r\nimport { AXDataPagerNextButtonsComponent } from './data-pager-next-buttons.components';\r\nimport { AXDataPagerPrevButtonsComponent } from './data-pager-prev-buttons.component';\r\nimport { AXDataPagerPageSizesComponent } from './data-pager-pagesize-dropdown.component';\r\nimport { AXDataPagerNumericSelectorComponent } from './data-pager-numeric-selector.component';\r\nimport { AXDataPagerInputSelectorComponent } from './data-pager-input-selector.component';\r\nimport { AXDataPagerInfoComponent } from './data-pager-info.component';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\r\nimport { AXDropdownModule } from '@acorex/components/dropdown';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [\r\n AXDataPagerComponent,\r\n AXDataPagerNextButtonsComponent,\r\n AXDataPagerPrevButtonsComponent,\r\n AXDataPagerPageSizesComponent,\r\n AXDataPagerNumericSelectorComponent,\r\n AXDataPagerInputSelectorComponent,\r\n AXDataPagerInfoComponent\r\n];\r\nconst MODULES = [CommonModule, AXButtonModule, AXNumberBoxModule,AXDropdownModule,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 AXDataPagerModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3","i4","i2","i3.AXDataPagerNextButtonsComponent","i4.AXDataPagerPrevButtonsComponent","i5.AXDataPagerPageSizesComponent","i6.AXDataPagerNumericSelectorComponent","i7.AXDataPagerInputSelectorComponent","i8.AXDataPagerInfoComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAkBM,MAAO,uBACX,SAAQ,OAAO,CAAA;AADjB,IAAA,WAAA,GAAA;;QAIE,IAAK,CAAA,KAAA,GAAiC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;QACzD,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;QACvB,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;KACxB;AAAA,CAAA;AAEK,MAAO,wBAAyB,SAAQ,uBAAuB,CAAA;AAAG,CAAA;MAGlD,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EA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C/B,6BAA6B;QAC7B,mCAAmC;QACnC,iCAAiC;QACjC,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAEX,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAC,gBAAgB,EAAC,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAR/F,oBAAoB;QACpB,+BAA+B;QAC/B,+BAA+B;QAC/B,6BAA6B;QAC7B,mCAAmC;QACnC,iCAAiC;QACjC,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAUf,iBAAA,CAAA,IAAA,GAAA,EAAA,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;;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-data-pager.mjs","sources":["../../../../projects/acorex/components/data-pager/src/data-pager-base.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-info.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-input-selector.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-next-buttons.components.ts","../../../../projects/acorex/components/data-pager/src/data-pager-numeric-selector.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-pagesize-dropdown.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager-prev-buttons.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager.component.ts","../../../../projects/acorex/components/data-pager/src/data-pager.component.html","../../../../projects/acorex/components/data-pager/src/data-pager.module.ts","../../../../projects/acorex/components/data-pager/acorex-components-data-pager.ts"],"sourcesContent":["import { EventEmitter, Inject, Injectable } from '@angular/core';\r\nimport { AXEvent } from '@acorex/components/common';\r\nimport { AXInteractiveComponenetMixin } from '@acorex/components/mixin';\r\n\r\n/**\r\n * A token that specifies the display mode of datapager component.\r\n */\r\nexport type AXDataPagerDisplayMode = 'full' | 'compact' | 'custom';\r\n\r\nexport interface AXDataPagerInfoData {\r\n range: { from: number; to: number };\r\n page: number;\r\n skip: number;\r\n take: number;\r\n totalPages: number;\r\n totalItems: number;\r\n}\r\n\r\nexport class AXPagerPageChangedEvent\r\n extends AXEvent\r\n implements AXDataPagerInfoData\r\n{\r\n range: { from: number; to: number } = { from: 0, to: 0 };\r\n page: number = 0;\r\n skip: number = 0;\r\n take: number = 0;\r\n totalPages: number = 0;\r\n totalItems: number = 0;\r\n}\r\n\r\nexport class AXPagerStateChangedEvent extends AXPagerPageChangedEvent {}\r\n\r\n@Injectable()\r\nexport abstract class AXPagerComponent {\r\n abstract onStateChanged: EventEmitter<AXPagerStateChangedEvent>;\r\n abstract get state(): AXDataPagerInfoData;\r\n abstract size: number;\r\n abstract goNextPage(): void;\r\n abstract goLastPage(): void;\r\n abstract goFirstPage(): void;\r\n abstract goPrevPage(): void;\r\n abstract goToPage(page: number): void;\r\n}\r\n\r\n@Injectable()\r\nexport abstract class AXDataPagerChild extends AXInteractiveComponenetMixin {\r\n constructor(@Inject(Array) ...args: any[]) {\r\n super(...args);\r\n }\r\n}\r\n","import { AXTranslator } from '@acorex/core/translation';\r\nimport {\r\n Component,\r\n ChangeDetectionStrategy,\r\n ViewEncapsulation,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n Inject,\r\n} from '@angular/core';\r\nimport {\r\n AXDataPagerChild,\r\n AXPagerComponent,\r\n} from './data-pager-base.component';\r\n\r\n@Component({\r\n selector: 'ax-data-pager-info',\r\n template: `{{ _textFormatted }}`,\r\n host: { class: 'ax-data-pager-info' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXDataPagerChild, useExisting: AXDataPagerInfoComponent },\r\n ],\r\n})\r\nexport class AXDataPagerInfoComponent extends AXDataPagerChild {\r\n constructor(\r\n private elementRef: ElementRef<HTMLDivElement>,\r\n private cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Input()\r\n text: string = AXTranslator.get('datapager.info.text');\r\n\r\n _textFormatted: string;\r\n\r\n onViewInit() {\r\n this._updateText();\r\n this._parent.onStateChanged.subscribe((c) => {\r\n this._updateText();\r\n });\r\n }\r\n\r\n private _updateText() {\r\n const info = this._parent.state;\r\n if ([info.range, info.range.from, info.totalItems].every((c) => c)) {\r\n this._textFormatted = this.text\r\n .replace('[from]', info.range.from.toString())\r\n .replace('[to]', info.range.to.toString())\r\n .replace('[totalItems]', info.totalItems.toString())\r\n .replace('[page]', info.page.toString())\r\n .replace('[totalPages]', info.totalPages.toString());\r\n this.cdr.markForCheck();\r\n } else {\r\n }\r\n }\r\n}\r\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXValueChangedEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-input-selector',\r\n template: `\r\n <ax-number-box [value]=\"_currentPage\" class=\"ax-sm\" (onValueChanged)=\"_handleValueChanged($event)\" [showSpinButtons]=\"false\"\r\n [minValue]=\"1\" [maxValue]=\"_totalPages\" allowNull=\"false\">\r\n </ax-number-box>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerInputSelectorComponent }]\r\n})\r\nexport class AXDataPagerInputSelectorComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n private cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n _totalPages: number = 1;\r\n _currentPage: number = 1;\r\n\r\n onViewInit() {\r\n this._currentPage = this._parent.state.page;\r\n this._totalPages = this._parent.state.totalPages;\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._currentPage = c.page;\r\n this._totalPages = c.totalPages;\r\n this.cdr.markForCheck();\r\n });\r\n }\r\n\r\n _handleValueChanged(e: AXValueChangedEvent<number>) {\r\n //TODO: debounceTime\r\n this._parent.goToPage(e.value as number);\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-next-buttons',\r\n template: `\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the next page\" (onClick)=\"_emitOnNextPageClick($event)\" >\r\n <ax-icon [ngClass]=\"{'ax-icon-chevron-left': rtl,'ax-icon-chevron-right': !rtl}\"></ax-icon> \r\n <i ></i> \r\n </ax-button>\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the last page\" (onClick)=\"_emitOnLastPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-first-page': rtl,'ax-icon-last-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNextButtonsComponent }]\r\n})\r\nexport class AXDataPagerNextButtonsComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n private cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit() {\r\n this._checkDisabled();\r\n //\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._checkDisabled();\r\n });\r\n }\r\n\r\n private _checkDisabled() {\r\n this.disabled = this._parent.state.page == this._parent.state.totalPages;\r\n }\r\n\r\n _emitOnLastPageClick(e: AXClickEvent) {\r\n this._parent.goLastPage();\r\n }\r\n\r\n _emitOnNextPageClick(e: AXClickEvent) {\r\n this._parent.goNextPage();\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject, NgZone } from \"@angular/core\";\r\nimport { AXButtonItem } from \"@acorex/components/button\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-numeric-selector',\r\n template: `\r\n <ax-button [disabled]=\"_currentPage==1\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" (onClick)=\"_handleOnItemClick({data:1})\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n <ax-button-group color=\"ghost\" look=\"blank\" class=\"ax-sm\" >\r\n <ax-button *ngFor=\"let item of _items\" color=\"ghost\" look=\"blank\" [selected]=\"_currentPage==item.data\" class=\"ax-sm\" [text]=\"item.text\" (onClick)=\"_handleOnItemClick(item)\">\r\n <ax-icon [class]=\"item.iconClass\" *ngIf=\"item.iconClass\">\r\n </ax-icon>\r\n </ax-button>\r\n </ax-button-group>\r\n <ax-button [disabled]=\"_currentPage==_lastPage\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" (onClick)=\"_handleOnItemClick({data:_lastPage})\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': !rtl,'ax-icon-first-page': rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerNumericSelectorComponent }]\r\n})\r\nexport class AXDataPagerNumericSelectorComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n private _zone: NgZone,\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n\r\n _items: AXButtonItem[] = [];\r\n _currentPage: number = 1;\r\n _lastPage: number = 1;\r\n\r\n private _displayCount: number = 5;\r\n\r\n onViewInit() {\r\n this._generateDisplayItems();\r\n this._parent.onStateChanged.subscribe(c => {\r\n\r\n this._generateDisplayItems();\r\n });\r\n }\r\n\r\n private _generateDisplayItems(): void {\r\n this._currentPage = this._parent.state.page;\r\n this._lastPage = this._parent.state.totalPages;\r\n //\r\n this._items = [];\r\n\r\n const start: number = Math.max(0, ((Math.ceil(this._currentPage / this._displayCount) - 1) * this._displayCount) + 1);\r\n const end: number = Math.min(start + this._displayCount - 1, this._lastPage);\r\n //\r\n if (start > this._displayCount) {\r\n this._items.push({\r\n iconClass: 'ax-icon-more ax-rotation-90',\r\n data: start - 1\r\n });\r\n }\r\n //\r\n for (let i = start; i <= end; i++) {\r\n this._items.push({\r\n text: i.toString(),\r\n data: i\r\n });\r\n }\r\n if (end < this._lastPage) {\r\n this._items.push({\r\n iconClass: 'ax-icon-more ax-rotation-90',\r\n data: end + 1\r\n });\r\n }\r\n this._cdr.detectChanges();\r\n }\r\n\r\n _handleOnItemClick(e: any) {\r\n this._parent.goToPage(Number(e.data));\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Input, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-page-sizes',\r\n template: `\r\n <ax-button [text]=\"_size\" color=\"ghost\" look=\"blank\" class=\"ax-sm\">\r\n <ax-dropdown-panel (onItemClick)=\"_emitOnItemClick($event)\">\r\n <ax-button-item *ngFor=\"let item of _items\" [text]=\"item.text\" [data]=\"item.data\" [selected]=\"item.selected\" >\r\n </ax-button-item>\r\n </ax-dropdown-panel>\r\n <ax-suffix>\r\n <ax-icon icon=\"ax-icon-arrow-down\"></ax-icon>\r\n </ax-suffix>\r\n </ax-button>\r\n <!-- <span >items per page</span> -->\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n outputs: [],\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPageSizesComponent }]\r\n})\r\nexport class AXDataPagerPageSizesComponent extends AXDataPagerChild {\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n _size: number;\r\n\r\n\r\n onViewInit() {\r\n this._generateDisplayItems();\r\n //\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._generateDisplayItems();\r\n });\r\n }\r\n\r\n\r\n //TODO: AXButtonItems type error\r\n _items: any[] = [];\r\n\r\n private _sizes: number[];\r\n @Input()\r\n public get sizes(): number[] {\r\n return this._sizes || [5, 10, 20, 50, 100];\r\n }\r\n public set sizes(v: number[]) {\r\n this._sizes = v;\r\n this._generateDisplayItems();\r\n }\r\n\r\n private _generateDisplayItems(): void {\r\n this._size = this._parent.state.take;\r\n this._items = this.sizes.map((s:any) => ({\r\n text: s.toString(),\r\n selected: s == this._size,\r\n data: {\r\n size: s\r\n }\r\n }));\r\n this._cdr.detectChanges();\r\n }\r\n\r\n\r\n _emitOnItemClick(e: AXClickEvent) {\r\n this._size = this._parent.size = Number(e.data.size);\r\n }\r\n}","import { Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, ChangeDetectorRef, Inject } from \"@angular/core\";\r\nimport { AXClickEvent } from \"@acorex/components/common\";\r\nimport { AXDataPagerChild, AXPagerComponent } from \"./data-pager-base.component\";\r\n\r\n@Component({\r\n selector: 'ax-data-pager-prev-buttons',\r\n template: `\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the last page\" (onClick)=\"_emitOnFirstPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-last-page': rtl,'ax-icon-first-page': !rtl}\"></ax-icon>\r\n </ax-button>\r\n <ax-button [disabled]=\"disabled\" look=\"blank\" color=\"ghost\" class=\"ax-sm\" title=\"Go to the next page\" (onClick)=\"_emitOnPrevPageClick($event)\">\r\n <ax-icon [ngClass]=\"{'ax-icon-chevron-left': !rtl,'ax-icon-chevron-right': rtl}\"></ax-icon>\r\n </ax-button>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXDataPagerChild, useExisting: AXDataPagerPrevButtonsComponent }]\r\n})\r\nexport class AXDataPagerPrevButtonsComponent extends AXDataPagerChild {\r\n\r\n\r\n constructor(\r\n private elementRef: ElementRef,\r\n cdr: ChangeDetectorRef,\r\n @Inject(AXPagerComponent)\r\n private _parent: AXPagerComponent,\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit() {\r\n this._checkDisabled();\r\n this._parent.onStateChanged.subscribe(c => {\r\n this._checkDisabled();\r\n });\r\n }\r\n\r\n private _checkDisabled() {\r\n this.disabled = this._parent.state.page == 1;\r\n }\r\n\r\n\r\n _emitOnFirstPageClick(e: AXClickEvent) {\r\n this._parent.goFirstPage();\r\n }\r\n\r\n _emitOnPrevPageClick(e: AXClickEvent) {\r\n this._parent.goPrevPage();\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 EventEmitter,\r\n Output,\r\n Inject,\r\n Optional,\r\n} from '@angular/core';\r\nimport { isNumber } from 'lodash-es';\r\nimport { AXPagedComponent } from '@acorex/components/common';\r\n\r\nimport {\r\n AXDataPagerDisplayMode,\r\n AXDataPagerInfoData,\r\n AXPagerComponent,\r\n AXPagerStateChangedEvent,\r\n} from './data-pager-base.component';\r\nimport { AXBaseValueComponentMixin } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-data-pager',\r\n templateUrl: './data-pager.component.html',\r\n styleUrls: ['./data-pager.component.scss'],\r\n inputs: ['value', 'name'],\r\n outputs: ['valueChange', 'onValueChanged'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXPagerComponent, useExisting: AXDataPagerComponent }],\r\n})\r\nexport class AXDataPagerComponent extends AXBaseValueComponentMixin {\r\n\r\n private _size: number = 10;\r\n @Input()\r\n public get size(): number {\r\n return this._size;\r\n }\r\n public set size(v: number) {\r\n if (v != this._size) {\r\n this._size = v;\r\n if (this._parent) {\r\n this._parent.pageSize = v;\r\n }\r\n const newPage = Math.ceil(this.state.range.from / this._size) || 1;\r\n this.value = newPage;\r\n this._emitStateChangedEvent();\r\n }\r\n }\r\n\r\n private _total: number = 0;\r\n @Input()\r\n public get total(): number {\r\n return this._total;\r\n }\r\n public set total(v: number) {\r\n const t = v && v > 0 ? v : 0;\r\n if (t != this._total) {\r\n this._total = t;\r\n this._emitStateChangedEvent();\r\n }\r\n }\r\n\r\n private _totalPages: number = 0;\r\n\r\n public get totalPages(): number {\r\n return this._totalPages;\r\n }\r\n\r\n private set totalPages(value: number) {\r\n this._totalPages = value;\r\n }\r\n\r\n @Input()\r\n displayMode: AXDataPagerDisplayMode = 'full';\r\n\r\n @Output()\r\n onStateChanged: EventEmitter<AXPagerStateChangedEvent> = new EventEmitter<AXPagerStateChangedEvent>();\r\n\r\n constructor(\r\n private _elementRef: ElementRef,\r\n private _cdr: ChangeDetectorRef,\r\n @Optional()\r\n @Inject(AXPagedComponent)\r\n private _parent: AXPagedComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onInit() {\r\n if (this._parent) {\r\n this._parent.onPageChanged.subscribe((c) => {\r\n this.size = this._parent.pageSize;\r\n this.total = this._parent.totalCount;\r\n this.value = c.value;\r\n });\r\n this.size = this._parent.pageSize;\r\n this.total = this._parent.totalCount;\r\n }\r\n this.goFirstPage();\r\n }\r\n\r\n onViewInit() {\r\n this._emitStateChangedEvent();\r\n }\r\n\r\n _onValueChanged(oldValue: number, newValue: number) {\r\n this._emitStateChangedEvent();\r\n }\r\n\r\n _getValue(value: any) {\r\n if (!isNumber(value) || !value || this.totalPages == 0)\r\n return 1\r\n return value > this.totalPages ? this.totalPages : value;\r\n }\r\n\r\n public get state(): AXDataPagerInfoData {\r\n const skip = Math.max(0, (this.value - 1) * this.size);\r\n const result = {\r\n page: this.value,\r\n totalItems: this.total,\r\n totalPages: this.totalPages,\r\n range: {\r\n from: skip + 1,\r\n to: Math.min(this.value * this.size, this.total),\r\n },\r\n skip,\r\n take: this.size,\r\n };\r\n return result;\r\n }\r\n\r\n private _emitStateChangedEvent(): void {\r\n this.totalPages = Math.ceil(this._total / this.size);\r\n //\r\n this.onStateChanged.emit(\r\n Object.assign(\r\n {\r\n component: this,\r\n htmlElement: this._elementRef.nativeElement,\r\n },\r\n this.state\r\n )\r\n );\r\n if (this.totalPages > 0)\r\n this._parent?.goToPage(this.value);\r\n }\r\n\r\n goNextPage(): void {\r\n this.goToPage(Math.min(++this.value, this.totalPages));\r\n }\r\n\r\n goLastPage(): void {\r\n this.goToPage(this.totalPages);\r\n }\r\n\r\n goFirstPage(): void {\r\n this.goToPage(1);\r\n }\r\n\r\n goPrevPage(): void {\r\n this.goToPage(Math.max(--this.value, 1));\r\n }\r\n\r\n goToPage(page: number): void {\r\n if (page != this.value) {\r\n this.value = page;\r\n }\r\n }\r\n}\r\n","<ng-container [ngSwitch]=\"displayMode\">\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ax-prefix>\r\n <ax-data-pager-numeric-selector>\r\n </ax-data-pager-numeric-selector>\r\n <ax-data-pager-page-sizes>\r\n </ax-data-pager-page-sizes>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'compact'\">\r\n <ax-prefix>\r\n <ax-data-pager-prev-buttons>\r\n </ax-data-pager-prev-buttons>\r\n <ax-data-pager-input-selector>\r\n </ax-data-pager-input-selector>\r\n <ax-data-pager-next-buttons>\r\n </ax-data-pager-next-buttons>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-data-pager-info>\r\n </ax-data-pager-info>\r\n </ax-suffix>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </ng-container>\r\n</ng-container>\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDataPagerComponent } from './data-pager.component';\r\nimport { AXDataPagerNextButtonsComponent } from './data-pager-next-buttons.components';\r\nimport { AXDataPagerPrevButtonsComponent } from './data-pager-prev-buttons.component';\r\nimport { AXDataPagerPageSizesComponent } from './data-pager-pagesize-dropdown.component';\r\nimport { AXDataPagerNumericSelectorComponent } from './data-pager-numeric-selector.component';\r\nimport { AXDataPagerInputSelectorComponent } from './data-pager-input-selector.component';\r\nimport { AXDataPagerInfoComponent } from './data-pager-info.component';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXNumberBoxModule } from '@acorex/components/number-box';\r\nimport { AXDropdownModule } from '@acorex/components/dropdown';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [\r\n AXDataPagerComponent,\r\n AXDataPagerNextButtonsComponent,\r\n AXDataPagerPrevButtonsComponent,\r\n AXDataPagerPageSizesComponent,\r\n AXDataPagerNumericSelectorComponent,\r\n AXDataPagerInputSelectorComponent,\r\n AXDataPagerInfoComponent\r\n];\r\nconst MODULES = [CommonModule, AXButtonModule, AXNumberBoxModule,AXDropdownModule,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 AXDataPagerModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3","i4","i2","i3.AXDataPagerNextButtonsComponent","i4.AXDataPagerPrevButtonsComponent","i5.AXDataPagerPageSizesComponent","i6.AXDataPagerNumericSelectorComponent","i7.AXDataPagerInputSelectorComponent","i8.AXDataPagerInfoComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAkBM,MAAO,uBACX,SAAQ,OAAO,CAAA;AADjB,IAAA,WAAA,GAAA;;QAIE,IAAK,CAAA,KAAA,GAAiC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;QACzD,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;QACjB,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;QACvB,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;KACxB;AAAA,CAAA;AAEK,MAAO,wBAAyB,SAAQ,uBAAuB,CAAA;AAAG,CAAA;MAGlD,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;iHAAhB,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB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gBAAgB,EAAC,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAR/F,oBAAoB;QACpB,+BAA+B;QAC/B,+BAA+B;QAC/B,6BAA6B;QAC7B,mCAAmC;QACnC,iCAAiC;QACjC,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAUf,iBAAA,CAAA,IAAA,GAAA,EAAA,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;;;AC9BD;;AAEG;;;;"}
@@ -219,3 +219,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
219
219
 
220
220
  export { AXDataColumnCellTemplateDirective, AXDataColumnComponent, AXDataTableComponent, AXDataTableModule };
221
221
  //# sourceMappingURL=acorex-components-data-table.mjs.map
222
+ //# sourceMappingURL=acorex-components-data-table.mjs.map
@@ -292,3 +292,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
292
292
 
293
293
  export { AXBaseDatePickerMixin, AXDatePickerComponent, AXDatepickerModule };
294
294
  //# sourceMappingURL=acorex-components-date-picker.mjs.map
295
+ //# sourceMappingURL=acorex-components-date-picker.mjs.map
@@ -356,3 +356,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
356
356
 
357
357
  export { AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorFormHintComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorOverlayComponent, AXDecoratorPlaceholderComponent, AXDecoratorPrefixComponent, AXDecoratorSubTitleComponent, AXDecoratorSuffixComponent, AXDecoratorTextComponent, AXDecoratorTitleComponent };
358
358
  //# sourceMappingURL=acorex-components-decorators.mjs.map
359
+ //# sourceMappingURL=acorex-components-decorators.mjs.map
@@ -55,10 +55,10 @@ class AXDialogComponent extends AXBaseComponentMixin {
55
55
  }
56
56
  }
57
57
  AXDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.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.0.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{width:75vw}}@media (min-width: 1200px){.ax-dialog{width:30vw}}@media (min-width: 1800px){.ax-dialog{width:21vw}}.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),.02);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.0.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{width:75vw}}@media (min-width: 1200px){.ax-dialog{width:30vw}}@media (min-width: 1800px){.ax-dialog{width:25vw}}.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),.02);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.0.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{width:75vw}}@media (min-width: 1200px){.ax-dialog{width:30vw}}@media (min-width: 1800px){.ax-dialog{width:21vw}}.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),.02);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{width:75vw}}@media (min-width: 1200px){.ax-dialog{width:30vw}}@media (min-width: 1800px){.ax-dialog{width:25vw}}.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),.02);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];
@@ -197,3 +197,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
197
197
 
198
198
  export { AXDrawerComponent, AXDrawerContainerComponent, AXDrawerModule };
199
199
  //# sourceMappingURL=acorex-components-drawer.mjs.map
200
+ //# sourceMappingURL=acorex-components-drawer.mjs.map
@@ -126,3 +126,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
126
126
 
127
127
  export { AXDropdownModule, AXDropdownPanelComponent };
128
128
  //# sourceMappingURL=acorex-components-dropdown.mjs.map
129
+ //# sourceMappingURL=acorex-components-dropdown.mjs.map
@@ -441,3 +441,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
441
441
 
442
442
  export { AXFormComponent, AXFormFieldComponent, AXFormModule, AXFormValidationEvent, AXValidationRuleComponent, AXValidationSummaryComponent };
443
443
  //# sourceMappingURL=acorex-components-form.mjs.map
444
+ //# sourceMappingURL=acorex-components-form.mjs.map
@@ -97,3 +97,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
97
97
 
98
98
  export { AXImageComponent, AXImageModule };
99
99
  //# sourceMappingURL=acorex-components-image.mjs.map
100
+ //# sourceMappingURL=acorex-components-image.mjs.map
@@ -50,3 +50,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
50
50
 
51
51
  export { AXLabelComponent, AXLabelModule };
52
52
  //# sourceMappingURL=acorex-components-label.mjs.map
53
+ //# sourceMappingURL=acorex-components-label.mjs.map
@@ -387,3 +387,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
387
387
 
388
388
  export { AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent };
389
389
  //# sourceMappingURL=acorex-components-loading.mjs.map
390
+ //# sourceMappingURL=acorex-components-loading.mjs.map
@@ -376,3 +376,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
376
376
 
377
377
  export { AXMenuComponent, AXMenuModule };
378
378
  //# sourceMappingURL=acorex-components-menu.mjs.map
379
+ //# sourceMappingURL=acorex-components-menu.mjs.map
@@ -1225,3 +1225,4 @@ function _PageComponenetMixin(Base) {
1225
1225
 
1226
1226
  export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, COLOR_LOOK_INPUTS, COLOR_LOOK_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, VALUE_INPUTS, VALUE_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _LoadingComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin };
1227
1227
  //# sourceMappingURL=acorex-components-mixin.mjs.map
1228
+ //# sourceMappingURL=acorex-components-mixin.mjs.map
@@ -0,0 +1,221 @@
1
+ import { AXClosbaleComponent } from '@acorex/components/common';
2
+ import * as i0 from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, NgModule, Injectable } from '@angular/core';
4
+ import { AXBaseComponentMixin } from '@acorex/components/mixin';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule } from '@angular/common';
7
+ import { AXConfig } from '@acorex/core/config';
8
+ import { ComponentPortal } from '@angular/cdk/portal';
9
+ import * as i1$1 from '@angular/cdk/overlay';
10
+
11
+ /**
12
+ * The Button is a component which detects user interaction and triggers a corresponding event
13
+ *
14
+ * @category Components
15
+ */
16
+ class AXNotificationComponent extends AXBaseComponentMixin {
17
+ /**
18
+ * @ignore
19
+ */
20
+ constructor(elementRef, cdr) {
21
+ super(elementRef, cdr);
22
+ this._notificationWidth = 100;
23
+ }
24
+ onInit() {
25
+ if (this.options.timeOut) {
26
+ setTimeout(() => {
27
+ this.close();
28
+ }, this.options.timeOut);
29
+ }
30
+ if (!this.options.icon) {
31
+ switch (this.options.color) {
32
+ case 'success':
33
+ this._icon = 'ax-icon ax-icon-check-circle-fill';
34
+ break;
35
+ case 'warning':
36
+ this._icon = 'ax-icon ax-icon-warning-fill';
37
+ break;
38
+ case 'danger':
39
+ this._icon = 'ax-icon ax-icon-error-fill';
40
+ break;
41
+ default:
42
+ this._icon = this.options.icon || 'ax-icon ax-icon-check-circle-fill';
43
+ break;
44
+ }
45
+ }
46
+ else {
47
+ this._icon = this.options.icon;
48
+ }
49
+ }
50
+ _handleButtonClick(button) {
51
+ if (button.onClick) {
52
+ button.onClick(this);
53
+ }
54
+ }
55
+ get __hostClass() {
56
+ return `ax-${this.options.color}`;
57
+ }
58
+ }
59
+ AXNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
60
+ AXNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXNotificationComponent, selector: "ax-notification", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent }], usesInheritance: true, ngImport: i0, template: "<!-- <ax-alert [color]=\"options.color\" [timeOut]=\"options.timeOut\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n <ax-content *ngIf=\"options.content\">\r\n <div [innerHTML]=\"options.content\"></div>\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" class=\"ax-sm\"\r\n (onClick)=\"_handleButtonClick(button)\" [color]=\"options.color\" [look]=\"'default'\"></ax-button>\r\n </ax-footer>\r\n</ax-alert> -->\r\n<span [class]=\"'ax-toast-icon '+ _icon \"></span>\r\n<div class=\"ax-toast-content\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div [innerHTML]=\"options.content\"></div>\r\n <div class=\"ax-toast-buttons\" *ngIf=\"options?.buttons?.length\">\r\n <button *ngFor=\"let button of options.buttons\" (click)=\"_handleButtonClick(button)\">\r\n {{button.text}}\r\n </button>\r\n </div>\r\n</div>\r\n<span class=\"ax-icon ax-icon-close\" (click)=\"close()\"></span>\r\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\"></div>", styles: ["ax-toast{width:max(20vw,380px);display:flex;padding:.75rem 1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;border:1px solid;background-color:rgb(var(--ax-color-surface));border-color:rgba(var(--ax-color-border-default));position:relative;overflow:hidden}ax-toast.ax-primary{background-color:rgb(var(--ax-color-primary-50));color:rgb(var(--ax-color-primary-700));border-color:rgb(var(--ax-color-primary-500))}ax-toast.ax-primary .ax-toast-title{color:rgb(var(--ax-color-primary-800))}ax-toast.ax-primary .ax-toast-progress{background-color:rgb(var(--ax-color-primary-500))}ax-toast.ax-secondary{background-color:rgb(var(--ax-color-secondary-50));color:rgb(var(--ax-color-secondary-700));border-color:rgb(var(--ax-color-secondary-500))}ax-toast.ax-secondary .ax-toast-title{color:rgb(var(--ax-color-secondary-800))}ax-toast.ax-secondary .ax-toast-progress{background-color:rgb(var(--ax-color-secondary-500))}ax-toast.ax-success{background-color:rgb(var(--ax-color-success-50));color:rgb(var(--ax-color-success-700));border-color:rgb(var(--ax-color-success-500))}ax-toast.ax-success .ax-toast-title{color:rgb(var(--ax-color-success-800))}ax-toast.ax-success .ax-toast-progress{background-color:rgb(var(--ax-color-success-500))}ax-toast.ax-warning{background-color:rgb(var(--ax-color-warning-50));color:rgb(var(--ax-color-warning-700));border-color:rgb(var(--ax-color-warning-500))}ax-toast.ax-warning .ax-toast-title{color:rgb(var(--ax-color-warning-800))}ax-toast.ax-warning .ax-toast-progress{background-color:rgb(var(--ax-color-warning-500))}ax-toast.ax-danger{background-color:rgb(var(--ax-color-danger-50));color:rgb(var(--ax-color-danger-700));border-color:rgb(var(--ax-color-danger-500))}ax-toast.ax-danger .ax-toast-title{color:rgb(var(--ax-color-danger-800))}ax-toast.ax-danger .ax-toast-progress{background-color:rgb(var(--ax-color-danger-500))}@media (max-width: 599px){ax-toast{width:98vw}}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem}ax-toast .ax-toast-icon{padding-inline-end:.75rem}ax-toast .ax-toast-content{display:flex;flex-direction:column;flex:1}ax-toast .ax-toast-content .ax-toast-title{font-weight:500;margin-bottom:.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin-top:.25rem}ax-toast .ax-toast-content .ax-toast-buttons button{font-weight:700}ax-toast .ax-toast-content .ax-toast-buttons button:hover{opacity:.6}ax-toast .ax-icon-close{cursor:pointer;height:-moz-fit-content;height:fit-content}ax-toast .ax-icon-close:hover{opacity:.6}ax-toast .ax-toast-progress{position:absolute;right:0;left:0;bottom:0;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationComponent, decorators: [{
62
+ type: Component,
63
+ args: [{ selector: 'ax-notification', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXNotificationComponent }], template: "<!-- <ax-alert [color]=\"options.color\" [timeOut]=\"options.timeOut\">\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n <ax-content *ngIf=\"options.content\">\r\n <div [innerHTML]=\"options.content\"></div>\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\" class=\"ax-sm\"\r\n (onClick)=\"_handleButtonClick(button)\" [color]=\"options.color\" [look]=\"'default'\"></ax-button>\r\n </ax-footer>\r\n</ax-alert> -->\r\n<span [class]=\"'ax-toast-icon '+ _icon \"></span>\r\n<div class=\"ax-toast-content\">\r\n <div class=\"ax-toast-title\">{{options.title}}</div>\r\n <div [innerHTML]=\"options.content\"></div>\r\n <div class=\"ax-toast-buttons\" *ngIf=\"options?.buttons?.length\">\r\n <button *ngFor=\"let button of options.buttons\" (click)=\"_handleButtonClick(button)\">\r\n {{button.text}}\r\n </button>\r\n </div>\r\n</div>\r\n<span class=\"ax-icon ax-icon-close\" (click)=\"close()\"></span>\r\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\"></div>", styles: ["ax-toast{width:max(20vw,380px);display:flex;padding:.75rem 1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;border:1px solid;background-color:rgb(var(--ax-color-surface));border-color:rgba(var(--ax-color-border-default));position:relative;overflow:hidden}ax-toast.ax-primary{background-color:rgb(var(--ax-color-primary-50));color:rgb(var(--ax-color-primary-700));border-color:rgb(var(--ax-color-primary-500))}ax-toast.ax-primary .ax-toast-title{color:rgb(var(--ax-color-primary-800))}ax-toast.ax-primary .ax-toast-progress{background-color:rgb(var(--ax-color-primary-500))}ax-toast.ax-secondary{background-color:rgb(var(--ax-color-secondary-50));color:rgb(var(--ax-color-secondary-700));border-color:rgb(var(--ax-color-secondary-500))}ax-toast.ax-secondary .ax-toast-title{color:rgb(var(--ax-color-secondary-800))}ax-toast.ax-secondary .ax-toast-progress{background-color:rgb(var(--ax-color-secondary-500))}ax-toast.ax-success{background-color:rgb(var(--ax-color-success-50));color:rgb(var(--ax-color-success-700));border-color:rgb(var(--ax-color-success-500))}ax-toast.ax-success .ax-toast-title{color:rgb(var(--ax-color-success-800))}ax-toast.ax-success .ax-toast-progress{background-color:rgb(var(--ax-color-success-500))}ax-toast.ax-warning{background-color:rgb(var(--ax-color-warning-50));color:rgb(var(--ax-color-warning-700));border-color:rgb(var(--ax-color-warning-500))}ax-toast.ax-warning .ax-toast-title{color:rgb(var(--ax-color-warning-800))}ax-toast.ax-warning .ax-toast-progress{background-color:rgb(var(--ax-color-warning-500))}ax-toast.ax-danger{background-color:rgb(var(--ax-color-danger-50));color:rgb(var(--ax-color-danger-700));border-color:rgb(var(--ax-color-danger-500))}ax-toast.ax-danger .ax-toast-title{color:rgb(var(--ax-color-danger-800))}ax-toast.ax-danger .ax-toast-progress{background-color:rgb(var(--ax-color-danger-500))}@media (max-width: 599px){ax-toast{width:98vw}}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem}ax-toast .ax-toast-icon{padding-inline-end:.75rem}ax-toast .ax-toast-content{display:flex;flex-direction:column;flex:1}ax-toast .ax-toast-content .ax-toast-title{font-weight:500;margin-bottom:.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin-top:.25rem}ax-toast .ax-toast-content .ax-toast-buttons button{font-weight:700}ax-toast .ax-toast-content .ax-toast-buttons button:hover{opacity:.6}ax-toast .ax-icon-close{cursor:pointer;height:-moz-fit-content;height:fit-content}ax-toast .ax-icon-close:hover{opacity:.6}ax-toast .ax-toast-progress{position:absolute;right:0;left:0;bottom:0;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"] }]
64
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
65
+ type: HostBinding,
66
+ args: ['class']
67
+ }] } });
68
+
69
+ const COMPONENT = [AXNotificationComponent];
70
+ const MODULES = [CommonModule];
71
+ class AXNotificationModule {
72
+ }
73
+ AXNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
+ AXNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationModule, declarations: [AXNotificationComponent], imports: [CommonModule], exports: [AXNotificationComponent] });
75
+ AXNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationModule, imports: [MODULES] });
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationModule, decorators: [{
77
+ type: NgModule,
78
+ args: [{
79
+ declarations: [...COMPONENT],
80
+ imports: [...MODULES],
81
+ exports: [...COMPONENT],
82
+ providers: [],
83
+ }]
84
+ }] });
85
+
86
+ class AXNotificationService {
87
+ constructor(overlayService, parentInjector) {
88
+ this.overlayService = overlayService;
89
+ this.parentInjector = parentInjector;
90
+ this._defaults = {
91
+ gap: 5,
92
+ timeOut: 2500,
93
+ location: 'bottom-center',
94
+ };
95
+ this._activeList = [];
96
+ }
97
+ primary(content) {
98
+ this.show({
99
+ timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,
100
+ color: 'primary',
101
+ content: content
102
+ });
103
+ }
104
+ secondary(content) {
105
+ this.show({
106
+ timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,
107
+ color: 'secondary',
108
+ content: content
109
+ });
110
+ }
111
+ success(content) {
112
+ this.show({
113
+ timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,
114
+ color: 'success',
115
+ content: content
116
+ });
117
+ }
118
+ warning(content) {
119
+ this.show({
120
+ timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,
121
+ color: 'warning',
122
+ content: content
123
+ });
124
+ }
125
+ danger(content) {
126
+ this.show({
127
+ timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,
128
+ color: 'danger',
129
+ content: content
130
+ });
131
+ }
132
+ show(options) {
133
+ const opt = Object.assign({
134
+ closeable: true,
135
+ location: AXConfig.get('toast.location') || this._defaults.location
136
+ }, options);
137
+ const gap = AXConfig.get('toast.gap') || this._defaults.gap;
138
+ let positionStrategy = this.overlayService.position().global();
139
+ const pos = this.getPosition(opt.location) + gap + 'px';
140
+ switch (opt.location) {
141
+ case 'bottom-center':
142
+ positionStrategy = positionStrategy.bottom(pos).centerHorizontally();
143
+ break;
144
+ case 'bottom-end':
145
+ positionStrategy = positionStrategy.bottom(pos).right(gap + 'px');
146
+ break;
147
+ case 'bottom-start':
148
+ positionStrategy = positionStrategy.bottom(pos).left(gap + 'px');
149
+ break;
150
+ case 'top-center':
151
+ positionStrategy = positionStrategy.top(pos).centerHorizontally();
152
+ break;
153
+ case 'top-end':
154
+ positionStrategy = positionStrategy.top(pos).right(gap + 'px');
155
+ break;
156
+ case 'top-start':
157
+ positionStrategy = positionStrategy.top(pos).left(gap + 'px');
158
+ break;
159
+ case 'center-start':
160
+ positionStrategy = positionStrategy.centerVertically().left(gap + 'px');
161
+ break;
162
+ case 'center-end':
163
+ positionStrategy = positionStrategy.centerVertically().right(gap + 'px');
164
+ break;
165
+ default:
166
+ break;
167
+ }
168
+ const overlayRef = this.overlayService.create({
169
+ positionStrategy,
170
+ panelClass: ['ax-animate-animated', 'ax-animate-fadeIn', 'ax-animate-faster'],
171
+ });
172
+ const toastPortal = new ComponentPortal(AXNotificationComponent, null, this.parentInjector);
173
+ const host = overlayRef.attach(toastPortal);
174
+ host.instance.visibleIndex = this._activeList.length;
175
+ this._activeList.push(host.instance);
176
+ if (host.instance) {
177
+ Object.assign(host.instance, {
178
+ options: opt,
179
+ close: () => {
180
+ this._activeList = this._activeList.filter(c => c != host.instance);
181
+ overlayRef.dispose();
182
+ }
183
+ });
184
+ setTimeout(() => {
185
+ host.changeDetectorRef.detectChanges();
186
+ }, 0);
187
+ }
188
+ return {
189
+ close: () => {
190
+ host.instance.close();
191
+ }
192
+ };
193
+ }
194
+ hideAll() {
195
+ this._activeList.forEach(c => c.close());
196
+ }
197
+ getPosition(location) {
198
+ const list = this._activeList.filter(c => c.options.location == location);
199
+ if (list.length == 0)
200
+ return 0;
201
+ if (location.split('-')[0] == 'bottom') {
202
+ return window.innerHeight - list[list.length - 1]._getHostElement().offsetTop;
203
+ }
204
+ else {
205
+ return list[list.length - 1]._getHostElement().offsetTop + list[list.length - 1]._getHostElement().offsetHeight;
206
+ }
207
+ }
208
+ }
209
+ AXNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
210
+ AXNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationService, providedIn: 'root' });
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXNotificationService, decorators: [{
212
+ type: Injectable,
213
+ args: [{ providedIn: 'root' }]
214
+ }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; } });
215
+
216
+ /**
217
+ * Generated bundle index. Do not edit.
218
+ */
219
+
220
+ export { AXNotificationComponent, AXNotificationModule, AXNotificationService };
221
+ //# sourceMappingURL=acorex-components-notification.mjs.map