@acorex/platform 18.1.2 → 18.1.3
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/esm2022/layout/builder/lib/builder/widget-catalog.mjs +2 -1
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +5 -2
- package/esm2022/layout/designer/lib/designer/index.mjs +5 -4
- package/esm2022/layout/entity/lib/entity.module.mjs +4 -3
- package/esm2022/layout/entity/lib/widgets/widget-selector/index.mjs +4 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.mjs +130 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-view.component.mjs +18 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget.config.mjs +19 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/index.mjs +1 -2
- package/esm2022/themes/shared/acorex-platform-themes-shared.mjs +5 -0
- package/esm2022/themes/shared/index.mjs +6 -0
- package/esm2022/themes/shared/lib/comments/comment-list-view.component.mjs +397 -0
- package/esm2022/themes/{default/lib/layouts/entity-layouts/entity-master-single-view → shared/lib}/comments/comment-lookup-popup.component.mjs +1 -1
- package/esm2022/themes/shared/lib/comments/comments.service.mjs +3 -0
- package/esm2022/themes/shared/lib/comments/comments.type.mjs +2 -0
- package/esm2022/themes/shared/lib/shared.module.mjs +16 -0
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +24 -8
- package/fesm2022/acorex-platform-layout-builder.mjs +5 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +190 -100
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +157 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-LyEomIA6.mjs → acorex-platform-themes-default-entity-master-create-view.component-Q8eTfAVx.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-LyEomIA6.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-Q8eTfAVx.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CKRwvJTp.mjs → acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs} +8 -8
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CKRwvJTp.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CMRfspMB.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BijYXMme.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-CMRfspMB.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-BijYXMme.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bnrabotu.mjs +145 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bnrabotu.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +11 -14
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +469 -0
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +23 -7
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget.types.d.ts +1 -0
- package/layout/designer/lib/designer/index.d.ts +4 -3
- package/layout/entity/lib/widgets/widget-selector/index.d.ts +3 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.d.ts +25 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget-view.component.d.ts +6 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget.config.d.ts +7 -0
- package/package.json +23 -17
- package/themes/default/lib/layouts/entity-layouts/index.d.ts +0 -1
- package/themes/shared/README.md +4 -0
- package/themes/shared/index.d.ts +5 -0
- package/themes/{default/lib/layouts/entity-layouts/entity-master-single-view → shared/lib}/comments/comment-list-view.component.d.ts +21 -16
- package/themes/shared/lib/shared.module.d.ts +6 -0
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +3 -1
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comment-list-view.component.mjs +0 -284
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comments.service.mjs +0 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comments.type.mjs +0 -2
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-BZryrCyh.mjs +0 -100
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-BZryrCyh.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DhcKSyrX.mjs +0 -457
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DhcKSyrX.mjs.map +0 -1
- /package/themes/{default/lib/layouts/entity-layouts/entity-master-single-view → shared/lib}/comments/comment-lookup-popup.component.d.ts +0 -0
- /package/themes/{default/lib/layouts/entity-layouts/entity-master-single-view → shared/lib}/comments/comments.service.d.ts +0 -0
- /package/themes/{default/lib/layouts/entity-layouts/entity-master-single-view → shared/lib}/comments/comments.type.d.ts +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export * from './components/grid-drawer/grid-drawer.component';
|
|
2
1
|
export * from './components/add-widget-button/add-widget-button.component';
|
|
2
|
+
export * from './components/grid-drawer/grid-drawer.component';
|
|
3
|
+
export * from './components/widget-picker/widget-picker.component';
|
|
3
4
|
export * from './designer.component';
|
|
4
|
-
export * from './shared/
|
|
5
|
+
export * from './shared/designer-connector.service';
|
|
5
6
|
export * from './shared/designer.service';
|
|
6
7
|
export * from './shared/designer.typs';
|
|
7
|
-
export * from './shared/designer-
|
|
8
|
+
export * from './shared/widget-designer-renderer.directive';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AXTextBoxComponent } from '@acorex/components/text-box';
|
|
2
|
+
import { AXPValidationRule } from '@acorex/platform/core';
|
|
3
|
+
import { AXPWidgetComponent, AXPWidgetConfig, AXPWidgetNode } from '@acorex/platform/layout/builder';
|
|
4
|
+
import { AXPWidgetPropertiesChangedEvent } from '@acorex/platform/layout/designer';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXPWidgetSelectorWidgetEditComponent extends AXPWidgetComponent<any> {
|
|
7
|
+
private popupService;
|
|
8
|
+
private widgetRegisteryService;
|
|
9
|
+
textbox: AXTextBoxComponent;
|
|
10
|
+
protected searchTerm: import("@angular/core").WritableSignal<string | null>;
|
|
11
|
+
protected isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
protected textField: import("@angular/core").WritableSignal<string>;
|
|
13
|
+
protected displayText: import("@angular/core").Signal<any>;
|
|
14
|
+
protected selectedWidgetNode: import("@angular/core").WritableSignal<AXPWidgetNode | null>;
|
|
15
|
+
protected selectedItem: import("@angular/core").WritableSignal<any>;
|
|
16
|
+
protected placeholder: import("@angular/core").Signal<any>;
|
|
17
|
+
protected loading: import("@angular/core").Signal<boolean>;
|
|
18
|
+
protected validationRules: import("@angular/core").Signal<AXPValidationRule[]>;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
showSelector(): Promise<void>;
|
|
21
|
+
protected convertWidgetConfigToNode(config: AXPWidgetConfig): AXPWidgetNode;
|
|
22
|
+
protected handleChangeWidget(e: AXPWidgetPropertiesChangedEvent): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetSelectorWidgetEditComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetSelectorWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXPWidgetSelectorWidgetViewComponent extends AXPWidgetComponent<any> {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPWidgetSelectorWidgetViewComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPWidgetSelectorWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"esm": "./esm2022/auth/acorex-platform-auth.mjs",
|
|
46
46
|
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./
|
|
49
|
-
"types": "./
|
|
50
|
-
"esm2022": "./esm2022/
|
|
51
|
-
"esm": "./esm2022/
|
|
52
|
-
"default": "./fesm2022/acorex-platform-
|
|
48
|
+
"./mocks": {
|
|
49
|
+
"types": "./mocks/index.d.ts",
|
|
50
|
+
"esm2022": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
51
|
+
"esm": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-mocks.mjs"
|
|
53
53
|
},
|
|
54
54
|
"./native": {
|
|
55
55
|
"types": "./native/index.d.ts",
|
|
@@ -57,11 +57,17 @@
|
|
|
57
57
|
"esm": "./esm2022/native/acorex-platform-native.mjs",
|
|
58
58
|
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
59
59
|
},
|
|
60
|
-
"./
|
|
61
|
-
"types": "./
|
|
62
|
-
"esm2022": "./esm2022/
|
|
63
|
-
"esm": "./esm2022/
|
|
64
|
-
"default": "./fesm2022/acorex-platform-
|
|
60
|
+
"./layouts": {
|
|
61
|
+
"types": "./layouts/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
63
|
+
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
64
|
+
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./common": {
|
|
67
|
+
"types": "./common/index.d.ts",
|
|
68
|
+
"esm2022": "./esm2022/common/acorex-platform-common.mjs",
|
|
69
|
+
"esm": "./esm2022/common/acorex-platform-common.mjs",
|
|
70
|
+
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
65
71
|
},
|
|
66
72
|
"./core": {
|
|
67
73
|
"types": "./core/index.d.ts",
|
|
@@ -69,12 +75,6 @@
|
|
|
69
75
|
"esm": "./esm2022/core/acorex-platform-core.mjs",
|
|
70
76
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
71
77
|
},
|
|
72
|
-
"./layouts": {
|
|
73
|
-
"types": "./layouts/index.d.ts",
|
|
74
|
-
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
75
|
-
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
76
|
-
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
77
|
-
},
|
|
78
78
|
"./widgets": {
|
|
79
79
|
"types": "./widgets/index.d.ts",
|
|
80
80
|
"esm2022": "./esm2022/widgets/acorex-platform-widgets.mjs",
|
|
@@ -110,6 +110,12 @@
|
|
|
110
110
|
"esm2022": "./esm2022/themes/default/acorex-platform-themes-default.mjs",
|
|
111
111
|
"esm": "./esm2022/themes/default/acorex-platform-themes-default.mjs",
|
|
112
112
|
"default": "./fesm2022/acorex-platform-themes-default.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./themes/shared": {
|
|
115
|
+
"types": "./themes/shared/index.d.ts",
|
|
116
|
+
"esm2022": "./esm2022/themes/shared/acorex-platform-themes-shared.mjs",
|
|
117
|
+
"esm": "./esm2022/themes/shared/acorex-platform-themes-shared.mjs",
|
|
118
|
+
"default": "./fesm2022/acorex-platform-themes-shared.mjs"
|
|
113
119
|
}
|
|
114
120
|
}
|
|
115
121
|
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { AXWysiwygContainerComponent } from '@acorex/components/wysiwyg';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
2
3
|
import { AXStyleLookType } from '@acorex/components/common';
|
|
3
4
|
import { AXPComment } from './comments.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AXPCommentListViewComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isReplyingMode: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
-
isEditingMode: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
export declare class AXPCommentListViewComponent implements OnInit {
|
|
7
|
+
protected hasCooldown: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
protected isSubmitting: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
protected commentContent: import("@angular/core").WritableSignal<string>;
|
|
10
|
+
protected isReplyingMode: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
protected isEditingMode: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
protected isLoading: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
protected failedImageIds: import("@angular/core").WritableSignal<string[]>;
|
|
14
|
+
protected activeReplyComment: import("@angular/core").WritableSignal<AXPComment | undefined>;
|
|
15
|
+
protected activeEditComment: import("@angular/core").WritableSignal<AXPComment | undefined>;
|
|
16
|
+
protected wysiwygEditor: import("@angular/core").Signal<AXWysiwygContainerComponent>;
|
|
15
17
|
private commentService;
|
|
18
|
+
private platform;
|
|
16
19
|
private route;
|
|
17
20
|
private popupService;
|
|
18
21
|
private toastService;
|
|
@@ -20,6 +23,7 @@ export declare class AXPCommentListViewComponent {
|
|
|
20
23
|
private htmlUtils;
|
|
21
24
|
private readonly routeParams;
|
|
22
25
|
private payload;
|
|
26
|
+
time?: number;
|
|
23
27
|
protected comments: import("@angular/core").WritableSignal<AXPComment[]>;
|
|
24
28
|
ngOnInit(): void;
|
|
25
29
|
protected wysiwygOptions: import("@angular/core").WritableSignal<{
|
|
@@ -41,15 +45,16 @@ export declare class AXPCommentListViewComponent {
|
|
|
41
45
|
checkImageExists(imageId: string): boolean;
|
|
42
46
|
extractInitials(name: string): string;
|
|
43
47
|
loadComments(): Promise<void>;
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
editMessage(comment: AXPComment, reply?: AXPComment): void;
|
|
49
|
+
replyComment(comment: AXPComment): void;
|
|
46
50
|
deleteComment(comment: AXPComment): Promise<void>;
|
|
51
|
+
deleteReply(comment: AXPComment, reply: AXPComment): Promise<void>;
|
|
47
52
|
resetReplyEditState(): void;
|
|
48
|
-
|
|
53
|
+
toggleLike(comment: AXPComment, reply?: AXPComment): Promise<void>;
|
|
49
54
|
private updateLikeStatus;
|
|
50
|
-
private
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
private removeMessageById;
|
|
56
|
+
submitComment(isPrivate?: boolean): Promise<void>;
|
|
57
|
+
scrollMain(): void;
|
|
53
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCommentListViewComponent, never>;
|
|
54
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCommentListViewComponent, "axp-comment-list-view", never, {}, {}, never, never, true, never>;
|
|
55
60
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AXPSharedModule {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSharedModule, never>;
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPSharedModule, never, never, never>;
|
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPSharedModule>;
|
|
6
|
+
}
|
|
@@ -5,7 +5,7 @@ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
|
5
5
|
import { Signal } from '@angular/core';
|
|
6
6
|
import { AXPContactDataType } from './contact.type';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<
|
|
8
|
+
export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<string | string[] | AXPContactDataType | AXPContactDataType[] | undefined> {
|
|
9
9
|
protected type: Signal<"email" | "link" | "phone">;
|
|
10
10
|
protected labelList: Signal<string[]>;
|
|
11
11
|
protected hasLabel: Signal<boolean>;
|
|
@@ -13,6 +13,7 @@ export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<an
|
|
|
13
13
|
protected hasIcon: Signal<boolean>;
|
|
14
14
|
protected disabled: Signal<boolean>;
|
|
15
15
|
protected placeholder: Signal<string>;
|
|
16
|
+
private format;
|
|
16
17
|
constructor();
|
|
17
18
|
private popup;
|
|
18
19
|
protected dataSource: AXDataSource<string | undefined>;
|
|
@@ -28,6 +29,7 @@ export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<an
|
|
|
28
29
|
private valueToArray;
|
|
29
30
|
private itemToArray;
|
|
30
31
|
private emptyValue;
|
|
32
|
+
setFormatedValue(items: AXPContactDataType | AXPContactDataType[]): string | string[] | AXPContactDataType | AXPContactDataType[];
|
|
31
33
|
private chooseIcon;
|
|
32
34
|
private get __class();
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetEditComponent, never>;
|