@acorex/platform 18.0.16 → 18.1.0
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/common/lib/schema/entity/entity.class.d.ts +2 -1
- package/esm2022/common/lib/schema/entity/entity.class.mjs +1 -1
- package/esm2022/common/lib/workflows/common.workflow.mjs +1 -1
- package/esm2022/layout/designer/lib/designer/components/header-menu/header-menu.component.mjs +1 -1
- package/esm2022/layout/designer/lib/designer/designer.component.mjs +2 -2
- package/esm2022/layout/entity/lib/entity.module.mjs +4 -2
- package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +7 -4
- package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +4 -3
- package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +10 -11
- package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +3 -2
- package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +2 -3
- package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +3 -3
- package/esm2022/layouts/lib/admin/entity-layout/index.mjs +2 -2
- package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +2 -2
- package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +2 -4
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +33 -6
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +4 -4
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comment-list-view.component.mjs +4 -4
- package/esm2022/widgets/lib/properties/editors.props.mjs +61 -2
- package/esm2022/widgets/lib/properties/table-column.props.mjs +17 -2
- package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +23 -7
- package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +24 -8
- package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +4 -2
- package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +7 -3
- package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +4 -4
- package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +3 -3
- package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-column.component.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.mjs +6 -6
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +23 -14
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-view.component.mjs +58 -58
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +3 -3
- package/esm2022/widgets/lib/widgets/editors/contact/index.mjs +3 -4
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +63 -41
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +14 -20
- package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-view.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +5 -4
- package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +49 -57
- package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +11 -17
- package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +3 -2
- package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-column.component.mjs +44 -7
- package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-edit.component.mjs +1 -1
- package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-view.component.mjs +11 -5
- package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +33 -15
- package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +4 -4
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.mjs +20 -6
- package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +4 -4
- package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +4 -4
- package/esm2022/widgets/lib/widgets.module.mjs +16 -10
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +2 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +18 -13
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs → acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs} +3 -2
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs.map +1 -0
- package/fesm2022/acorex-platform-layouts.mjs +1633 -1633
- package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs +281 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CGhOE3jO.mjs +357 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CGhOE3jO.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +11 -562
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs → acorex-platform-widgets-button-widget-designer.component-COvuxaTt.mjs} +23 -7
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-COvuxaTt.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs → acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs +23 -0
- package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +747 -586
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +1 -1
- package/layout/entity/lib/workflows/create-entity.workflow.d.ts +2 -0
- package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +2 -0
- package/layouts/lib/admin/entity-layout/index.d.ts +1 -1
- package/package.json +12 -12
- package/themes/default/lib/entity-reuse.strategy.d.ts +1 -1
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +5 -0
- package/widgets/lib/properties/editors.props.d.ts +4 -0
- package/widgets/lib/properties/table-column.props.d.ts +1 -0
- package/widgets/lib/widgets/actions/button/button-widget-designer.component.d.ts +2 -1
- package/widgets/lib/widgets/actions/button/button-widget-view.component.d.ts +2 -1
- package/widgets/lib/widgets/advance/file/file-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +2 -0
- package/widgets/lib/widgets/advance/signature/signature-pad-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/contact/contact-widget-view.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/contact/index.d.ts +2 -3
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +2 -1
- package/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.d.ts +2 -2
- package/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/large-text/large-text-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/password/password-box-widget-column.component.d.ts +7 -3
- package/widgets/lib/widgets/editors/password/password-box-widget-edit.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/password/password-box-widget-view.component.d.ts +1 -1
- package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +2 -0
- package/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.d.ts +1 -1
- package/fesm2022/acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs.map +0 -1
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXPLookupWidgetViewComponent extends AXPWidgetComponent<any> {
|
|
5
5
|
protected textField: string;
|
|
6
6
|
protected expose: string | undefined;
|
|
7
|
-
protected entity: string
|
|
7
|
+
protected entity: import("@angular/core").Signal<string>;
|
|
8
8
|
protected formatService: AXFormatService;
|
|
9
9
|
protected loader: import("../../entity.config").AXPEntityDefinitionLoader;
|
|
10
10
|
private entityDef;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "18.0
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"esm": "./esm2022/auth/acorex-platform-auth.mjs",
|
|
46
46
|
"default": "./fesm2022/acorex-platform-auth.mjs"
|
|
47
47
|
},
|
|
48
|
+
"./common": {
|
|
49
|
+
"types": "./common/index.d.ts",
|
|
50
|
+
"esm2022": "./esm2022/common/acorex-platform-common.mjs",
|
|
51
|
+
"esm": "./esm2022/common/acorex-platform-common.mjs",
|
|
52
|
+
"default": "./fesm2022/acorex-platform-common.mjs"
|
|
53
|
+
},
|
|
48
54
|
"./core": {
|
|
49
55
|
"types": "./core/index.d.ts",
|
|
50
56
|
"esm2022": "./esm2022/core/acorex-platform-core.mjs",
|
|
51
57
|
"esm": "./esm2022/core/acorex-platform-core.mjs",
|
|
52
58
|
"default": "./fesm2022/acorex-platform-core.mjs"
|
|
53
59
|
},
|
|
54
|
-
"./layouts": {
|
|
55
|
-
"types": "./layouts/index.d.ts",
|
|
56
|
-
"esm2022": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
57
|
-
"esm": "./esm2022/layouts/acorex-platform-layouts.mjs",
|
|
58
|
-
"default": "./fesm2022/acorex-platform-layouts.mjs"
|
|
59
|
-
},
|
|
60
60
|
"./mocks": {
|
|
61
61
|
"types": "./mocks/index.d.ts",
|
|
62
62
|
"esm2022": "./esm2022/mocks/acorex-platform-mocks.mjs",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"esm": "./esm2022/native/acorex-platform-native.mjs",
|
|
70
70
|
"default": "./fesm2022/acorex-platform-native.mjs"
|
|
71
71
|
},
|
|
72
|
-
"./
|
|
73
|
-
"types": "./
|
|
74
|
-
"esm2022": "./esm2022/
|
|
75
|
-
"esm": "./esm2022/
|
|
76
|
-
"default": "./fesm2022/acorex-platform-
|
|
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
77
|
},
|
|
78
78
|
"./widgets": {
|
|
79
79
|
"types": "./widgets/index.d.ts",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot,
|
|
1
|
+
import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router';
|
|
2
2
|
export declare class AXPEntityReuseStrategy implements RouteReuseStrategy {
|
|
3
3
|
shouldDetach(route: ActivatedRouteSnapshot): boolean;
|
|
4
4
|
store(route: ActivatedRouteSnapshot, detachedTree: DetachedRouteHandle): void;
|
|
@@ -13,17 +13,22 @@ export declare class AXPEntityDetailListViewComponent {
|
|
|
13
13
|
protected platform: AXPlatform;
|
|
14
14
|
private store;
|
|
15
15
|
private layout;
|
|
16
|
+
private workflow;
|
|
16
17
|
vm: AXPEntityDetailListViewModel;
|
|
17
18
|
protected focusedRow: any;
|
|
18
19
|
grid: AXDataTableComponent;
|
|
19
20
|
constructor(actionSheetService: AXActionSheetService, unsubscriber: AXUnsubscriber, platform: AXPlatform, store: Store<AXPAdminLayoutState>);
|
|
20
21
|
protected isSM: import("rxjs").Observable<boolean>;
|
|
22
|
+
private readonly destroyed;
|
|
21
23
|
handleChangeSearchValue(e: AXValueChangedEvent): void;
|
|
24
|
+
protected subscribeActionEvents(): void;
|
|
22
25
|
ngAfterViewInit(): void;
|
|
23
26
|
private dropdownRowItems;
|
|
24
27
|
protected handleRowDbClick(e: AXDataTableRowDbClick): void;
|
|
25
28
|
protected getDropdownRowItems: (rowData: unknown) => Promise<AXRowCommandItem[]>;
|
|
26
29
|
protected handleRowCommandClick(e: AXRowCommandItemClickEvent): Promise<void>;
|
|
30
|
+
protected destroy(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
27
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityDetailListViewComponent, never>;
|
|
28
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPEntityDetailListViewComponent, "axp-entity-detail-list-view", never, { "vm": { "alias": "viewModel"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
34
|
}
|
|
@@ -8,6 +8,8 @@ export declare const AXP_DATA_PATH_PROPERTY: AXPWidgetProperty;
|
|
|
8
8
|
export declare const AXP_ALLOW_MULTIPLE_PROPERTY: AXPWidgetProperty;
|
|
9
9
|
export declare const AXP_HAS_LABEL_PROPERTY: AXPWidgetProperty;
|
|
10
10
|
export declare const AXP_HAS_ICON_PROPERTY: AXPWidgetProperty;
|
|
11
|
+
export declare const AXP_ICON_PROPERTY: AXPWidgetProperty;
|
|
12
|
+
export declare const AXP_IS_LOADING_PROPERTY: AXPWidgetProperty;
|
|
11
13
|
export declare const AXP_HAS_CLEAR_BUTTON_PROPERTY: AXPWidgetProperty;
|
|
12
14
|
export declare const AXP_HAS_COPY_ICON_PROPERTY: AXPWidgetProperty;
|
|
13
15
|
export declare const AXP_HAS_EYE_ICON_PROPERTY: AXPWidgetProperty;
|
|
@@ -25,3 +27,5 @@ export declare const AXP_STYLE_LOOK_PROPERTY: AXPWidgetProperty;
|
|
|
25
27
|
export declare const AXP_DATE_FROMAT_PROPERTY: AXPWidgetProperty;
|
|
26
28
|
export declare function booleanDefaultProperty(defaultValue?: boolean): AXPWidgetProperty;
|
|
27
29
|
export declare function plainTextDefaultProperty(): AXPWidgetProperty;
|
|
30
|
+
export declare function largeTextDefaultProperty(): AXPWidgetProperty;
|
|
31
|
+
export declare function numberDefaultProperty(): AXPWidgetProperty;
|
|
@@ -6,8 +6,9 @@ export declare class AXPButtonWidgetDesignerComponent extends AXPWidgetComponent
|
|
|
6
6
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
7
|
protected color: import("@angular/core").Signal<AXStyleColorType>;
|
|
8
8
|
protected look: import("@angular/core").Signal<AXStyleLookType>;
|
|
9
|
-
protected text: import("@angular/core").Signal<string>;
|
|
9
|
+
protected text: import("@angular/core").Signal<string | undefined>;
|
|
10
10
|
protected loading: import("@angular/core").Signal<boolean>;
|
|
11
|
+
protected icon: import("@angular/core").Signal<string | undefined>;
|
|
11
12
|
onClick: EventEmitter<AXClickEvent>;
|
|
12
13
|
private get __class();
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPButtonWidgetDesignerComponent, never>;
|
|
@@ -6,8 +6,9 @@ export declare class AXPButtonWidgetViewComponent extends AXPWidgetComponent<any
|
|
|
6
6
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
7
|
protected color: import("@angular/core").Signal<AXStyleColorType>;
|
|
8
8
|
protected look: import("@angular/core").Signal<AXStyleLookType>;
|
|
9
|
-
protected text: import("@angular/core").Signal<string>;
|
|
9
|
+
protected text: import("@angular/core").Signal<string | undefined>;
|
|
10
10
|
protected loading: import("@angular/core").Signal<boolean>;
|
|
11
|
+
protected icon: import("@angular/core").Signal<string | undefined>;
|
|
11
12
|
onClick: EventEmitter<AXClickEvent>;
|
|
12
13
|
protected handleClick(e: AXClickEvent): void;
|
|
13
14
|
api(): AXPLayoutElementAPI;
|
|
@@ -2,5 +2,5 @@ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXPFileBoxWidgetColumnComponent extends AXPWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileBoxWidgetColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPFileBoxWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPFileBoxWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -2,5 +2,5 @@ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXPGalleryWidgetColumnComponent extends AXPWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGalleryWidgetColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPGalleryWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPGalleryWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AXMapLocation } from '@acorex/components/map';
|
|
2
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent<AXMapLocation[]> {
|
|
6
|
+
cdr: ChangeDetectorRef;
|
|
5
7
|
markers: import("@angular/core").Signal<any>;
|
|
6
8
|
hasDraw: import("@angular/core").Signal<boolean>;
|
|
7
9
|
hasLocate: import("@angular/core").Signal<boolean>;
|
|
@@ -2,5 +2,5 @@ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AXPSignatureWidgetColumnComponent extends AXPWidgetComponent<any> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSignatureWidgetColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPSignatureWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPSignatureWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -5,5 +5,5 @@ export declare class AXPCheckBoxWidgetColumnComponent extends AXPColumnWidgetCom
|
|
|
5
5
|
protected trulyText: string;
|
|
6
6
|
protected falsyText: string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPCheckBoxWidgetColumnComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCheckBoxWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPCheckBoxWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -12,6 +12,7 @@ export declare class AXPContactWidgetEditComponent extends AXPWidgetComponent<an
|
|
|
12
12
|
protected multiple: Signal<boolean>;
|
|
13
13
|
protected hasIcon: Signal<boolean>;
|
|
14
14
|
protected disabled: Signal<boolean>;
|
|
15
|
+
constructor();
|
|
15
16
|
private popup;
|
|
16
17
|
protected dataSource: AXDataSource<string | undefined>;
|
|
17
18
|
protected internalValue: Signal<AXPContactDataType[]>;
|
|
@@ -3,7 +3,7 @@ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
|
3
3
|
import { Signal } from '@angular/core';
|
|
4
4
|
import { AXPContactDataType } from './contact.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AXPContactWidgetViewComponent extends AXPWidgetComponent<
|
|
6
|
+
export declare class AXPContactWidgetViewComponent extends AXPWidgetComponent<AXPContactDataType | string> {
|
|
7
7
|
protected type: Signal<"email" | "link" | "phone">;
|
|
8
8
|
protected labelList: Signal<string[]>;
|
|
9
9
|
protected hasLabel: Signal<boolean>;
|
|
@@ -12,8 +12,8 @@ export declare class AXPContactWidgetViewComponent extends AXPWidgetComponent<an
|
|
|
12
12
|
protected internalValue: Signal<AXPContactDataType[]>;
|
|
13
13
|
protected clipboard: AXPClipBoardService;
|
|
14
14
|
protected chooseIcon: () => string;
|
|
15
|
-
private valueToArray;
|
|
16
15
|
private itemToArray;
|
|
16
|
+
private correctItems;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContactWidgetViewComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPContactWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
19
19
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export * from './contact-widget-view.component';
|
|
2
|
-
export * from './contact-widget-edit.component';
|
|
3
|
-
export * from './contact-widget-filter.component';
|
|
4
1
|
export * from './contact-widget-column.component';
|
|
2
|
+
export * from './contact-widget-edit.component';
|
|
5
3
|
export * from './contact-widget-print.component';
|
|
4
|
+
export * from './contact-widget-view.component';
|
|
6
5
|
export * from './contact-widget.config';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import { Signal } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent<
|
|
4
|
+
export declare class AXPDateTimeBoxWidgetColumnComponent extends AXPColumnWidgetComponent<string | string[]> {
|
|
5
5
|
private formatter;
|
|
6
6
|
protected convertedValue: Signal<string | null>;
|
|
7
7
|
protected multiple: boolean;
|
|
@@ -4,13 +4,14 @@ import { AXPValidationRules } from '@acorex/platform/core';
|
|
|
4
4
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
5
5
|
import { Signal } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent<
|
|
7
|
+
export declare class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent<string | string[]> {
|
|
8
8
|
protected validationService: AXValidationService;
|
|
9
9
|
protected validationMessage?: string | null;
|
|
10
10
|
protected multiple: Signal<boolean>;
|
|
11
11
|
protected clearButton: Signal<boolean>;
|
|
12
12
|
protected format: Signal<"date" | "datetime" | "time">;
|
|
13
13
|
protected disabled: Signal<boolean>;
|
|
14
|
+
protected placeholder: Signal<string>;
|
|
14
15
|
protected internalValue: Signal<string[]>;
|
|
15
16
|
private _validationRules;
|
|
16
17
|
get validationRules(): AXPValidationRules;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent<
|
|
3
|
+
export declare class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent<string | string[]> {
|
|
4
4
|
private formatter;
|
|
5
5
|
protected multiple: import("@angular/core").Signal<boolean>;
|
|
6
6
|
protected format: import("@angular/core").Signal<"date" | "datetime" | "time">;
|
|
7
|
-
protected internalValue: import("@angular/core").Signal<
|
|
7
|
+
protected internalValue: import("@angular/core").Signal<string[]>;
|
|
8
8
|
protected handleFormat(value: string): string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDateTimeBoxWidgetViewComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDateTimeBoxWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent<
|
|
3
|
+
export declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent<string> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetColumnComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPValidationRules } from '@acorex/platform/core';
|
|
2
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent<
|
|
4
|
+
export declare class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent<string> {
|
|
5
5
|
protected multiple: import("@angular/core").Signal<boolean>;
|
|
6
6
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
7
7
|
protected clearButton: import("@angular/core").Signal<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPLargeTextWidgetViewComponent extends AXPWidgetComponent<
|
|
3
|
+
export declare class AXPLargeTextWidgetViewComponent extends AXPWidgetComponent<string> {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLargeTextWidgetViewComponent, never>;
|
|
5
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLargeTextWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
6
6
|
}
|
|
@@ -4,7 +4,7 @@ import { AXPValidationRules } from '@acorex/platform/core';
|
|
|
4
4
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
5
5
|
import { Signal } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent<
|
|
7
|
+
export declare class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent<number | number[]> {
|
|
8
8
|
protected disabled: Signal<boolean>;
|
|
9
9
|
protected multiple: Signal<boolean>;
|
|
10
10
|
protected clearButton: Signal<boolean>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPPasswordBoxWidgetColumnComponent extends
|
|
3
|
+
export declare class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
4
|
+
protected hasEyeIcon: any;
|
|
5
|
+
protected showPassword: any;
|
|
6
|
+
protected show: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
+
toggleEye(): void;
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPasswordBoxWidgetColumnComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPPasswordBoxWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPPasswordBoxWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent<
|
|
3
|
+
export declare class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent<string> {
|
|
4
4
|
protected disabled: import("@angular/core").Signal<boolean>;
|
|
5
5
|
protected hasClearButton: import("@angular/core").Signal<boolean>;
|
|
6
6
|
private get __class();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPClipBoardService } from '@acorex/platform/common';
|
|
2
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXPPasswordBoxWidgetViewComponent extends AXPWidgetComponent<
|
|
4
|
+
export declare class AXPPasswordBoxWidgetViewComponent extends AXPWidgetComponent<string> {
|
|
5
5
|
protected internalValue: import("@angular/core").Signal<T_1>;
|
|
6
6
|
protected hasCopyIcon: import("@angular/core").Signal<boolean>;
|
|
7
7
|
protected hasEyeIcon: import("@angular/core").Signal<boolean>;
|
|
@@ -2,7 +2,9 @@ import { AXPValidationRules } from '@acorex/platform/core';
|
|
|
2
2
|
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXPRichTextWidgetEditComponent extends AXPWidgetComponent<any> {
|
|
5
|
+
protected placeholder: import("@angular/core").Signal<string>;
|
|
5
6
|
protected setNgModel(event: string): void;
|
|
7
|
+
constructor();
|
|
6
8
|
private _validationRules;
|
|
7
9
|
get validationRules(): AXPValidationRules;
|
|
8
10
|
set validationRules(v: AXPValidationRules);
|
package/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class AXPSelectionListWidgetColumnComponent extends AXPColumnWidg
|
|
|
6
6
|
protected textField: string;
|
|
7
7
|
protected items: any[];
|
|
8
8
|
protected multiple: boolean;
|
|
9
|
-
protected selectedItemIds: Signal<
|
|
9
|
+
protected selectedItemIds: Signal<string[]>;
|
|
10
10
|
protected selectedItems: Signal<any[]>;
|
|
11
11
|
protected firstItem: Signal<any>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSelectionListWidgetColumnComponent, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs","sources":["../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.ts","../../../../libs/platform/layouts/src/lib/admin/entity-layout/entity-create-view/entity-create-view.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDialogModule } from '@acorex/components/dialog';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTabsModule } from '@acorex/components/tabs';\nimport { AXTooltipModule } from '@acorex/components/tooltip';\nimport { AXPEntityConfig, AXPSchemaModule } from '@acorex/platform/common';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, WritableSignal, inject, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXPEntityCreateViewLoader } from './entity-create-view.config';\n\nimport { AXValidationModule } from '@acorex/core/validation';\n\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPStickyDirective } from '@acorex/platform/common';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\n\n@Component({\n templateUrl: './entity-create-view.component.html',\n imports: [\n CommonModule,\n FormsModule,\n AXFormModule,\n AXDecoratorModule,\n CommonModule,\n AXButtonModule,\n AXDialogModule,\n AXLoadingModule,\n AXTabsModule,\n AXPSchemaModule,\n AXTooltipModule,\n AXValidationModule,\n AXLabelModule,\n AXDropdownModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n //\n AXPStickyDirective,\n ],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXPEntityCreateViewComponent extends AXBasePageComponent {\n protected loader!: AXPEntityCreateViewLoader;\n protected entity!: AXPEntityConfig;\n protected workflow = inject(AXPWorkflowService);\n protected submitLoading: WritableSignal<boolean> = signal(false);\n\n protected handleCloseClick() {\n this.close();\n }\n\n protected async handleBackClick() {\n await this.loader.back();\n }\n\n protected async handleNextClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n await this.loader.next();\n }\n }\n\n protected async handleSaveClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n if (this.entity.commands?.create) {\n this.submitLoading.set(true);\n try {\n const record = await this.entity.commands.create(this.loader.data);\n if (record) {\n this.close({ save: true, recordId: record.id, redirect: true });\n }\n } catch (error) {\n console.log(error);\n }\n this.submitLoading.set(false);\n }\n }\n }\n\n protected async handleSaveAndNewClick(form: AXFormComponent) {\n const formResult = await form.validate();\n if (formResult.result) {\n if (this.entity.commands?.create) {\n this.submitLoading.set(true);\n try {\n const record = await this.entity.commands.create(this.loader.data);\n if (record) {\n this.close({ save: true, recordId: record.id, redirect: false });\n }\n } catch (error) {\n console.log(error);\n }\n this.submitLoading.set(false);\n }\n this.workflow.execute('create-entity', {\n payload: {\n module: this.loader.entity.module,\n entity: this.loader.entity.name,\n },\n });\n }\n }\n}\n","<div class=\"ax-min-h-[25vh]\">\n @if((loader.hasSections$ | async)) {\n <ol\n class=\"ax-flex ax-items-center ax-w-full ax-space-x-2 ax-text-sm ax-font-medium ax-text-center ax-text-gray-500 ax-bg-white dark:ax-text-gray-400 sm:ax-text-base ax-p-4 sm:ax-space-x-4 rtl:ax-space-x-reverse ax-sticky ax-top-0 ax-z-10\"\n [axpSticky]=\"'ax-bg-surface ax-drop-shadow-lg'\"\n [stickyParent]=\"'.ax-popup-body-container'\"\n >\n @for(section of (loader.sections$ | async); track section.name;let index = $index;let last = $last;let count= $count) {\n <li class=\"ax-flex ax-items-center\">\n <span\n class=\"ax-flex ax-items-center ax-justify-center ax-w-5 ax-h-5 ax-me-2 ax-text-xs ax-text-white ax-bg-neutral-500 ax-rounded-full ax-shrink-0\"\n [class.!ax-bg-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-bg-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n >\n {{ index + 1 }}\n </span>\n <p\n class=\"ax-font-normal\"\n [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n [class.!ax-font-semibold]=\"(loader.section$ | async) == section\"\n >\n {{ section.title }}\n </p>\n\n <i\n *ngIf=\"!last\"\n [class.!ax-text-primary-500]=\"(loader.section$ | async) == section\"\n [class.!ax-text-success-500]=\"index < ((loader.currentIndex$ | async) || 0)\"\n class=\"ax-text-xs ax-text-neutral-500 fa-solid fa-chevrons-right ax-ms-2 sm:ax-ms-4 rtl:ax-rotate-180\"\n ></i>\n </li>\n }\n </ol>\n }\n\n <ax-form class=\"ax-flex ax-flex-col ax-gap-6 ax-p-4\" #form [messageStyle]=\"'bottom'\" [updateOn]=\"'blur'\">\n @for(section of (loader.section$ | async)?.sections; track section.name;) {\n <div class=\"ax-flex ax-flex-col ax-pb-4\">\n @if(((loader.section$ | async)?.sections?.length ?? 0) > 1) {\n <div class=\"ax-pb-4\">\n <span class=\"ax-font-bold ax-text-2xl\">{{ section.title }}</span>\n @if(section.description) {\n <p class=\"ax-text-sm ax-text-gray-500\">{{ section.description }}</p>\n }\n </div>\n }\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4 ax-py-2 first:ax-pt-0 last:ax-pb-0\">\n @for(name of section.properties; track name) {\n <ng-container *ngIf=\"loader.getProp(name) as prop\">\n <!-- lg:ax-col-span-6 -->\n <!-- lg:ax-col-start-1 -->\n <ax-form-field\n class=\"ax-col-span-12 ax-col-start-1 lg:ax-col-span-{{ prop.layout?.positions?.default?.span || 12 }} lg:ax-col-start-{{\n prop.layout?.positions?.default?.start || 1\n }} ax-flex ax-flex-col\"\n >\n <ax-label class=\"ax-font-semibold ax-text-sm\" [required]=\"loader.isRequired(name)\">{{ prop.title }}</ax-label>\n <axp-widget-renderer [schema]=\"prop.schema\" [prop]=\"prop\" [mode]=\"'edit'\" [context]=\"loader.data\"></axp-widget-renderer>\n </ax-form-field>\n </ng-container>\n }\n </div>\n </div>\n }\n </ax-form>\n <ax-footer>\n <ax-prefix> </ax-prefix>\n <ax-suffix>\n @if((loader.hasSections$| async) && !(loader.isFirst$| async)) {\n <ax-button look=\"solid\" color=\"ghost\" text=\"Back\" (onClick)=\"handleBackClick()\"> </ax-button>\n } @else {\n <ax-button look=\"solid\" color=\"ghost\" [text]=\"'cancel' | translate | async\" (onClick)=\"handleCloseClick()\"> </ax-button>\n } @if((loader.isLast$ | async)) {\n <ax-dropdown-button [disabled]=\"submitLoading()\" color=\"primary\" [text]=\"'save' | translate | async\" look=\"solid\" (onClick)=\"handleSaveClick(form)\">\n <ax-loading *ngIf=\"submitLoading()\"></ax-loading>\n <ax-button-item-list>\n <ax-button-item [text]=\"('save' | translate | async) + ' & ' + ('create-new' | translate | async)\" (onClick)=\"handleSaveAndNewClick(form)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n\n } @else {\n <ax-button look=\"solid\" color=\"primary\" [text]=\"'continue' | translate | async\" (onClick)=\"handleNextClick(form)\"> </ax-button>\n }\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i3","i6","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDM,MAAO,4BAA6B,SAAQ,mBAAmB,CAAA;AAzBrE,IAAA,WAAA,GAAA;;AA4BY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AACtC,QAAA,IAAA,CAAA,aAAa,GAA4B,MAAM,CAAC,KAAK,CAAC,CAAC;AA0DlE,KAAA;IAxDW,gBAAgB,GAAA;QACxB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;AAES,IAAA,MAAM,eAAe,GAAA;AAC7B,QAAA,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KAC1B;IAES,MAAM,eAAe,CAAC,IAAqB,EAAA;AACnD,QAAA,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzC,QAAA,IAAI,UAAU,CAAC,MAAM,EAAE;AACrB,YAAA,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;SAC1B;KACF;IAES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AClB,aAAa;wBACb,gBAAgB;wBAChB,sBAAsB;wBACtB,mBAAmB;;wBAEnB,kBAAkB;AACnB,qBAAA,EAAA,UAAA,EACW,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6vIAAA,EAAA,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs","sources":["../../../../libs/platform/widgets/src/lib/widgets/actions/button/button-widget-designer.component.ts"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXClickEvent, AXStyleColorType, AXStyleLookType } from '@acorex/components/common';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, EventEmitter, HostBinding } from '@angular/core';\n@Component({\n selector: 'axp_button_widget',\n template: `\n <ax-button [disabled]=\"disabled()\" [color]=\"color()\" [look]=\"look()\" [text]=\"text()\">\n @if(loading()){\n <ax-loading> </ax-loading>\n }\n </ax-button>\n `,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXButtonModule, AXLoadingModule],\n inputs: [],\n})\nexport class AXPButtonWidgetDesignerComponent extends AXPWidgetComponent<any> {\n protected disabled = computed<boolean>(() => this.options()['disabled']);\n protected color = computed<AXStyleColorType>(() => this.options()['color']?.id ?? 'primary');\n protected look = computed<AXStyleLookType>(() => this.options()['look']?.id ?? 'solid');\n protected text = computed<string>(() => this.options()['text']);\n protected loading = computed<boolean>(() => this.options()['loading']);\n public onClick = new EventEmitter<AXClickEvent>();\n\n\n @HostBinding('class')\n private get __class(): string {\n const cls: any = {};\n //\n cls['ax-inline'] = true;\n return cls;\n }\n\n}\n"],"names":["i1","i2"],"mappings":";;;;;;;;;AAoBM,MAAO,gCAAiC,SAAQ,kBAAuB,CAAA;AAd7E,IAA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AC,MAAM;AAC/C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,eAAe,CAAC;AACxD,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA,CAAA;8BAWa,OAAO,EAAA,CAAA;sBADlB,WAAW;uBAAC,OAAO,CAAA;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs","sources":["../../../../libs/platform/widgets/src/lib/widgets/editors/checkbox/checkbox-widget-column.component.ts"],"sourcesContent":["import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n@Component({\n template: ` <div>\n @if(this.rawValue){ @if(trulyText){\n <span [class]=\"negative ? 'ax-text-danger' : 'ax-text-success'\">{{ trulyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-check ax-text-success\"> </ax-icon>\n } }@else { @if(falsyText){\n <span [class]=\"negative ? 'ax-text-success' : 'ax-text-danger'\">{{ falsyText }}</span>\n }@else {\n\n <ax-icon class=\"fa-solid fa-xmark ax-text-danger\"> </ax-icon>\n } }\n </div>`,\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXDecoratorModule],\n inputs: [],\n})\nexport class AXPCheckBoxWidgetColumnComponent extends AXPColumnWidgetComponent<any> {\n protected negative = this.options[\"negative\"] as boolean;\n protected trulyText = this.options[\"trulyText\"] as string;\n protected falsyText = this.options[\"falsyText\"] as string;\n}\n"],"names":["i1"],"mappings":";;;;;;;AAuBM,MAAO,gCAAiC,SAAQ,wBAA6B,CAAA;AAnBnF,IAAA,WAAA,GAAA;;AAoBY,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAY,CAAC;AAC/C,QAAA,IAAA,CAAA,SAAS,GAAG,I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