@acorex/components 19.8.0-next.7 → 19.8.0-next.8
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/action-sheet/lib/action-sheet.class.d.ts +1 -2
- package/badge/lib/badge.component.d.ts +2 -2
- package/button/lib/button.component.d.ts +1 -6
- package/button-group/lib/button-group-item.component.d.ts +3 -1
- package/button-group/lib/button-group.module.d.ts +2 -1
- package/chips/lib/chips.component.d.ts +11 -7
- package/color-box/lib/color-box.component.d.ts +5 -1
- package/color-palette/lib/color-palette-picker.component.d.ts +19 -14
- package/color-palette/lib/color-palette.module.d.ts +2 -1
- package/common/lib/classes/styles.class.d.ts +6 -4
- package/common/lib/components/button-base-component.class.d.ts +0 -1
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +2 -3
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -2
- package/datetime-picker/lib/datetime-picker.component.d.ts +0 -10
- package/datetime-picker/lib/datetime-picker.module.d.ts +2 -1
- package/decorators/index.d.ts +5 -4
- package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +6 -0
- package/decorators/lib/decorators.module.d.ts +7 -6
- package/dialog/lib/dialog.component.d.ts +2 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +3 -3
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +3 -3
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +4 -4
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +3 -3
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +5 -5
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +147 -146
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -21
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +11 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +6 -6
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +2 -2
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +11 -4
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +342 -326
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +8 -8
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +21 -6
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +29 -50
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +2 -2
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +6 -6
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +4 -4
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -3
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +17 -23
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +29 -17
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +10 -3
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +4 -4
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +6 -12
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +1 -1
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +10 -3
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +2 -2
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +42 -57
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +4 -4
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +4 -4
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +6 -6
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +3 -3
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +4 -4
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +2 -6
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +4 -4
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +128 -233
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +22 -22
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +3 -3
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +3 -3
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +6 -6
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +11 -11
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +19 -10
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +3 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +27 -142
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +8 -17
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +2 -2
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +8 -3
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +5 -5
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +3 -3
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +6 -3
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +7 -7
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +4 -4
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +2 -10
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +2 -2
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +25 -25
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form.component.d.ts +3 -2
- package/image-editor/index.d.ts +0 -1
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +22 -3
- package/image-editor/lib/image-editor.module.d.ts +16 -17
- package/loading/lib/loading-spinner.component.d.ts +1 -1
- package/menu/lib/menu-item.component.d.ts +2 -1
- package/notification/lib/notification.service.d.ts +1 -1
- package/package.json +1 -1
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
- package/picker/index.d.ts +3 -2
- package/picker/lib/picker-container/picker-container.component.d.ts +7 -0
- package/picker/lib/picker-items/picker-items.component.d.ts +20 -0
- package/picker/lib/picker-title/picker-title.component.d.ts +5 -0
- package/picker/lib/picker.module.d.ts +6 -4
- package/progress-bar/lib/progress-bar.component.d.ts +19 -19
- package/range-slider/lib/range-slider.component.d.ts +1 -1
- package/scheduler/lib/scheduler-month-view.component.d.ts +6 -6
- package/search-box/lib/search-box.component.d.ts +5 -1
- package/selection-list/README.md +2 -2
- package/selection-list/lib/selection-list.component.d.ts +17 -70
- package/selection-list/lib/selection-list.module.d.ts +3 -7
- package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +3 -6
- package/side-menu/lib/side-menu.component.d.ts +1 -2
- package/tabs/lib/tabs.class.d.ts +1 -1
- package/text-area/lib/text-area.component.d.ts +5 -1
- package/time-line/lib/time-line.component.d.ts +1 -1
- package/toast/lib/toast.service.d.ts +1 -1
- package/toolbar/lib/toolbar.component.d.ts +1 -2
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +2 -2
- package/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.d.ts +0 -27
- package/picker/lib/picker-column.directive.d.ts +0 -16
- package/picker/lib/picker.component.d.ts +0 -61
- /package/decorators/lib/components/{clear-button.component.d.ts → clear-button/clear-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{close-button.component.d.ts → close-button/close-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{full-screen-button.component.d.ts → full-screen/full-screen-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{icon.component.d.ts → icon/icon.component.d.ts} +0 -0
@@ -1,4 +1,3 @@
|
|
1
|
-
import { AXStyleColorType } from '@acorex/components/common';
|
2
1
|
import { ComponentType } from '@angular/cdk/portal';
|
3
2
|
import { TemplateRef } from '@angular/core';
|
4
3
|
export interface AXActionSheetItem {
|
@@ -6,7 +5,7 @@ export interface AXActionSheetItem {
|
|
6
5
|
text: string;
|
7
6
|
icon?: string;
|
8
7
|
disabled?: boolean;
|
9
|
-
color?:
|
8
|
+
color?: 'ghost' | 'danger';
|
10
9
|
onClick?: () => void;
|
11
10
|
suffix?: {
|
12
11
|
text: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { MXColorComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXBadgeComponent extends
|
3
|
+
export declare class AXBadgeComponent extends MXColorComponent {
|
4
4
|
/**
|
5
5
|
* Defines the text displayed inside the badge.
|
6
6
|
*
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { AXClickEvent, MXButtonBaseComponent } from '@acorex/components/common';
|
2
2
|
import { AfterViewInit, EventEmitter } from '@angular/core';
|
3
3
|
import { AXButtonType } from './button-item.class';
|
4
|
-
import { AXResponsiveOn } from './button.class';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
/**
|
7
6
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
@@ -20,10 +19,6 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
|
|
20
19
|
* @defaultValue 'button'
|
21
20
|
*/
|
22
21
|
type: import("@angular/core").InputSignal<AXButtonType>;
|
23
|
-
/**
|
24
|
-
* convert button to just icon in specific break points.
|
25
|
-
*/
|
26
|
-
responsiveOn: import("@angular/core").ModelSignal<AXResponsiveOn>;
|
27
22
|
/**
|
28
23
|
* Defines the text displayed while the action sheet is loading.
|
29
24
|
*
|
@@ -61,5 +56,5 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
|
|
61
56
|
*/
|
62
57
|
blur(): void;
|
63
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loadingText": { "alias": "loadingText"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "loadingText": "loadingTextChange"; }, never, ["ax-loading, ax-loading-spinner", "ax-prefix, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content", "*"], false, never>;
|
65
60
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { AXClickEvent, AXStyleColorType, MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
|
2
2
|
import { EventEmitter } from '@angular/core';
|
3
|
+
import { AXButtonGroupComponent } from './button-group.component';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export interface AXButtonItemListItem {
|
5
6
|
name: string;
|
@@ -16,6 +17,7 @@ declare const AXButtonGroupItemComponent_base: import("polytype").Polytype.Clust
|
|
16
17
|
* @category Components
|
17
18
|
*/
|
18
19
|
export declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base {
|
20
|
+
btnGroup: AXButtonGroupComponent;
|
19
21
|
/**
|
20
22
|
* Text displayed on the button item.
|
21
23
|
*/
|
@@ -72,6 +74,6 @@ export declare class AXButtonGroupItemComponent extends AXButtonGroupItemCompone
|
|
72
74
|
*/
|
73
75
|
tabindex: string;
|
74
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupItemComponent, never>;
|
75
|
-
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,
|
77
|
+
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, never, false, never>;
|
76
78
|
}
|
77
79
|
export {};
|
@@ -3,8 +3,9 @@ import * as i1 from "./button-group.component";
|
|
3
3
|
import * as i2 from "./button-group-item.component";
|
4
4
|
import * as i3 from "@angular/common";
|
5
5
|
import * as i4 from "@acorex/components/decorators";
|
6
|
+
import * as i5 from "@acorex/components/button";
|
6
7
|
export declare class AXButtonGroupModule {
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule], [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent]>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule, typeof i5.AXButtonModule], [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent]>;
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonGroupModule>;
|
10
11
|
}
|
@@ -1,22 +1,26 @@
|
|
1
|
-
import {
|
1
|
+
import { AXStyleLookType, AXStyleSizeType, MXColorComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
import * as i1 from "@acorex/components/common";
|
4
|
+
export type AXChipsLookType = Extract<AXStyleLookType, 'solid' | 'outline' | 'twotone'>;
|
5
|
+
export type AXChipsSizeType = Exclude<AXStyleSizeType, 'ax-xs' | 'ax-xl'>;
|
4
6
|
/**
|
5
7
|
* A component for displaying and managing a set of chips.
|
6
8
|
*
|
7
9
|
* @category Components
|
8
10
|
*/
|
9
|
-
export declare class AXChipsComponent extends
|
11
|
+
export declare class AXChipsComponent extends MXColorComponent {
|
10
12
|
/**
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
* The text displayed on the chips.
|
14
|
+
*
|
15
|
+
* @defaultValue ''
|
16
|
+
*/
|
15
17
|
text: import("@angular/core").ModelSignal<string>;
|
18
|
+
look: import("@angular/core").ModelSignal<AXChipsLookType>;
|
19
|
+
size: import("@angular/core").ModelSignal<AXChipsSizeType>;
|
16
20
|
/**
|
17
21
|
* @ignore
|
18
22
|
*/
|
19
23
|
private get __hostClass();
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsComponent, never>;
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "look": "lookChange"; "size": "sizeChange"; }, never, ["ax-prefix", "ax-suffix"], false, [{ directive: typeof i1.AXRippleDirective; inputs: {}; outputs: {}; }]>;
|
22
26
|
}
|
@@ -13,6 +13,10 @@ declare const AXColorBoxComponent_base: import("polytype").Polytype.ClusteredCon
|
|
13
13
|
* @category Components
|
14
14
|
*/
|
15
15
|
export declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
16
|
+
showBadge: import("@angular/core").InputSignal<boolean>;
|
17
|
+
showValue: import("@angular/core").InputSignal<boolean>;
|
18
|
+
showClearButton: import("@angular/core").InputSignal<boolean>;
|
19
|
+
showIcon: import("@angular/core").InputSignal<boolean>;
|
16
20
|
/**
|
17
21
|
* @ignore
|
18
22
|
*/
|
@@ -50,6 +54,6 @@ export declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
50
54
|
*/
|
51
55
|
internalValueChanged(value?: Date): void;
|
52
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorBoxComponent, never>;
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorBoxComponent, "ax-color-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
54
58
|
}
|
55
59
|
export {};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
3
|
+
import { ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
3
4
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
/**
|
@@ -7,9 +8,11 @@ import * as i0 from "@angular/core";
|
|
7
8
|
*
|
8
9
|
* @category Components
|
9
10
|
*/
|
10
|
-
export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
11
|
+
export declare class AXColorPalettePickerComponent extends MXBaseComponent implements OnDestroy {
|
11
12
|
_parent: AXColorPaletteParentComponent;
|
12
13
|
private _unsubscriber;
|
14
|
+
render: Renderer2;
|
15
|
+
zone: NgZone;
|
13
16
|
_rgba: {
|
14
17
|
r: number;
|
15
18
|
g: number;
|
@@ -26,6 +29,14 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
26
29
|
* @ignore
|
27
30
|
*/
|
28
31
|
protected _bgColor: string;
|
32
|
+
protected colorBoxGradientBG: import("@angular/core").WritableSignal<string>;
|
33
|
+
protected colorBoxTransparentColor: {
|
34
|
+
r: number;
|
35
|
+
g: number;
|
36
|
+
b: number;
|
37
|
+
a: number;
|
38
|
+
};
|
39
|
+
protected sample: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
29
40
|
/**
|
30
41
|
* @ignore
|
31
42
|
*/
|
@@ -41,10 +52,13 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
41
52
|
/**
|
42
53
|
* @ignore
|
43
54
|
*/
|
55
|
+
private onPointerMoveListenerFn;
|
56
|
+
private onPointerUpListenerFn;
|
44
57
|
/**
|
45
58
|
* @ignore
|
46
59
|
*/
|
47
60
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
61
|
+
ngOnDestroy(): void;
|
48
62
|
/**
|
49
63
|
* @ignore
|
50
64
|
*/
|
@@ -61,15 +75,6 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
61
75
|
* @ignore
|
62
76
|
*/
|
63
77
|
protected _handleGradientChanged(e: any): void;
|
64
|
-
/**
|
65
|
-
* @ignore
|
66
|
-
*/
|
67
|
-
/**
|
68
|
-
* @ignore
|
69
|
-
*/
|
70
|
-
/**
|
71
|
-
* @ignore
|
72
|
-
*/
|
73
78
|
/**
|
74
79
|
* @ignore
|
75
80
|
*/
|
@@ -78,14 +83,14 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
78
83
|
* @ignore
|
79
84
|
*/
|
80
85
|
private setPointerByPercent;
|
86
|
+
protected handleMove(event: PointerEvent): void;
|
87
|
+
protected handleDown(event: PointerEvent): void;
|
88
|
+
protected handleUp(): void;
|
89
|
+
private setColor;
|
81
90
|
/**
|
82
91
|
* @ignore
|
83
92
|
*/
|
84
93
|
private get __hostClass();
|
85
|
-
protected handleMove(event: MouseEvent | TouchEvent): void;
|
86
|
-
protected handleDown(event: MouseEvent | TouchEvent): void;
|
87
|
-
protected handleUp(): void;
|
88
|
-
private setColor;
|
89
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePickerComponent, never>;
|
90
95
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePickerComponent, "ax-color-palette-picker", never, {}, {}, never, never, false, never>;
|
91
96
|
}
|
@@ -14,8 +14,9 @@ import * as i12 from "@acorex/components/number-box";
|
|
14
14
|
import * as i13 from "@acorex/components/range-slider";
|
15
15
|
import * as i14 from "@acorex/components/slider";
|
16
16
|
import * as i15 from "@angular/cdk/drag-drop";
|
17
|
+
import * as i16 from "@acorex/components/select-box";
|
17
18
|
export declare class AXColorPaletteModule {
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.AXTextBoxModule, typeof i9.AXLabelModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.AXNumberBoxModule, typeof i13.AXRangeSliderModule, typeof i14.AXSliderModule, typeof i15.DragDropModule], [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent]>;
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.AXTextBoxModule, typeof i9.AXLabelModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.AXNumberBoxModule, typeof i13.AXRangeSliderModule, typeof i14.AXSliderModule, typeof i15.DragDropModule, typeof i16.AXSelectBoxModule], [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent]>;
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
|
21
22
|
}
|
@@ -1,9 +1,11 @@
|
|
1
|
-
export declare const AX_STYLE_COLOR_TYPES: string[];
|
2
1
|
/**
|
3
2
|
* A token that specifies the color style of component.
|
4
3
|
*/
|
5
|
-
export type AXStyleColorType = 'primary' | '
|
4
|
+
export type AXStyleColorType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'ghost';
|
5
|
+
export declare const AX_STYLE_COLOR_TYPES: AXStyleColorType[];
|
6
6
|
export type AXStyleLookType = 'solid' | 'blank' | 'outline' | 'twotone' | 'flat' | 'fill' | 'link' | 'none';
|
7
|
-
export declare const AX_STYLE_LOOK_TYPES:
|
8
|
-
export
|
7
|
+
export declare const AX_STYLE_LOOK_TYPES: AXStyleLookType[];
|
8
|
+
export type AXSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
9
|
+
export type AXStyleSizeType = `ax-${AXSizeType}`;
|
9
10
|
export type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end' | 'center-end' | 'center-start';
|
11
|
+
export declare const AX_LOCATIONS: AXLocation[];
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import { MXLookComponent } from '@acorex/components/common';
|
2
1
|
import * as i0 from "@angular/core";
|
3
2
|
/**
|
4
3
|
* A container for displaying and managing conversations.
|
5
4
|
* @category Components
|
6
5
|
*/
|
7
|
-
export declare class AXConversationContainerComponent
|
6
|
+
export declare class AXConversationContainerComponent {
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationContainerComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, {
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, {}, {}, never, ["*"], false, never>;
|
10
9
|
}
|
@@ -38,7 +38,6 @@ export declare class AXConversationInputComponent extends AXConversationInputCom
|
|
38
38
|
/** Indicates if voice recording is enabled */
|
39
39
|
hasVoice: import("@angular/core").InputSignal<boolean>;
|
40
40
|
hasEmoji: import("@angular/core").InputSignal<boolean>;
|
41
|
-
isLoading: import("@angular/core").InputSignal<boolean>;
|
42
41
|
/** Acceptable file types for attachment */
|
43
42
|
acceptFileType: import("@angular/core").InputSignal<string>;
|
44
43
|
/**
|
@@ -112,6 +111,6 @@ export declare class AXConversationInputComponent extends AXConversationInputCom
|
|
112
111
|
*/
|
113
112
|
closeReplyHandler(): void;
|
114
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hasAttachment": { "alias": "hasAttachment"; "required": false; "isSignal": true; }; "hasVoice": { "alias": "hasVoice"; "required": false; "isSignal": true; }; "hasEmoji": { "alias": "hasEmoji"; "required": false; "isSignal": true; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; "isSignal": true; }; }, { "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onCancelRecording": "onCancelRecording"; }, never, never, false, never>;
|
116
115
|
}
|
117
116
|
export {};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';
|
2
2
|
import { AXValueChangedEvent, MXValueComponent } from '@acorex/components/common';
|
3
|
-
import { AXPickerComponent } from '@acorex/components/picker';
|
4
3
|
import { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';
|
5
4
|
import { AXDateTime, AXDateTimeParts } from '@acorex/core/date-time';
|
6
5
|
import { EventEmitter, OnInit } from '@angular/core';
|
@@ -32,10 +31,6 @@ export declare class AXDateTimePickerComponent extends AXDateTimePickerComponent
|
|
32
31
|
set currentTimeButton(v: boolean);
|
33
32
|
private _calendarService;
|
34
33
|
private _tranlationService;
|
35
|
-
/**
|
36
|
-
* @ignore
|
37
|
-
*/
|
38
|
-
protected picker: AXPickerComponent;
|
39
34
|
/**
|
40
35
|
* @ignore
|
41
36
|
*/
|
@@ -90,11 +85,6 @@ export declare class AXDateTimePickerComponent extends AXDateTimePickerComponent
|
|
90
85
|
* @ignore
|
91
86
|
*/
|
92
87
|
ngOnInit(): Promise<void>;
|
93
|
-
/**
|
94
|
-
* Refreshes the picker component, updating its view and data.
|
95
|
-
* @ignore
|
96
|
-
*/
|
97
|
-
refresh(): void;
|
98
88
|
/**
|
99
89
|
* Handles changes to the internal value of the component.
|
100
90
|
* @param value - The new date value. If not provided, defaults to the current date.
|
@@ -8,8 +8,9 @@ import * as i6 from "@acorex/components/button";
|
|
8
8
|
import * as i7 from "@acorex/components/calendar";
|
9
9
|
import * as i8 from "@acorex/components/picker";
|
10
10
|
import * as i9 from "@acorex/core/translation";
|
11
|
+
import * as i10 from "@acorex/components/decorators";
|
11
12
|
export declare class AXDateTimePickerModule {
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimePickerModule, never>;
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDateTimePickerModule, [typeof i1.AXDateTimePickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXTabsModule, typeof i5.AXDateTimeModule, typeof i6.AXButtonModule, typeof i7.AXCalendarModule, typeof i8.AXPickerModule, typeof i9.AXTranslationModule], [typeof i1.AXDateTimePickerComponent]>;
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDateTimePickerModule, [typeof i1.AXDateTimePickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXTabsModule, typeof i5.AXDateTimeModule, typeof i6.AXButtonModule, typeof i7.AXCalendarModule, typeof i8.AXPickerModule, typeof i9.AXTranslationModule, typeof i10.AXDecoratorModule], [typeof i1.AXDateTimePickerComponent]>;
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDateTimePickerModule>;
|
15
16
|
}
|
package/decorators/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
export * from './lib/components/clear-button.component';
|
2
|
-
export * from './lib/components/close-button.component';
|
3
|
-
export * from './lib/components/
|
1
|
+
export * from './lib/components/clear-button/clear-button.component';
|
2
|
+
export * from './lib/components/close-button/close-button.component';
|
3
|
+
export * from './lib/components/color-indicator/color-indicator.component';
|
4
|
+
export * from './lib/components/full-screen/full-screen-button.component';
|
4
5
|
export * from './lib/components/generic-content.component';
|
5
|
-
export * from './lib/components/icon.component';
|
6
|
+
export * from './lib/components/icon/icon.component';
|
6
7
|
export * from './lib/decorators.module';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXDecoratorColorIndicatorComponent {
|
3
|
+
previewColor: import("@angular/core").InputSignal<unknown>;
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorColorIndicatorComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorColorIndicatorComponent, "ax-color-indicator", never, { "previewColor": { "alias": "previewColor"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
6
|
+
}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./components/icon.component";
|
3
|
-
import * as i2 from "./components/clear-button.component";
|
4
|
-
import * as i3 from "./components/close-button.component";
|
2
|
+
import * as i1 from "./components/icon/icon.component";
|
3
|
+
import * as i2 from "./components/clear-button/clear-button.component";
|
4
|
+
import * as i3 from "./components/close-button/close-button.component";
|
5
5
|
import * as i4 from "./components/generic-content.component";
|
6
|
-
import * as i5 from "./components/full-screen-button.component";
|
7
|
-
import * as i6 from "
|
6
|
+
import * as i5 from "./components/full-screen/full-screen-button.component";
|
7
|
+
import * as i6 from "./components/color-indicator/color-indicator.component";
|
8
|
+
import * as i7 from "@angular/common";
|
8
9
|
export declare class AXDecoratorModule {
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent], [typeof
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent, typeof i6.AXDecoratorColorIndicatorComponent], [typeof i7.CommonModule], [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent, typeof i6.AXDecoratorColorIndicatorComponent]>;
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDecoratorModule>;
|
12
13
|
}
|
@@ -34,6 +34,8 @@ export declare class AXDialogComponent extends MXBaseComponent {
|
|
34
34
|
* @ignore
|
35
35
|
*/
|
36
36
|
get tabIndex(): string;
|
37
|
+
/** @ignore */
|
38
|
+
private get __hostClass();
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
38
40
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never, false, never>;
|
39
41
|
}
|
@@ -62,5 +62,5 @@ export declare class AXDropdownButtonComponent extends MXButtonBaseComponent imp
|
|
62
62
|
*/
|
63
63
|
close(): void;
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownButtonComponent, never>;
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["*", "ax-prefix, ax-loading, ax-loading-spinner"], false, never>;
|
66
66
|
}
|
@@ -40,7 +40,7 @@ class AXActionSheetService {
|
|
40
40
|
closeOnNavigation: true,
|
41
41
|
closeOnDestroy: true,
|
42
42
|
hasBackdrop: true,
|
43
|
-
panelClass: ['ax-
|
43
|
+
panelClass: ['ax-action-sheet-panel'],
|
44
44
|
disableClose: true,
|
45
45
|
positionStrategy: new GlobalPositionStrategy().centerHorizontally().bottom(),
|
46
46
|
});
|
@@ -306,7 +306,7 @@ class AXActionSheetComponent extends MXBaseComponent {
|
|
306
306
|
provide: AXFocusableComponent,
|
307
307
|
useExisting: AXActionSheetComponent,
|
308
308
|
},
|
309
|
-
], usesInheritance: true, ngImport: i0, template: "@if (data.draggable) {\n <div\n (mousedown)=\"handleMouseDown($event)\"\n (touchstart)=\"handleTouchDown($event)\"\n class=\"ax-drag-handle-container\"\n >\n <div class=\"ax-drag-handle\"></div>\n </div>\n}\n@if (data.header) {\n <ax-header\n [class.draggable-header]=\"data.draggable\"\n (mousedown)=\"data.draggable ? handleMouseDown($event) : null\"\n (touchstart)=\"data.draggable ? handleTouchDown($event) : null\"\n >\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n@if (this.data.content) {\n <div class=\"ax-custom-template-container\">\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n </div>\n}\n\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-
|
309
|
+
], usesInheritance: true, ngImport: i0, template: "@if (data.draggable) {\n <div\n (mousedown)=\"handleMouseDown($event)\"\n (touchstart)=\"handleTouchDown($event)\"\n class=\"ax-drag-handle-container\"\n >\n <div class=\"ax-drag-handle\"></div>\n </div>\n}\n@if (data.header) {\n <ax-header\n [class.draggable-header]=\"data.draggable\"\n (mousedown)=\"data.draggable ? handleMouseDown($event) : null\"\n (touchstart)=\"data.draggable ? handleTouchDown($event) : null\"\n >\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n@if (this.data.content) {\n <div class=\"ax-custom-template-container\">\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n </div>\n}\n\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-{{ item.color || 'ghost' }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n", styles: ["ax-action-sheet .ax-danger{--ax-comp-action-sheet-text-color: var(--ax-sys-color-danger-500)}ax-action-sheet .ax-ghost{--ax-comp-action-sheet-text-color: var(--ax-sys-color-on-contrast-ghost)}ax-action-sheet{display:block;width:100vw;position:relative;transition-property:height;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet .ax-custom-template-container{overflow-y:auto;max-height:100vh}ax-action-sheet .ax-drag-handle-container{padding-top:.5rem}ax-action-sheet .ax-drag-handle-container .ax-drag-handle{height:.375rem;width:3rem;margin:auto;border-radius:.5rem;background-color:rgba(var(--ax-sys-border-color))}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header.draggable-header{padding-top:0;-webkit-user-select:none;user-select:none}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list{overflow-y:auto;max-height:100vh}ax-action-sheet .ax-action-list .ax-ghost{color:rgb(var(--ax-comp-action-sheet-text-color))}ax-action-sheet .ax-action-list .ax-danger{color:rgb(var(--ax-comp-action-sheet-text-color))}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{min-height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["closeAll", "icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
310
310
|
}
|
311
311
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
312
312
|
type: Component,
|
@@ -319,7 +319,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
319
319
|
provide: AXFocusableComponent,
|
320
320
|
useExisting: AXActionSheetComponent,
|
321
321
|
},
|
322
|
-
], standalone: false, template: "@if (data.draggable) {\n <div\n (mousedown)=\"handleMouseDown($event)\"\n (touchstart)=\"handleTouchDown($event)\"\n class=\"ax-drag-handle-container\"\n >\n <div class=\"ax-drag-handle\"></div>\n </div>\n}\n@if (data.header) {\n <ax-header\n [class.draggable-header]=\"data.draggable\"\n (mousedown)=\"data.draggable ? handleMouseDown($event) : null\"\n (touchstart)=\"data.draggable ? handleTouchDown($event) : null\"\n >\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n@if (this.data.content) {\n <div class=\"ax-custom-template-container\">\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n </div>\n}\n\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-
|
322
|
+
], standalone: false, template: "@if (data.draggable) {\n <div\n (mousedown)=\"handleMouseDown($event)\"\n (touchstart)=\"handleTouchDown($event)\"\n class=\"ax-drag-handle-container\"\n >\n <div class=\"ax-drag-handle\"></div>\n </div>\n}\n@if (data.header) {\n <ax-header\n [class.draggable-header]=\"data.draggable\"\n (mousedown)=\"data.draggable ? handleMouseDown($event) : null\"\n (touchstart)=\"data.draggable ? handleTouchDown($event) : null\"\n >\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n@if (this.data.content) {\n <div class=\"ax-custom-template-container\">\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n </div>\n}\n\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-{{ item.color || 'ghost' }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n", styles: ["ax-action-sheet .ax-danger{--ax-comp-action-sheet-text-color: var(--ax-sys-color-danger-500)}ax-action-sheet .ax-ghost{--ax-comp-action-sheet-text-color: var(--ax-sys-color-on-contrast-ghost)}ax-action-sheet{display:block;width:100vw;position:relative;transition-property:height;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function)}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet .ax-custom-template-container{overflow-y:auto;max-height:100vh}ax-action-sheet .ax-drag-handle-container{padding-top:.5rem}ax-action-sheet .ax-drag-handle-container .ax-drag-handle{height:.375rem;width:3rem;margin:auto;border-radius:.5rem;background-color:rgba(var(--ax-sys-border-color))}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header.draggable-header{padding-top:0;-webkit-user-select:none;user-select:none}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list{overflow-y:auto;max-height:100vh}ax-action-sheet .ax-action-list .ax-ghost{color:rgb(var(--ax-comp-action-sheet-text-color))}ax-action-sheet .ax-action-list .ax-danger{color:rgb(var(--ax-comp-action-sheet-text-color))}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{min-height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"] }]
|
323
323
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
324
324
|
type: Inject,
|
325
325
|
args: [DIALOG_DATA]
|