@acorex/components 22.2.0-next.0 → 22.2.0-next.2
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/comment/README.md +467 -2
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs +1 -1
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +13 -15
- 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-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +44 -2
- package/fesm2022/acorex-components-combo-box.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 +905 -69
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs → acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs} +6 -6
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs.map → acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs.map} +1 -1
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-data-list.mjs +1 -1
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +524 -145
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +17 -6
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +16 -11
- 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-fab.mjs +1 -1
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +6 -2
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +8 -8
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +108 -5
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +7 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +160 -23
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +27 -9
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +30 -8
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +1 -1
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +14 -1
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-reaction.mjs +1 -1
- package/fesm2022/acorex-components-reaction.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +10 -10
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +1 -1
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-sidebar.mjs +2 -2
- package/fesm2022/acorex-components-sidebar.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +4 -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-text-editor.mjs +1950 -0
- package/fesm2022/acorex-components-text-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-time-duration.mjs +59 -19
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +49 -4
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +10 -3
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +9 -20
- package/text-editor/README.md +7 -0
- package/types/acorex-components-combo-box.d.ts +5 -0
- package/types/acorex-components-comment.d.ts +352 -33
- package/types/acorex-components-data-table.d.ts +121 -14
- package/types/acorex-components-drawer.d.ts +2 -2
- package/types/acorex-components-dropdown-button.d.ts +7 -2
- package/types/acorex-components-file-viewer.d.ts +3 -0
- package/types/acorex-components-lookup.d.ts +35 -6
- package/types/acorex-components-map.d.ts +7 -0
- package/types/acorex-components-menu.d.ts +5 -0
- package/types/acorex-components-popover.d.ts +5 -1
- package/types/acorex-components-text-editor.d.ts +1256 -0
- package/types/acorex-components-time-duration.d.ts +17 -3
- package/types/acorex-components-tooltip.d.ts +11 -1
- package/types/acorex-components-wysiwyg.d.ts +5 -0
- package/cron-job/README.md +0 -3
- package/editor/README.md +0 -3
- package/fesm2022/acorex-components-cron-job.mjs +0 -1309
- package/fesm2022/acorex-components-cron-job.mjs.map +0 -1
- package/fesm2022/acorex-components-editor.mjs +0 -199
- package/fesm2022/acorex-components-editor.mjs.map +0 -1
- package/types/acorex-components-cron-job.d.ts +0 -330
- package/types/acorex-components-editor.d.ts +0 -79
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as polytype from 'polytype';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
3
4
|
import { MXInputBaseValueComponent, MXLookComponent, AXValueChangedEvent, AXFocusEvent } from '@acorex/cdk/common';
|
|
4
5
|
import { AXInputMaskEvent } from '@acorex/cdk/input-mask';
|
|
5
6
|
|
|
6
7
|
type AXTimeDurationUnit = 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND' | 'MILLISECOND';
|
|
8
|
+
type AXTimeDurationSequence = 'descending' | 'ascending';
|
|
7
9
|
|
|
8
10
|
declare const AXTimeDurationComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
9
11
|
new (): MXInputBaseValueComponent<number>;
|
|
@@ -12,9 +14,12 @@ declare const AXTimeDurationComponent_base: polytype.Polytype.ClusteredConstruct
|
|
|
12
14
|
}, typeof MXLookComponent]>;
|
|
13
15
|
declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
|
|
14
16
|
#private;
|
|
17
|
+
private readonly defaultConfig;
|
|
15
18
|
protected inputValue: string;
|
|
16
19
|
readonly valueStart: _angular_core.InputSignal<AXTimeDurationUnit>;
|
|
17
20
|
readonly valueEnd: _angular_core.InputSignal<AXTimeDurationUnit>;
|
|
21
|
+
/** Display order of units. Defaults to `AX_TIME_DURATION_CONFIG.sequence`. */
|
|
22
|
+
readonly sequence: _angular_core.InputSignal<AXTimeDurationSequence>;
|
|
18
23
|
readonly label: _angular_core.InputSignal<boolean>;
|
|
19
24
|
readonly maskDigits: _angular_core.InputSignal<string>;
|
|
20
25
|
readonly minValue: _angular_core.InputSignal<number>;
|
|
@@ -41,6 +46,7 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
|
|
|
41
46
|
protected internalValueChanged(value: number): Promise<void>;
|
|
42
47
|
private replacePersianLabels;
|
|
43
48
|
private maskToMilliseconds;
|
|
49
|
+
private getOrderedUnits;
|
|
44
50
|
private updateMask;
|
|
45
51
|
protected focusHandler(e: AXFocusEvent): void;
|
|
46
52
|
protected blurHandler(e: AXFocusEvent): void;
|
|
@@ -57,14 +63,22 @@ declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
|
|
|
57
63
|
}>;
|
|
58
64
|
private get __hostName();
|
|
59
65
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTimeDurationComponent, never>;
|
|
60
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTimeDurationComponent, "ax-time-duration", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "name": { "alias": "name"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; "isSignal": true; }; "valueEnd": { "alias": "valueEnd"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "maskDigits": { "alias": "maskDigits"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
|
|
66
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTimeDurationComponent, "ax-time-duration", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "name": { "alias": "name"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; "isSignal": true; }; "valueEnd": { "alias": "valueEnd"; "required": false; "isSignal": true; }; "sequence": { "alias": "sequence"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "maskDigits": { "alias": "maskDigits"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, never, true, never>;
|
|
61
67
|
}
|
|
62
68
|
|
|
69
|
+
interface AXTimeDurationConfig {
|
|
70
|
+
sequence: AXTimeDurationSequence;
|
|
71
|
+
}
|
|
72
|
+
declare const AXTimeDurationDefaultConfig: AXTimeDurationConfig;
|
|
73
|
+
declare const AX_TIME_DURATION_CONFIG: InjectionToken<AXTimeDurationConfig>;
|
|
74
|
+
type PartialTimeDurationConfig = Partial<AXTimeDurationConfig>;
|
|
75
|
+
declare function timeDurationConfig(config?: PartialTimeDurationConfig): AXTimeDurationConfig;
|
|
76
|
+
|
|
63
77
|
declare class AXTimeDurationModule {
|
|
64
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTimeDurationModule, never>;
|
|
65
79
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXTimeDurationModule, never, [typeof AXTimeDurationComponent], [typeof AXTimeDurationComponent]>;
|
|
66
80
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXTimeDurationModule>;
|
|
67
81
|
}
|
|
68
82
|
|
|
69
|
-
export { AXTimeDurationComponent, AXTimeDurationModule };
|
|
70
|
-
export type { AXTimeDurationUnit };
|
|
83
|
+
export { AXTimeDurationComponent, AXTimeDurationDefaultConfig, AXTimeDurationModule, AX_TIME_DURATION_CONFIG, timeDurationConfig };
|
|
84
|
+
export type { AXTimeDurationConfig, AXTimeDurationSequence, AXTimeDurationUnit, PartialTimeDurationConfig };
|
|
@@ -30,6 +30,12 @@ declare class AXTooltipDirective {
|
|
|
30
30
|
axTooltipDisabled: i0.InputSignal<boolean>;
|
|
31
31
|
content: i0.InputSignal<string | TemplateRef<unknown>>;
|
|
32
32
|
context: i0.InputSignal<unknown>;
|
|
33
|
+
/**
|
|
34
|
+
* When true, the tooltip opens on hover only if the host or a descendant is horizontally truncated.
|
|
35
|
+
*
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
*/
|
|
38
|
+
axTooltipOverflowOnly: i0.InputSignal<boolean>;
|
|
33
39
|
private _placement;
|
|
34
40
|
get placement(): AXPlacementType;
|
|
35
41
|
set placement(v: AXPlacementType);
|
|
@@ -48,8 +54,12 @@ declare class AXTooltipDirective {
|
|
|
48
54
|
private popoverRef;
|
|
49
55
|
private ensurePopover;
|
|
50
56
|
close(): void;
|
|
57
|
+
/** @ignore */
|
|
58
|
+
protected onHostMouseEnter(): void;
|
|
59
|
+
private isOverflowing;
|
|
60
|
+
private elementOverflows;
|
|
51
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
|
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "axTooltipDisabled": { "alias": "axTooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "context": { "alias": "axTooltipContext"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "axTooltipDisabled": { "alias": "axTooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "context": { "alias": "axTooltipContext"; "required": false; "isSignal": true; }; "axTooltipOverflowOnly": { "alias": "axTooltipOverflowOnly"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
63
|
}
|
|
54
64
|
|
|
55
65
|
declare class AXTooltipModule {
|
|
@@ -22,6 +22,8 @@ declare const AXWysiwygContainerComponent_base: polytype.Polytype.ClusteredConst
|
|
|
22
22
|
}, typeof MXLookComponent]>;
|
|
23
23
|
/**
|
|
24
24
|
* A container component for WYSIWYG (What You See Is What You Get) editor functionality.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated Use `AXTextEditorComponent` from `@acorex/components/text-editor` instead.
|
|
25
27
|
* @category Components
|
|
26
28
|
*/
|
|
27
29
|
declare class AXWysiwygContainerComponent extends AXWysiwygContainerComponent_base {
|
|
@@ -446,6 +448,9 @@ declare class AXWysiwygViewComponent {
|
|
|
446
448
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, {}, {}, never, never, true, never>;
|
|
447
449
|
}
|
|
448
450
|
|
|
451
|
+
/**
|
|
452
|
+
* @deprecated Use `AXTextEditorModule` or standalone `AXTextEditorComponent` from `@acorex/components/text-editor` instead.
|
|
453
|
+
*/
|
|
449
454
|
declare class AXWysiwygModule {
|
|
450
455
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXWysiwygModule, never>;
|
|
451
456
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXWysiwygModule, never, [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent], [typeof AXWysiwygContainerComponent, typeof AXWysiwygViewComponent, typeof AXWysiwygAlignmentComponent, typeof AXWysiwygColorsComponent, typeof AXWysiwygFontStyleComponent, typeof AXWysiwygHistoryComponent, typeof AXWysiwygInsertComponent, typeof AXWysiwygListComponent, typeof AXWysiwygToolbarComponent]>;
|
package/cron-job/README.md
DELETED
package/editor/README.md
DELETED