@acorex/components 21.0.1-next.0 → 21.0.1-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +1 -0
- package/action-sheet/index.d.ts +41 -19
- package/button-group/index.d.ts +4 -6
- package/chips/index.d.ts +8 -3
- package/collapse/index.d.ts +6 -4
- package/conversation2/README.md +71 -31
- package/conversation2/index.d.ts +36 -35
- package/data-table/index.d.ts +253 -4
- package/datetime-picker/index.d.ts +1 -1
- package/dialog/index.d.ts +19 -15
- package/dropdown/index.d.ts +3 -4
- package/fesm2022/acorex-components-accordion.mjs +13 -8
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +141 -93
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +6 -6
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +4 -5
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.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 +3 -3
- 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 +11 -15
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +5 -5
- 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 +3 -3
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -6
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +4 -6
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +10 -13
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-command.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-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +161 -155
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +452 -16
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +3 -2
- 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 +35 -27
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +13 -20
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +67 -47
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +7 -6
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +9 -11
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +4 -4
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +9 -17
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +5 -4
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +18 -18
- 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-kanban.mjs +151 -13
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +7 -25
- package/fesm2022/acorex-components-kbd.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 +73 -36
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +8 -8
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +27 -6
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-BnUdtPke.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +29 -5
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-Cgq-wx_m.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +5 -7
- package/fesm2022/acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +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 +374 -246
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +2 -2
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +6 -7
- 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-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +19 -14
- 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-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +22 -27
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +6 -6
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +136 -175
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +308 -105
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +3 -5
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +2 -2
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +25 -27
- 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 +29 -14
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.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-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +2 -2
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1195 -136
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +3 -9
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -4
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +4 -4
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +14 -63
- 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 +5 -5
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +2 -2
- package/fesm2022/acorex-components-sliding-item.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 +4 -4
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.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 +2 -2
- 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-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +4 -4
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +233 -125
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -12
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
- 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-video-player.mjs +2 -2
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +12 -12
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/grid-layout-builder/index.d.ts +2 -1
- package/kanban/index.d.ts +61 -4
- package/kbd/index.d.ts +7 -13
- package/loading/index.d.ts +1 -1
- package/loading-dialog/index.d.ts +31 -15
- package/menu/index.d.ts +4 -0
- package/modal/index.d.ts +7 -0
- package/notification/index.d.ts +47 -28
- package/number-box/index.d.ts +1 -1
- package/package.json +3 -3
- package/paint/index.d.ts +6 -1
- package/phone-box/index.d.ts +1 -6
- package/popover/index.d.ts +20 -27
- package/popup/index.d.ts +103 -27
- package/rate-picker/index.d.ts +15 -5
- package/scheduler/index.d.ts +281 -27
- package/side-menu/index.d.ts +2 -9
- package/slider/index.d.ts +2 -2
- package/toast/index.d.ts +24 -18
- package/tooltip/index.d.ts +2 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-BnUdtPke.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs.map +0 -1
package/popup/index.d.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ComponentType, Portal, CdkPortalOutletAttachedRef } from '@angular/cdk/portal';
|
|
1
|
+
import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
|
|
3
2
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, ViewContainerRef, StaticProvider, OnInit } from '@angular/core';
|
|
3
|
+
import { TemplateRef, ViewContainerRef, StaticProvider, OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
5
|
import * as i2 from '@acorex/cdk/common';
|
|
6
6
|
import { MXBaseComponent, AXComponentClosedPromise } from '@acorex/cdk/common';
|
|
7
7
|
import * as i1 from '@angular/common';
|
|
8
|
-
import * as i3 from '@
|
|
9
|
-
import * as i4 from '@
|
|
10
|
-
import * as i6 from '@acorex/components/decorators';
|
|
11
|
-
import * as i7 from '@angular/cdk/dialog';
|
|
12
|
-
import * as i8 from '@acorex/core/translation';
|
|
8
|
+
import * as i3 from '@acorex/components/decorators';
|
|
9
|
+
import * as i4 from '@acorex/core/translation';
|
|
13
10
|
|
|
14
|
-
type AXPopupContentType = TemplateRef<unknown> |
|
|
11
|
+
type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown>;
|
|
15
12
|
type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
|
|
16
13
|
interface AXPopupConfig {
|
|
17
14
|
title?: string;
|
|
@@ -39,19 +36,77 @@ interface AXPopupData {
|
|
|
39
36
|
draggable: boolean;
|
|
40
37
|
content: AXPopupContentType;
|
|
41
38
|
}
|
|
39
|
+
interface AXPopupRef<TResult = any> {
|
|
40
|
+
close: (data?: TResult) => void;
|
|
41
|
+
setInputs: (values: AXComponentInputs) => void;
|
|
42
|
+
setTitle: (title: string) => void;
|
|
43
|
+
/** Brings this popup to the front of all other overlays */
|
|
44
|
+
bringToFront: () => void;
|
|
45
|
+
onClose: Subject<TResult>;
|
|
46
|
+
}
|
|
47
|
+
declare abstract class AXPopupComponentBase {
|
|
48
|
+
__popup__: i0.InputSignal<AXPopupRef<any>>;
|
|
49
|
+
close(data?: any): void;
|
|
50
|
+
setTitle(title: string): void;
|
|
51
|
+
bringToFront(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponentBase, never>;
|
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPopupComponentBase, never, never, { "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class AXPopupStateService {
|
|
57
|
+
private popupList;
|
|
58
|
+
private overlayService;
|
|
59
|
+
/**
|
|
60
|
+
* Opens a popup with the specified content and configuration.
|
|
61
|
+
* @param content - Component or template to display
|
|
62
|
+
* @param config - Configuration options for the popup
|
|
63
|
+
* @returns Promise<AXPopupRef> - Reference to the opened popup
|
|
64
|
+
*/
|
|
65
|
+
open<TResult = any>(content: AXPopupContentType, config: AXPopupConfig): Promise<AXPopupRef<TResult>>;
|
|
66
|
+
/**
|
|
67
|
+
* Closes a popup by its ID.
|
|
68
|
+
* @param id - The popup ID to close
|
|
69
|
+
* @param data - Optional data to pass to the close event
|
|
70
|
+
*/
|
|
71
|
+
close<TResult = any>(id: number, data?: TResult): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Sets input values for a popup by its ID.
|
|
74
|
+
* @param id - The popup ID
|
|
75
|
+
* @param values - Object containing input values to set
|
|
76
|
+
*/
|
|
77
|
+
setInputs(id: number, values: AXComponentInputs): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Sets the title for a popup by its ID.
|
|
80
|
+
* @param id - The popup ID
|
|
81
|
+
* @param title - The new title
|
|
82
|
+
*/
|
|
83
|
+
setTitle(id: number, title: string): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Brings a popup to the front of all other overlays.
|
|
86
|
+
* @param id - The popup ID to bring to front
|
|
87
|
+
*/
|
|
88
|
+
bringToFront(id: number): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupStateService, never>;
|
|
90
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupStateService>;
|
|
91
|
+
}
|
|
42
92
|
|
|
43
93
|
/**
|
|
44
|
-
* The
|
|
94
|
+
* The Popup is a component which displays content in a dialog overlay
|
|
45
95
|
*
|
|
46
96
|
* @category Components
|
|
47
97
|
*/
|
|
48
|
-
declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
98
|
+
declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
|
|
49
99
|
private _zone;
|
|
50
|
-
private
|
|
100
|
+
private _document;
|
|
51
101
|
private loadingService;
|
|
52
102
|
private _platform;
|
|
53
|
-
|
|
54
|
-
private
|
|
103
|
+
private componentService;
|
|
104
|
+
private contentContainerRef;
|
|
105
|
+
private contentContainerEl;
|
|
106
|
+
readonly __content__: i0.InputSignal<AXPopupContentType>;
|
|
107
|
+
readonly __config__: i0.InputSignal<AXPopupConfig>;
|
|
108
|
+
readonly __popupRef__: i0.InputSignal<AXPopupRef<any>>;
|
|
109
|
+
readonly __id__: i0.InputSignal<number>;
|
|
55
110
|
/**
|
|
56
111
|
* Indicates whether the component is loading.
|
|
57
112
|
* @defaultValue true
|
|
@@ -60,19 +115,28 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
|
60
115
|
/** @ignore */
|
|
61
116
|
private _loadingId;
|
|
62
117
|
/** @ignore */
|
|
63
|
-
|
|
118
|
+
private _componentRef;
|
|
119
|
+
/** Current title */
|
|
120
|
+
protected title: i0.WritableSignal<string>;
|
|
64
121
|
/** @ignore */
|
|
65
|
-
protected
|
|
122
|
+
protected isDragging: i0.WritableSignal<boolean>;
|
|
66
123
|
/** @ignore */
|
|
67
|
-
protected
|
|
124
|
+
protected dragOffset: i0.WritableSignal<{
|
|
125
|
+
x: number;
|
|
126
|
+
y: number;
|
|
127
|
+
}>;
|
|
68
128
|
/** @ignore */
|
|
69
|
-
private
|
|
129
|
+
private dragStartPos;
|
|
130
|
+
/** @ignore */
|
|
131
|
+
private elementStartPos;
|
|
70
132
|
/** @ignore */
|
|
71
133
|
ngOnInit(): void;
|
|
72
134
|
/** @ignore */
|
|
73
|
-
|
|
135
|
+
private renderContent;
|
|
74
136
|
/** @ignore */
|
|
75
|
-
|
|
137
|
+
private handleContentRendered;
|
|
138
|
+
/** @ignore */
|
|
139
|
+
onKeydownHandler(): void;
|
|
76
140
|
/** @ignore */
|
|
77
141
|
protected _handleCloseClick(): void;
|
|
78
142
|
/** @ignore */
|
|
@@ -82,17 +146,30 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit {
|
|
|
82
146
|
*/
|
|
83
147
|
focus(): void;
|
|
84
148
|
/**
|
|
85
|
-
* Closes the
|
|
149
|
+
* Closes the popup, emitting component reference, host element, and optional data.
|
|
86
150
|
* @param {unknown} [data]
|
|
87
151
|
*/
|
|
88
152
|
close(data?: unknown): void;
|
|
153
|
+
/**
|
|
154
|
+
* Sets inputs on the content component.
|
|
155
|
+
* @param values - Object containing input values to set
|
|
156
|
+
*/
|
|
157
|
+
setContentInputs(values: AXComponentInputs): void;
|
|
158
|
+
/**
|
|
159
|
+
* Sets the popup title.
|
|
160
|
+
* @param title - The new title
|
|
161
|
+
*/
|
|
162
|
+
setTitle(title: string): void;
|
|
163
|
+
protected onDragStart(event: MouseEvent): void;
|
|
164
|
+
onDragMove(event: MouseEvent): void;
|
|
165
|
+
onDragEnd(): void;
|
|
89
166
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, {}, {}, never, never, true, never>;
|
|
167
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, { "__content__": { "alias": "__content__"; "required": false; "isSignal": true; }; "__config__": { "alias": "__config__"; "required": false; "isSignal": true; }; "__popupRef__": { "alias": "__popupRef__"; "required": false; "isSignal": true; }; "__id__": { "alias": "__id__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
91
168
|
}
|
|
92
169
|
|
|
93
170
|
declare class AXPopupModule {
|
|
94
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
|
|
95
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.
|
|
172
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXDecoratorModule, typeof i4.AXTranslationModule, typeof AXPopupComponent], [typeof AXPopupComponent]>;
|
|
96
173
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
|
|
97
174
|
}
|
|
98
175
|
|
|
@@ -102,8 +179,7 @@ declare class AXPopupModule {
|
|
|
102
179
|
* @category Components
|
|
103
180
|
*/
|
|
104
181
|
declare class AXPopupService {
|
|
105
|
-
|
|
106
|
-
private dialog;
|
|
182
|
+
private stateService;
|
|
107
183
|
/**
|
|
108
184
|
* Open popup 1
|
|
109
185
|
*/
|
|
@@ -116,5 +192,5 @@ declare class AXPopupService {
|
|
|
116
192
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPopupService>;
|
|
117
193
|
}
|
|
118
194
|
|
|
119
|
-
export { AXPopupComponent, AXPopupModule, AXPopupService };
|
|
120
|
-
export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupSizeType };
|
|
195
|
+
export { AXPopupComponent, AXPopupComponentBase, AXPopupModule, AXPopupService, AXPopupStateService };
|
|
196
|
+
export type { AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupRef, AXPopupSizeType };
|
package/rate-picker/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import { MXValueComponent
|
|
3
|
+
import { MXValueComponent } from '@acorex/cdk/common';
|
|
4
4
|
import * as i1 from '@angular/common';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -19,7 +19,6 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
|
19
19
|
* @default 'fa-star'
|
|
20
20
|
*/
|
|
21
21
|
readonly iconName: _angular_core.InputSignal<string>;
|
|
22
|
-
readonly color: _angular_core.InputSignal<AXStyleColorType>;
|
|
23
22
|
/**
|
|
24
23
|
* @description
|
|
25
24
|
* Maximum value for the rating.
|
|
@@ -115,11 +114,22 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
|
115
114
|
private onEnd;
|
|
116
115
|
private countDecimals;
|
|
117
116
|
/**
|
|
118
|
-
* @
|
|
117
|
+
* @description
|
|
118
|
+
* Determines if the component is active (i.e., not readonly or disabled).
|
|
119
|
+
*/
|
|
120
|
+
get isActive(): boolean;
|
|
121
|
+
/**
|
|
122
|
+
* @description
|
|
123
|
+
* Determines if the component is in readonly mode.
|
|
124
|
+
*/
|
|
125
|
+
get isReadonly(): boolean;
|
|
126
|
+
/**
|
|
127
|
+
* @description
|
|
128
|
+
* Determines if the component is disabled.
|
|
119
129
|
*/
|
|
120
|
-
|
|
130
|
+
get isDisabled(): boolean;
|
|
121
131
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRatePickerComponent, never>;
|
|
122
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "
|
|
132
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXRatePickerComponent, "ax-rate-picker", never, { "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hasTransition": { "alias": "hasTransition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
123
133
|
}
|
|
124
134
|
|
|
125
135
|
declare class AXRatePickerModule {
|