@acorex/components 21.0.0-next.47 → 21.0.0-next.48
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.
- package/accordion/index.d.ts +0 -1
- package/button-group/index.d.ts +6 -4
- package/chips/index.d.ts +3 -8
- package/data-table/index.d.ts +4 -253
- package/dialog/index.d.ts +1 -1
- package/fesm2022/acorex-components-accordion.mjs +16 -21
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +12 -12
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +13 -13
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +11 -10
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +12 -12
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +23 -19
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +17 -17
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +10 -10
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +12 -14
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +12 -10
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +10 -10
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +13 -13
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +9 -9
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +30 -30
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +9 -9
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +32 -32
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +51 -51
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +184 -184
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +3 -3
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +33 -33
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +50 -486
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +9 -9
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +9 -9
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +43 -36
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +15 -14
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +15 -16
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +18 -16
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +11 -11
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +16 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +32 -24
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -13
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +44 -44
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +9 -9
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +8 -6
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +29 -11
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +9 -9
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +23 -23
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +14 -14
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +41 -41
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +21 -21
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-iYSPzoLn.mjs → acorex-components-modal-acorex-components-modal-WaTo81yi.mjs} +22 -22
- package/fesm2022/acorex-components-modal-acorex-components-modal-WaTo81yi.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-D61_wSet.mjs +214 -0
- package/fesm2022/acorex-components-modal-modal-content.component-D61_wSet.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +16 -23
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +9 -9
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +34 -39
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +13 -13
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +9 -9
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +15 -15
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +11 -11
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +13 -13
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +11 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +8 -8
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +10 -10
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +20 -35
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +8 -8
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +9 -9
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +56 -56
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +43 -43
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +16 -10
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +11 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +9 -9
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +14 -14
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +10 -10
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +14 -14
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +14 -14
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -14
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +15 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +9 -9
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +9 -9
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -12
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +7 -7
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +12 -12
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +14 -14
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +8 -8
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +11 -11
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs +10 -10
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +41 -103
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +16 -16
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +42 -42
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/grid-layout-builder/index.d.ts +1 -2
- package/kbd/index.d.ts +13 -7
- package/loading/index.d.ts +1 -1
- package/notification/index.d.ts +0 -2
- package/package.json +7 -7
- package/paint/index.d.ts +1 -6
- package/rate-picker/index.d.ts +5 -15
- package/tree-view/index.d.ts +5 -29
- package/fesm2022/acorex-components-modal-acorex-components-modal-iYSPzoLn.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-sZWKhYM-.mjs +0 -212
- package/fesm2022/acorex-components-modal-modal-content.component-sZWKhYM-.mjs.map +0 -1
package/accordion/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ declare class AXAccordionGroupComponent {
|
|
|
10
10
|
activeIndex: _angular_core.ModelSignal<number | number[]>;
|
|
11
11
|
look: _angular_core.InputSignal<string>;
|
|
12
12
|
collapsedOnItemClick: _angular_core.InputSignal<boolean>;
|
|
13
|
-
private get __hostClass();
|
|
14
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXAccordionGroupComponent, never>;
|
|
15
14
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXAccordionGroupComponent, "ax-accordion-group", never, { "accordion": { "alias": "accordion"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "collapsedOnItemClick": { "alias": "collapsedOnItemClick"; "required": false; "isSignal": true; }; }, { "activeIndex": "activeIndexChange"; }, ["content"], ["ax-accordion-item"], true, never>;
|
|
16
15
|
}
|
package/button-group/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as polytype from 'polytype';
|
|
2
|
-
import { MXInteractiveComponent, MXColorLookComponent, AXClickEvent, AXSelectionMode, AXStyleColorType, MXColorComponent } from '@acorex/cdk/common';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as polytype from 'polytype';
|
|
4
|
+
import { MXInteractiveComponent, MXColorLookComponent, AXClickEvent, AXSelectionMode, AXStyleColorType, MXColorComponent } from '@acorex/cdk/common';
|
|
5
5
|
|
|
6
6
|
declare const AXButtonGroupComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorLookComponent]>;
|
|
7
7
|
/**
|
|
@@ -12,6 +12,7 @@ declare const AXButtonGroupComponent_base: polytype.Polytype.ClusteredConstructo
|
|
|
12
12
|
declare class AXButtonGroupComponent extends AXButtonGroupComponent_base {
|
|
13
13
|
#private;
|
|
14
14
|
readonly fitParent: i0.InputSignal<boolean>;
|
|
15
|
+
readonly customClass: i0.InputSignal<string>;
|
|
15
16
|
/**
|
|
16
17
|
* Fires when any button in the group is clicked.
|
|
17
18
|
*
|
|
@@ -82,7 +83,7 @@ declare class AXButtonGroupComponent extends AXButtonGroupComponent_base {
|
|
|
82
83
|
*/
|
|
83
84
|
private __hostClick;
|
|
84
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "fitParent": { "alias": "fitParent"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; "selectionChange": "selectionChange"; "selectedButtonChange": "selectedButtonChange"; }, ["_contentButtons"], ["ax-button-group-item"], true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "fitParent": { "alias": "fitParent"; "required": false; "isSignal": true; }; "customClass": { "alias": "class"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; "selectionChange": "selectionChange"; "selectedButtonChange": "selectedButtonChange"; }, ["_contentButtons"], ["ax-button-group-item"], true, never>;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
interface AXButtonItemListItem {
|
|
@@ -109,6 +110,7 @@ declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base
|
|
|
109
110
|
* @ignore
|
|
110
111
|
*/
|
|
111
112
|
private _selected;
|
|
113
|
+
readonly customClass: i0.ModelSignal<string>;
|
|
112
114
|
/**
|
|
113
115
|
* Indicates whether the button item is selected.
|
|
114
116
|
*
|
|
@@ -157,7 +159,7 @@ declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base
|
|
|
157
159
|
*/
|
|
158
160
|
tabindex: string;
|
|
159
161
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupItemComponent, never>;
|
|
160
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupItemComponent, "ax-button-group-item", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "divided": { "alias": "divided"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "disabledChange": "disabledChange"; }, never, ["*"], true, never>;
|
|
162
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupItemComponent, "ax-button-group-item", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "customClass": { "alias": "class"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; }; "divided": { "alias": "divided"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "disabledChange": "disabledChange"; "customClass": "classChange"; }, never, ["*"], true, never>;
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
declare class AXButtonGroupModule {
|
package/chips/index.d.ts
CHANGED
|
@@ -1,29 +1,25 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as i1 from '@acorex/cdk/common';
|
|
3
|
-
import {
|
|
3
|
+
import { MXColorLookComponent } from '@acorex/cdk/common';
|
|
4
4
|
|
|
5
|
-
type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;
|
|
6
|
-
type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;
|
|
7
5
|
/**
|
|
8
6
|
* A component for displaying and managing a set of chips.
|
|
9
7
|
*
|
|
10
8
|
* @category Components
|
|
11
9
|
*/
|
|
12
|
-
declare class AXChipsComponent extends
|
|
10
|
+
declare class AXChipsComponent extends MXColorLookComponent {
|
|
13
11
|
/**
|
|
14
12
|
* The text displayed on the chips.
|
|
15
13
|
*
|
|
16
14
|
* @defaultValue ''
|
|
17
15
|
*/
|
|
18
16
|
text: i0.ModelSignal<string>;
|
|
19
|
-
look: i0.ModelSignal<AXChipsLookType>;
|
|
20
|
-
size: i0.ModelSignal<AXChipsSizeType>;
|
|
21
17
|
/**
|
|
22
18
|
* @ignore
|
|
23
19
|
*/
|
|
24
20
|
private get __hostClass();
|
|
25
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "text": "textChange"; }, never, ["ax-prefix", "ax-suffix"], true, [{ directive: typeof i1.AXRippleDirective; inputs: {}; outputs: {}; }]>;
|
|
27
23
|
}
|
|
28
24
|
|
|
29
25
|
declare class AXChipsModule {
|
|
@@ -33,4 +29,3 @@ declare class AXChipsModule {
|
|
|
33
29
|
}
|
|
34
30
|
|
|
35
31
|
export { AXChipsComponent, AXChipsModule };
|
|
36
|
-
export type { AXChipsLookType, AXChipsSizeType };
|
package/data-table/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@acorex/cdk/common';
|
|
2
|
-
import { AXEvent, MXBaseComponent, AXDataSource, AXSortOrder, AXStyleLookType, AXButtonClickEvent, AXItemClickEvent, AXClickEvent, AXValueChangedEvent
|
|
2
|
+
import { AXEvent, MXBaseComponent, AXDataSource, AXSortOrder, AXStyleLookType, AXButtonClickEvent, AXItemClickEvent, AXClickEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, EventEmitter, ChangeDetectorRef, OnInit,
|
|
4
|
+
import { TemplateRef, EventEmitter, ChangeDetectorRef, OnInit, AfterViewInit, WritableSignal, Signal, QueryList } from '@angular/core';
|
|
5
5
|
import * as i11 from '@acorex/core/format';
|
|
6
6
|
import { AXFormatOptions } from '@acorex/core/format';
|
|
7
7
|
import * as i8 from '@acorex/components/button';
|
|
@@ -592,255 +592,6 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
592
592
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never, never, true, never>;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
/**
|
|
596
|
-
* Component for a data table with infinite scrolling capabilities.
|
|
597
|
-
*
|
|
598
|
-
* @category Components
|
|
599
|
-
*/
|
|
600
|
-
declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable implements OnInit, DoCheck {
|
|
601
|
-
private document;
|
|
602
|
-
private platformID;
|
|
603
|
-
private ngZone;
|
|
604
|
-
/**
|
|
605
|
-
* @ignore
|
|
606
|
-
*/
|
|
607
|
-
protected columns: QueryList<AXDataTableColumnComponent>;
|
|
608
|
-
/**
|
|
609
|
-
* @ignore
|
|
610
|
-
*/
|
|
611
|
-
protected startFixedColumn(): AXDataTableColumnComponent[];
|
|
612
|
-
/**
|
|
613
|
-
* @ignore
|
|
614
|
-
*/
|
|
615
|
-
protected endFixedColumn(): AXDataTableColumnComponent[];
|
|
616
|
-
/**
|
|
617
|
-
* @ignore
|
|
618
|
-
*/
|
|
619
|
-
protected notFixedColumn(): AXDataTableColumnComponent[];
|
|
620
|
-
/**
|
|
621
|
-
* @ignore
|
|
622
|
-
*/
|
|
623
|
-
protected notFixedColumnCount(): number;
|
|
624
|
-
/**
|
|
625
|
-
* @ignore
|
|
626
|
-
*/
|
|
627
|
-
protected fixedColumnCount(): number;
|
|
628
|
-
/**
|
|
629
|
-
* Emits an event when the page changes.
|
|
630
|
-
*
|
|
631
|
-
* @event
|
|
632
|
-
*/
|
|
633
|
-
onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
634
|
-
/**
|
|
635
|
-
* @ignore
|
|
636
|
-
*/
|
|
637
|
-
private clickSubject;
|
|
638
|
-
/**
|
|
639
|
-
* Emits an event when a row is clicked.
|
|
640
|
-
*
|
|
641
|
-
* @event
|
|
642
|
-
*/
|
|
643
|
-
onRowClick: EventEmitter<AXDataTableRowClick>;
|
|
644
|
-
/**
|
|
645
|
-
* Emits an event when a row is double-clicked.
|
|
646
|
-
*
|
|
647
|
-
* @event
|
|
648
|
-
*/
|
|
649
|
-
onRowDbClick: EventEmitter<AXDataTableRowDbClick>;
|
|
650
|
-
/**
|
|
651
|
-
* Template for rendering rows in the data table.
|
|
652
|
-
*/
|
|
653
|
-
rowTemplate?: TemplateRef<unknown>;
|
|
654
|
-
/**
|
|
655
|
-
* Template to display when the data table is empty.
|
|
656
|
-
*/
|
|
657
|
-
emptyTemplate?: TemplateRef<unknown>;
|
|
658
|
-
/**
|
|
659
|
-
* Controls the visibility of the table header.
|
|
660
|
-
*
|
|
661
|
-
* @defaultValue true
|
|
662
|
-
*/
|
|
663
|
-
showHeader: boolean;
|
|
664
|
-
/**
|
|
665
|
-
* Defines the mode for fetching data.
|
|
666
|
-
*
|
|
667
|
-
* @defaultValue 'auto'
|
|
668
|
-
*/
|
|
669
|
-
fetchDataMode: 'auto' | 'manual';
|
|
670
|
-
/**
|
|
671
|
-
* Configuration for the loading state of the data table.
|
|
672
|
-
*
|
|
673
|
-
* @defaultValue { enabled: true, animation: true }
|
|
674
|
-
*/
|
|
675
|
-
loading: {
|
|
676
|
-
enabled: boolean;
|
|
677
|
-
animation: boolean;
|
|
678
|
-
loadingTemplate?: TemplateRef<unknown>;
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* @ignore
|
|
682
|
-
*/
|
|
683
|
-
protected listDataSource: AXListDataSource<unknown>;
|
|
684
|
-
/**
|
|
685
|
-
* @ignore
|
|
686
|
-
*/
|
|
687
|
-
protected isLoading: WritableSignal<boolean>;
|
|
688
|
-
/**
|
|
689
|
-
* @ignore
|
|
690
|
-
*/
|
|
691
|
-
protected hasItems: boolean;
|
|
692
|
-
/**
|
|
693
|
-
* @ignore
|
|
694
|
-
*/
|
|
695
|
-
protected totalRows: number;
|
|
696
|
-
/**
|
|
697
|
-
* @ignore
|
|
698
|
-
*/
|
|
699
|
-
protected currentPage: number;
|
|
700
|
-
/**
|
|
701
|
-
* @ignore
|
|
702
|
-
*/
|
|
703
|
-
protected totalPages: number;
|
|
704
|
-
/**
|
|
705
|
-
* @ignore
|
|
706
|
-
*/
|
|
707
|
-
protected startRowIndex: number;
|
|
708
|
-
/**
|
|
709
|
-
* @ignore
|
|
710
|
-
*/
|
|
711
|
-
private lastIndex;
|
|
712
|
-
/**
|
|
713
|
-
* Event emitted when the focused row changes.
|
|
714
|
-
*
|
|
715
|
-
* @event
|
|
716
|
-
*/
|
|
717
|
-
focusedRowChange: EventEmitter<unknown>;
|
|
718
|
-
/**
|
|
719
|
-
* @ignore
|
|
720
|
-
*/
|
|
721
|
-
private _focusedRow;
|
|
722
|
-
/**
|
|
723
|
-
* Retrieves the currently focused row.
|
|
724
|
-
*/
|
|
725
|
-
get focusedRow(): unknown;
|
|
726
|
-
/**
|
|
727
|
-
* Sets the currently focused row and emits a change event.
|
|
728
|
-
*
|
|
729
|
-
* @param v - The row data to be set as focused.
|
|
730
|
-
*/
|
|
731
|
-
set focusedRow(v: unknown);
|
|
732
|
-
/**
|
|
733
|
-
* Defines the height of each item in the table.
|
|
734
|
-
*
|
|
735
|
-
* @default 40
|
|
736
|
-
*/
|
|
737
|
-
itemHeight: number | 'auto';
|
|
738
|
-
/**
|
|
739
|
-
* @ignore
|
|
740
|
-
*/
|
|
741
|
-
protected width: string;
|
|
742
|
-
/**
|
|
743
|
-
* @ignore
|
|
744
|
-
*/
|
|
745
|
-
protected height: string;
|
|
746
|
-
/**
|
|
747
|
-
* @ignore
|
|
748
|
-
*/
|
|
749
|
-
private viewport;
|
|
750
|
-
/**
|
|
751
|
-
* Emitted when the scroll index changes in the table.
|
|
752
|
-
*
|
|
753
|
-
* @event
|
|
754
|
-
*/
|
|
755
|
-
onScrolledIndexChanged: EventEmitter<AXDataTableScrollIndexChanged>;
|
|
756
|
-
trackByIdx(i: any): any;
|
|
757
|
-
/**
|
|
758
|
-
* @ignore
|
|
759
|
-
*/
|
|
760
|
-
ngOnInit(): void;
|
|
761
|
-
/**
|
|
762
|
-
* @ignore
|
|
763
|
-
*/
|
|
764
|
-
headerContainer: ElementRef<HTMLDivElement>;
|
|
765
|
-
/**
|
|
766
|
-
* @ignore
|
|
767
|
-
*/
|
|
768
|
-
footerContainer: ElementRef;
|
|
769
|
-
/**
|
|
770
|
-
* @ignore
|
|
771
|
-
*/
|
|
772
|
-
scrollableContainer: ElementRef<HTMLDivElement>;
|
|
773
|
-
/**
|
|
774
|
-
* @ignore
|
|
775
|
-
*/
|
|
776
|
-
protected _handleOnscrolledIndexChange(e: number): void;
|
|
777
|
-
/**
|
|
778
|
-
* @ignore
|
|
779
|
-
*/
|
|
780
|
-
ngDoCheck(): void;
|
|
781
|
-
/**
|
|
782
|
-
* @ignore
|
|
783
|
-
*/
|
|
784
|
-
private updateTotalCount;
|
|
785
|
-
/**
|
|
786
|
-
* @ignore
|
|
787
|
-
*/
|
|
788
|
-
private updateHeight;
|
|
789
|
-
/**
|
|
790
|
-
* @ignore
|
|
791
|
-
*/
|
|
792
|
-
private updateWidth;
|
|
793
|
-
/**
|
|
794
|
-
* @ignore
|
|
795
|
-
*/
|
|
796
|
-
private updateHScroll;
|
|
797
|
-
/**
|
|
798
|
-
* @ignore
|
|
799
|
-
*/
|
|
800
|
-
private copyFixedColumns;
|
|
801
|
-
/**
|
|
802
|
-
* Updates the viewport by checking its size and scrolling to the last index.
|
|
803
|
-
* Marks the component for change detection.
|
|
804
|
-
* @ignore
|
|
805
|
-
*/
|
|
806
|
-
render(): void;
|
|
807
|
-
/**
|
|
808
|
-
* Resets the index to zero and refreshes the data source.
|
|
809
|
-
* @ignore
|
|
810
|
-
*/
|
|
811
|
-
refresh(): void;
|
|
812
|
-
/**
|
|
813
|
-
* @ignore
|
|
814
|
-
*/
|
|
815
|
-
protected handleRowClick(event: MouseEvent, item: unknown): void;
|
|
816
|
-
/**
|
|
817
|
-
* @ignore
|
|
818
|
-
*/
|
|
819
|
-
private handleRowSingleClick;
|
|
820
|
-
/**
|
|
821
|
-
* @ignore
|
|
822
|
-
*/
|
|
823
|
-
protected handleRowDoubleClick(e: MouseEvent, item: unknown): void;
|
|
824
|
-
/**
|
|
825
|
-
* Handles column header clicks to toggle sorting on the column.
|
|
826
|
-
*
|
|
827
|
-
* @param e - The mouse event triggered by the click.
|
|
828
|
-
* @param column - The column that was clicked.
|
|
829
|
-
* @ignore
|
|
830
|
-
*/
|
|
831
|
-
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
|
832
|
-
/**
|
|
833
|
-
* @ignore
|
|
834
|
-
*/
|
|
835
|
-
protected getSort(column: AXDataTableColumnComponent): string | undefined;
|
|
836
|
-
/**
|
|
837
|
-
* @ignore
|
|
838
|
-
*/
|
|
839
|
-
protected _handleOnScroll(): void;
|
|
840
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXInfiniteScrollDataTableComponent, never>;
|
|
841
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXInfiniteScrollDataTableComponent, "ax-infinite-scroll-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; }, { "selectedRowsChange": "selectedRowsChange"; "onPageChanged": "onPageChanged"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; "focusedRowChange": "focusedRowChange"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, ["columns"], ["ax-header", "ax-footer"], true, never>;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
595
|
/**
|
|
845
596
|
* Component for displaying and managing a data table with advanced features.
|
|
846
597
|
*
|
|
@@ -1207,9 +958,9 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1207
958
|
|
|
1208
959
|
declare class AXDataTableModule {
|
|
1209
960
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableModule, never>;
|
|
1210
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataTableModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.ScrollingModule, typeof i4.AXTranslationModule, typeof i5.AXResultModule, typeof i6.AXLoadingModule, typeof i7.AXSkeletonModule, typeof i8.AXButtonModule, typeof i9.AXDecoratorModule, typeof i10.AXDropdownModule, typeof i11.AXFormatModule, typeof i2.AXRippleDirective, typeof i12.AXDataPagerModule, typeof i13.CdkDropList, typeof i13.CdkDrag, typeof i13.CdkDragPlaceholder, typeof i13.CdkDragHandle, typeof
|
|
961
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataTableModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.ScrollingModule, typeof i4.AXTranslationModule, typeof i5.AXResultModule, typeof i6.AXLoadingModule, typeof i7.AXSkeletonModule, typeof i8.AXButtonModule, typeof i9.AXDecoratorModule, typeof i10.AXDropdownModule, typeof i11.AXFormatModule, typeof i2.AXRippleDirective, typeof i12.AXDataPagerModule, typeof i13.CdkDropList, typeof i13.CdkDrag, typeof i13.CdkDragPlaceholder, typeof i13.CdkDragHandle, typeof AXDataTableComponent, typeof AXDataTableTextColumnComponent, typeof AXRowIndexColumnComponent, typeof AXRowSelectColumnComponent, typeof AXRowExpandColumnComponent, typeof AXRowCommandColumnComponent, typeof AXRowDropdownCommandColumnComponent, typeof AXDataTableColumnResizableDirective], [typeof AXDataTableComponent, typeof AXDataTableTextColumnComponent, typeof AXRowIndexColumnComponent, typeof AXRowSelectColumnComponent, typeof AXRowExpandColumnComponent, typeof AXRowCommandColumnComponent, typeof AXRowDropdownCommandColumnComponent, typeof AXDataTableColumnResizableDirective]>;
|
|
1211
962
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDataTableModule>;
|
|
1212
963
|
}
|
|
1213
964
|
|
|
1214
|
-
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent,
|
|
965
|
+
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent, AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent, AXRowExpandColumnComponent, AXRowIndexColumnComponent, AXRowSelectColumnComponent };
|
|
1215
966
|
export type { AXColumnsOrderChangedEvent, AXDataTableRowClick, AXDataTableRowDbClick, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
package/dialog/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ declare class AXDialogService {
|
|
|
109
109
|
* @param draggable - Whether the dialog can be dragged.
|
|
110
110
|
* @returns Promise<void> - Promise that resolves when the dialog is closed.
|
|
111
111
|
*/
|
|
112
|
-
alert(title: string, content: string, type?: AXStyleColorType, orientation?: 'horizontal' | 'vertical', draggable?: boolean): Promise<void>;
|
|
112
|
+
alert(title: string, content: string, type?: AXStyleColorType, orientation?: 'horizontal' | 'vertical', draggable?: boolean, buttonLook?: AXStyleLookType): Promise<void>;
|
|
113
113
|
/**
|
|
114
114
|
* Show a confirm box with 'Okay' & 'Cancel' buttons.
|
|
115
115
|
*
|
|
@@ -30,6 +30,7 @@ class AXAccordionItemComponent {
|
|
|
30
30
|
return [
|
|
31
31
|
`${this.disabled() ? 'ax-state-disabled' : ''}`,
|
|
32
32
|
`ax-${this.parent?.look() ? this.parent.look() : this.look()}`,
|
|
33
|
+
'ax-default',
|
|
33
34
|
];
|
|
34
35
|
}
|
|
35
36
|
open() {
|
|
@@ -41,10 +42,10 @@ class AXAccordionItemComponent {
|
|
|
41
42
|
toggle() {
|
|
42
43
|
this.isCollapsed.update((prev) => !prev);
|
|
43
44
|
}
|
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
46
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXAccordionItemComponent, isStandalone: true, selector: "ax-accordion-item", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "headerTemplate", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange", isLoading: "isLoadingChange", onClick: "onClick" }, host: { properties: { "class": "this.__hostClass" } }, viewQueries: [{ propertyName: "accordionItem", first: true, predicate: AXAccordionItemDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div [(isCollapsed)]=\"isCollapsed\" axAccordionItem>\n <div axAccordionItemHeader class=\"ax-accordion-header\">\n @if (headerTemplate()) {\n <div class=\"ax-accordion-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate()\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption: caption(), isCollapsed: isCollapsed() } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-accordion-header-container\">\n <div class=\"ax-accordion-header-start\">\n <span class=\"ax-accordion-header-icon\" [class]=\"icon()\"> </span>\n <span>\n {{ caption() }}\n </span>\n </div>\n <div class=\"ax-accordion-header-end\">\n @if (isLoading()) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-accordion-arrow\"\n [ngClass]=\"{ '-rotate-90': isCollapsed(), 'rotate-90': !isCollapsed() }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n\n <div axAccordionItemContent class=\"ax-accordion-body\">\n <div class=\"ax-accordion-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: ["@layer components{ax-accordion-item{border-radius:var(--radius-lg,.5rem);width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-accordion-item .ax-accordion-header,ax-accordion-item .ax-accordion-body{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-on-lightest,rgba(var(--ax-sys-color-on-lightest-surface)))!important}ax-accordion-item .ax-accordion-header{cursor:pointer;padding:calc(var(--spacing,.25rem)*3);-webkit-user-select:none;user-select:none}ax-accordion-item .ax-accordion-header .ax-accordion-header-container{justify-content:space-between;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start{align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start:not(:empty) .ax-accordion-header-icon{padding-inline-end:calc(var(--spacing,.25rem)*2)}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);justify-content:center;align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end .ax-accordion-arrow{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));display:block}ax-accordion-item .ax-accordion-body .ax-accordion-body-content{padding:calc(var(--spacing,.25rem)*4);padding-inline-start:calc(var(--spacing,.25rem)*4);padding-inline-end:calc(var(--spacing,.25rem)*4)}}\n/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i1.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AXAccordionItemHeaderDirective, selector: "[axAccordionItemHeader]", exportAs: ["axAccordionItemHeader"] }, { kind: "directive", type: AXAccordionItemDirective, selector: "[axAccordionItem]", inputs: ["isCollapsed"], outputs: ["isCollapsedChange", "onClick"], exportAs: ["axAccordionItem"] }, { kind: "directive", type: AXAccordionItemContentDirective, selector: "[axAccordionItemContent]", inputs: ["transition"], exportAs: ["axAccordionItemContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
46
47
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionItemComponent, decorators: [{
|
|
48
49
|
type: Component,
|
|
49
50
|
args: [{ selector: 'ax-accordion-item', imports: [
|
|
50
51
|
AXLoadingModule,
|
|
@@ -52,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
52
53
|
AXAccordionItemHeaderDirective,
|
|
53
54
|
AXAccordionItemDirective,
|
|
54
55
|
AXAccordionItemContentDirective,
|
|
55
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div [(isCollapsed)]=\"isCollapsed\" axAccordionItem>\n <div axAccordionItemHeader class=\"ax-accordion-header\">\n @if (headerTemplate()) {\n <div class=\"ax-accordion-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate()\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption: caption(), isCollapsed: isCollapsed() } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-accordion-header-container\">\n <div class=\"ax-accordion-header-start\">\n <span class=\"ax-accordion-header-icon\" [class]=\"icon()\"> </span>\n <span>\n {{ caption() }}\n </span>\n </div>\n <div class=\"ax-accordion-header-end\">\n @if (isLoading()) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-accordion-arrow\"\n [ngClass]=\"{ '-
|
|
56
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div [(isCollapsed)]=\"isCollapsed\" axAccordionItem>\n <div axAccordionItemHeader class=\"ax-accordion-header\">\n @if (headerTemplate()) {\n <div class=\"ax-accordion-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate()\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption: caption(), isCollapsed: isCollapsed() } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-accordion-header-container\">\n <div class=\"ax-accordion-header-start\">\n <span class=\"ax-accordion-header-icon\" [class]=\"icon()\"> </span>\n <span>\n {{ caption() }}\n </span>\n </div>\n <div class=\"ax-accordion-header-end\">\n @if (isLoading()) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-accordion-arrow\"\n [ngClass]=\"{ '-rotate-90': isCollapsed(), 'rotate-90': !isCollapsed() }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n\n <div axAccordionItemContent class=\"ax-accordion-body\">\n <div class=\"ax-accordion-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: ["@layer components{ax-accordion-item{border-radius:var(--radius-lg,.5rem);width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-accordion-item .ax-accordion-header,ax-accordion-item .ax-accordion-body{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25/.875)));color:var(--color-on-lightest,rgba(var(--ax-sys-color-on-lightest-surface)))!important}ax-accordion-item .ax-accordion-header{cursor:pointer;padding:calc(var(--spacing,.25rem)*3);-webkit-user-select:none;user-select:none}ax-accordion-item .ax-accordion-header .ax-accordion-header-container{justify-content:space-between;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start{align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start:not(:empty) .ax-accordion-header-icon{padding-inline-end:calc(var(--spacing,.25rem)*2)}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end{height:calc(var(--spacing,.25rem)*6);width:calc(var(--spacing,.25rem)*6);justify-content:center;align-items:center;display:flex}ax-accordion-item .ax-accordion-header .ax-accordion-header-container .ax-accordion-header-start .ax-accordion-header-end .ax-accordion-arrow{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));display:block}ax-accordion-item .ax-accordion-body .ax-accordion-body-content{padding:calc(var(--spacing,.25rem)*4);padding-inline-start:calc(var(--spacing,.25rem)*4);padding-inline-end:calc(var(--spacing,.25rem)*4)}}\n/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n"] }]
|
|
56
57
|
}], propDecorators: { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], isLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "isLoading", required: false }] }, { type: i0.Output, args: ["isLoadingChange"] }], headerTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerTemplate", required: false }] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], accordionItem: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXAccordionItemDirective), { isSignal: true }] }], onClick: [{ type: i0.Output, args: ["onClick"] }], __hostClass: [{
|
|
57
58
|
type: HostBinding,
|
|
58
59
|
args: ['class']
|
|
@@ -64,7 +65,7 @@ class AXAccordionGroupComponent {
|
|
|
64
65
|
this.content = contentChildren(AXAccordionItemComponent, ...(ngDevMode ? [{ debugName: "content", descendants: true }] : [{ descendants: true }]));
|
|
65
66
|
this.accordion = input(true, ...(ngDevMode ? [{ debugName: "accordion" }] : []));
|
|
66
67
|
this.activeIndex = model(null, ...(ngDevMode ? [{ debugName: "activeIndex" }] : []));
|
|
67
|
-
this.look = input('
|
|
68
|
+
this.look = input('', ...(ngDevMode ? [{ debugName: "look" }] : []));
|
|
68
69
|
this.collapsedOnItemClick = input(true, ...(ngDevMode ? [{ debugName: "collapsedOnItemClick" }] : []));
|
|
69
70
|
this.#eff = effect(() => {
|
|
70
71
|
const accordionItemDirective = [];
|
|
@@ -75,11 +76,8 @@ class AXAccordionGroupComponent {
|
|
|
75
76
|
}, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
|
|
76
77
|
}
|
|
77
78
|
#eff;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXAccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.9", type: AXAccordionGroupComponent, isStandalone: true, selector: "ax-accordion-group", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, collapsedOnItemClick: { classPropertyName: "collapsedOnItemClick", publicName: "collapsedOnItemClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
80
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.15", type: AXAccordionGroupComponent, isStandalone: true, selector: "ax-accordion-group", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null }, collapsedOnItemClick: { classPropertyName: "collapsedOnItemClick", publicName: "collapsedOnItemClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeIndex: "activeIndexChange" }, providers: [
|
|
83
81
|
{
|
|
84
82
|
provide: MXLookableComponent,
|
|
85
83
|
useExisting: AXAccordionGroupComponent,
|
|
@@ -94,9 +92,9 @@ class AXAccordionGroupComponent {
|
|
|
94
92
|
>
|
|
95
93
|
<ng-content select="ax-accordion-item"></ng-content>
|
|
96
94
|
</div>
|
|
97
|
-
`, isInline: true, styles: ["
|
|
95
|
+
`, isInline: true, styles: ["@layer components{ax-accordion-group{width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-group ax-accordion-item{margin-bottom:calc(var(--spacing,.25rem)*2)}}\n/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "directive", type: AXAccordionGroupDirective, selector: "[axAccordionGroup]", inputs: ["accordion", "activeIndex", "collapsedOnItemClick"], exportAs: ["axAccordionGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
98
96
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionGroupComponent, decorators: [{
|
|
100
98
|
type: Component,
|
|
101
99
|
args: [{ selector: 'ax-accordion-group', imports: [AXLoadingModule, AXAccordionGroupDirective], template: `
|
|
102
100
|
<div
|
|
@@ -113,18 +111,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImpor
|
|
|
113
111
|
useExisting: AXAccordionGroupComponent,
|
|
114
112
|
},
|
|
115
113
|
{ provide: AXComponent, useExisting: AXAccordionGroupComponent },
|
|
116
|
-
], styles: ["
|
|
117
|
-
}], propDecorators: { accordionGroup: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXAccordionGroupDirective), { isSignal: true }] }], content: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AXAccordionItemComponent), { ...{ descendants: true }, isSignal: true }] }], accordion: [{ type: i0.Input, args: [{ isSignal: true, alias: "accordion", required: false }] }], activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }, { type: i0.Output, args: ["activeIndexChange"] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], collapsedOnItemClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsedOnItemClick", required: false }] }]
|
|
118
|
-
type: HostBinding,
|
|
119
|
-
args: ['class']
|
|
120
|
-
}] } });
|
|
114
|
+
], styles: ["@layer components{ax-accordion-group{width:100%;font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));display:block;overflow:hidden}ax-accordion-group ax-accordion-item{margin-bottom:calc(var(--spacing,.25rem)*2)}}\n/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n"] }]
|
|
115
|
+
}], propDecorators: { accordionGroup: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXAccordionGroupDirective), { isSignal: true }] }], content: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => AXAccordionItemComponent), { ...{ descendants: true }, isSignal: true }] }], accordion: [{ type: i0.Input, args: [{ isSignal: true, alias: "accordion", required: false }] }], activeIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeIndex", required: false }] }, { type: i0.Output, args: ["activeIndexChange"] }], look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }], collapsedOnItemClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsedOnItemClick", required: false }] }] } });
|
|
121
116
|
|
|
122
117
|
class AXAccordionModule {
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
124
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
125
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
119
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent], exports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
|
|
120
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, imports: [AXAccordionItemComponent, AXAccordionGroupComponent] }); }
|
|
126
121
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXAccordionModule, decorators: [{
|
|
128
123
|
type: NgModule,
|
|
129
124
|
args: [{
|
|
130
125
|
imports: [AXAccordionItemComponent, AXAccordionGroupComponent],
|