@acorex/components 19.8.0-next.9 → 19.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +2 -1
- package/badge/lib/badge.component.d.ts +2 -2
- package/button/lib/button.component.d.ts +6 -1
- package/button-group/lib/button-group-item.component.d.ts +1 -3
- package/button-group/lib/button-group.module.d.ts +1 -2
- package/chips/lib/chips.component.d.ts +7 -11
- package/color-box/lib/color-box.component.d.ts +1 -5
- package/color-palette/lib/color-palette-picker.component.d.ts +14 -19
- package/color-palette/lib/color-palette.module.d.ts +1 -2
- package/common/lib/classes/styles.class.d.ts +4 -6
- package/common/lib/components/button-base-component.class.d.ts +1 -0
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +3 -2
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +2 -1
- package/datetime-picker/lib/datetime-picker.component.d.ts +10 -0
- package/datetime-picker/lib/datetime-picker.module.d.ts +1 -2
- package/decorators/index.d.ts +4 -5
- package/decorators/lib/decorators.module.d.ts +6 -7
- package/dialog/lib/dialog.component.d.ts +0 -2
- package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +4 -4
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +4 -4
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +5 -5
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +4 -4
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +6 -6
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +3 -3
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +3 -3
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +146 -147
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +22 -19
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +5 -5
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +3 -3
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +10 -12
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +4 -4
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +4 -11
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +326 -342
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +9 -9
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +7 -22
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +50 -29
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +3 -3
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +7 -7
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +5 -5
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +4 -3
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +3 -3
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +24 -18
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +18 -30
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +4 -11
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +5 -5
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +13 -7
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +231 -0
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -0
- package/fesm2022/acorex-components-form.mjs +4 -11
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +200 -22
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +57 -42
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +3 -3
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +3 -3
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +3 -3
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +3 -3
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +3 -3
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +5 -5
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +5 -5
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +9 -9
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +4 -4
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +5 -5
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -3
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +3 -3
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs +11 -11
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +5 -5
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +3 -3
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +233 -128
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs +3 -3
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +23 -23
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +1 -1
- package/fesm2022/acorex-components-radio.mjs +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +4 -4
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +4 -4
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +3 -3
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +3 -3
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +12 -12
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +11 -20
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +3 -4
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +142 -28
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +18 -9
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +3 -3
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +3 -3
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +3 -3
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +4 -9
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +6 -6
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +4 -4
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +4 -7
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +3 -3
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +9 -9
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +5 -5
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +12 -3
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +3 -3
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +37 -68
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +8 -8
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +26 -26
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/file-explorer/README.md +3 -0
- package/file-explorer/index.d.ts +6 -0
- package/file-explorer/lib/file-explorer-container/file-explorer-container.component.d.ts +10 -0
- package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +11 -0
- package/file-explorer/lib/file-explorer-types.d.ts +11 -0
- package/file-explorer/lib/file-explorer-view/file-explorer-view.component.d.ts +27 -0
- package/file-explorer/lib/file-explorer.module.d.ts +16 -0
- package/file-explorer/lib/file-explorer.service.d.ts +6 -0
- package/form/lib/form.component.d.ts +2 -3
- package/grid-layout-builder/index.d.ts +1 -0
- package/grid-layout-builder/lib/grid-layout-builder.module.d.ts +3 -2
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +14 -10
- package/grid-layout-builder/lib/grid-layout-widget.directive.d.ts +106 -0
- package/grid-layout-builder/lib/types.d.ts +2 -1
- package/image-editor/index.d.ts +1 -0
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +3 -22
- package/image-editor/lib/image-editor-toolbar/image-editor-toolbar.component.d.ts +27 -0
- package/image-editor/lib/image-editor.module.d.ts +17 -16
- package/loading/lib/loading-spinner.component.d.ts +1 -1
- package/menu/lib/menu-item.component.d.ts +1 -2
- package/notification/lib/notification.service.d.ts +1 -1
- package/package.json +5 -1
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
- package/picker/index.d.ts +2 -3
- package/picker/lib/picker-column.directive.d.ts +16 -0
- package/picker/lib/picker.component.d.ts +61 -0
- package/picker/lib/picker.module.d.ts +4 -6
- 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 +1 -5
- package/selection-list/README.md +2 -2
- package/selection-list/lib/selection-list.component.d.ts +70 -18
- package/selection-list/lib/selection-list.module.d.ts +7 -3
- package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +6 -3
- package/side-menu/lib/side-menu.component.d.ts +2 -1
- package/tabs/lib/tabs.class.d.ts +1 -1
- package/text-area/lib/text-area.component.d.ts +1 -5
- 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 +3 -1
- package/tree-view/lib/tree-view.class.d.ts +1 -0
- package/tree-view/lib/tree-view.component.d.ts +1 -7
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +2 -2
- package/decorators/lib/components/color-indicator/color-indicator.component.d.ts +0 -6
- package/picker/lib/picker-container/picker-container.component.d.ts +0 -7
- package/picker/lib/picker-items/picker-items.component.d.ts +0 -20
- package/picker/lib/picker-title/picker-title.component.d.ts +0 -5
- /package/decorators/lib/components/{clear-button/clear-button.component.d.ts → clear-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{close-button/close-button.component.d.ts → close-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{full-screen/full-screen-button.component.d.ts → full-screen-button.component.d.ts} +0 -0
- /package/decorators/lib/components/{icon/icon.component.d.ts → icon.component.d.ts} +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import { AXStyleColorType } from '@acorex/components/common';
|
1
2
|
import { ComponentType } from '@angular/cdk/portal';
|
2
3
|
import { TemplateRef } from '@angular/core';
|
3
4
|
export interface AXActionSheetItem {
|
@@ -5,7 +6,7 @@ export interface AXActionSheetItem {
|
|
5
6
|
text: string;
|
6
7
|
icon?: string;
|
7
8
|
disabled?: boolean;
|
8
|
-
color?:
|
9
|
+
color?: AXStyleColorType;
|
9
10
|
onClick?: () => void;
|
10
11
|
suffix?: {
|
11
12
|
text: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { MXColorLookComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXBadgeComponent extends
|
3
|
+
export declare class AXBadgeComponent extends MXColorLookComponent {
|
4
4
|
/**
|
5
5
|
* Defines the text displayed inside the badge.
|
6
6
|
*
|
@@ -1,6 +1,7 @@
|
|
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';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
/**
|
6
7
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
@@ -19,6 +20,10 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
|
|
19
20
|
* @defaultValue 'button'
|
20
21
|
*/
|
21
22
|
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>;
|
22
27
|
/**
|
23
28
|
* Defines the text displayed while the action sheet is loading.
|
24
29
|
*
|
@@ -56,5 +61,5 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
|
|
56
61
|
*/
|
57
62
|
blur(): void;
|
58
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
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,
|
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; }; "responsiveOn": { "alias": "responsiveOn"; "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"; "responsiveOn": "responsiveOnChange"; "loadingText": "loadingTextChange"; }, never, ["ax-loading, ax-loading-spinner", "ax-prefix,ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content"], false, never>;
|
60
65
|
}
|
@@ -1,6 +1,5 @@
|
|
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';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export interface AXButtonItemListItem {
|
6
5
|
name: string;
|
@@ -17,7 +16,6 @@ declare const AXButtonGroupItemComponent_base: import("polytype").Polytype.Clust
|
|
17
16
|
* @category Components
|
18
17
|
*/
|
19
18
|
export declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base {
|
20
|
-
btnGroup: AXButtonGroupComponent;
|
21
19
|
/**
|
22
20
|
* Text displayed on the button item.
|
23
21
|
*/
|
@@ -74,6 +72,6 @@ export declare class AXButtonGroupItemComponent extends AXButtonGroupItemCompone
|
|
74
72
|
*/
|
75
73
|
tabindex: string;
|
76
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupItemComponent, 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,
|
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, ["ax-prefix", "ax-loading", "ax-icon", "ax-suffix", "ax-dropdown-panel"], false, never>;
|
78
76
|
}
|
79
77
|
export {};
|
@@ -3,9 +3,8 @@ 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";
|
7
6
|
export declare class AXButtonGroupModule {
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule], [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent]>;
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonGroupModule>;
|
11
10
|
}
|
@@ -1,26 +1,22 @@
|
|
1
|
-
import {
|
1
|
+
import { MXColorLookComponent } 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'>;
|
6
4
|
/**
|
7
5
|
* A component for displaying and managing a set of chips.
|
8
6
|
*
|
9
7
|
* @category Components
|
10
8
|
*/
|
11
|
-
export declare class AXChipsComponent extends
|
9
|
+
export declare class AXChipsComponent extends MXColorLookComponent {
|
12
10
|
/**
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
* The text displayed on the chips.
|
12
|
+
*
|
13
|
+
* @defaultValue ''
|
14
|
+
*/
|
17
15
|
text: import("@angular/core").ModelSignal<string>;
|
18
|
-
look: import("@angular/core").ModelSignal<AXChipsLookType>;
|
19
|
-
size: import("@angular/core").ModelSignal<AXChipsSizeType>;
|
20
16
|
/**
|
21
17
|
* @ignore
|
22
18
|
*/
|
23
19
|
private get __hostClass();
|
24
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXChipsComponent, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXChipsComponent, "ax-chips", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "
|
21
|
+
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"], false, [{ directive: typeof i1.AXRippleDirective; inputs: {}; outputs: {}; }]>;
|
26
22
|
}
|
@@ -13,10 +13,6 @@ 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>;
|
20
16
|
/**
|
21
17
|
* @ignore
|
22
18
|
*/
|
@@ -54,6 +50,6 @@ export declare class AXColorBoxComponent extends AXColorBoxComponent_base {
|
|
54
50
|
*/
|
55
51
|
internalValueChanged(value?: Date): void;
|
56
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorBoxComponent, 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; };
|
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>;
|
58
54
|
}
|
59
55
|
export {};
|
@@ -1,6 +1,5 @@
|
|
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';
|
4
3
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
/**
|
@@ -8,11 +7,9 @@ import * as i0 from "@angular/core";
|
|
8
7
|
*
|
9
8
|
* @category Components
|
10
9
|
*/
|
11
|
-
export declare class AXColorPalettePickerComponent extends MXBaseComponent
|
10
|
+
export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
12
11
|
_parent: AXColorPaletteParentComponent;
|
13
12
|
private _unsubscriber;
|
14
|
-
render: Renderer2;
|
15
|
-
zone: NgZone;
|
16
13
|
_rgba: {
|
17
14
|
r: number;
|
18
15
|
g: number;
|
@@ -29,14 +26,6 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent imple
|
|
29
26
|
* @ignore
|
30
27
|
*/
|
31
28
|
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>>;
|
40
29
|
/**
|
41
30
|
* @ignore
|
42
31
|
*/
|
@@ -52,13 +41,10 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent imple
|
|
52
41
|
/**
|
53
42
|
* @ignore
|
54
43
|
*/
|
55
|
-
private onPointerMoveListenerFn;
|
56
|
-
private onPointerUpListenerFn;
|
57
44
|
/**
|
58
45
|
* @ignore
|
59
46
|
*/
|
60
47
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
61
|
-
ngOnDestroy(): void;
|
62
48
|
/**
|
63
49
|
* @ignore
|
64
50
|
*/
|
@@ -75,6 +61,15 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent imple
|
|
75
61
|
* @ignore
|
76
62
|
*/
|
77
63
|
protected _handleGradientChanged(e: any): void;
|
64
|
+
/**
|
65
|
+
* @ignore
|
66
|
+
*/
|
67
|
+
/**
|
68
|
+
* @ignore
|
69
|
+
*/
|
70
|
+
/**
|
71
|
+
* @ignore
|
72
|
+
*/
|
78
73
|
/**
|
79
74
|
* @ignore
|
80
75
|
*/
|
@@ -83,14 +78,14 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent imple
|
|
83
78
|
* @ignore
|
84
79
|
*/
|
85
80
|
private setPointerByPercent;
|
86
|
-
protected handleMove(event: PointerEvent): void;
|
87
|
-
protected handleDown(event: PointerEvent): void;
|
88
|
-
protected handleUp(): void;
|
89
|
-
private setColor;
|
90
81
|
/**
|
91
82
|
* @ignore
|
92
83
|
*/
|
93
84
|
private get __hostClass();
|
85
|
+
protected handleMove(event: MouseEvent | TouchEvent): void;
|
86
|
+
protected handleDown(event: MouseEvent | TouchEvent): void;
|
87
|
+
protected handleUp(): void;
|
88
|
+
private setColor;
|
94
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePickerComponent, never>;
|
95
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePickerComponent, "ax-color-palette-picker", never, {}, {}, never, never, false, never>;
|
96
91
|
}
|
@@ -14,9 +14,8 @@ 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";
|
18
17
|
export declare class AXColorPaletteModule {
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
|
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
|
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]>;
|
21
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
|
22
21
|
}
|
@@ -1,11 +1,9 @@
|
|
1
|
+
export declare const AX_STYLE_COLOR_TYPES: string[];
|
1
2
|
/**
|
2
3
|
* A token that specifies the color style of component.
|
3
4
|
*/
|
4
|
-
export type AXStyleColorType = 'primary' | '
|
5
|
-
export declare const AX_STYLE_COLOR_TYPES: AXStyleColorType[];
|
5
|
+
export type AXStyleColorType = 'primary' | 'success' | 'warning' | 'danger' | 'neutral' | 'ghost';
|
6
6
|
export type AXStyleLookType = 'solid' | 'blank' | 'outline' | 'twotone' | 'flat' | 'fill' | 'link' | 'none';
|
7
|
-
export declare const AX_STYLE_LOOK_TYPES:
|
8
|
-
export
|
9
|
-
export type AXStyleSizeType = `ax-${AXSizeType}`;
|
7
|
+
export declare const AX_STYLE_LOOK_TYPES: string[];
|
8
|
+
export declare const AX_LOCATIONS: string[];
|
10
9
|
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,9 +1,10 @@
|
|
1
|
+
import { MXLookComponent } from '@acorex/components/common';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
/**
|
3
4
|
* A container for displaying and managing conversations.
|
4
5
|
* @category Components
|
5
6
|
*/
|
6
|
-
export declare class AXConversationContainerComponent {
|
7
|
+
export declare class AXConversationContainerComponent extends MXLookComponent {
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationContainerComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, {}, {}, never, ["*"], false, never>;
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, { "look": { "alias": "look"; "required": false; }; }, {}, never, ["*"], false, never>;
|
9
10
|
}
|
@@ -38,6 +38,7 @@ 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>;
|
41
42
|
/** Acceptable file types for attachment */
|
42
43
|
acceptFileType: import("@angular/core").InputSignal<string>;
|
43
44
|
/**
|
@@ -111,6 +112,6 @@ export declare class AXConversationInputComponent extends AXConversationInputCom
|
|
111
112
|
*/
|
112
113
|
closeReplyHandler(): void;
|
113
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
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>;
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "placeholder": { "alias": "placeholder"; "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; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; "isSignal": true; }; }, { "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onCancelRecording": "onCancelRecording"; }, never, never, false, never>;
|
115
116
|
}
|
116
117
|
export {};
|
@@ -1,5 +1,6 @@
|
|
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';
|
3
4
|
import { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';
|
4
5
|
import { AXDateTime, AXDateTimeParts } from '@acorex/core/date-time';
|
5
6
|
import { EventEmitter, OnInit } from '@angular/core';
|
@@ -31,6 +32,10 @@ export declare class AXDateTimePickerComponent extends AXDateTimePickerComponent
|
|
31
32
|
set currentTimeButton(v: boolean);
|
32
33
|
private _calendarService;
|
33
34
|
private _tranlationService;
|
35
|
+
/**
|
36
|
+
* @ignore
|
37
|
+
*/
|
38
|
+
protected picker: AXPickerComponent;
|
34
39
|
/**
|
35
40
|
* @ignore
|
36
41
|
*/
|
@@ -85,6 +90,11 @@ export declare class AXDateTimePickerComponent extends AXDateTimePickerComponent
|
|
85
90
|
* @ignore
|
86
91
|
*/
|
87
92
|
ngOnInit(): Promise<void>;
|
93
|
+
/**
|
94
|
+
* Refreshes the picker component, updating its view and data.
|
95
|
+
* @ignore
|
96
|
+
*/
|
97
|
+
refresh(): void;
|
88
98
|
/**
|
89
99
|
* Handles changes to the internal value of the component.
|
90
100
|
* @param value - The new date value. If not provided, defaults to the current date.
|
@@ -8,9 +8,8 @@ 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";
|
12
11
|
export declare class AXDateTimePickerModule {
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimePickerModule, never>;
|
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
|
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]>;
|
15
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDateTimePickerModule>;
|
16
15
|
}
|
package/decorators/index.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
export * from './lib/components/clear-button
|
2
|
-
export * from './lib/components/close-button
|
3
|
-
export * from './lib/components/
|
4
|
-
export * from './lib/components/full-screen/full-screen-button.component';
|
1
|
+
export * from './lib/components/clear-button.component';
|
2
|
+
export * from './lib/components/close-button.component';
|
3
|
+
export * from './lib/components/full-screen-button.component';
|
5
4
|
export * from './lib/components/generic-content.component';
|
6
|
-
export * from './lib/components/icon
|
5
|
+
export * from './lib/components/icon.component';
|
7
6
|
export * from './lib/decorators.module';
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./components/icon
|
3
|
-
import * as i2 from "./components/clear-button
|
4
|
-
import * as i3 from "./components/close-button
|
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";
|
5
5
|
import * as i4 from "./components/generic-content.component";
|
6
|
-
import * as i5 from "./components/full-screen
|
7
|
-
import * as i6 from "
|
8
|
-
import * as i7 from "@angular/common";
|
6
|
+
import * as i5 from "./components/full-screen-button.component";
|
7
|
+
import * as i6 from "@angular/common";
|
9
8
|
export declare class AXDecoratorModule {
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent], [typeof i6.CommonModule], [typeof i1.AXDecoratorIconComponent, typeof i2.AXDecoratorClearButtonComponent, typeof i3.AXDecoratorCloseButtonComponent, typeof i4.AXDecoratorGenericComponent, typeof i5.AXDecoratorFullScreenButtonComponent]>;
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDecoratorModule>;
|
13
12
|
}
|
@@ -34,8 +34,6 @@ export declare class AXDialogComponent extends MXBaseComponent {
|
|
34
34
|
* @ignore
|
35
35
|
*/
|
36
36
|
get tabIndex(): string;
|
37
|
-
/** @ignore */
|
38
|
-
private get __hostClass();
|
39
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
40
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never, false, never>;
|
41
39
|
}
|
@@ -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; }; "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>;
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-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; }; "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
|
}
|
@@ -6,7 +6,7 @@ import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/port
|
|
6
6
|
import * as i5 from '@angular/common';
|
7
7
|
import { DOCUMENT, isPlatformBrowser, AsyncPipe } from '@angular/common';
|
8
8
|
import * as i0 from '@angular/core';
|
9
|
-
import { inject, Injectable, PLATFORM_ID, Renderer2, signal, TemplateRef,
|
9
|
+
import { inject, Injectable, PLATFORM_ID, Renderer2, signal, TemplateRef, HostListener, Inject, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
10
10
|
import { GlobalPositionStrategy } from '@angular/cdk/overlay';
|
11
11
|
import { Subject, BehaviorSubject } from 'rxjs';
|
12
12
|
import * as i3 from '@acorex/components/decorators';
|
@@ -40,7 +40,7 @@ class AXActionSheetService {
|
|
40
40
|
closeOnNavigation: true,
|
41
41
|
closeOnDestroy: true,
|
42
42
|
hasBackdrop: true,
|
43
|
-
panelClass: ['ax-
|
43
|
+
panelClass: ['ax-actionsheet-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-{{ item.color
|
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-el-interactive ax-el-{{ item.color }}-blank\"\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{display:block;width:100vw;position:relative;transition:height .3s cubic-bezier(.25,.75,.15,1)}@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-color-border-default))}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-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-{{ item.color
|
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-el-interactive ax-el-{{ item.color }}-blank\"\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{display:block;width:100vw;position:relative;transition:height .3s cubic-bezier(.25,.75,.15,1)}@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-color-border-default))}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-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]
|