@acorex/components 7.1.51 → 7.1.52

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 (27) hide show
  1. package/esm2022/calendar/src/calendar.component.mjs +3 -3
  2. package/esm2022/collapse/src/collapse.component.mjs +2 -2
  3. package/esm2022/color-palette/src/color-palette-input.component.mjs +3 -3
  4. package/esm2022/color-picker/src/color-picker.component.mjs +3 -3
  5. package/esm2022/date-picker/src/datepicker.component.mjs +3 -3
  6. package/esm2022/popup/src/popup.component.mjs +4 -3
  7. package/esm2022/select-box/src/selectbox.component.mjs +6 -7
  8. package/esm2022/select-box/src/selectbox.module.mjs +4 -7
  9. package/esm2022/tabs/src/tabs.component.mjs +2 -2
  10. package/fesm2022/acorex-components-calendar.mjs +2 -2
  11. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  12. package/fesm2022/acorex-components-collapse.mjs +2 -2
  13. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  14. package/fesm2022/acorex-components-color-palette.mjs +2 -2
  15. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  16. package/fesm2022/acorex-components-color-picker.mjs +2 -2
  17. package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
  18. package/fesm2022/acorex-components-date-picker.mjs +2 -2
  19. package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
  20. package/fesm2022/acorex-components-popup.mjs +4 -3
  21. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  22. package/fesm2022/acorex-components-select-box.mjs +8 -12
  23. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  24. package/fesm2022/acorex-components-tabs.mjs +2 -2
  25. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  26. package/package.json +29 -29
  27. package/select-box/src/selectbox.module.d.ts +4 -5
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-select-box.mjs","sources":["../../../../projects/acorex/components/select-box/src/selectbox.component.ts","../../../../projects/acorex/components/select-box/src/selectbox.component.html","../../../../projects/acorex/components/select-box/src/selectbox.module.ts","../../../../projects/acorex/components/select-box/acorex-components-select-box.ts"],"sourcesContent":["import { AXPlatform } from '@acorex/core/platform';\nimport { AXTranslator } from '@acorex/core/translation';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, HostListener, Input, NgZone, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { findLast, findLastIndex, first, last, nth } from 'lodash-es';\nimport { AXClickEvent, AXClosbaleComponent, AXSearchableComponent } from '@acorex/components/common';\n\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXSearchBoxComponent } from '@acorex/components/search-box';\nimport { AXBaseSelectionDropdownMixin } from '@acorex/components/mixin';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-select-box',\n templateUrl: './selectbox.component.html',\n styleUrls: ['./selectbox.component.scss'],\n inputs: [\n 'isOpen',\n 'fitParent',\n 'dropdownWidth',\n 'position',\n 'disabled',\n 'tabIndex',\n 'allowNull',\n 'value',\n 'name',\n 'checked',\n 'placeholder',\n 'maxLength',\n 'type',\n 'autoComplete',\n 'readonly',\n 'pageSize',\n 'items',\n 'valueField',\n 'textField',\n 'disabledField',\n 'disabledCallback',\n 'multiple',\n 'selectionMode',\n ],\n outputs: ['onOpened', 'onClosed', 'onBlur', 'onFocus', 'valueChange', 'onValueChanged'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },\n { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent },\n ],\n host: { class: 'ax-editor-container ax-drop-down' },\n})\nexport class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {\n @ViewChild(AXPopoverComponent, { static: true })\n popover: AXPopoverComponent;\n\n @ContentChild(AXSearchBoxComponent, { static: true })\n _searchBox: AXSearchBoxComponent;\n\n _target: HTMLDivElement;\n _popoverTitle: string;\n _popoverWidth: number;\n\n /**\n * Defines the clearButton.\n */\n @Input()\n clearButton: boolean = false;\n\n /**\n * Defines the checkbox.\n */\n @Input()\n checkbox: boolean = false;\n\n @ViewChild('listContainer', { static: true })\n private listContainer: ElementRef<HTMLDivElement>;\n\n @ContentChild('emptyTemplate')\n private _contentEmptyTemplate: TemplateRef<any>;\n\n get emptyTemplate(): TemplateRef<any> {\n return this._contentEmptyTemplate;\n }\n\n _isActionSheet: boolean = false;\n _forceFocus: boolean = false;\n\n protected _loadingOptions = {\n text: AXTranslator.get('layout.loading.text'),\n };\n /**\n * @ignore\n */\n constructor(private _elementRef: ElementRef<HTMLDivElement>, private _cdr: ChangeDetectorRef, private _zone: NgZone, private _platform: AXPlatform) {\n super(_elementRef, _cdr);\n this._isActionSheet = this._platform.is('SM');\n this._platform.resize.subscribe(() => {\n this._isActionSheet = this._platform.is('SM');\n this.popover.dispose();\n this._detectPopupSize();\n });\n }\n\n _handleArrowClickEvent(e: MouseEvent) {\n e.stopPropagation();\n // e.nativeEvent.stopPropagation();\n this.toggle();\n }\n\n _handleInputClickEvent(e: MouseEvent) {\n e.stopPropagation();\n this.toggle();\n }\n\n onInit() {\n super.onInit();\n this._target = this._elementRef.nativeElement;\n\n this._updatePopupTitle();\n }\n\n onViewInit() {\n super.onViewInit();\n this._detectPopupSize();\n }\n\n refresh() {\n this.value = null;\n super.refresh();\n }\n\n private _updatePopupTitle() {\n const count = this.selectedItems?.length || 0;\n //this._popoverTitle = count > 1 ? `(${count}) items selected` : (this.placeholder || AXTranslator.get('selectbox.popover.title'));\n this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');\n }\n\n private _detectPopupSize() {\n this._popoverWidth = this._isActionSheet ? 0 : this._target.offsetWidth;\n }\n\n _handleOnItemClick(e: MouseEvent, item: any) {\n if (this.isItemDisabled(item)) {\n return;\n }\n if (!this.multiple) this.close();\n this.toggleSelect(item);\n this._cdr.detectChanges();\n }\n\n _handleListScroll(e: Event) {\n const list = e.target as HTMLDivElement;\n if (list.scrollTop < list.scrollHeight - list.clientHeight) {\n return;\n }\n this._fetchData();\n }\n\n private _checkForLoadData() {\n const list: any = this.listContainer.nativeElement;\n if (this.loadedCount < this.totalCount && list.scrollHeight < list.parentElement.clientHeight * 1.5) {\n this._fetchData();\n }\n }\n\n _onDataLoaded() {\n if (this.popover.isOpen) {\n setTimeout(() => {\n this._checkForLoadData();\n this.popover.updatePosition();\n if (this._forceFocus) {\n this._focusSelectedItem();\n this._forceFocus = false;\n }\n this._focusSearchBox();\n }, 100);\n }\n }\n\n _onValueChanged(oldValue: any, newValue: any) {\n super._onValueChanged(oldValue, newValue);\n }\n\n _handleOnRemoveItemClick(e: MouseEvent, item: any) {\n this.unselectItems(item);\n e.stopPropagation();\n }\n\n _handleBadgeRemove(e: MouseEvent, item) {\n this.unselectItems(item);\n e.stopPropagation();\n this.close();\n }\n\n @HostListener('keydown', ['$event'])\n _handleKeydown(e: KeyboardEvent) {\n const isLetter = new RegExp(/[a-zA-Z0-9\\-]/).test(String.fromCharCode(e.keyCode));\n if (e.code === 'Backspace' && e.type === 'keydown' && ((this.allowNull === true && this.selectedItems.length > 0) || (this.allowNull !== true && this.selectedItems.length > 1))) {\n this.isUserInput = true;\n this.unselectItems(this.selectedItems.pop());\n e.preventDefault();\n return;\n } else if ((e.code === 'ArrowDown' || e.code === 'ArrowUp' || e.code === 'Space') && !this.popover.isOpen && e.type === 'keydown') {\n if (this.multiple) {\n this.open();\n } else {\n this.isUserInput = true;\n if (e.ctrlKey || e.code === 'Space') {\n this.open();\n } else {\n this._selectedItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n }\n }\n e.preventDefault();\n return;\n } else if (isLetter) {\n this.text = e.key;\n this.open();\n e.preventDefault();\n return;\n }\n }\n\n _handlePopoverKeydown(e: KeyboardEvent) {\n if ((e.target as HTMLElement).tagName == 'INPUT' && ['Space', 'Backspace'].includes(e.code)) return;\n if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {\n this.isUserInput = true;\n this._focusItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n e.preventDefault();\n } else if (e.code === 'Backspace' && ((this.allowNull === true && this.selectedItems.length > 0) || (this.allowNull !== true && this.selectedItems.length > 1))) {\n this.isUserInput = true;\n this.unselectItems(this.selectedItems.pop());\n e.preventDefault();\n } else if (e.code === 'Space' || e.code === 'Enter') {\n e.preventDefault();\n const focusedItemId = this.listContainer.nativeElement.querySelector<HTMLElement>('.ax-state-focus')?.dataset?.id;\n const focusedItem = findLast(this.flatItems, [this.valueField, focusedItemId]);\n if (focusedItem) {\n if (this.isItemDisabled(focusedItem)) {\n return;\n }\n if (this.multiple) {\n this.isUserInput = true;\n this.toggleSelect(focusedItem);\n } else {\n this.isUserInput = true;\n this.selectItems(focusedItem);\n this.close();\n }\n }\n } else if (e.code === 'Tab') {\n this.close();\n e.preventDefault();\n e.stopPropagation();\n } else if (e.key === 'Escape') {\n this.close();\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n async _handlePopupOnOpened(e) {\n this._detectPopupSize();\n this.popover.focus();\n if (this.displayItems.length == 0) {\n this._forceFocus = true;\n this._fetchData();\n } else {\n this._focusSelectedItem();\n }\n this._focusSearchBox();\n }\n\n _handlePopupOnClosed(e) {\n this.focus();\n }\n\n private _focusSearchBox() {\n if (this._searchBox && (!this._isActionSheet || this._searchBox.searchExp)) {\n this._searchBox.focus();\n }\n }\n\n private _focusItemByNav(sign: -1 | 1): void {\n const list = this.listContainer.nativeElement;\n const fn = s => list.querySelector<HTMLElement>(s);\n const itemDiv: any = fn(`.ax-list-item.ax-state-focus`) || fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);\n let next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling) as HTMLElement;\n if (next) {\n this._focusItemElement(next);\n } else {\n const parent = itemDiv.closest('.ax-list-item-group');\n if (parent) {\n const lis = (sign == 1 ? parent.nextElementSibling : parent.previousElementSibling)?.querySelectorAll('li');\n const a = sign == 1 ? first(lis) : last(lis);\n if (a) {\n this._focusItemElement(a as any);\n }\n }\n }\n }\n\n private _focusSelectedItem() {\n this._zone.runOutsideAngular(() => {\n const list = this.listContainer.nativeElement;\n const fn = s => list.querySelector<HTMLElement>(s);\n const itemDiv = fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);\n if (itemDiv) {\n this._focusItemElement(itemDiv);\n }\n });\n }\n\n private _focusItemElement(el: HTMLElement) {\n this._zone.runOutsideAngular(() => {\n const list = this.listContainer.nativeElement;\n list.querySelectorAll('.ax-list-item').forEach(c => {\n if (c == el) {\n c.classList.add('ax-state-focus');\n el.scrollIntoView({ behavior: 'auto' });\n } else {\n c.classList.remove('ax-state-focus');\n }\n });\n if (!this._isActionSheet && this._searchBox) this._searchBox.focus();\n else el.focus();\n });\n }\n\n private _selectedItemByNav(sign: -1 | 1): void {\n const _last: any = last(this.selectedItems);\n let i = 0;\n if (_last) {\n i = findLastIndex(this.flatItems, [this.valueField, _last[this.valueField]]);\n }\n i += sign;\n let next = nth<any>(this.flatItems, i);\n while (next?.children && next?.children.length) {\n i += sign;\n next = nth<any>(this.flatItems, i);\n }\n if (next) {\n this.selectItems(next);\n } else if (next == null && sign == 1) {\n this._fetchData();\n }\n }\n\n search(exp: string) {\n this.empty();\n this._forceFocus = true;\n this._fetchData();\n }\n\n _fetchData() {\n super._fetchData({ searchQuery: this._searchBox?.searchExp });\n }\n}\n","<ng-content select=\"ax-prefix\"> </ng-content>\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\n <div class=\"ax-select-box-selection\" [tabindex]=\"tabIndex\" (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\">\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\n <ng-template #singleSelectedTemplate>\n <ng-container *ngFor=\"let item of selectedItems\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n </ng-container>\n </ng-template>\n <ng-template #multipleSelectedTemplate>\n <div class=\"ax-select-box-multi-selection\">\n <ng-container *ngFor=\"let item of selectedItems\">\n <div class=\"ax-select-multi-item\">\n {{ _getItemDisplayTextTemplte(item) }}\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\n </div>\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n <ng-template #showPlaceholder>\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\n {{ placeholder }}\n </div>\n </ng-template>\n </div>\n</div>\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"clear()\" [tabIndex]=\"-1\" *ngIf=\"value && clearButton && !(disabled || readonly)\">\n <ax-icon icon=\"ax-icon ax-icon-close\"></ax-icon>\n</ax-button>\n<button [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-control\" (click)=\"_handleArrowClickEvent($event)\">\n <ng-container *ngIf=\"isLoading && !this.popover.isOpen; else iconTemplate\">\n <ax-loading type=\"spinner\"></ax-loading>\n </ng-container>\n <ng-template #iconTemplate>\n <span\n class=\"ax-icon ax-icon-chevron-left ax-transition-all\"\n [ngClass]=\"{\n '-ax-rotation-90': !isOpen,\n 'ax-rotation-90': isOpen\n }\"></span>\n </ng-template>\n</button>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<ng-content select=\"ax-suffix\"> </ng-content>\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\n <div\n class=\"ax-overlay-pane\"\n (keydown)=\"_handlePopoverKeydown($event)\"\n tabindex=\"0\"\n aria-modal=\"true\"\n cdkTrapFocus\n [class.ax-overlay-actionsheet]=\"_isActionSheet\"\n [class.ax-full]=\"_searchBox || isLazy\"\n [style.min-width.px]=\"_popoverWidth\">\n <div class=\"ax-list\">\n <ax-header *ngIf=\"_isActionSheet\">\n <ax-title>{{ _popoverTitle }}</ax-title>\n <ax-close-button class=\"ax-icon\" [icon]=\"multiple ? 'ax-icon-done !ax-text-primary-500' : 'ax-icon-close'\"></ax-close-button>\n </ax-header>\n <div class=\"ax-search-box-container\" [class.ax-state-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox != null\">\n <ng-content select=\"ax-search-box\"></ng-content>\n </div>\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\n <ul>\n <ng-container *ngTemplateOutlet=\"tmpTree; context: { list: displayItems }\"> </ng-container>\n <ng-template #tmpTree let-list=\"list\">\n <ng-container *ngFor=\"let item of list; let i = index; trackBy: _trackByFunction\">\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\n <li class=\"ax-list-item\" (click)=\"_handleOnItemClick($event, item)\" [attr.data-id]=\"item[this.valueField]\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, direction: direction }\"> </ng-container>\n </li>\n </ng-container>\n <ng-template #defualtTemplate>\n <ng-container *ngIf=\"item.children?.length > 0; else tmpItem\">\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n <ul *ngIf=\"item.children?.length > 0\">\n <ng-container *ngTemplateOutlet=\"tmpTree; context: { list: item.children }\"> </ng-container>\n </ul>\n </li>\n </ng-container>\n <ng-template #tmpItem>\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\n <li\n class=\"ax-list-item\"\n [class.ax-state-selected]=\"isItemSelected(item)\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"item[this.valueField]\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n <span class=\"ax-icon ax-icon-done ax-selected-icon\" *ngIf=\"isItemSelected(item)\"></span>\n </li>\n </ng-container>\n <ng-template #multipleTemplate>\n <li\n class=\"ax-list-item\"\n [class.ax-state-selected]=\"isItemSelected(item)\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [class.ax-state-checkbox]=\"checkbox\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"item[this.valueField]\">\n <span>\n <input class=\"ax-checkbox\" type=\"checkbox\" [class.ax-state-disabled]=\"isItemDisabled(item)\" *ngIf=\"checkbox\" [checked]=\"isItemSelected(item)\" [disabled]=\"isItemDisabled(item)\" />\n <span class=\"ax-checkbox-label\">{{ _getItemDisplayTextTemplte(item) }}</span>\n </span>\n <span class=\"ax-icon ax-icon-done ax-selected-icon\" *ngIf=\"isItemSelected(item) && !checkbox\"></span>\n </li>\n </ng-template>\n </ng-template>\n </ng-template>\n </ng-container>\n </ng-template>\n </ul>\n </ng-container>\n <ng-container *ngIf=\"isLoading\">\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <ng-template #elseLoadingTemplate>\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\n <ax-loading [options]=\"_loadingOptions\"></ax-loading>\n </div>\n </ng-template>\n </ng-container>\n <ng-template #tmpEmpty>\n <ng-container *ngIf=\"!isLoading\">\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"> </ng-container>\n </ng-container>\n <ng-template #elseEmptyTemplate>\n <div\n class=\"ax-flex ax-items-center ax-justify-center ax-p-4\"\n [innerHTML]=\"\n 'common.no-result-for'\n | trans\n : {\n exp: this._searchBox ? this._searchBox.searchExp : ''\n }\n \"></div>\n </ng-template>\n </ng-container>\n </ng-template>\n </div>\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\n >\n \n </div> -->\n <!-- <div class=\"ax-footer\">footer</div> -->\n </div>\n </div>\n</ax-popover>\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/checkbox';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { A11yModule } from '@angular/cdk/a11y';\n\nimport { AXSelectBoxComponent } from './selectbox.component';\nimport { AXTextBoxModule } from '@acorex/components/textbox';\nimport { AXCommonModule } from '@acorex/components/common';\n\n@NgModule({\n imports: [CommonModule,\n AXCommonModule,\n FormsModule,\n AXCheckBoxModule,\n AXBadgeModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXPopoverModule,\n AXButtonModule,\n AXLoadingModule,\n A11yModule,\n AXTextBoxModule\n ],\n exports: [AXSelectBoxComponent],\n declarations: [AXSelectBoxComponent],\n providers: [],\n})\nexport class AXSelectBoxModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;;;AAIG;AACH,MAsCa,oBAAqB,SAAQ,4BAA4B,CAAA;AA0ChD,IAAA,WAAA,CAAA;AAAiD,IAAA,IAAA,CAAA;AAAiC,IAAA,KAAA,CAAA;AAAuB,IAAA,SAAA,CAAA;AAxC7H,IAAA,OAAO,CAAqB;AAG5B,IAAA,UAAU,CAAuB;AAEjC,IAAA,OAAO,CAAiB;AACxB,IAAA,aAAa,CAAS;AACtB,IAAA,aAAa,CAAS;AAEtB;;AAEG;IAEH,WAAW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1
+ {"version":3,"file":"acorex-components-select-box.mjs","sources":["../../../../projects/acorex/components/select-box/src/selectbox.component.ts","../../../../projects/acorex/components/select-box/src/selectbox.component.html","../../../../projects/acorex/components/select-box/src/selectbox.module.ts","../../../../projects/acorex/components/select-box/acorex-components-select-box.ts"],"sourcesContent":["import { AXPlatform } from '@acorex/core/platform';\nimport { AXTranslator } from '@acorex/core/translation';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, HostListener, Input, NgZone, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { findLast, findLastIndex, first, last, nth } from 'lodash-es';\nimport { AXClickEvent, AXClosbaleComponent, AXSearchableComponent } from '@acorex/components/common';\n\nimport { AXPopoverComponent } from '@acorex/components/popover';\nimport { AXSearchBoxComponent } from '@acorex/components/search-box';\nimport { AXBaseSelectionDropdownMixin } from '@acorex/components/mixin';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-select-box',\n templateUrl: './selectbox.component.html',\n styleUrls: ['./selectbox.component.scss'],\n inputs: [\n 'isOpen',\n 'fitParent',\n 'dropdownWidth',\n 'position',\n 'disabled',\n 'tabIndex',\n 'allowNull',\n 'value',\n 'name',\n 'checked',\n 'placeholder',\n 'maxLength',\n 'type',\n 'autoComplete',\n 'readonly',\n 'pageSize',\n 'items',\n 'valueField',\n 'textField',\n 'disabledField',\n 'disabledCallback',\n 'multiple',\n 'selectionMode',\n ],\n outputs: ['onOpened', 'onClosed', 'onBlur', 'onFocus', 'valueChange', 'onValueChanged'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXClosbaleComponent, useExisting: AXSelectBoxComponent },\n { provide: AXSearchableComponent, useExisting: AXSelectBoxComponent },\n ],\n host: { class: 'ax-editor-container ax-drop-down' },\n})\nexport class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {\n @ViewChild(AXPopoverComponent, { static: true })\n popover: AXPopoverComponent;\n\n @ContentChild(AXSearchBoxComponent, { static: true })\n _searchBox: AXSearchBoxComponent;\n\n _target: HTMLDivElement;\n _popoverTitle: string;\n _popoverWidth: number;\n\n /**\n * Defines the clearButton.\n */\n @Input()\n clearButton: boolean = false;\n\n /**\n * Defines the checkbox.\n */\n @Input()\n checkbox: boolean = false;\n\n @ViewChild('listContainer', { static: true })\n private listContainer: ElementRef<HTMLDivElement>;\n\n @ContentChild('emptyTemplate')\n private _contentEmptyTemplate: TemplateRef<any>;\n\n get emptyTemplate(): TemplateRef<any> {\n return this._contentEmptyTemplate;\n }\n\n _isActionSheet: boolean = false;\n _forceFocus: boolean = false;\n\n protected _loadingOptions = {\n text: AXTranslator.get('layout.loading.text'),\n };\n /**\n * @ignore\n */\n constructor(private _elementRef: ElementRef<HTMLDivElement>, private _cdr: ChangeDetectorRef, private _zone: NgZone, private _platform: AXPlatform) {\n super(_elementRef, _cdr);\n this._isActionSheet = this._platform.is('SM');\n this._platform.resize.subscribe(() => {\n this._isActionSheet = this._platform.is('SM');\n this.popover.dispose();\n this._detectPopupSize();\n });\n }\n\n _handleArrowClickEvent(e: MouseEvent) {\n e.stopPropagation();\n // e.nativeEvent.stopPropagation();\n this.toggle();\n }\n\n _handleInputClickEvent(e: MouseEvent) {\n e.stopPropagation();\n this.toggle();\n }\n\n onInit() {\n super.onInit();\n this._target = this._elementRef.nativeElement;\n\n this._updatePopupTitle();\n }\n\n onViewInit() {\n super.onViewInit();\n this._detectPopupSize();\n }\n\n refresh() {\n this.value = null;\n super.refresh();\n }\n\n private _updatePopupTitle() {\n const count = this.selectedItems?.length || 0;\n //this._popoverTitle = count > 1 ? `(${count}) items selected` : (this.placeholder || AXTranslator.get('selectbox.popover.title'));\n this._popoverTitle = this.placeholder || AXTranslator.get('selectbox.popover.title');\n }\n\n private _detectPopupSize() {\n this._popoverWidth = this._isActionSheet ? 0 : this._target.offsetWidth;\n }\n\n _handleOnItemClick(e: MouseEvent, item: any) {\n if (this.isItemDisabled(item)) {\n return;\n }\n if (!this.multiple) this.close();\n this.toggleSelect(item);\n this._cdr.detectChanges();\n }\n\n _handleListScroll(e: Event) {\n const list = e.target as HTMLDivElement;\n if (list.scrollTop < list.scrollHeight - list.clientHeight) {\n return;\n }\n this._fetchData();\n }\n\n private _checkForLoadData() {\n const list: any = this.listContainer.nativeElement;\n if (this.loadedCount < this.totalCount && list.scrollHeight < list.parentElement.clientHeight * 1.5) {\n this._fetchData();\n }\n }\n\n _onDataLoaded() {\n if (this.popover.isOpen) {\n setTimeout(() => {\n this._checkForLoadData();\n this.popover.updatePosition();\n if (this._forceFocus) {\n this._focusSelectedItem();\n this._forceFocus = false;\n }\n this._focusSearchBox();\n }, 100);\n }\n }\n\n _onValueChanged(oldValue: any, newValue: any) {\n super._onValueChanged(oldValue, newValue);\n }\n\n _handleOnRemoveItemClick(e: MouseEvent, item: any) {\n this.unselectItems(item);\n e.stopPropagation();\n }\n\n _handleBadgeRemove(e: MouseEvent, item) {\n this.unselectItems(item);\n e.stopPropagation();\n this.close();\n }\n\n @HostListener('keydown', ['$event'])\n _handleKeydown(e: KeyboardEvent) {\n const isLetter = new RegExp(/[a-zA-Z0-9\\-]/).test(String.fromCharCode(e.keyCode));\n if (e.code === 'Backspace' && e.type === 'keydown' && ((this.allowNull === true && this.selectedItems.length > 0) || (this.allowNull !== true && this.selectedItems.length > 1))) {\n this.isUserInput = true;\n this.unselectItems(this.selectedItems.pop());\n e.preventDefault();\n return;\n } else if ((e.code === 'ArrowDown' || e.code === 'ArrowUp' || e.code === 'Space') && !this.popover.isOpen && e.type === 'keydown') {\n if (this.multiple) {\n this.open();\n } else {\n this.isUserInput = true;\n if (e.ctrlKey || e.code === 'Space') {\n this.open();\n } else {\n this._selectedItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n }\n }\n e.preventDefault();\n return;\n } else if (isLetter) {\n this.text = e.key;\n this.open();\n e.preventDefault();\n return;\n }\n }\n\n _handlePopoverKeydown(e: KeyboardEvent) {\n if ((e.target as HTMLElement).tagName == 'INPUT' && ['Space', 'Backspace'].includes(e.code)) return;\n if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && this.displayItems.length > 0) {\n this.isUserInput = true;\n this._focusItemByNav(e.key === 'ArrowDown' ? 1 : -1);\n e.preventDefault();\n } else if (e.code === 'Backspace' && ((this.allowNull === true && this.selectedItems.length > 0) || (this.allowNull !== true && this.selectedItems.length > 1))) {\n this.isUserInput = true;\n this.unselectItems(this.selectedItems.pop());\n e.preventDefault();\n } else if (e.code === 'Space' || e.code === 'Enter') {\n e.preventDefault();\n const focusedItemId = this.listContainer.nativeElement.querySelector<HTMLElement>('.ax-state-focus')?.dataset?.id;\n const focusedItem = findLast(this.flatItems, [this.valueField, focusedItemId]);\n if (focusedItem) {\n if (this.isItemDisabled(focusedItem)) {\n return;\n }\n if (this.multiple) {\n this.isUserInput = true;\n this.toggleSelect(focusedItem);\n } else {\n this.isUserInput = true;\n this.selectItems(focusedItem);\n this.close();\n }\n }\n } else if (e.code === 'Tab') {\n this.close();\n e.preventDefault();\n e.stopPropagation();\n } else if (e.key === 'Escape') {\n this.close();\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n async _handlePopupOnOpened(e) {\n this._detectPopupSize();\n this.popover.focus();\n if (this.displayItems.length == 0) {\n this._forceFocus = true;\n this._fetchData();\n } else {\n this._focusSelectedItem();\n }\n this._focusSearchBox();\n }\n\n _handlePopupOnClosed(e) {\n this.focus();\n }\n\n private _focusSearchBox() {\n if (this._searchBox && (!this._isActionSheet || this._searchBox.searchExp)) {\n this._searchBox.focus();\n }\n }\n\n private _focusItemByNav(sign: -1 | 1): void {\n const list = this.listContainer.nativeElement;\n const fn = s => list.querySelector<HTMLElement>(s);\n const itemDiv: any = fn(`.ax-list-item.ax-state-focus`) || fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);\n let next = (sign == 1 ? itemDiv.nextElementSibling : itemDiv.previousElementSibling) as HTMLElement;\n if (next) {\n this._focusItemElement(next);\n } else {\n const parent = itemDiv.closest('.ax-list-item-group');\n if (parent) {\n const lis = (sign == 1 ? parent.nextElementSibling : parent.previousElementSibling)?.querySelectorAll('li');\n const a = sign == 1 ? first(lis) : last(lis);\n if (a) {\n this._focusItemElement(a as any);\n }\n }\n }\n }\n\n private _focusSelectedItem() {\n this._zone.runOutsideAngular(() => {\n const list = this.listContainer.nativeElement;\n const fn = s => list.querySelector<HTMLElement>(s);\n const itemDiv = fn(`.ax-list-item.ax-state-selected`) || fn(`.ax-list-item`);\n if (itemDiv) {\n this._focusItemElement(itemDiv);\n }\n });\n }\n\n private _focusItemElement(el: HTMLElement) {\n this._zone.runOutsideAngular(() => {\n const list = this.listContainer.nativeElement;\n list.querySelectorAll('.ax-list-item').forEach(c => {\n if (c == el) {\n c.classList.add('ax-state-focus');\n el.scrollIntoView({ behavior: 'auto' });\n } else {\n c.classList.remove('ax-state-focus');\n }\n });\n if (!this._isActionSheet && this._searchBox) this._searchBox.focus();\n else el.focus();\n });\n }\n\n private _selectedItemByNav(sign: -1 | 1): void {\n const _last: any = last(this.selectedItems);\n let i = 0;\n if (_last) {\n i = findLastIndex(this.flatItems, [this.valueField, _last[this.valueField]]);\n }\n i += sign;\n let next = nth<any>(this.flatItems, i);\n while (next?.children && next?.children.length) {\n i += sign;\n next = nth<any>(this.flatItems, i);\n }\n if (next) {\n this.selectItems(next);\n } else if (next == null && sign == 1) {\n this._fetchData();\n }\n }\n\n search(exp: string) {\n this.empty();\n this._forceFocus = true;\n this._fetchData();\n }\n\n _fetchData() {\n super._fetchData({ searchQuery: this._searchBox?.searchExp });\n }\n}\n","<ng-content select=\"ax-prefix\"> </ng-content>\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\n <div\n class=\"ax-select-box-selection\"\n [tabindex]=\"tabIndex\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\">\n <ng-container *ngIf=\"selectedItems && selectedItems.length; else showPlaceholder\">\n <ng-container *ngIf=\"!multiple; then singleSelectedTemplate; else multipleSelectedTemplate\"></ng-container>\n <ng-template #singleSelectedTemplate>\n <ng-container *ngFor=\"let item of selectedItems\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n </ng-container>\n </ng-template>\n <ng-template #multipleSelectedTemplate>\n <div class=\"ax-select-box-multi-selection\">\n <ng-container *ngFor=\"let item of selectedItems\">\n <div class=\"ax-select-multi-item\">\n {{ _getItemDisplayTextTemplte(item) }}\n <span class=\"ax-icon ax-icon-close\" (click)=\"_handleBadgeRemove($event, item)\"> </span>\n </div>\n </ng-container>\n </div>\n </ng-template>\n </ng-container>\n <ng-template #showPlaceholder>\n <div class=\"ax-placeholder\" role=\"textbox\" area-readonly=\"true\">\n {{ placeholder }}\n </div>\n </ng-template>\n </div>\n</div>\n<button\n class=\"ax-general-button ax-button-icon\"\n (click)=\"clear()\"\n [tabIndex]=\"-1\"\n *ngIf=\"value && clearButton && !(disabled || readonly)\">\n <span class=\"ax-icon ax-icon-close\"></span>\n</button>\n<button\n [disabled]=\"disabled\"\n [tabIndex]=\"-1\"\n class=\"ax-general-button ax-button-icon\"\n (click)=\"_handleArrowClickEvent($event)\">\n <ng-container *ngIf=\"isLoading && !this.popover.isOpen; else iconTemplate\">\n <ax-loading type=\"spinner\"></ax-loading>\n </ng-container>\n <ng-template #iconTemplate>\n <span\n class=\"ax-icon ax-icon-chevron-left ax-transition-all\"\n [ngClass]=\"{\n '-ax-rotation-90': !isOpen,\n 'ax-rotation-90': isOpen\n }\"></span>\n </ng-template>\n</button>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<ng-content select=\"ax-suffix\"> </ng-content>\n<ax-popover\n [target]=\"_target\"\n [position]=\"position\"\n [openTrigger]=\"'manual'\"\n [closeTrigger]=\"'clickout'\"\n [adaptivityEnabled]=\"true\"\n (onOpened)=\"_handlePopupOnOpened($event)\"\n (onClosed)=\"_handlePopupOnClosed($event)\">\n <div\n class=\"ax-overlay-pane\"\n (keydown)=\"_handlePopoverKeydown($event)\"\n tabindex=\"0\"\n aria-modal=\"true\"\n cdkTrapFocus\n [class.ax-overlay-actionsheet]=\"_isActionSheet\"\n [class.ax-full]=\"_searchBox || isLazy\"\n [style.min-width.px]=\"_popoverWidth\">\n <div class=\"ax-list\">\n <ax-header *ngIf=\"_isActionSheet\">\n <ax-title>{{ _popoverTitle }}</ax-title>\n <ax-close-button\n class=\"ax-icon\"\n [icon]=\"multiple ? 'ax-icon-done !ax-text-primary-500' : 'ax-icon-close'\"></ax-close-button>\n </ax-header>\n <div class=\"ax-search-box-container\" [class.ax-state-hidden]=\"!_searchBox\" [cdkTrapFocus]=\"_searchBox != null\">\n <ng-content select=\"ax-search-box\"></ng-content>\n </div>\n <div class=\"ax-content ax-list-items-container ax-default\" (scroll)=\"_handleListScroll($event)\" #listContainer>\n <ng-container *ngIf=\"displayItems.length; else tmpEmpty\">\n <ul>\n <ng-container *ngTemplateOutlet=\"tmpTree; context: { list: displayItems }\"> </ng-container>\n <ng-template #tmpTree let-list=\"list\">\n <ng-container *ngFor=\"let item of list; let i = index; trackBy: _trackByFunction\">\n <ng-container *ngIf=\"itemTemplate; else defualtTemplate\">\n <li\n class=\"ax-list-item\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"item[this.valueField]\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, direction: direction }\">\n </ng-container>\n </li>\n </ng-container>\n <ng-template #defualtTemplate>\n <ng-container *ngIf=\"item.children?.length > 0; else tmpItem\">\n <li class=\"ax-list-item-group\" [attr.data-id]=\"item[this.valueField]\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n <ul *ngIf=\"item.children?.length > 0\">\n <ng-container *ngTemplateOutlet=\"tmpTree; context: { list: item.children }\"> </ng-container>\n </ul>\n </li>\n </ng-container>\n <ng-template #tmpItem>\n <ng-container *ngIf=\"!multiple; else multipleTemplate\">\n <li\n class=\"ax-list-item\"\n [class.ax-state-selected]=\"isItemSelected(item)\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"item[this.valueField]\">\n <span> {{ _getItemDisplayTextTemplte(item) }}</span>\n <span class=\"ax-icon ax-icon-done ax-selected-icon\" *ngIf=\"isItemSelected(item)\"></span>\n </li>\n </ng-container>\n <ng-template #multipleTemplate>\n <li\n class=\"ax-list-item\"\n [class.ax-state-selected]=\"isItemSelected(item)\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n [class.ax-state-checkbox]=\"checkbox\"\n [attr.tabindex]=\"i\"\n (click)=\"_handleOnItemClick($event, item)\"\n [attr.data-id]=\"item[this.valueField]\">\n <span>\n <input\n class=\"ax-checkbox\"\n type=\"checkbox\"\n [class.ax-state-disabled]=\"isItemDisabled(item)\"\n *ngIf=\"checkbox\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"isItemDisabled(item)\" />\n <span class=\"ax-checkbox-label\">{{ _getItemDisplayTextTemplte(item) }}</span>\n </span>\n <span\n class=\"ax-icon ax-icon-done ax-selected-icon\"\n *ngIf=\"isItemSelected(item) && !checkbox\"></span>\n </li>\n </ng-template>\n </ng-template>\n </ng-template>\n </ng-container>\n </ng-template>\n </ul>\n </ng-container>\n <ng-container *ngIf=\"isLoading\">\n <ng-container *ngIf=\"loadingTemplate; else elseLoadingTemplate\">\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"> </ng-container>\n </ng-container>\n <ng-template #elseLoadingTemplate>\n <div class=\"ax-flex ax-items-center ax-justify-center ax-p-4\">\n <ax-loading [options]=\"_loadingOptions\"></ax-loading>\n </div>\n </ng-template>\n </ng-container>\n <ng-template #tmpEmpty>\n <ng-container *ngIf=\"!isLoading\">\n <ng-container *ngIf=\"emptyTemplate; else elseEmptyTemplate\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"> </ng-container>\n </ng-container>\n <ng-template #elseEmptyTemplate>\n <div\n class=\"ax-flex ax-items-center ax-justify-center ax-p-4\"\n [innerHTML]=\"\n 'common.no-result-for'\n | trans\n : {\n exp: this._searchBox ? this._searchBox.searchExp : ''\n }\n \"></div>\n </ng-template>\n </ng-container>\n </ng-template>\n </div>\n <!-- <div class=\"ax-list-items-container ax-vertical ax-default\" [class.ax-full]=\"_isMobile\"\n >\n \n </div> -->\n <!-- <div class=\"ax-footer\">footer</div> -->\n </div>\n </div>\n</ax-popover>\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/checkbox';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { A11yModule } from '@angular/cdk/a11y';\n\nimport { AXSelectBoxComponent } from './selectbox.component';\nimport { AXTextBoxModule } from '@acorex/components/textbox';\nimport { AXCommonModule } from '@acorex/components/common';\n\n@NgModule({\n imports: [\n CommonModule,\n AXCommonModule,\n FormsModule,\n AXCheckBoxModule,\n AXBadgeModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXPopoverModule,\n AXLoadingModule,\n A11yModule,\n AXTextBoxModule,\n ],\n exports: [AXSelectBoxComponent],\n declarations: [AXSelectBoxComponent],\n providers: [],\n})\nexport class AXSelectBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAUA;;;;AAIG;AACH,MAsCa,oBAAqB,SAAQ,4BAA4B,CAAA;AA0ChD,IAAA,WAAA,CAAA;AAAiD,IAAA,IAAA,CAAA;AAAiC,IAAA,KAAA,CAAA;AAAuB,IAAA,SAAA,C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YACd,WAAW;YACX,gBAAgB;YAChB,aAAa;YACb,iBAAiB;YACjB,mBAAmB;YACnB,eAAe;YACf,eAAe;YACf,UAAU;AACV,YAAA,eAAe,aAEP,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAInB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAhB1B,YAAY;YACZ,cAAc;YACd,WAAW;YACX,gBAAgB;YAChB,aAAa;YACb,iBAAiB;YACjB,mBAAmB;YACnB,eAAe;YACf,eAAe;YACf,UAAU;YACV,eAAe,CAAA,EAAA,CAAA,CAAA;;2FAMN,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAlB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,WAAW;wBACX,gBAAgB;wBAChB,aAAa;wBACb,iBAAiB;wBACjB,mBAAmB;wBACnB,eAAe;wBACf,eAAe;wBACf,UAAU;wBACV,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,YAAY,EAAE,CAAC,oBAAoB,CAAC;AACpC,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
@@ -220,7 +220,7 @@ class AXTabsComponent extends AXBaseComponent {
220
220
  <div class="ax-items-wrapper">
221
221
  <ng-content select="ax-tab-item"> </ng-content>
222
222
  </div>
223
- `, isInline: true, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:0 1rem;height:var(--ax-size-default);align-items:center;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none;font-weight:500}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border:1px solid;border-color:rgba(var(--ax-color-border-default));border-bottom:transparent;margin-inline-end:.2rem;-webkit-border-top-left-radius:var(--ax-rounded-border-default);-webkit-border-top-right-radius:var(--ax-rounded-border-default);-moz-border-radius-topleft:var(--ax-rounded-border-default);-moz-border-radius-topright:var(--ax-rounded-border-default);border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default)}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));color:rgba(var(--ax-color-primary-500));border-bottom:transparent}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover:after,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active:after{position:absolute;width:100%;height:1px;content:\"\";bottom:-1px;background-color:rgba(var(--ax-color-surface))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
223
+ `, isInline: true, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:0 1rem;height:var(--ax-size-default);align-items:center;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none;font-weight:500}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper{padding:0 .5rem}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore));border:1px solid;border-color:rgba(var(--ax-color-border-default));border-bottom:transparent;margin-inline-end:.2rem;-webkit-border-top-left-radius:var(--ax-rounded-border-default);-webkit-border-top-right-radius:var(--ax-rounded-border-default);-moz-border-radius-topleft:var(--ax-rounded-border-default);-moz-border-radius-topright:var(--ax-rounded-border-default);border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default)}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));color:rgba(var(--ax-color-surface-fore));border-bottom:transparent}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover:after,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active:after{position:absolute;width:100%;height:1px;content:\"\";bottom:-1px;background-color:rgba(var(--ax-color-surface))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
224
224
  }
225
225
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXTabsComponent, decorators: [{
226
226
  type: Component,
@@ -228,7 +228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
228
228
  <div class="ax-items-wrapper">
229
229
  <ng-content select="ax-tab-item"> </ng-content>
230
230
  </div>
231
- `, host: { class: 'ax-tabs' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:0 1rem;height:var(--ax-size-default);align-items:center;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none;font-weight:500}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border:1px solid;border-color:rgba(var(--ax-color-border-default));border-bottom:transparent;margin-inline-end:.2rem;-webkit-border-top-left-radius:var(--ax-rounded-border-default);-webkit-border-top-right-radius:var(--ax-rounded-border-default);-moz-border-radius-topleft:var(--ax-rounded-border-default);-moz-border-radius-topright:var(--ax-rounded-border-default);border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default)}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));color:rgba(var(--ax-color-primary-500));border-bottom:transparent}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover:after,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active:after{position:absolute;width:100%;height:1px;content:\"\";bottom:-1px;background-color:rgba(var(--ax-color-surface))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"] }]
231
+ `, host: { class: 'ax-tabs' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:0 1rem;height:var(--ax-size-default);align-items:center;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none;font-weight:500}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper{padding:0 .5rem}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore));border:1px solid;border-color:rgba(var(--ax-color-border-default));border-bottom:transparent;margin-inline-end:.2rem;-webkit-border-top-left-radius:var(--ax-rounded-border-default);-webkit-border-top-right-radius:var(--ax-rounded-border-default);-moz-border-radius-topleft:var(--ax-rounded-border-default);-moz-border-radius-topright:var(--ax-rounded-border-default);border-top-left-radius:var(--ax-rounded-border-default);border-top-right-radius:var(--ax-rounded-border-default)}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));color:rgba(var(--ax-color-surface-fore));border-bottom:transparent}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover:after,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active:after{position:absolute;width:100%;height:1px;content:\"\";bottom:-1px;background-color:rgba(var(--ax-color-surface))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-default));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"] }]
232
232
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
233
233
  type: ContentChildren,
234
234
  args: [AXTabItemComponent]
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-tabs.mjs","sources":["../../../../projects/acorex/components/tabs/src/tab-item.component.ts","../../../../projects/acorex/components/tabs/src/tabs.component.ts","../../../../projects/acorex/components/tabs/src/tabs.class.ts","../../../../projects/acorex/components/tabs/src/tab-content.directive.ts","../../../../projects/acorex/components/tabs/src/tabs.module.ts","../../../../projects/acorex/components/tabs/acorex-components-tabs.ts"],"sourcesContent":["import { AXBaseComponent, AXComponentOptionChanged, _ClickableComponenetMixin } from '@acorex/components/mixin';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n Input,\n ViewChild,\n TemplateRef,\n Output,\n EventEmitter,\n HostListener,\n ContentChild,\n} from '@angular/core';\n\nexport const AXBaseTabItemMixin = _ClickableComponenetMixin(AXBaseComponent);\n\n@Component({\n selector: 'ax-tab-item',\n template: `\n <ng-container *ngIf=\"headerTemplate; else tabHeader\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: {\n text: this.text,\n key: this.key,\n active: this.active,\n disabled: this.disabled\n }\n }\"></ng-container>\n </ng-container>\n <!-- <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-content select=\"ax-header\">\n </ng-content>\n </ng-container> -->\n <ng-template #tabHeader>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{ text }}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\"> </ng-content>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXTabItemComponent extends AXBaseTabItemMixin {\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\n super(_elementRef, _cdr);\n }\n\n @Input()\n text: string;\n\n @Input()\n key: string;\n\n @ViewChild('content')\n template: TemplateRef<any>;\n\n @ContentChild('tabHeader', { static: true })\n headerTemplate: TemplateRef<any>;\n\n @Output()\n activeChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n private _active: boolean = false;\n @Input()\n public get active(): boolean {\n return this._active;\n }\n public set active(value: boolean) {\n this._setOption({\n name: 'active',\n value,\n afterCallback: () => {\n this._cdr.markForCheck();\n },\n });\n }\n\n @Output()\n disabledChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n private _disabled: boolean = false;\n @Input()\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n this._setOption({\n name: 'disabled',\n value,\n });\n }\n\n @HostListener('click', ['$event'])\n private __hostClick(e: MouseEvent) {\n if (!this.disabled) {\n this.onClick.emit({\n component: this,\n htmlElement: this._getHostElement(),\n nativeEvent: e,\n });\n }\n }\n\n _onOptionChanged(option: AXComponentOptionChanged): void {\n const classListRef = this._getHostElement().classList;\n if (option.name == 'disabled') {\n option.newValue ? classListRef.add('ax-state-disabled') : classListRef.remove('ax-state-disabled');\n }\n if (option.name == 'active') {\n option.newValue ? classListRef.add('ax-state-active') : classListRef.remove('ax-state-active');\n }\n }\n}\n","import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n Input,\n Output,\n EventEmitter,\n HostBinding,\n} from '@angular/core';\nimport { AXTabLook, AXTabStripChangedEvent } from './tabs.class';\nimport { AXTabItemComponent } from './tab-item.component';\nimport { AXTabContentDirective } from './tab-content.directive';\nimport { AXBaseComponent } from '@acorex/components/mixin';\nimport { AXDirection } from '@acorex/components/common';\n\n@Component({\n selector: 'ax-tabs',\n template: `\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\"> </ng-content>\n </div>\n `,\n styleUrls: ['tabs.component.scss'],\n host: { class: 'ax-tabs' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXTabsComponent extends AXBaseComponent {\n @ContentChildren(AXTabItemComponent)\n private _contentTabs!: QueryList<AXTabItemComponent>;\n\n @Input() look: AXTabLook = 'pills';\n\n\n @Input()\n orientation: AXDirection = 'horizontal';\n\n @Input()\n fitParent: boolean = false;\n\n @Input()\n minWidth: boolean = false;\n\n @Input()\n content!: AXTabContentDirective;\n\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\n super(elementRef, cdr);\n }\n\n private _isUserInteraction: boolean = false;\n\n get items(): AXTabItemComponent[] {\n return this._contentTabs.toArray();\n }\n\n private _selectedItem!: AXTabItemComponent;\n\n get selectedIndex(): number {\n return this.items.indexOf(this._selectedItem);\n }\n\n get selectedItem(): AXTabItemComponent {\n return this._selectedItem;\n }\n\n @Output()\n onActiveTabChanged: EventEmitter<AXTabStripChangedEvent> = new EventEmitter<AXTabStripChangedEvent>();\n\n @HostBinding('class')\n private get __hostClass(): string[] {\n const cssClasses: string[] = [];\n cssClasses.push(`ax-look-${this.look}`);\n if (this.orientation == 'horizontal')\n cssClasses.push(`ax-horizontal`);\n else\n cssClasses.push(`ax-vertical`);\n return cssClasses;\n }\n\n\n ngAfterContentInit() {\n this._contentTabs.changes.subscribe((v) => {\n this._bindOnClickEvent();\n });\n }\n\n override ngAfterViewInit() {\n this._bindOnClickEvent();\n }\n\n private _bindOnClickEvent() {\n const selected = this.items.find((c) => c.active) || this.items[0];\n this.select(selected);\n this.items.forEach((c) => {\n if (!c.onClick.length) {\n c.onClick.subscribe((t) => {\n this._isUserInteraction = t.nativeEvent?.isTrusted;\n this.select(c);\n });\n }\n });\n }\n\n select(tab: number | AXTabItemComponent) {\n let tabItem: AXTabItemComponent =\n typeof tab == 'number' ? this.items[tab] : tab;\n //\n if (!tab || this.selectedItem == tabItem) return;\n this._selectedItem = tabItem;\n //\n this.items.forEach((c) => (c.active = false));\n tabItem.active = true;\n if (this.content) {\n this.content.portal = tabItem.template;\n }\n this._cdr.markForCheck();\n this.onActiveTabChanged.emit({\n component: this,\n isUserInteraction: this._isUserInteraction,\n tab: tabItem,\n index: this.selectedIndex,\n });\n this._isUserInteraction = false;\n }\n}\n","import { AXEvent } from '@acorex/components/common';\nimport { AXTabItemComponent } from './tab-item.component';\n\nexport class AXTabStripChangedEvent extends AXEvent {\n tab: AXTabItemComponent;\n index: number;\n}\n\n\nexport type AXTabLook =\n | 'pills'\n | 'pills-color'\n | 'with-line'\n | 'classic'\n | 'custom';","import { Directive, TemplateRef, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[axTabContent]',\n exportAs: 'axTabContent',\n inputs: ['portal: axTabContent'],\n})\nexport class AXTabContentDirective {\n constructor(private _viewContainerRef: ViewContainerRef) {}\n\n private _portal: TemplateRef<any> | undefined;\n public get portal(): TemplateRef<any> | undefined{\n return this._portal;\n }\n public set portal(v: TemplateRef<any> | undefined) {\n //;\n if (v) {\n this._portal = v;\n this._viewContainerRef.clear();\n const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTabContentDirective } from './tab-content.directive';\nimport { AXTabsComponent } from './tabs.component';\nimport { AXTabItemComponent } from './tab-item.component';\n\nconst COMPONENT = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];\nconst MODULES = [CommonModule, PortalModule, AXDecoratorModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXTabsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAgBa,kBAAkB,GAAG,yBAAyB,CAAC,eAAe,EAAE;AAE7E,MA+Ba,kBAAmB,SAAQ,kBAAkB,CAAA;IACxD,WAAY,CAAA,WAAuB,EAAE,IAAuB,EAAA;AAC1D,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;KAC1B;AAGD,IAAA,IAAI,CAAS;AAGb,IAAA,GAAG,CAAS;AAGZ,IAAA,QAAQ,CAAmB;AAG3B,IAAA,cAAc,CAAmB;AAGjC,IAAA,YAAY,GAA0B,IAAI,YAAY,EAAW,CAAC;IAE1D,OAAO,GAAY,KAAK,CAAC;AACjC,IAAA,IACW,MAAM,GAAA;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;KACrB;IACD,IAAW,MAAM,CAAC,KAAc,EAAA;QAC9B,IAAI,CAAC,UAAU,CAAC;AACd,YAAA,IAAI,EAAE,QAAQ;YACd,KAAK;YACL,aAAa,EAAE,MAAK;AAClB,gBAAA,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;aAC1B;AACF,SAAA,CAAC,CAAC;KACJ;AAGD,IAAA,cAAc,GAA0B,IAAI,YAAY,EAAW,CAAC;IAC5D,SAAS,GAAY,KAAK,CAAC;AACnC,IAAA,IACW,QAAQ,GAAA;QACjB,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C;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-tabs.mjs","sources":["../../../../projects/acorex/components/tabs/src/tab-item.component.ts","../../../../projects/acorex/components/tabs/src/tabs.component.ts","../../../../projects/acorex/components/tabs/src/tabs.class.ts","../../../../projects/acorex/components/tabs/src/tab-content.directive.ts","../../../../projects/acorex/components/tabs/src/tabs.module.ts","../../../../projects/acorex/components/tabs/acorex-components-tabs.ts"],"sourcesContent":["import { AXBaseComponent, AXComponentOptionChanged, _ClickableComponenetMixin } from '@acorex/components/mixin';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n Input,\n ViewChild,\n TemplateRef,\n Output,\n EventEmitter,\n HostListener,\n ContentChild,\n} from '@angular/core';\n\nexport const AXBaseTabItemMixin = _ClickableComponenetMixin(AXBaseComponent);\n\n@Component({\n selector: 'ax-tab-item',\n template: `\n <ng-container *ngIf=\"headerTemplate; else tabHeader\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: {\n text: this.text,\n key: this.key,\n active: this.active,\n disabled: this.disabled\n }\n }\"></ng-container>\n </ng-container>\n <!-- <ng-container *ngIf=\"headerTemplate;else header\">\n <ng-content select=\"ax-header\">\n </ng-content>\n </ng-container> -->\n <ng-template #tabHeader>\n <ng-content select=\"ax-prefix\"></ng-content>\n <span>{{ text }}</span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </ng-template>\n <ng-template #content>\n <ng-content select=\"ax-content\"> </ng-content>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXTabItemComponent extends AXBaseTabItemMixin {\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\n super(_elementRef, _cdr);\n }\n\n @Input()\n text: string;\n\n @Input()\n key: string;\n\n @ViewChild('content')\n template: TemplateRef<any>;\n\n @ContentChild('tabHeader', { static: true })\n headerTemplate: TemplateRef<any>;\n\n @Output()\n activeChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n private _active: boolean = false;\n @Input()\n public get active(): boolean {\n return this._active;\n }\n public set active(value: boolean) {\n this._setOption({\n name: 'active',\n value,\n afterCallback: () => {\n this._cdr.markForCheck();\n },\n });\n }\n\n @Output()\n disabledChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n private _disabled: boolean = false;\n @Input()\n public get disabled(): boolean {\n return this._disabled;\n }\n public set disabled(value: boolean) {\n this._setOption({\n name: 'disabled',\n value,\n });\n }\n\n @HostListener('click', ['$event'])\n private __hostClick(e: MouseEvent) {\n if (!this.disabled) {\n this.onClick.emit({\n component: this,\n htmlElement: this._getHostElement(),\n nativeEvent: e,\n });\n }\n }\n\n _onOptionChanged(option: AXComponentOptionChanged): void {\n const classListRef = this._getHostElement().classList;\n if (option.name == 'disabled') {\n option.newValue ? classListRef.add('ax-state-disabled') : classListRef.remove('ax-state-disabled');\n }\n if (option.name == 'active') {\n option.newValue ? classListRef.add('ax-state-active') : classListRef.remove('ax-state-active');\n }\n }\n}\n","import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n ContentChildren,\n QueryList,\n Input,\n Output,\n EventEmitter,\n HostBinding,\n} from '@angular/core';\nimport { AXTabLook, AXTabStripChangedEvent } from './tabs.class';\nimport { AXTabItemComponent } from './tab-item.component';\nimport { AXTabContentDirective } from './tab-content.directive';\nimport { AXBaseComponent } from '@acorex/components/mixin';\nimport { AXDirection } from '@acorex/components/common';\n\n@Component({\n selector: 'ax-tabs',\n template: `\n <div class=\"ax-items-wrapper\">\n <ng-content select=\"ax-tab-item\"> </ng-content>\n </div>\n `,\n styleUrls: ['tabs.component.scss'],\n host: { class: 'ax-tabs' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXTabsComponent extends AXBaseComponent {\n @ContentChildren(AXTabItemComponent)\n private _contentTabs!: QueryList<AXTabItemComponent>;\n\n @Input() look: AXTabLook = 'pills';\n\n\n @Input()\n orientation: AXDirection = 'horizontal';\n\n @Input()\n fitParent: boolean = false;\n\n @Input()\n minWidth: boolean = false;\n\n @Input()\n content!: AXTabContentDirective;\n\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\n super(elementRef, cdr);\n }\n\n private _isUserInteraction: boolean = false;\n\n get items(): AXTabItemComponent[] {\n return this._contentTabs.toArray();\n }\n\n private _selectedItem!: AXTabItemComponent;\n\n get selectedIndex(): number {\n return this.items.indexOf(this._selectedItem);\n }\n\n get selectedItem(): AXTabItemComponent {\n return this._selectedItem;\n }\n\n @Output()\n onActiveTabChanged: EventEmitter<AXTabStripChangedEvent> = new EventEmitter<AXTabStripChangedEvent>();\n\n @HostBinding('class')\n private get __hostClass(): string[] {\n const cssClasses: string[] = [];\n cssClasses.push(`ax-look-${this.look}`);\n if (this.orientation == 'horizontal')\n cssClasses.push(`ax-horizontal`);\n else\n cssClasses.push(`ax-vertical`);\n return cssClasses;\n }\n\n\n ngAfterContentInit() {\n this._contentTabs.changes.subscribe((v) => {\n this._bindOnClickEvent();\n });\n }\n\n override ngAfterViewInit() {\n this._bindOnClickEvent();\n }\n\n private _bindOnClickEvent() {\n const selected = this.items.find((c) => c.active) || this.items[0];\n this.select(selected);\n this.items.forEach((c) => {\n if (!c.onClick.length) {\n c.onClick.subscribe((t) => {\n this._isUserInteraction = t.nativeEvent?.isTrusted;\n this.select(c);\n });\n }\n });\n }\n\n select(tab: number | AXTabItemComponent) {\n let tabItem: AXTabItemComponent =\n typeof tab == 'number' ? this.items[tab] : tab;\n //\n if (!tab || this.selectedItem == tabItem) return;\n this._selectedItem = tabItem;\n //\n this.items.forEach((c) => (c.active = false));\n tabItem.active = true;\n if (this.content) {\n this.content.portal = tabItem.template;\n }\n this._cdr.markForCheck();\n this.onActiveTabChanged.emit({\n component: this,\n isUserInteraction: this._isUserInteraction,\n tab: tabItem,\n index: this.selectedIndex,\n });\n this._isUserInteraction = false;\n }\n}\n","import { AXEvent } from '@acorex/components/common';\nimport { AXTabItemComponent } from './tab-item.component';\n\nexport class AXTabStripChangedEvent extends AXEvent {\n tab: AXTabItemComponent;\n index: number;\n}\n\n\nexport type AXTabLook =\n | 'pills'\n | 'pills-color'\n | 'with-line'\n | 'classic'\n | 'custom';","import { Directive, TemplateRef, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[axTabContent]',\n exportAs: 'axTabContent',\n inputs: ['portal: axTabContent'],\n})\nexport class AXTabContentDirective {\n constructor(private _viewContainerRef: ViewContainerRef) {}\n\n private _portal: TemplateRef<any> | undefined;\n public get portal(): TemplateRef<any> | undefined{\n return this._portal;\n }\n public set portal(v: TemplateRef<any> | undefined) {\n //;\n if (v) {\n this._portal = v;\n this._viewContainerRef.clear();\n const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTabContentDirective } from './tab-content.directive';\nimport { AXTabsComponent } from './tabs.component';\nimport { AXTabItemComponent } from './tab-item.component';\n\nconst COMPONENT = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];\nconst MODULES = [CommonModule, PortalModule, AXDecoratorModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXTabsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAgBa,kBAAkB,GAAG,yBAAyB,CAAC,eAAe,EAAE;AAE7E,MA+Ba,kBAAmB,SAAQ,kBAAkB,CAAA;IACxD,WAAY,C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EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,iBATN,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,CAC5D,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAD3C,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAShE,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAJR,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIX,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,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;;;AChBD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "7.1.51",
3
+ "version": "7.1.52",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.3",
6
6
  "@angular/core": "^16.1.3",
@@ -121,18 +121,18 @@
121
121
  "esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
122
122
  "default": "./fesm2022/acorex-components-data-pager.mjs"
123
123
  },
124
- "./date-picker": {
125
- "types": "./date-picker/index.d.ts",
126
- "esm2022": "./esm2022/date-picker/acorex-components-date-picker.mjs",
127
- "esm": "./esm2022/date-picker/acorex-components-date-picker.mjs",
128
- "default": "./fesm2022/acorex-components-date-picker.mjs"
129
- },
130
124
  "./data-table": {
131
125
  "types": "./data-table/index.d.ts",
132
126
  "esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
133
127
  "esm": "./esm2022/data-table/acorex-components-data-table.mjs",
134
128
  "default": "./fesm2022/acorex-components-data-table.mjs"
135
129
  },
130
+ "./date-picker": {
131
+ "types": "./date-picker/index.d.ts",
132
+ "esm2022": "./esm2022/date-picker/acorex-components-date-picker.mjs",
133
+ "esm": "./esm2022/date-picker/acorex-components-date-picker.mjs",
134
+ "default": "./fesm2022/acorex-components-date-picker.mjs"
135
+ },
136
136
  "./decorators": {
137
137
  "types": "./decorators/index.d.ts",
138
138
  "esm2022": "./esm2022/decorators/acorex-components-decorators.mjs",
@@ -157,6 +157,12 @@
157
157
  "esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
158
158
  "default": "./fesm2022/acorex-components-dropdown.mjs"
159
159
  },
160
+ "./form": {
161
+ "types": "./form/index.d.ts",
162
+ "esm2022": "./esm2022/form/acorex-components-form.mjs",
163
+ "esm": "./esm2022/form/acorex-components-form.mjs",
164
+ "default": "./fesm2022/acorex-components-form.mjs"
165
+ },
160
166
  "./image": {
161
167
  "types": "./image/index.d.ts",
162
168
  "esm2022": "./esm2022/image/acorex-components-image.mjs",
@@ -247,29 +253,29 @@
247
253
  "esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
248
254
  "default": "./fesm2022/acorex-components-range-slider.mjs"
249
255
  },
250
- "./form": {
251
- "types": "./form/index.d.ts",
252
- "esm2022": "./esm2022/form/acorex-components-form.mjs",
253
- "esm": "./esm2022/form/acorex-components-form.mjs",
254
- "default": "./fesm2022/acorex-components-form.mjs"
255
- },
256
256
  "./rating": {
257
257
  "types": "./rating/index.d.ts",
258
258
  "esm2022": "./esm2022/rating/acorex-components-rating.mjs",
259
259
  "esm": "./esm2022/rating/acorex-components-rating.mjs",
260
260
  "default": "./fesm2022/acorex-components-rating.mjs"
261
261
  },
262
+ "./result": {
263
+ "types": "./result/index.d.ts",
264
+ "esm2022": "./esm2022/result/acorex-components-result.mjs",
265
+ "esm": "./esm2022/result/acorex-components-result.mjs",
266
+ "default": "./fesm2022/acorex-components-result.mjs"
267
+ },
262
268
  "./search-box": {
263
269
  "types": "./search-box/index.d.ts",
264
270
  "esm2022": "./esm2022/search-box/acorex-components-search-box.mjs",
265
271
  "esm": "./esm2022/search-box/acorex-components-search-box.mjs",
266
272
  "default": "./fesm2022/acorex-components-search-box.mjs"
267
273
  },
268
- "./result": {
269
- "types": "./result/index.d.ts",
270
- "esm2022": "./esm2022/result/acorex-components-result.mjs",
271
- "esm": "./esm2022/result/acorex-components-result.mjs",
272
- "default": "./fesm2022/acorex-components-result.mjs"
274
+ "./select-box": {
275
+ "types": "./select-box/index.d.ts",
276
+ "esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
277
+ "esm": "./esm2022/select-box/acorex-components-select-box.mjs",
278
+ "default": "./fesm2022/acorex-components-select-box.mjs"
273
279
  },
274
280
  "./selection-list": {
275
281
  "types": "./selection-list/index.d.ts",
@@ -283,11 +289,11 @@
283
289
  "esm": "./esm2022/switch/acorex-components-switch.mjs",
284
290
  "default": "./fesm2022/acorex-components-switch.mjs"
285
291
  },
286
- "./select-box": {
287
- "types": "./select-box/index.d.ts",
288
- "esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
289
- "esm": "./esm2022/select-box/acorex-components-select-box.mjs",
290
- "default": "./fesm2022/acorex-components-select-box.mjs"
292
+ "./tabs": {
293
+ "types": "./tabs/index.d.ts",
294
+ "esm2022": "./esm2022/tabs/acorex-components-tabs.mjs",
295
+ "esm": "./esm2022/tabs/acorex-components-tabs.mjs",
296
+ "default": "./fesm2022/acorex-components-tabs.mjs"
291
297
  },
292
298
  "./tag": {
293
299
  "types": "./tag/index.d.ts",
@@ -336,12 +342,6 @@
336
342
  "esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
337
343
  "esm": "./esm2022/uploader/acorex-components-uploader.mjs",
338
344
  "default": "./fesm2022/acorex-components-uploader.mjs"
339
- },
340
- "./tabs": {
341
- "types": "./tabs/index.d.ts",
342
- "esm2022": "./esm2022/tabs/acorex-components-tabs.mjs",
343
- "esm": "./esm2022/tabs/acorex-components-tabs.mjs",
344
- "default": "./fesm2022/acorex-components-tabs.mjs"
345
345
  }
346
346
  },
347
347
  "sideEffects": false
@@ -8,12 +8,11 @@ import * as i6 from "@acorex/components/badge";
8
8
  import * as i7 from "@acorex/components/decorators";
9
9
  import * as i8 from "@acorex/core/translation";
10
10
  import * as i9 from "@acorex/components/popover";
11
- import * as i10 from "@acorex/components/button";
12
- import * as i11 from "@acorex/components/loading";
13
- import * as i12 from "@angular/cdk/a11y";
14
- import * as i13 from "@acorex/components/textbox";
11
+ import * as i10 from "@acorex/components/loading";
12
+ import * as i11 from "@angular/cdk/a11y";
13
+ import * as i12 from "@acorex/components/textbox";
15
14
  export declare class AXSelectBoxModule {
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXDecoratorModule, typeof i8.AXTranslationModule, typeof i9.AXPopoverModule, typeof i10.AXButtonModule, typeof i11.AXLoadingModule, typeof i12.A11yModule, typeof i13.AXTextBoxModule], [typeof i1.AXSelectBoxComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXDecoratorModule, typeof i8.AXTranslationModule, typeof i9.AXPopoverModule, typeof i10.AXLoadingModule, typeof i11.A11yModule, typeof i12.AXTextBoxModule], [typeof i1.AXSelectBoxComponent]>;
18
17
  static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectBoxModule>;
19
18
  }