@acorex/components 19.12.0-next.2 → 19.12.0-next.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/calendar/lib/calendar-range.component.d.ts +4 -1
 - package/calendar/lib/calendar.class.d.ts +8 -0
 - package/calendar/lib/calendar.component.d.ts +2 -0
 - package/datetime-box/lib/datetime-box.component.d.ts +11 -13
 - package/datetime-input/lib/datetime-input.component.d.ts +21 -84
 - package/datetime-picker/lib/datetime-picker.component.d.ts +13 -31
 - package/fesm2022/acorex-components-calendar.mjs +65 -37
 - package/fesm2022/acorex-components-calendar.mjs.map +1 -1
 - package/fesm2022/acorex-components-datetime-box.mjs +28 -26
 - package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
 - package/fesm2022/acorex-components-datetime-input.mjs +113 -181
 - package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
 - package/fesm2022/acorex-components-datetime-picker.mjs +79 -81
 - package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
 - package/fesm2022/{acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs → acorex-components-modal-acorex-components-modal-BzlZIwq8.mjs} +116 -26
 - package/fesm2022/acorex-components-modal-acorex-components-modal-BzlZIwq8.mjs.map +1 -0
 - package/fesm2022/acorex-components-modal-modal-content.component-zmFWBaiD.mjs +187 -0
 - package/fesm2022/acorex-components-modal-modal-content.component-zmFWBaiD.mjs.map +1 -0
 - package/fesm2022/acorex-components-modal.mjs +1 -1
 - package/fesm2022/acorex-components-query-builder.mjs +1 -1
 - package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
 - package/fesm2022/acorex-components-scheduler.mjs +63 -30
 - package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
 - package/modal/lib/modal-content/modal-content.component.d.ts +11 -8
 - package/modal/lib/modal-state.service.d.ts +8 -7
 - package/modal/lib/modal.component.d.ts +2 -0
 - package/modal/lib/modal.service.d.ts +4 -2
 - package/modal/lib/modal.types.d.ts +15 -1
 - package/package.json +1 -1
 - package/scheduler/lib/scheduler.component.d.ts +8 -4
 - package/scheduler/lib/scheduler.service.d.ts +3 -2
 - package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +2 -1
 - package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +4 -2
 - package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +2 -1
 - package/fesm2022/acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs.map +0 -1
 - package/fesm2022/acorex-components-modal-modal-content.component-DhpujG4d.mjs +0 -181
 - package/fesm2022/acorex-components-modal-modal-content.component-DhpujG4d.mjs.map +0 -1
 
| 
         @@ -3,18 +3,19 @@ import { AXComponentContent, AXComponentInputs, AXComponentType } from '@acorex/ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            import { ElementRef, TemplateRef } from '@angular/core';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import { AXModalFooterComponent } from '../modal-footer/modal-footer.component';
         
     | 
| 
       5 
5 
     | 
    
         
             
            import * as i0 from "@angular/core";
         
     | 
| 
      
 6 
     | 
    
         
            +
            import * as i1 from "@acorex/cdk/focus-trap";
         
     | 
| 
       6 
7 
     | 
    
         
             
            export declare class AXModalContentComponent extends NXComponent {
         
     | 
| 
       7 
8 
     | 
    
         
             
                #private;
         
     | 
| 
       8 
9 
     | 
    
         
             
                __content__: import("@angular/core").InputSignal<AXComponentContent>;
         
     | 
| 
      
 10 
     | 
    
         
            +
                id: import("@angular/core").InputSignal<number>;
         
     | 
| 
      
 11 
     | 
    
         
            +
                inputs: import("@angular/core").ModelSignal<AXComponentInputs>;
         
     | 
| 
       9 
12 
     | 
    
         
             
                private serviceState;
         
     | 
| 
      
 13 
     | 
    
         
            +
                protected modalContainer: import("@angular/core").Signal<ElementRef<any>>;
         
     | 
| 
      
 14 
     | 
    
         
            +
                protected footer: import("@angular/core").Signal<AXModalFooterComponent>;
         
     | 
| 
       10 
15 
     | 
    
         
             
                protected isTemplate: import("@angular/core").Signal<boolean>;
         
     | 
| 
       11 
16 
     | 
    
         
             
                component: import("@angular/core").Signal<AXComponentType<any>>;
         
     | 
| 
       12 
17 
     | 
    
         
             
                template: import("@angular/core").Signal<TemplateRef<any>>;
         
     | 
| 
       13 
     | 
    
         
            -
                 
     | 
| 
       14 
     | 
    
         
            -
                id: import("@angular/core").InputSignal<number>;
         
     | 
| 
       15 
     | 
    
         
            -
                protected modalContainer: import("@angular/core").Signal<ElementRef<any>>;
         
     | 
| 
       16 
     | 
    
         
            -
                protected modalSizeState: import("@angular/core").WritableSignal<"maximize" | "minimize">;
         
     | 
| 
       17 
     | 
    
         
            -
                protected footer: import("@angular/core").Signal<AXModalFooterComponent>;
         
     | 
| 
      
 18 
     | 
    
         
            +
                protected modalSizeState: import("@angular/core").WritableSignal<"maximize" | "minimize" | "normal">;
         
     | 
| 
       18 
19 
     | 
    
         
             
                private isMouseDown;
         
     | 
| 
       19 
20 
     | 
    
         
             
                private offsetX;
         
     | 
| 
       20 
21 
     | 
    
         
             
                private offsetY;
         
     | 
| 
         @@ -27,17 +28,19 @@ export declare class AXModalContentComponent extends NXComponent { 
     | 
|
| 
       27 
28 
     | 
    
         
             
                private backdropCloseOnClick;
         
     | 
| 
       28 
29 
     | 
    
         
             
                private minimizePosition;
         
     | 
| 
       29 
30 
     | 
    
         
             
                protected minimizeState: import("@angular/core").Signal<boolean>;
         
     | 
| 
      
 31 
     | 
    
         
            +
                protected maximizeState: import("@angular/core").Signal<boolean>;
         
     | 
| 
       30 
32 
     | 
    
         
             
                protected modalSize: import("@angular/core").Signal<"sm" | "md" | "lg" | "full" | "fit">;
         
     | 
| 
       31 
33 
     | 
    
         
             
                protected headerTitle: import("@angular/core").Signal<string>;
         
     | 
| 
       32 
34 
     | 
    
         
             
                private draggable;
         
     | 
| 
       33 
35 
     | 
    
         
             
                protected closeHandler(): void;
         
     | 
| 
      
 36 
     | 
    
         
            +
                minimize(): void;
         
     | 
| 
      
 37 
     | 
    
         
            +
                maximize(): void;
         
     | 
| 
      
 38 
     | 
    
         
            +
                restore(): void;
         
     | 
| 
       34 
39 
     | 
    
         
             
                protected pointerDownHandler(e: MouseEvent): void;
         
     | 
| 
       35 
     | 
    
         
            -
                modalSizeHandler(): void;
         
     | 
| 
       36 
     | 
    
         
            -
                private getMapIndexOf;
         
     | 
| 
       37 
40 
     | 
    
         
             
                protected pointerMoveHandler(e: MouseEvent): void;
         
     | 
| 
       38 
41 
     | 
    
         
             
                protected pointerUpHandler(): void;
         
     | 
| 
       39 
42 
     | 
    
         
             
                protected backdropCloseHandler(e: MouseEvent): void;
         
     | 
| 
       40 
43 
     | 
    
         
             
                fadeInOut: boolean;
         
     | 
| 
       41 
44 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXModalContentComponent, never>;
         
     | 
| 
       42 
     | 
    
         
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<AXModalContentComponent, "ax-modal-content", never, { "__content__": { "alias": "__content__"; "required": true; "isSignal": true; }; " 
     | 
| 
      
 45 
     | 
    
         
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<AXModalContentComponent, "ax-modal-content", never, { "__content__": { "alias": "__content__"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; }, { "inputs": "inputsChange"; }, never, never, true, [{ directive: typeof i1.AXFocusTrapDirective; inputs: {}; outputs: {}; }]>;
         
     | 
| 
       43 
46 
     | 
    
         
             
            }
         
     | 
| 
         @@ -1,16 +1,17 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import {  
     | 
| 
       2 
     | 
    
         
            -
            import { AXComponentContent } from '@acorex/core/components';
         
     | 
| 
       3 
     | 
    
         
            -
            import { AXModalContentComponent } from './modal-content/modal-content.component';
         
     | 
| 
      
 1 
     | 
    
         
            +
            import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
         
     | 
| 
       4 
2 
     | 
    
         
             
            import { AXModalOptions, AXModalRef } from './modal.types';
         
     | 
| 
       5 
3 
     | 
    
         
             
            import * as i0 from "@angular/core";
         
     | 
| 
       6 
4 
     | 
    
         
             
            export declare class AXModalStateService {
         
     | 
| 
       7 
     | 
    
         
            -
                 
     | 
| 
       8 
     | 
    
         
            -
                modalList: Map<number, AXOverlayRef<AXModalContentComponent>>;
         
     | 
| 
      
 5 
     | 
    
         
            +
                private modalList;
         
     | 
| 
       9 
6 
     | 
    
         
             
                private overlayService;
         
     | 
| 
      
 7 
     | 
    
         
            +
                modalOption: import("@angular/core").WritableSignal<AXModalOptions>;
         
     | 
| 
       10 
8 
     | 
    
         
             
                open<TResult = any>(content: AXComponentContent, options?: AXModalOptions): Promise<AXModalRef<TResult>>;
         
     | 
| 
       11 
9 
     | 
    
         
             
                close<TResult = any>(id: number, data?: TResult): Promise<void>;
         
     | 
| 
       12 
     | 
    
         
            -
                 
     | 
| 
       13 
     | 
    
         
            -
                 
     | 
| 
      
 10 
     | 
    
         
            +
                setInputs(id: number, values: AXComponentInputs): Promise<void>;
         
     | 
| 
      
 11 
     | 
    
         
            +
                minimize(id: number): Promise<void>;
         
     | 
| 
      
 12 
     | 
    
         
            +
                maximize(id: number): Promise<void>;
         
     | 
| 
      
 13 
     | 
    
         
            +
                restore(id: number): Promise<void>;
         
     | 
| 
      
 14 
     | 
    
         
            +
                getMapIndexOf(targetKey: any): number;
         
     | 
| 
       14 
15 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXModalStateService, never>;
         
     | 
| 
       15 
16 
     | 
    
         
             
                static ɵprov: i0.ɵɵInjectableDeclaration<AXModalStateService>;
         
     | 
| 
       16 
17 
     | 
    
         
             
            }
         
     | 
| 
         @@ -11,6 +11,8 @@ export declare class AXModalComponent extends NXComponent { 
     | 
|
| 
       11 
11 
     | 
    
         
             
                close(): Promise<void>;
         
     | 
| 
       12 
12 
     | 
    
         
             
                setInputs(values: AXComponentInputs): Promise<void>;
         
     | 
| 
       13 
13 
     | 
    
         
             
                minimize(): Promise<void>;
         
     | 
| 
      
 14 
     | 
    
         
            +
                maximize(): Promise<void>;
         
     | 
| 
      
 15 
     | 
    
         
            +
                restore(): Promise<void>;
         
     | 
| 
       14 
16 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponent, never>;
         
     | 
| 
       15 
17 
     | 
    
         
             
                static ɵcmp: i0.ɵɵComponentDeclaration<AXModalComponent, "ax-modal", never, {}, {}, never, ["*"], true, never>;
         
     | 
| 
       16 
18 
     | 
    
         
             
            }
         
     | 
| 
         @@ -1,13 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
         
     | 
| 
       2 
     | 
    
         
            -
            import { AXModalOptions } from './modal.types';
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { AXModalOptions, AXModalRef } from './modal.types';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import * as i0 from "@angular/core";
         
     | 
| 
       4 
4 
     | 
    
         
             
            export declare class AXModalService {
         
     | 
| 
       5 
5 
     | 
    
         
             
                private stateService;
         
     | 
| 
       6 
6 
     | 
    
         
             
                private ref;
         
     | 
| 
       7 
     | 
    
         
            -
                open(content: AXComponentContent, options?: AXModalOptions): Promise< 
     | 
| 
      
 7 
     | 
    
         
            +
                open(content: AXComponentContent, options?: AXModalOptions): Promise<AXModalRef>;
         
     | 
| 
       8 
8 
     | 
    
         
             
                close(): Promise<void>;
         
     | 
| 
       9 
9 
     | 
    
         
             
                setInputs(values: AXComponentInputs): Promise<void>;
         
     | 
| 
       10 
10 
     | 
    
         
             
                minimize(): Promise<void>;
         
     | 
| 
      
 11 
     | 
    
         
            +
                maximize(): Promise<void>;
         
     | 
| 
      
 12 
     | 
    
         
            +
                restore(): Promise<void>;
         
     | 
| 
       11 
13 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
         
     | 
| 
       12 
14 
     | 
    
         
             
                static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
         
     | 
| 
       13 
15 
     | 
    
         
             
            }
         
     | 
| 
         @@ -1,5 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { AXOverlayOptions } from '@acorex/cdk/overlay';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { AXComponentInputs } from '@acorex/core/components';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { Subject } from 'rxjs';
         
     | 
| 
      
 4 
     | 
    
         
            +
            import * as i0 from "@angular/core";
         
     | 
| 
       3 
5 
     | 
    
         
             
            export interface AXModalOptions extends AXOverlayOptions {
         
     | 
| 
       4 
6 
     | 
    
         
             
                title?: string;
         
     | 
| 
       5 
7 
     | 
    
         
             
                buttons?: {
         
     | 
| 
         @@ -7,14 +9,26 @@ export interface AXModalOptions extends AXOverlayOptions { 
     | 
|
| 
       7 
9 
     | 
    
         
             
                        enable: boolean;
         
     | 
| 
       8 
10 
     | 
    
         
             
                        position: 'bottom-right' | 'bottom-left';
         
     | 
| 
       9 
11 
     | 
    
         
             
                    };
         
     | 
| 
      
 12 
     | 
    
         
            +
                    maximize?: boolean;
         
     | 
| 
       10 
13 
     | 
    
         
             
                    close?: boolean;
         
     | 
| 
       11 
14 
     | 
    
         
             
                };
         
     | 
| 
       12 
15 
     | 
    
         
             
                draggable?: boolean;
         
     | 
| 
       13 
16 
     | 
    
         
             
                size?: 'sm' | 'md' | 'lg' | 'full' | 'fit';
         
     | 
| 
       14 
17 
     | 
    
         
             
            }
         
     | 
| 
       15 
18 
     | 
    
         
             
            export interface AXModalRef<TResult = any> {
         
     | 
| 
       16 
     | 
    
         
            -
                id: number;
         
     | 
| 
       17 
19 
     | 
    
         
             
                minimize: () => void;
         
     | 
| 
      
 20 
     | 
    
         
            +
                maximize: () => void;
         
     | 
| 
      
 21 
     | 
    
         
            +
                restore: () => void;
         
     | 
| 
       18 
22 
     | 
    
         
             
                close: (data?: TResult) => void;
         
     | 
| 
       19 
23 
     | 
    
         
             
                setInputs: (values: AXComponentInputs) => void;
         
     | 
| 
      
 24 
     | 
    
         
            +
                onClose: Subject<TResult>;
         
     | 
| 
      
 25 
     | 
    
         
            +
            }
         
     | 
| 
      
 26 
     | 
    
         
            +
            export declare abstract class AXModalComponentBase {
         
     | 
| 
      
 27 
     | 
    
         
            +
                private __modal__;
         
     | 
| 
      
 28 
     | 
    
         
            +
                close(data?: any): void;
         
     | 
| 
      
 29 
     | 
    
         
            +
                minimize(): void;
         
     | 
| 
      
 30 
     | 
    
         
            +
                restore(): void;
         
     | 
| 
      
 31 
     | 
    
         
            +
                maximize(): void;
         
     | 
| 
      
 32 
     | 
    
         
            +
                static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponentBase, never>;
         
     | 
| 
      
 33 
     | 
    
         
            +
                static ɵdir: i0.ɵɵDirectiveDeclaration<AXModalComponentBase, never, never, { "__modal__": { "alias": "__modal__"; "required": false; }; }, {}, never, never, true, never>;
         
     | 
| 
       20 
34 
     | 
    
         
             
            }
         
     | 
    
        package/package.json
    CHANGED
    
    
| 
         @@ -8,9 +8,11 @@ export declare class AXSchedulerComponent extends MXBaseComponent implements OnI 
     | 
|
| 
       8 
8 
     | 
    
         
             
                #private;
         
     | 
| 
       9 
9 
     | 
    
         
             
                protected platform: AXPlatform;
         
     | 
| 
       10 
10 
     | 
    
         
             
                private unsubscriber;
         
     | 
| 
      
 11 
     | 
    
         
            +
                private formatService;
         
     | 
| 
      
 12 
     | 
    
         
            +
                private localeService;
         
     | 
| 
       11 
13 
     | 
    
         
             
                private calendarService;
         
     | 
| 
      
 14 
     | 
    
         
            +
                private schedulerService;
         
     | 
| 
       12 
15 
     | 
    
         
             
                private translationService;
         
     | 
| 
       13 
     | 
    
         
            -
                private schedulerCalcService;
         
     | 
| 
       14 
16 
     | 
    
         
             
                private viewModeSelectbox;
         
     | 
| 
       15 
17 
     | 
    
         
             
                displayViews: {
         
     | 
| 
       16 
18 
     | 
    
         
             
                    day: string;
         
     | 
| 
         @@ -18,6 +20,10 @@ export declare class AXSchedulerComponent extends MXBaseComponent implements OnI 
     | 
|
| 
       18 
20 
     | 
    
         
             
                    month: string;
         
     | 
| 
       19 
21 
     | 
    
         
             
                    year: string;
         
     | 
| 
       20 
22 
     | 
    
         
             
                };
         
     | 
| 
      
 23 
     | 
    
         
            +
                calendar: import("@angular/core").InputSignal<string>;
         
     | 
| 
      
 24 
     | 
    
         
            +
                calendarType: import("@angular/core").WritableSignal<string>;
         
     | 
| 
      
 25 
     | 
    
         
            +
                startingDate: import("@angular/core").InputSignal<Date>;
         
     | 
| 
      
 26 
     | 
    
         
            +
                currentDate: import("@angular/core").WritableSignal<AXDateTime>;
         
     | 
| 
       21 
27 
     | 
    
         
             
                draggable: import("@angular/core").WritableSignal<boolean>;
         
     | 
| 
       22 
28 
     | 
    
         
             
                rtl: import("@angular/core").WritableSignal<boolean>;
         
     | 
| 
       23 
29 
     | 
    
         
             
                isLoading: import("@angular/core").WritableSignal<boolean>;
         
     | 
| 
         @@ -28,12 +34,10 @@ export declare class AXSchedulerComponent extends MXBaseComponent implements OnI 
     | 
|
| 
       28 
34 
     | 
    
         
             
                    text: string;
         
     | 
| 
       29 
35 
     | 
    
         
             
                }[]>;
         
     | 
| 
       30 
36 
     | 
    
         
             
                oldDate: import("@angular/core").WritableSignal<AXDateTime>;
         
     | 
| 
       31 
     | 
    
         
            -
                currentDate: import("@angular/core").WritableSignal<AXDateTime>;
         
     | 
| 
       32 
37 
     | 
    
         
             
                endHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
       33 
38 
     | 
    
         
             
                startHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
       34 
39 
     | 
    
         
             
                keyField: import("@angular/core").InputSignal<string>;
         
     | 
| 
       35 
40 
     | 
    
         
             
                titleField: import("@angular/core").InputSignal<string>;
         
     | 
| 
       36 
     | 
    
         
            -
                startingDate: import("@angular/core").InputSignal<Date>;
         
     | 
| 
       37 
41 
     | 
    
         
             
                allDayField: import("@angular/core").InputSignal<string>;
         
     | 
| 
       38 
42 
     | 
    
         
             
                allowFullScreen: import("@angular/core").InputSignal<boolean>;
         
     | 
| 
       39 
43 
     | 
    
         
             
                endDateField: import("@angular/core").InputSignal<string>;
         
     | 
| 
         @@ -74,5 +78,5 @@ export declare class AXSchedulerComponent extends MXBaseComponent implements OnI 
     | 
|
| 
       74 
78 
     | 
    
         
             
                calendarDateChanged(e: any): void;
         
     | 
| 
       75 
79 
     | 
    
         
             
                handleFullScreen(): void;
         
     | 
| 
       76 
80 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
         
     | 
| 
       77 
     | 
    
         
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { " 
     | 
| 
      
 81 
     | 
    
         
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": false; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "allDayField": { "alias": "allDayField"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "endDateField": { "alias": "endDateField"; "required": false; "isSignal": true; }; "readonlyField": { "alias": "readonlyField"; "required": false; "isSignal": true; }; "startDateField": { "alias": "startDateField"; "required": false; "isSignal": true; }; "textColorField": { "alias": "textColorField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "backgroundColorField": { "alias": "backgroundColorField"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
         
     | 
| 
       78 
82 
     | 
    
         
             
            }
         
     | 
| 
         @@ -2,10 +2,11 @@ import { AXDateTime } from '@acorex/core/date-time'; 
     | 
|
| 
       2 
2 
     | 
    
         
             
            import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAppointmentEvent, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentType, AXSchedulerBlockIdentifier, AXSchedulerSlotEvent, AXSchedulerView } from './scheduler.class';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import * as i0 from "@angular/core";
         
     | 
| 
       4 
4 
     | 
    
         
             
            export declare class AXSchedulerService {
         
     | 
| 
      
 5 
     | 
    
         
            +
                private formatService;
         
     | 
| 
      
 6 
     | 
    
         
            +
                readonly HOURS_PER_DAY = 24;
         
     | 
| 
      
 7 
     | 
    
         
            +
                readonly MINUTES_PER_HOUR = 60;
         
     | 
| 
       5 
8 
     | 
    
         
             
                readonly BLOCK_DURATION_MINUTES = 30;
         
     | 
| 
       6 
9 
     | 
    
         
             
                readonly MILLISECONDS_PER_MINUTE: number;
         
     | 
| 
       7 
     | 
    
         
            -
                readonly MINUTES_PER_HOUR = 60;
         
     | 
| 
       8 
     | 
    
         
            -
                readonly HOURS_PER_DAY = 24;
         
     | 
| 
       9 
10 
     | 
    
         
             
                readonly MILLISECONDS_PER_DAY: number;
         
     | 
| 
       10 
11 
     | 
    
         
             
                /**
         
     | 
| 
       11 
12 
     | 
    
         
             
                 * Checks if two appointments overlap in time.
         
     | 
| 
         @@ -6,6 +6,7 @@ export declare class AXSchedulerDayViewComponent extends MXBaseComponent { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                private schedulerCalcService;
         
     | 
| 
       7 
7 
     | 
    
         
             
                readonly GAP_WIDTH_PX = 1;
         
     | 
| 
       8 
8 
     | 
    
         
             
                draggable: import("@angular/core").InputSignal<boolean>;
         
     | 
| 
      
 9 
     | 
    
         
            +
                calendar: import("@angular/core").InputSignal<string>;
         
     | 
| 
       9 
10 
     | 
    
         
             
                endHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
       10 
11 
     | 
    
         
             
                date: import("@angular/core").InputSignal<AXDateTime>;
         
     | 
| 
       11 
12 
     | 
    
         
             
                startHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
         @@ -30,5 +31,5 @@ export declare class AXSchedulerDayViewComponent extends MXBaseComponent { 
     | 
|
| 
       30 
31 
     | 
    
         
             
                getAppointmentTransform(key: any): string;
         
     | 
| 
       31 
32 
     | 
    
         
             
                getAppointmentHeight(key: any): string;
         
     | 
| 
       32 
33 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
         
     | 
| 
       33 
     | 
    
         
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
      
 34 
     | 
    
         
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
       34 
35 
     | 
    
         
             
            }
         
     | 
| 
         @@ -12,9 +12,11 @@ export type AXSchedulerMonthDayCell = { 
     | 
|
| 
       12 
12 
     | 
    
         
             
                overflowCount: number;
         
     | 
| 
       13 
13 
     | 
    
         
             
            };
         
     | 
| 
       14 
14 
     | 
    
         
             
            export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
         
     | 
| 
       15 
     | 
    
         
            -
                private  
     | 
| 
      
 15 
     | 
    
         
            +
                private formatService;
         
     | 
| 
       16 
16 
     | 
    
         
             
                private calendarService;
         
     | 
| 
      
 17 
     | 
    
         
            +
                private schedulerCalcService;
         
     | 
| 
       17 
18 
     | 
    
         
             
                draggable: import("@angular/core").InputSignal<boolean>;
         
     | 
| 
      
 19 
     | 
    
         
            +
                calendar: import("@angular/core").InputSignal<string>;
         
     | 
| 
       18 
20 
     | 
    
         
             
                date: import("@angular/core").InputSignal<AXDateTime>;
         
     | 
| 
       19 
21 
     | 
    
         
             
                appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
         
     | 
| 
       20 
22 
     | 
    
         
             
                firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
         
     | 
| 
         @@ -39,5 +41,5 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent { 
     | 
|
| 
       39 
41 
     | 
    
         
             
                dayCellLayouts: import("@angular/core").Signal<AXSchedulerMonthDayCell[]>;
         
     | 
| 
       40 
42 
     | 
    
         
             
                gridTemplateRowsStyle: import("@angular/core").Signal<string>;
         
     | 
| 
       41 
43 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
         
     | 
| 
       42 
     | 
    
         
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
      
 44 
     | 
    
         
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
       43 
45 
     | 
    
         
             
            }
         
     | 
| 
         @@ -9,6 +9,7 @@ export declare class AXSchedulerWeekViewComponent extends MXBaseComponent { 
     | 
|
| 
       9 
9 
     | 
    
         
             
                private schedulerCalcService;
         
     | 
| 
       10 
10 
     | 
    
         
             
                readonly GAP_WIDTH_PX = 1;
         
     | 
| 
       11 
11 
     | 
    
         
             
                draggable: import("@angular/core").InputSignal<boolean>;
         
     | 
| 
      
 12 
     | 
    
         
            +
                calendar: import("@angular/core").InputSignal<string>;
         
     | 
| 
       12 
13 
     | 
    
         
             
                endHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
       13 
14 
     | 
    
         
             
                date: import("@angular/core").InputSignal<AXDateTime>;
         
     | 
| 
       14 
15 
     | 
    
         
             
                startHour: import("@angular/core").InputSignal<number>;
         
     | 
| 
         @@ -36,6 +37,6 @@ export declare class AXSchedulerWeekViewComponent extends MXBaseComponent { 
     | 
|
| 
       36 
37 
     | 
    
         
             
                allDayAppointmentsPerDay: import("@angular/core").Signal<AXSchedulerAllDaySlotData[]>;
         
     | 
| 
       37 
38 
     | 
    
         
             
                overflowBadgesWithData: import("@angular/core").Signal<AXSchedulerGridBadgeInfo[]>;
         
     | 
| 
       38 
39 
     | 
    
         
             
                static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
         
     | 
| 
       39 
     | 
    
         
            -
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
      
 40 
     | 
    
         
            +
                static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
         
     | 
| 
       40 
41 
     | 
    
         
             
            }
         
     | 
| 
       41 
42 
     | 
    
         
             
            export {};
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs","sources":["../../../../libs/components/modal/src/lib/modal-footer/modal-footer.component.ts","../../../../libs/components/modal/src/lib/modal-footer/modal-footer.component.html","../../../../libs/components/modal/src/lib/modal-state.service.ts","../../../../libs/components/modal/src/lib/modal.component.ts","../../../../libs/components/modal/src/lib/modal.service.ts","../../../../libs/components/modal/src/lib/modal.module.ts","../../../../libs/components/modal/src/acorex-components-modal.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n  selector: 'ax-modal-footer',\n  templateUrl: './modal-footer.component.html',\n  styleUrl: './modal-footer.component.scss',\n  imports: [],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXModalFooterComponent {}\n","<ng-content select=\"ax-modal-footer\">\n  <ng-content select=\"ax-prefix\"></ng-content>\n  <ng-content select=\"ax-suffix\"></ng-content>\n</ng-content>\n","import { AXOverlayRef, AXOverlayService } from '@acorex/cdk/overlay';\nimport { AXComponentContent, AXComponentInputs } from '@acorex/core/components';\nimport { ComponentRef, inject, Injectable, signal } from '@angular/core';\nimport { AXModalContentComponent } from './modal-content/modal-content.component';\nimport { AXModalOptions, AXModalRef } from './modal.types';\n\n@Injectable({\n  providedIn: 'root',\n})\nexport class AXModalStateService {\n  modalOption = signal<AXModalOptions>(null);\n  modalList = new Map<number, AXOverlayRef<AXModalContentComponent>>();\n  private overlayService = inject(AXOverlayService);\n\n  async open<TResult = any>(content: AXComponentContent, options?: AXModalOptions): Promise<AXModalRef<TResult>> {\n    this.modalOption.set(options);\n    const randomId = Math.floor(Math.random() * 100000000000);\n    const modalContentComp = (await import('./modal-content/modal-content.component')).AXModalContentComponent;\n\n    const ref = await this.overlayService.create(modalContentComp, {\n      position: options?.position,\n      backdrop: options?.backdrop,\n      inputs: {\n        __content__: content,\n        inputs: { ...options?.inputs },\n        id: randomId,\n      },\n    });\n\n    this.modalList.set(randomId, ref);\n\n    return {\n      id: randomId,\n      close: (data) => {\n        this.close(randomId, data);\n      },\n      setInputs: (values: AXComponentInputs) => {\n        this.setInputs(randomId, values);\n      },\n      minimize: () => {\n        this.minimize(randomId);\n      },\n    };\n  }\n\n  async close<TResult = any>(id: number, data?: TResult) {\n    const ref = this.modalList.get(id);\n    if (!ref) return;\n    ref.instance.destroy();\n    this.modalList.delete(id);\n  }\n\n  private async setInputs(id: number, values: AXComponentInputs) {\n    const ref = this.modalList.get(id);\n    if (!ref) return;\n    if (ref.instance instanceof ComponentRef) {\n      const comRef = ref.instance as ComponentRef<any>;\n      Object.entries(values).forEach((v) => {\n        comRef.setInput(v[0], v[1]);\n      });\n    } else {\n      ref.instance.context.inputs.set(values);\n    }\n  }\n\n  private async minimize(id: number) {\n    const ref = this.modalList.get(id);\n    if (!ref) return;\n    if (ref.instance instanceof ComponentRef) {\n      ref.instance.instance.modalSizeHandler();\n    } else {\n      ref.instance.context.modalSizeHandler();\n    }\n  }\n}\n","import { NXComponent } from '@acorex/components/common';\nimport { AXComponentInputs } from '@acorex/core/components';\nimport {\n  ChangeDetectionStrategy,\n  Component,\n  inject,\n  signal,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { AXModalStateService } from './modal-state.service';\nimport { AXModalOptions, AXModalRef } from './modal.types';\n\n@Component({\n  selector: 'ax-modal',\n  template: `\n    <ng-template #contentTemplate>\n      <ng-content></ng-content>\n    </ng-template>\n  `,\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXModalComponent extends NXComponent {\n  private service = inject(AXModalStateService);\n  protected template = viewChild(TemplateRef);\n  private ref = signal<AXModalRef<any>>(null);\n\n  async open(options?: AXModalOptions) {\n    const ref = await this.service.open(this.template(), options);\n    this.ref.set(ref);\n    return ref;\n  }\n\n  async close() {\n    if (this.ref()) return;\n    this.ref().close();\n  }\n\n  async setInputs(values: AXComponentInputs) {\n    if (!this.ref()) return;\n    const transform = { inputs: values };\n    this.ref().setInputs(transform);\n  }\n\n  async minimize() {\n    if (!this.ref()) return;\n    this.ref().minimize();\n  }\n}\n","import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';\nimport { inject, Injectable, signal } from '@angular/core';\nimport { AXModalStateService } from './modal-state.service';\nimport { AXModalOptions, AXModalRef } from './modal.types';\n\n@Injectable()\nexport class AXModalService {\n  private stateService = inject(AXModalStateService);\n  private ref = signal<AXModalRef<any>>(null);\n\n  async open(content: AXComponentContent, options?: AXModalOptions) {\n    const ref = await this.stateService.open(content, options);\n    this.ref.set(ref);\n  }\n\n  async close() {\n    if (!this.ref()) return;\n    this.ref().close();\n  }\n\n  async setInputs(values: AXComponentInputs) {\n    if (!this.ref()) return;\n    const transform = { inputs: values };\n    this.ref().setInputs(transform);\n  }\n\n  async minimize() {\n    if (!this.ref()) return;\n    this.ref().minimize();\n  }\n}\n","import { NgModule } from '@angular/core';\nimport { AXModalFooterComponent } from './modal-footer/modal-footer.component';\nimport { AXModalComponent } from './modal.component';\nimport { AXModalService } from './modal.service';\n\nconst COMPONENT = [AXModalComponent, AXModalFooterComponent];\n\nconst MODULES = [];\n\n@NgModule({\n  imports: [...MODULES, ...COMPONENT],\n  exports: [...COMPONENT],\n  providers: [AXModalService],\n})\nexport class AXModalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,2ECVnC,8JAIA,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDMa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBARlC,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAGlB,EAAE,EACI,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8JAAA,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA;;;MECpC,mBAAmB,CAAA;AAHhC,IAAA,WAAA,GAAA;AAIE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAiB,IAAI,CAAC;AAC1C,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,GAAG,EAAi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AA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFb,SAAA,EAAA,CAAC,cAAc,CAAC,YAFd,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;oBACvB,SAAS,EAAE,CAAC,cAAc,CAAC;AAC5B,iBAAA;;;ACbD;;AAEG;;;;"}
         
     | 
| 
         @@ -1,181 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { AXButtonComponent } from '@acorex/components/button';
         
     | 
| 
       2 
     | 
    
         
            -
            import { NXComponent } from '@acorex/components/common';
         
     | 
| 
       3 
     | 
    
         
            -
            import * as i2 from '@acorex/components/decorators';
         
     | 
| 
       4 
     | 
    
         
            -
            import { AXDecoratorModule } from '@acorex/components/decorators';
         
     | 
| 
       5 
     | 
    
         
            -
            import { trigger, transition, style, animate } from '@angular/animations';
         
     | 
| 
       6 
     | 
    
         
            -
            import * as i1 from '@angular/common';
         
     | 
| 
       7 
     | 
    
         
            -
            import { CommonModule } from '@angular/common';
         
     | 
| 
       8 
     | 
    
         
            -
            import * as i0 from '@angular/core';
         
     | 
| 
       9 
     | 
    
         
            -
            import { input, inject, computed, TemplateRef, model, viewChild, signal, afterNextRender, effect, HostBinding, HostListener, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
         
     | 
| 
       10 
     | 
    
         
            -
            import { A as AXModalStateService, a as AXModalFooterComponent } from './acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs';
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            class AXModalContentComponent extends NXComponent {
         
     | 
| 
       13 
     | 
    
         
            -
                constructor() {
         
     | 
| 
       14 
     | 
    
         
            -
                    super(...arguments);
         
     | 
| 
       15 
     | 
    
         
            -
                    this.__content__ = input.required();
         
     | 
| 
       16 
     | 
    
         
            -
                    this.serviceState = inject(AXModalStateService);
         
     | 
| 
       17 
     | 
    
         
            -
                    this.isTemplate = computed(() => this.__content__() instanceof TemplateRef);
         
     | 
| 
       18 
     | 
    
         
            -
                    this.component = computed(() => this.__content__());
         
     | 
| 
       19 
     | 
    
         
            -
                    this.template = computed(() => this.__content__());
         
     | 
| 
       20 
     | 
    
         
            -
                    this.inputs = model();
         
     | 
| 
       21 
     | 
    
         
            -
                    this.id = input();
         
     | 
| 
       22 
     | 
    
         
            -
                    this.modalContainer = viewChild('c');
         
     | 
| 
       23 
     | 
    
         
            -
                    this.modalSizeState = signal('maximize');
         
     | 
| 
       24 
     | 
    
         
            -
                    this.footer = viewChild(AXModalFooterComponent);
         
     | 
| 
       25 
     | 
    
         
            -
                    this.isMouseDown = signal(false);
         
     | 
| 
       26 
     | 
    
         
            -
                    this.offsetX = signal(0);
         
     | 
| 
       27 
     | 
    
         
            -
                    this.offsetY = signal(0);
         
     | 
| 
       28 
     | 
    
         
            -
                    this.prevLeft = signal('');
         
     | 
| 
       29 
     | 
    
         
            -
                    this.prevTop = signal('');
         
     | 
| 
       30 
     | 
    
         
            -
                    this.backdropState = computed(() => this.serviceState.modalOption()?.backdrop?.enabled);
         
     | 
| 
       31 
     | 
    
         
            -
                    this.closeHeaderButton = computed(() => this.serviceState.modalOption()?.buttons.close);
         
     | 
| 
       32 
     | 
    
         
            -
                    this.backdropBackground = computed(() => this.serviceState.modalOption()?.backdrop?.background);
         
     | 
| 
       33 
     | 
    
         
            -
                    this.backdropClass = computed(() => this.serviceState.modalOption()?.backdrop?.cssClass);
         
     | 
| 
       34 
     | 
    
         
            -
                    this.backdropCloseOnClick = computed(() => this.serviceState.modalOption()?.backdrop?.closeOnClick);
         
     | 
| 
       35 
     | 
    
         
            -
                    this.minimizePosition = computed(() => this.serviceState.modalOption()?.buttons.minimize.position);
         
     | 
| 
       36 
     | 
    
         
            -
                    this.minimizeState = computed(() => this.serviceState.modalOption()?.buttons.minimize.enable);
         
     | 
| 
       37 
     | 
    
         
            -
                    this.modalSize = computed(() => this.serviceState.modalOption()?.size || 'fit');
         
     | 
| 
       38 
     | 
    
         
            -
                    this.headerTitle = computed(() => this.serviceState.modalOption()?.title);
         
     | 
| 
       39 
     | 
    
         
            -
                    this.draggable = computed(() => this.serviceState.modalOption()?.draggable);
         
     | 
| 
       40 
     | 
    
         
            -
                    this.#init = afterNextRender(() => {
         
     | 
| 
       41 
     | 
    
         
            -
                        const popFooter = this.nativeElement.querySelector('.ax-modal-footer');
         
     | 
| 
       42 
     | 
    
         
            -
                        const footer = this.nativeElement.querySelector('.ax-modal-content ax-modal-footer');
         
     | 
| 
       43 
     | 
    
         
            -
                        if (footer) {
         
     | 
| 
       44 
     | 
    
         
            -
                            popFooter?.append(footer);
         
     | 
| 
       45 
     | 
    
         
            -
                        }
         
     | 
| 
       46 
     | 
    
         
            -
                    });
         
     | 
| 
       47 
     | 
    
         
            -
                    this.fadeInOut = true;
         
     | 
| 
       48 
     | 
    
         
            -
                    this.#eff = effect(() => {
         
     | 
| 
       49 
     | 
    
         
            -
                        const host = this.nativeElement;
         
     | 
| 
       50 
     | 
    
         
            -
                        if (this.draggable())
         
     | 
| 
       51 
     | 
    
         
            -
                            host.classList.add('ax-draggable');
         
     | 
| 
       52 
     | 
    
         
            -
                        if (!this.backdropState())
         
     | 
| 
       53 
     | 
    
         
            -
                            return;
         
     | 
| 
       54 
     | 
    
         
            -
                        host.classList.add('ax-backdrop');
         
     | 
| 
       55 
     | 
    
         
            -
                        if (!this.backdropBackground())
         
     | 
| 
       56 
     | 
    
         
            -
                            return;
         
     | 
| 
       57 
     | 
    
         
            -
                        if (this.backdropClass()) {
         
     | 
| 
       58 
     | 
    
         
            -
                            host.classList.add(this.backdropClass());
         
     | 
| 
       59 
     | 
    
         
            -
                        }
         
     | 
| 
       60 
     | 
    
         
            -
                        else {
         
     | 
| 
       61 
     | 
    
         
            -
                            host.classList.add('ax-default-backdrop');
         
     | 
| 
       62 
     | 
    
         
            -
                        }
         
     | 
| 
       63 
     | 
    
         
            -
                    });
         
     | 
| 
       64 
     | 
    
         
            -
                }
         
     | 
| 
       65 
     | 
    
         
            -
                #init;
         
     | 
| 
       66 
     | 
    
         
            -
                closeHandler() {
         
     | 
| 
       67 
     | 
    
         
            -
                    this.serviceState.close(this.id());
         
     | 
| 
       68 
     | 
    
         
            -
                }
         
     | 
| 
       69 
     | 
    
         
            -
                pointerDownHandler(e) {
         
     | 
| 
       70 
     | 
    
         
            -
                    if (!this.draggable() || this.modalSizeState() === 'minimize')
         
     | 
| 
       71 
     | 
    
         
            -
                        return;
         
     | 
| 
       72 
     | 
    
         
            -
                    this.isMouseDown.set(true);
         
     | 
| 
       73 
     | 
    
         
            -
                    this.modalContainer().nativeElement.style.transition = 'none';
         
     | 
| 
       74 
     | 
    
         
            -
                    this.offsetX.set(e.clientX - this.modalContainer().nativeElement.offsetLeft);
         
     | 
| 
       75 
     | 
    
         
            -
                    this.offsetY.set(e.clientY - this.modalContainer().nativeElement.offsetTop);
         
     | 
| 
       76 
     | 
    
         
            -
                }
         
     | 
| 
       77 
     | 
    
         
            -
                modalSizeHandler() {
         
     | 
| 
       78 
     | 
    
         
            -
                    const index = this.getMapIndexOf(this.serviceState.modalList, this.id());
         
     | 
| 
       79 
     | 
    
         
            -
                    if (this.modalSizeState() === 'maximize') {
         
     | 
| 
       80 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.left = `initial`;
         
     | 
| 
       81 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.top = `initial`;
         
     | 
| 
       82 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.bottom = `0`;
         
     | 
| 
       83 
     | 
    
         
            -
                        if (this.backdropState())
         
     | 
| 
       84 
     | 
    
         
            -
                            this.nativeElement.classList.remove('ax-backdrop');
         
     | 
| 
       85 
     | 
    
         
            -
                        this.modalContainer().nativeElement.classList.remove('ax-maximize-modal');
         
     | 
| 
       86 
     | 
    
         
            -
                        this.modalContainer().nativeElement.classList.add(`ax-minimize-modal`);
         
     | 
| 
       87 
     | 
    
         
            -
                        if (this.minimizePosition() === 'bottom-right') {
         
     | 
| 
       88 
     | 
    
         
            -
                            this.modalContainer().nativeElement.style.right = `${index * this.modalContainer().nativeElement.offsetWidth}px`;
         
     | 
| 
       89 
     | 
    
         
            -
                        }
         
     | 
| 
       90 
     | 
    
         
            -
                        else {
         
     | 
| 
       91 
     | 
    
         
            -
                            this.modalContainer().nativeElement.style.left = `${index * this.modalContainer().nativeElement.offsetWidth}px`;
         
     | 
| 
       92 
     | 
    
         
            -
                        }
         
     | 
| 
       93 
     | 
    
         
            -
                        this.modalSizeState.set('minimize');
         
     | 
| 
       94 
     | 
    
         
            -
                    }
         
     | 
| 
       95 
     | 
    
         
            -
                    else {
         
     | 
| 
       96 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.bottom = `initial`;
         
     | 
| 
       97 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.right = `initial`;
         
     | 
| 
       98 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.left = this.prevLeft();
         
     | 
| 
       99 
     | 
    
         
            -
                        this.modalContainer().nativeElement.style.top = this.prevTop();
         
     | 
| 
       100 
     | 
    
         
            -
                        if (this.backdropState())
         
     | 
| 
       101 
     | 
    
         
            -
                            this.nativeElement.classList.add('ax-backdrop');
         
     | 
| 
       102 
     | 
    
         
            -
                        this.modalContainer().nativeElement.classList.add('ax-maximize-modal');
         
     | 
| 
       103 
     | 
    
         
            -
                        this.modalContainer().nativeElement.classList.remove(`ax-minimize-modal`);
         
     | 
| 
       104 
     | 
    
         
            -
                        this.modalSizeState.set('maximize');
         
     | 
| 
       105 
     | 
    
         
            -
                    }
         
     | 
| 
       106 
     | 
    
         
            -
                }
         
     | 
| 
       107 
     | 
    
         
            -
                getMapIndexOf(map, targetKey) {
         
     | 
| 
       108 
     | 
    
         
            -
                    let index = 0;
         
     | 
| 
       109 
     | 
    
         
            -
                    for (const key of map.keys()) {
         
     | 
| 
       110 
     | 
    
         
            -
                        if (key === targetKey) {
         
     | 
| 
       111 
     | 
    
         
            -
                            return index;
         
     | 
| 
       112 
     | 
    
         
            -
                        }
         
     | 
| 
       113 
     | 
    
         
            -
                        index++;
         
     | 
| 
       114 
     | 
    
         
            -
                    }
         
     | 
| 
       115 
     | 
    
         
            -
                    return -1;
         
     | 
| 
       116 
     | 
    
         
            -
                }
         
     | 
| 
       117 
     | 
    
         
            -
                pointerMoveHandler(e) {
         
     | 
| 
       118 
     | 
    
         
            -
                    if (!this.draggable() || this.modalSizeState() === 'minimize')
         
     | 
| 
       119 
     | 
    
         
            -
                        return;
         
     | 
| 
       120 
     | 
    
         
            -
                    if (!this.isMouseDown())
         
     | 
| 
       121 
     | 
    
         
            -
                        return;
         
     | 
| 
       122 
     | 
    
         
            -
                    this.modalContainer().nativeElement.style.left = `${e.clientX - this.offsetX()}px`;
         
     | 
| 
       123 
     | 
    
         
            -
                    this.modalContainer().nativeElement.style.top = `${e.clientY - this.offsetY()}px`;
         
     | 
| 
       124 
     | 
    
         
            -
                    this.prevLeft.set(`${e.clientX - this.offsetX()}px`);
         
     | 
| 
       125 
     | 
    
         
            -
                    this.prevTop.set(`${e.clientY - this.offsetY()}px`);
         
     | 
| 
       126 
     | 
    
         
            -
                }
         
     | 
| 
       127 
     | 
    
         
            -
                pointerUpHandler() {
         
     | 
| 
       128 
     | 
    
         
            -
                    if (!this.draggable() || this.modalSizeState() === 'minimize')
         
     | 
| 
       129 
     | 
    
         
            -
                        return;
         
     | 
| 
       130 
     | 
    
         
            -
                    this.modalContainer().nativeElement.style.transition = '0.5s all ease';
         
     | 
| 
       131 
     | 
    
         
            -
                    this.isMouseDown.set(false);
         
     | 
| 
       132 
     | 
    
         
            -
                }
         
     | 
| 
       133 
     | 
    
         
            -
                backdropCloseHandler(e) {
         
     | 
| 
       134 
     | 
    
         
            -
                    if (!this.backdropCloseOnClick())
         
     | 
| 
       135 
     | 
    
         
            -
                        return;
         
     | 
| 
       136 
     | 
    
         
            -
                    if (e.target === e.currentTarget) {
         
     | 
| 
       137 
     | 
    
         
            -
                        this.closeHandler();
         
     | 
| 
       138 
     | 
    
         
            -
                    }
         
     | 
| 
       139 
     | 
    
         
            -
                }
         
     | 
| 
       140 
     | 
    
         
            -
                #eff;
         
     | 
| 
       141 
     | 
    
         
            -
                static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXModalContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
         
     | 
| 
       142 
     | 
    
         
            -
                static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: AXModalContentComponent, isStandalone: true, selector: "ax-modal-content", inputs: { __content__: { classPropertyName: "__content__", publicName: "__content__", isSignal: true, isRequired: true, transformFunction: null }, inputs: { classPropertyName: "inputs", publicName: "inputs", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputs: "inputsChange" }, host: { listeners: { "pointermove": "pointerMoveHandler($event)", "pointerup": "pointerUpHandler($event)", "pointerleave": "pointerUpHandler($event)", "click": "backdropCloseHandler($event)" }, properties: { "@fadeInOut": "this.fadeInOut" } }, viewQueries: [{ propertyName: "modalContainer", first: true, predicate: ["c"], descendants: true, isSignal: true }, { propertyName: "footer", first: true, predicate: AXModalFooterComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #c class=\"ax-modal-container ax-{{ modalSizeState() }}-modal  ax-modal-{{ modalSize() }}\">\n  <div (pointerdown)=\"pointerDownHandler($event)\" class=\"ax-modal-header\">\n    <ax-text>{{ headerTitle() }}</ax-text>\n\n    <div>\n      @if (minimizeState()) {\n        <ax-button class=\"ax-sm\" (onClick)=\"modalSizeHandler()\" look=\"blank\" color=\"primary\">\n          @if (modalSizeState() === 'minimize') {\n            <ax-icon class=\"ax-icon ax-icon-maximize\"> </ax-icon>\n          } @else {\n            <ax-icon class=\"ax-icon ax-icon-minimize\"> </ax-icon>\n          }\n        </ax-button>\n      }\n\n      @if (closeHeaderButton()) {\n        <ax-button class=\"ax-sm\" look=\"blank\" (onClick)=\"closeHandler()\" color=\"danger\">\n          <ax-icon class=\"ax-icon ax-icon-close\"> </ax-icon>\n        </ax-button>\n      }\n    </div>\n  </div>\n  <div class=\"ax-modal-content\">\n    @if (isTemplate()) {\n      <ng-container [ngTemplateOutlet]=\"this.template()\" [ngTemplateOutletContext]=\"inputs()\"></ng-container>\n    } @else {\n      <ng-container [ngComponentOutlet]=\"this.component()\" [ngComponentOutletInputs]=\"inputs()\"></ng-container>\n    }\n  </div>\n  <div class=\"ax-modal-footer\"></div>\n</div>\n", styles: ["ax-modal-content{z-index:100;touch-action:none;-webkit-user-select:none;user-select:none}ax-modal-content.ax-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh}ax-modal-content.ax-default-backdrop{background-color:#00000080}ax-modal-content.ax-draggable .ax-modal-header:hover{cursor:move}ax-modal-content .ax-modal-container{position:fixed;z-index:110;background-color:rgba(var(--ax-sys-color-lightest-surface));display:flex;flex-direction:column;justify-content:space-between;border-radius:var(--ax-sys-border-radius);border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));overflow:hidden;transition:.5s all ease;max-height:90vh;max-width:100vw}ax-modal-content .ax-modal-container.ax-modal-full{max-height:100vh!important;width:100%;height:100%}ax-modal-content .ax-modal-container.ax-modal-fit{width:fit-content}@media (min-width: 320px) and (max-width: 640px){ax-modal-content .ax-modal-container.ax-modal-sm,ax-modal-content .ax-modal-container.ax-modal-md,ax-modal-content .ax-modal-container.ax-modal-lg,ax-modal-content .ax-modal-container.ax-modal-fit{width:93vw}}@media (min-width: 768px){ax-modal-content .ax-modal-container.ax-modal-sm{width:55vw}ax-modal-content .ax-modal-container.ax-modal-md{width:65vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:75vw}}@media (min-width: 1280px){ax-modal-content .ax-modal-container.ax-modal-sm{width:30vw}ax-modal-content .ax-modal-container.ax-modal-md{width:50vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:85vw}}@media (min-width: 1536px){ax-modal-content .ax-modal-container.ax-modal-sm{width:25vw}ax-modal-content .ax-modal-container.ax-modal-md{width:40vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:65vw}}ax-modal-content .ax-modal-container.ax-maximize-modal{top:50%;left:50%;transform:translate(-50%,-50%)}ax-modal-content .ax-modal-container.ax-maximize-modal .ax-modal-content{display:block}ax-modal-content .ax-modal-container.ax-maximize-modal .ax-modal-footer{display:block}ax-modal-content .ax-modal-container.ax-minimize-modal .ax-modal-content{display:none}ax-modal-content .ax-modal-container.ax-minimize-modal .ax-modal-footer{display:none}ax-modal-content .ax-modal-container .ax-modal-header,ax-modal-content .ax-modal-container .ax-modal-footer,ax-modal-content .ax-modal-container .ax-modal-content{padding:.5rem}ax-modal-content .ax-modal-container .ax-modal-header,ax-modal-content .ax-modal-container .ax-modal-footer{height:fit-content}ax-modal-content .ax-modal-container .ax-modal-content{overflow:auto;border-block:1px solid rgba(var(--ax-sys-color-border-lightest-surface));flex-grow:1}ax-modal-content .ax-modal-container .ax-modal-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }], animations: [
         
     | 
| 
       143 
     | 
    
         
            -
                        trigger('fadeInOut', [
         
     | 
| 
       144 
     | 
    
         
            -
                            transition(':enter', [
         
     | 
| 
       145 
     | 
    
         
            -
                                style({ opacity: 0, transform: 'scale(0.85)' }),
         
     | 
| 
       146 
     | 
    
         
            -
                                animate('200ms ease-out', style({ opacity: 1, transform: 'scale(1)' })),
         
     | 
| 
       147 
     | 
    
         
            -
                            ]),
         
     | 
| 
       148 
     | 
    
         
            -
                            transition(':leave', [animate('200ms ease-in', style({ opacity: 0, transform: 'scale(0.85)' }))]),
         
     | 
| 
       149 
     | 
    
         
            -
                        ]),
         
     | 
| 
       150 
     | 
    
         
            -
                    ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
         
     | 
| 
       151 
     | 
    
         
            -
            }
         
     | 
| 
       152 
     | 
    
         
            -
            i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AXModalContentComponent, decorators: [{
         
     | 
| 
       153 
     | 
    
         
            -
                        type: Component,
         
     | 
| 
       154 
     | 
    
         
            -
                        args: [{ selector: 'ax-modal-content', imports: [CommonModule, AXButtonComponent, AXDecoratorModule], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [
         
     | 
| 
       155 
     | 
    
         
            -
                                    trigger('fadeInOut', [
         
     | 
| 
       156 
     | 
    
         
            -
                                        transition(':enter', [
         
     | 
| 
       157 
     | 
    
         
            -
                                            style({ opacity: 0, transform: 'scale(0.85)' }),
         
     | 
| 
       158 
     | 
    
         
            -
                                            animate('200ms ease-out', style({ opacity: 1, transform: 'scale(1)' })),
         
     | 
| 
       159 
     | 
    
         
            -
                                        ]),
         
     | 
| 
       160 
     | 
    
         
            -
                                        transition(':leave', [animate('200ms ease-in', style({ opacity: 0, transform: 'scale(0.85)' }))]),
         
     | 
| 
       161 
     | 
    
         
            -
                                    ]),
         
     | 
| 
       162 
     | 
    
         
            -
                                ], template: "<div #c class=\"ax-modal-container ax-{{ modalSizeState() }}-modal  ax-modal-{{ modalSize() }}\">\n  <div (pointerdown)=\"pointerDownHandler($event)\" class=\"ax-modal-header\">\n    <ax-text>{{ headerTitle() }}</ax-text>\n\n    <div>\n      @if (minimizeState()) {\n        <ax-button class=\"ax-sm\" (onClick)=\"modalSizeHandler()\" look=\"blank\" color=\"primary\">\n          @if (modalSizeState() === 'minimize') {\n            <ax-icon class=\"ax-icon ax-icon-maximize\"> </ax-icon>\n          } @else {\n            <ax-icon class=\"ax-icon ax-icon-minimize\"> </ax-icon>\n          }\n        </ax-button>\n      }\n\n      @if (closeHeaderButton()) {\n        <ax-button class=\"ax-sm\" look=\"blank\" (onClick)=\"closeHandler()\" color=\"danger\">\n          <ax-icon class=\"ax-icon ax-icon-close\"> </ax-icon>\n        </ax-button>\n      }\n    </div>\n  </div>\n  <div class=\"ax-modal-content\">\n    @if (isTemplate()) {\n      <ng-container [ngTemplateOutlet]=\"this.template()\" [ngTemplateOutletContext]=\"inputs()\"></ng-container>\n    } @else {\n      <ng-container [ngComponentOutlet]=\"this.component()\" [ngComponentOutletInputs]=\"inputs()\"></ng-container>\n    }\n  </div>\n  <div class=\"ax-modal-footer\"></div>\n</div>\n", styles: ["ax-modal-content{z-index:100;touch-action:none;-webkit-user-select:none;user-select:none}ax-modal-content.ax-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh}ax-modal-content.ax-default-backdrop{background-color:#00000080}ax-modal-content.ax-draggable .ax-modal-header:hover{cursor:move}ax-modal-content .ax-modal-container{position:fixed;z-index:110;background-color:rgba(var(--ax-sys-color-lightest-surface));display:flex;flex-direction:column;justify-content:space-between;border-radius:var(--ax-sys-border-radius);border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));overflow:hidden;transition:.5s all ease;max-height:90vh;max-width:100vw}ax-modal-content .ax-modal-container.ax-modal-full{max-height:100vh!important;width:100%;height:100%}ax-modal-content .ax-modal-container.ax-modal-fit{width:fit-content}@media (min-width: 320px) and (max-width: 640px){ax-modal-content .ax-modal-container.ax-modal-sm,ax-modal-content .ax-modal-container.ax-modal-md,ax-modal-content .ax-modal-container.ax-modal-lg,ax-modal-content .ax-modal-container.ax-modal-fit{width:93vw}}@media (min-width: 768px){ax-modal-content .ax-modal-container.ax-modal-sm{width:55vw}ax-modal-content .ax-modal-container.ax-modal-md{width:65vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:75vw}}@media (min-width: 1280px){ax-modal-content .ax-modal-container.ax-modal-sm{width:30vw}ax-modal-content .ax-modal-container.ax-modal-md{width:50vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:85vw}}@media (min-width: 1536px){ax-modal-content .ax-modal-container.ax-modal-sm{width:25vw}ax-modal-content .ax-modal-container.ax-modal-md{width:40vw}ax-modal-content .ax-modal-container.ax-modal-lg{width:65vw}}ax-modal-content .ax-modal-container.ax-maximize-modal{top:50%;left:50%;transform:translate(-50%,-50%)}ax-modal-content .ax-modal-container.ax-maximize-modal .ax-modal-content{display:block}ax-modal-content .ax-modal-container.ax-maximize-modal .ax-modal-footer{display:block}ax-modal-content .ax-modal-container.ax-minimize-modal .ax-modal-content{display:none}ax-modal-content .ax-modal-container.ax-minimize-modal .ax-modal-footer{display:none}ax-modal-content .ax-modal-container .ax-modal-header,ax-modal-content .ax-modal-container .ax-modal-footer,ax-modal-content .ax-modal-container .ax-modal-content{padding:.5rem}ax-modal-content .ax-modal-container .ax-modal-header,ax-modal-content .ax-modal-container .ax-modal-footer{height:fit-content}ax-modal-content .ax-modal-container .ax-modal-content{overflow:auto;border-block:1px solid rgba(var(--ax-sys-color-border-lightest-surface));flex-grow:1}ax-modal-content .ax-modal-container .ax-modal-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}\n"] }]
         
     | 
| 
       163 
     | 
    
         
            -
                    }], propDecorators: { pointerMoveHandler: [{
         
     | 
| 
       164 
     | 
    
         
            -
                            type: HostListener,
         
     | 
| 
       165 
     | 
    
         
            -
                            args: ['pointermove', ['$event']]
         
     | 
| 
       166 
     | 
    
         
            -
                        }], pointerUpHandler: [{
         
     | 
| 
       167 
     | 
    
         
            -
                            type: HostListener,
         
     | 
| 
       168 
     | 
    
         
            -
                            args: ['pointerup', ['$event']]
         
     | 
| 
       169 
     | 
    
         
            -
                        }, {
         
     | 
| 
       170 
     | 
    
         
            -
                            type: HostListener,
         
     | 
| 
       171 
     | 
    
         
            -
                            args: ['pointerleave', ['$event']]
         
     | 
| 
       172 
     | 
    
         
            -
                        }], backdropCloseHandler: [{
         
     | 
| 
       173 
     | 
    
         
            -
                            type: HostListener,
         
     | 
| 
       174 
     | 
    
         
            -
                            args: ['click', ['$event']]
         
     | 
| 
       175 
     | 
    
         
            -
                        }], fadeInOut: [{
         
     | 
| 
       176 
     | 
    
         
            -
                            type: HostBinding,
         
     | 
| 
       177 
     | 
    
         
            -
                            args: ['@fadeInOut']
         
     | 
| 
       178 
     | 
    
         
            -
                        }] } });
         
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
            export { AXModalContentComponent };
         
     | 
| 
       181 
     | 
    
         
            -
            //# sourceMappingURL=acorex-components-modal-modal-content.component-DhpujG4d.mjs.map
         
     | 
| 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"acorex-components-modal-modal-content.component-DhpujG4d.mjs","sources":["../../../../libs/components/modal/src/lib/modal-content/modal-content.component.ts","../../../../libs/components/modal/src/lib/modal-content/modal-content.component.html"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\nimport { NXComponent } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXComponentContent, AXComponentInputs, AXComponentType } from '@acorex/core/components';\nimport { animate, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport {\n  afterNextRender,\n  ChangeDetectionStrategy,\n  Component,\n  computed,\n  effect,\n  ElementRef,\n  HostBinding,\n  HostListener,\n  inject,\n  input,\n  model,\n  signal,\n  TemplateRef,\n  viewChild,\n  ViewEncapsulation,\n} from '@angular/core';\nimport { AXModalFooterComponent } from '../modal-footer/modal-footer.component';\nimport { AXModalStateService } from '../modal-state.service';\n\n@Component({\n  selector: 'ax-modal-content',\n  templateUrl: './modal-content.component.html',\n  styleUrl: './modal-content.component.scss',\n  imports: [CommonModule, AXButtonComponent, AXDecoratorModule],\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  animations: [\n    trigger('fadeInOut', [\n      transition(':enter', [\n        style({ opacity: 0, transform: 'scale(0.85)' }),\n        animate('200ms ease-out', style({ opacity: 1, transform: 'scale(1)' })),\n      ]),\n      transition(':leave', [animate('200ms ease-in', style({ opacity: 0, transform: 'scale(0.85)' }))]),\n    ]),\n  ],\n})\nexport class AXModalContentComponent extends NXComponent {\n  __content__ = input.required<AXComponentContent>();\n\n  private serviceState = inject(AXModalStateService);\n  protected isTemplate = computed(() => this.__content__() instanceof TemplateRef);\n  public component = computed(() => this.__content__() as AXComponentType<any>);\n  public template = computed(() => this.__content__() as TemplateRef<any>);\n  public inputs = model<AXComponentInputs>();\n  public id = input<number>();\n\n  protected modalContainer = viewChild<ElementRef>('c');\n  protected modalSizeState = signal<'maximize' | 'minimize'>('maximize');\n  protected footer = viewChild<AXModalFooterComponent>(AXModalFooterComponent);\n  private isMouseDown = signal(false);\n  private offsetX = signal(0);\n  private offsetY = signal(0);\n  private prevLeft = signal('');\n  private prevTop = signal('');\n  private backdropState = computed(() => this.serviceState.modalOption()?.backdrop?.enabled);\n  protected closeHeaderButton = computed(() => this.serviceState.modalOption()?.buttons.close);\n  private backdropBackground = computed(() => this.serviceState.modalOption()?.backdrop?.background);\n  private backdropClass = computed(() => this.serviceState.modalOption()?.backdrop?.cssClass);\n  private backdropCloseOnClick = computed(() => this.serviceState.modalOption()?.backdrop?.closeOnClick);\n  private minimizePosition = computed(() => this.serviceState.modalOption()?.buttons.minimize.position);\n  protected minimizeState = computed(() => this.serviceState.modalOption()?.buttons.minimize.enable);\n  protected modalSize = computed(() => this.serviceState.modalOption()?.size || 'fit');\n  protected headerTitle = computed(() => this.serviceState.modalOption()?.title);\n  private draggable = computed(() => this.serviceState.modalOption()?.draggable);\n\n  #init = afterNextRender(() => {\n    const popFooter = this.nativeElement.querySelector<HTMLDivElement>('.ax-modal-footer');\n    const footer = this.nativeElement.querySelector<HTMLDivElement>('.ax-modal-content ax-modal-footer');\n    if (footer) {\n      popFooter?.append(footer);\n    }\n  });\n\n  protected closeHandler() {\n    this.serviceState.close(this.id());\n  }\n\n  protected pointerDownHandler(e: MouseEvent) {\n    if (!this.draggable() || this.modalSizeState() === 'minimize') return;\n    this.isMouseDown.set(true);\n    this.modalContainer().nativeElement.style.transition = 'none';\n    this.offsetX.set(e.clientX - this.modalContainer().nativeElement.offsetLeft);\n    this.offsetY.set(e.clientY - this.modalContainer().nativeElement.offsetTop);\n  }\n\n  modalSizeHandler() {\n    const index = this.getMapIndexOf(this.serviceState.modalList, this.id());\n\n    if (this.modalSizeState() === 'maximize') {\n      this.modalContainer().nativeElement.style.left = `initial`;\n      this.modalContainer().nativeElement.style.top = `initial`;\n      this.modalContainer().nativeElement.style.bottom = `0`;\n\n      if (this.backdropState()) this.nativeElement.classList.remove('ax-backdrop');\n      this.modalContainer().nativeElement.classList.remove('ax-maximize-modal');\n      this.modalContainer().nativeElement.classList.add(`ax-minimize-modal`);\n\n      if (this.minimizePosition() === 'bottom-right') {\n        this.modalContainer().nativeElement.style.right = `${index * this.modalContainer().nativeElement.offsetWidth}px`;\n      } else {\n        this.modalContainer().nativeElement.style.left = `${index * this.modalContainer().nativeElement.offsetWidth}px`;\n      }\n      this.modalSizeState.set('minimize');\n    } else {\n      this.modalContainer().nativeElement.style.bottom = `initial`;\n      this.modalContainer().nativeElement.style.right = `initial`;\n\n      this.modalContainer().nativeElement.style.left = this.prevLeft();\n      this.modalContainer().nativeElement.style.top = this.prevTop();\n\n      if (this.backdropState()) this.nativeElement.classList.add('ax-backdrop');\n      this.modalContainer().nativeElement.classList.add('ax-maximize-modal');\n      this.modalContainer().nativeElement.classList.remove(`ax-minimize-modal`);\n      this.modalSizeState.set('maximize');\n    }\n  }\n\n  private getMapIndexOf(map: Map<any, any>, targetKey: any) {\n    let index = 0;\n    for (const key of map.keys()) {\n      if (key === targetKey) {\n        return index;\n      }\n      index++;\n    }\n    return -1;\n  }\n\n  @HostListener('pointermove', ['$event'])\n  protected pointerMoveHandler(e: MouseEvent) {\n    if (!this.draggable() || this.modalSizeState() === 'minimize') return;\n    if (!this.isMouseDown()) return;\n    this.modalContainer().nativeElement.style.left = `${e.clientX - this.offsetX()}px`;\n    this.modalContainer().nativeElement.style.top = `${e.clientY - this.offsetY()}px`;\n    this.prevLeft.set(`${e.clientX - this.offsetX()}px`);\n    this.prevTop.set(`${e.clientY - this.offsetY()}px`);\n  }\n\n  @HostListener('pointerup', ['$event'])\n  @HostListener('pointerleave', ['$event'])\n  protected pointerUpHandler() {\n    if (!this.draggable() || this.modalSizeState() === 'minimize') return;\n    this.modalContainer().nativeElement.style.transition = '0.5s all ease';\n    this.isMouseDown.set(false);\n  }\n\n  @HostListener('click', ['$event'])\n  protected backdropCloseHandler(e: MouseEvent) {\n    if (!this.backdropCloseOnClick()) return;\n    if (e.target === e.currentTarget) {\n      this.closeHandler();\n    }\n  }\n\n  @HostBinding('@fadeInOut') fadeInOut = true;\n\n  #eff = effect(() => {\n    const host = this.nativeElement;\n    if (this.draggable()) host.classList.add('ax-draggable');\n    if (!this.backdropState()) return;\n    host.classList.add('ax-backdrop');\n    if (!this.backdropBackground()) return;\n    if (this.backdropClass()) {\n      host.classList.add(this.backdropClass());\n    } else {\n      host.classList.add('ax-default-backdrop');\n    }\n  });\n}\n","<div #c class=\"ax-modal-container ax-{{ modalSizeState() }}-modal  ax-modal-{{ modalSize() }}\">\n  <div (pointerdown)=\"pointerDownHandler($event)\" class=\"ax-modal-header\">\n    <ax-text>{{ headerTitle() }}</ax-text>\n\n    <div>\n      @if (minimizeState()) {\n        <ax-button class=\"ax-sm\" (onClick)=\"modalSizeHandler()\" look=\"blank\" color=\"primary\">\n          @if (modalSizeState() === 'minimize') {\n            <ax-icon class=\"ax-icon ax-icon-maximize\"> </ax-icon>\n          } @else {\n            <ax-icon class=\"ax-icon ax-icon-minimize\"> </ax-icon>\n          }\n        </ax-button>\n      }\n\n      @if (closeHeaderButton()) {\n        <ax-button class=\"ax-sm\" look=\"blank\" (onClick)=\"closeHandler()\" color=\"danger\">\n          <ax-icon class=\"ax-icon ax-icon-close\"> </ax-icon>\n        </ax-button>\n      }\n    </div>\n  </div>\n  <div class=\"ax-modal-content\">\n    @if (isTemplate()) {\n      <ng-container [ngTemplateOutlet]=\"this.template()\" [ngTemplateOutletContext]=\"inputs()\"></ng-container>\n    } @else {\n      <ng-container [ngComponentOutlet]=\"this.component()\" [ngComponentOutletInputs]=\"inputs()\"></ng-container>\n    }\n  </div>\n  <div class=\"ax-modal-footer\"></div>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;;AA2CM,MAAO,uBAAwB,SAAQ,WAAW,CAAA;AAjBxD,IAAA,WAAA,GAAA;;AAkBE,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,EAAsB;AAE1C,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,mBAA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