@aventusjs/cli 0.0.27 → 0.0.29
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/lib/Aventus@I18n.package.avt +10 -10
- package/lib/Aventus@Main.package.avt +424 -424
- package/lib/Aventus@UI.package.avt +159 -159
- package/out/RealServer.js +10 -6
- package/out/cli.js +1 -1
- package/package.json +1 -1
|
@@ -4,36 +4,36 @@
|
|
|
4
4
|
declare global {
|
|
5
5
|
|
|
6
6
|
namespace Aventus{
|
|
7
|
-
/**
|
|
8
|
-
* Configuration options for the Process utility class.
|
|
7
|
+
/**
|
|
8
|
+
* Configuration options for the Process utility class.
|
|
9
9
|
*/
|
|
10
10
|
type ProcessConfig = {
|
|
11
11
|
handleErrors: (msg: string, errors: Aventus.GenericError[]) => void;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
namespace Toast {
|
|
15
|
-
/**
|
|
16
|
-
* Defines the possible positions where a toast notification can appear on the screen.
|
|
15
|
+
/**
|
|
16
|
+
* Defines the possible positions where a toast notification can appear on the screen.
|
|
17
17
|
*/
|
|
18
18
|
type ToastPosition = 'bottom' | 'top' | 'bottom left' | 'top left' | 'bottom right' | 'top right';
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* Renders a circular progress indicator using SVG. It allows customization of the progress value and the thickness of the circle stroke.
|
|
21
|
+
/**
|
|
22
|
+
* Renders a circular progress indicator using SVG. It allows customization of the progress value and the thickness of the circle stroke.
|
|
23
23
|
*/
|
|
24
24
|
class ProgressCircle extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
25
25
|
/**
|
|
26
26
|
* Represents the progress percentage (0-100). Changes to this property trigger the render() method.
|
|
27
27
|
*/
|
|
28
|
-
@Property((target: ProgressCircle) => {
|
|
29
|
-
target.render();
|
|
28
|
+
@Property((target: ProgressCircle) => {
|
|
29
|
+
target.render();
|
|
30
30
|
})
|
|
31
31
|
value: number;
|
|
32
32
|
/**
|
|
33
33
|
* Defines the thickness of the progress circle's stroke. Changes to this property trigger the render() method.
|
|
34
34
|
*/
|
|
35
|
-
@Property((target: ProgressCircle) => {
|
|
36
|
-
target.render();
|
|
35
|
+
@Property((target: ProgressCircle) => {
|
|
36
|
+
target.render();
|
|
37
37
|
})
|
|
38
38
|
stroke_width: number;
|
|
39
39
|
/**
|
|
@@ -68,8 +68,8 @@ class ProgressCircle extends Aventus.WebComponent implements Aventus.DefaultComp
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
namespace Navigation {
|
|
71
|
-
/**
|
|
72
|
-
* Configuration options for a page component.
|
|
71
|
+
/**
|
|
72
|
+
* Configuration options for a page component.
|
|
73
73
|
*/
|
|
74
74
|
interface PageConfig {
|
|
75
75
|
/** Define the page title for browser tab. */
|
|
@@ -83,8 +83,8 @@ interface PageConfig {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
/**
|
|
87
|
-
* Manages the state and history of routes within an Aventus application.
|
|
86
|
+
/**
|
|
87
|
+
* Manages the state and history of routes within an Aventus application.
|
|
88
88
|
*/
|
|
89
89
|
class RouterStateManager extends Aventus.StateManager {
|
|
90
90
|
/**
|
|
@@ -94,8 +94,8 @@ class RouterStateManager extends Aventus.StateManager {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
namespace Navigation {
|
|
97
|
-
/**
|
|
98
|
-
* Provides declarative navigation within an Aventus application. It functions similarly to an HTML tag but integrates with the application's router for client-side routing, applying an "active" class based on the current route/state.
|
|
97
|
+
/**
|
|
98
|
+
* Provides declarative navigation within an Aventus application. It functions similarly to an HTML tag but integrates with the application's router for client-side routing, applying an "active" class based on the current route/state.
|
|
99
99
|
*/
|
|
100
100
|
@Deprecated()
|
|
101
101
|
class RouterLink extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
@@ -133,8 +133,8 @@ class RouterLink extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
namespace Navigation {
|
|
136
|
-
/**
|
|
137
|
-
* Provides declarative navigation within an Aventus application. It functions similarly to an HTML tag but integrates with the application's router for client-side routing, applying an "active" class based on the current route.
|
|
136
|
+
/**
|
|
137
|
+
* Provides declarative navigation within an Aventus application. It functions similarly to an HTML tag but integrates with the application's router for client-side routing, applying an "active" class based on the current route.
|
|
138
138
|
*/
|
|
139
139
|
class Link extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
140
140
|
/**
|
|
@@ -171,8 +171,8 @@ class Link extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
namespace Navigation {
|
|
174
|
-
/**
|
|
175
|
-
* Options for defining an asynchronously loaded route.
|
|
174
|
+
/**
|
|
175
|
+
* Options for defining an asynchronously loaded route.
|
|
176
176
|
*/
|
|
177
177
|
type RouteAsyncOption = {
|
|
178
178
|
route: string;
|
|
@@ -182,8 +182,8 @@ type RouteAsyncOption = {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
namespace Modal {
|
|
185
|
-
/**
|
|
186
|
-
* Defines configuration options for a modal dialog.
|
|
185
|
+
/**
|
|
186
|
+
* Defines configuration options for a modal dialog.
|
|
187
187
|
*/
|
|
188
188
|
interface ModalOptions<T = any> {
|
|
189
189
|
/**
|
|
@@ -201,8 +201,8 @@ interface ModalOptions<T = any> {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
/**
|
|
205
|
-
* Tracks touch or pointer events to calculate movement, delta, and velocity.
|
|
204
|
+
/**
|
|
205
|
+
* Tracks touch or pointer events to calculate movement, delta, and velocity.
|
|
206
206
|
*/
|
|
207
207
|
class Tracker {
|
|
208
208
|
/**
|
|
@@ -253,8 +253,8 @@ class Tracker {
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
namespace Layout {
|
|
256
|
-
/**
|
|
257
|
-
* A fundamental building block for creating flexible and responsive layouts. It acts as a container for Col components, arranging them horizontally, and is configured to work with CSS Container Queries.
|
|
256
|
+
/**
|
|
257
|
+
* A fundamental building block for creating flexible and responsive layouts. It acts as a container for Col components, arranging them horizontally, and is configured to work with CSS Container Queries.
|
|
258
258
|
*/
|
|
259
259
|
class Row extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
260
260
|
/**
|
|
@@ -265,8 +265,8 @@ class Row extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
namespace Lib {
|
|
268
|
-
/**
|
|
269
|
-
* Enumerates special keys that can be used in keyboard shortcuts.
|
|
268
|
+
/**
|
|
269
|
+
* Enumerates special keys that can be used in keyboard shortcuts.
|
|
270
270
|
*/
|
|
271
271
|
enum SpecialTouch {
|
|
272
272
|
Backspace = 0,
|
|
@@ -291,8 +291,8 @@ enum SpecialTouch {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
namespace Lib {
|
|
294
|
-
/**
|
|
295
|
-
* Configuration options for subscribing to keyboard shortcuts.
|
|
294
|
+
/**
|
|
295
|
+
* Configuration options for subscribing to keyboard shortcuts.
|
|
296
296
|
*/
|
|
297
297
|
interface ShortcutManagerOptions {
|
|
298
298
|
replaceTemp?: boolean;
|
|
@@ -300,8 +300,8 @@ interface ShortcutManagerOptions {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
/**
|
|
304
|
-
* Provides a simple web component to toggle the visibility of content, often with a collapsing/expanding animation driven by CSS.
|
|
303
|
+
/**
|
|
304
|
+
* Provides a simple web component to toggle the visibility of content, often with a collapsing/expanding animation driven by CSS.
|
|
305
305
|
*/
|
|
306
306
|
class Collapse extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
307
307
|
/**
|
|
@@ -329,8 +329,8 @@ class Collapse extends Aventus.WebComponent implements Aventus.DefaultComponent
|
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
namespace Layout {
|
|
332
|
-
/**
|
|
333
|
-
* Defines configuration options for the Col component.
|
|
332
|
+
/**
|
|
333
|
+
* Defines configuration options for the Col component.
|
|
334
334
|
*/
|
|
335
335
|
interface ColOptions {
|
|
336
336
|
/**
|
|
@@ -341,8 +341,8 @@ interface ColOptions {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
namespace Layout {
|
|
344
|
-
/**
|
|
345
|
-
* A foundational element for creating responsive grid layouts. Its behavior (sizing, offsetting, centering) is driven by CSS rules applied based on its attributes.
|
|
344
|
+
/**
|
|
345
|
+
* A foundational element for creating responsive grid layouts. Its behavior (sizing, offsetting, centering) is driven by CSS rules applied based on its attributes.
|
|
346
346
|
*/
|
|
347
347
|
class Col extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
348
348
|
/**
|
|
@@ -459,8 +459,8 @@ class Col extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
-
/**
|
|
463
|
-
* A sophisticated image display component that handles responsive sizing, different content modes (stretch, contains, cover), and asynchronous loading of both raster images and SVG files. It ensures images are displayed correctly within their container, even with dynamic resizing.
|
|
462
|
+
/**
|
|
463
|
+
* A sophisticated image display component that handles responsive sizing, different content modes (stretch, contains, cover), and asynchronous loading of both raster images and SVG files. It ensures images are displayed correctly within their container, even with dynamic resizing.
|
|
464
464
|
*/
|
|
465
465
|
class Img extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
466
466
|
/**
|
|
@@ -471,17 +471,17 @@ class Img extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
|
471
471
|
/**
|
|
472
472
|
* The URL of the image to display. Changes to this property trigger onSrcChanged().
|
|
473
473
|
*/
|
|
474
|
-
@Property((target: Img) => {
|
|
475
|
-
target.onSrcChanged();
|
|
474
|
+
@Property((target: Img) => {
|
|
475
|
+
target.onSrcChanged();
|
|
476
476
|
})
|
|
477
477
|
src?: string;
|
|
478
478
|
/**
|
|
479
479
|
* Determines how the image content should fit within its container. - 'stretch': Stretches the image to fill the container. - 'contains': Scales the image to fit within the container while preserving its aspect ratio. - 'cover': Scales the image to cover the entire container while preserving its aspect ratio.
|
|
480
480
|
*/
|
|
481
|
-
@Property((target: Img) => {
|
|
482
|
-
if(target.src != "") {
|
|
483
|
-
target.calculateSize();
|
|
484
|
-
}
|
|
481
|
+
@Property((target: Img) => {
|
|
482
|
+
if(target.src != "") {
|
|
483
|
+
target.calculateSize();
|
|
484
|
+
}
|
|
485
485
|
})
|
|
486
486
|
mode: 'stretch' | 'contains' | 'cover';
|
|
487
487
|
/**
|
|
@@ -529,8 +529,8 @@ class Img extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
namespace Form {
|
|
532
|
-
/**
|
|
533
|
-
* Checks if a given class is a subclass of another class.
|
|
532
|
+
/**
|
|
533
|
+
* Checks if a given class is a subclass of another class.
|
|
534
534
|
*/
|
|
535
535
|
function isSubclassOf(subClass: Function, superClass: Function): boolean;
|
|
536
536
|
}
|
|
@@ -544,8 +544,8 @@ type ObjectParameter<T extends any> = T extends (...args: any) => any ? Aventus.
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
namespace Form {
|
|
547
|
-
/**
|
|
548
|
-
* Represents the internal structure of a single form field or part, including its value, validation rules, and associated elements.
|
|
547
|
+
/**
|
|
548
|
+
* Represents the internal structure of a single form field or part, including its value, validation rules, and associated elements.
|
|
549
549
|
*/
|
|
550
550
|
interface InternalFormPart<T = any> {
|
|
551
551
|
/**
|
|
@@ -581,8 +581,8 @@ type FilterPrefix<T> = T extends `getPrefix` ? never : T;
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
namespace Form {
|
|
584
|
-
/**
|
|
585
|
-
* Represents the internal structure of a form, mapping field names to their internal form parts.
|
|
584
|
+
/**
|
|
585
|
+
* Represents the internal structure of a form, mapping field names to their internal form parts.
|
|
586
586
|
*/
|
|
587
587
|
type InternalForm<T> = {
|
|
588
588
|
[K in keyof T]?: Aventus.Form.InternalFormPart<T[K]>;
|
|
@@ -596,29 +596,29 @@ type OmitClass<T> = Exclude<{
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
namespace Form {
|
|
599
|
-
/**
|
|
600
|
-
* Represents a type that can either be a successful result or an error.
|
|
599
|
+
/**
|
|
600
|
+
* Represents a type that can either be a successful result or an error.
|
|
601
601
|
*/
|
|
602
602
|
type WithError<X> = [X] extends [void] ? Aventus.VoidWithError : Aventus.ResultWithError<X>;
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
namespace Form {
|
|
606
|
-
/**
|
|
607
|
-
* Extracts the successful result type from a WithError type.
|
|
606
|
+
/**
|
|
607
|
+
* Extracts the successful result type from a WithError type.
|
|
608
608
|
*/
|
|
609
609
|
type ExtractError<X> = [X] extends [Aventus.ResultWithError<infer Y>] ? Y : [X] extends [Aventus.VoidWithError] ? void : X;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
namespace Form {
|
|
613
|
-
/**
|
|
614
|
-
* Represents a constructor type, with an option to allow abstract classes.
|
|
613
|
+
/**
|
|
614
|
+
* Represents a constructor type, with an option to allow abstract classes.
|
|
615
615
|
*/
|
|
616
616
|
type Constructor<T, AllowAbstract extends boolean = false> = AllowAbstract extends false ? new (...args: any[]) => T : abstract new (...args: any[]) => T;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
namespace Toast {
|
|
620
|
-
/**
|
|
621
|
-
* Configuration options for the ToastManager.
|
|
620
|
+
/**
|
|
621
|
+
* Configuration options for the ToastManager.
|
|
622
622
|
*/
|
|
623
623
|
type ToastManagerOptions = {
|
|
624
624
|
defaultToast: Aventus.Form.Constructor<Aventus.Toast.ToastElement>;
|
|
@@ -631,8 +631,8 @@ type ToastManagerOptions = {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
namespace Navigation {
|
|
634
|
-
/**
|
|
635
|
-
* Configuration options for the Router component.
|
|
634
|
+
/**
|
|
635
|
+
* Configuration options for the Router component.
|
|
636
636
|
*/
|
|
637
637
|
type RouterOptions = {
|
|
638
638
|
page404?: Aventus.Form.Constructor<Aventus.Navigation.Page>;
|
|
@@ -641,8 +641,8 @@ type RouterOptions = {
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
namespace Layout.Tabs {
|
|
644
|
-
/**
|
|
645
|
-
* Abstract web component that serves as a container for a tabbed interface. It manages the loading, rendering, and activation of Tab content components and their corresponding TabHeader components.
|
|
644
|
+
/**
|
|
645
|
+
* Abstract web component that serves as a container for a tabbed interface. It manages the loading, rendering, and activation of Tab content components and their corresponding TabHeader components.
|
|
646
646
|
*/
|
|
647
647
|
abstract class Tabs<T extends Aventus.Layout.Tabs.Tab, U extends Aventus.Layout.Tabs.TabHeader<T>> extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
648
648
|
|
|
@@ -688,31 +688,31 @@ abstract class Tabs<T extends Aventus.Layout.Tabs.Tab, U extends Aventus.Layout.
|
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
namespace Form {
|
|
691
|
-
/**
|
|
692
|
-
* Represents the result of form validation.
|
|
693
|
-
* It can be a string, a boolean, undefined, or a promise of these types.
|
|
691
|
+
/**
|
|
692
|
+
* Represents the result of form validation.
|
|
693
|
+
* It can be a string, a boolean, undefined, or a promise of these types.
|
|
694
694
|
*/
|
|
695
695
|
type FormValidateResult = Aventus.Asyncable<string | string[] | boolean | undefined>;
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
namespace Form {
|
|
699
|
-
/**
|
|
700
|
-
* Represents a global validation function for a form field.
|
|
699
|
+
/**
|
|
700
|
+
* Represents a global validation function for a form field.
|
|
701
701
|
*/
|
|
702
702
|
type FormValidate = (field: string, value: unknown) => Aventus.Form.FormValidateResult;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
namespace Form {
|
|
706
|
-
/**
|
|
707
|
-
* Represents a validation function for a value of type T.
|
|
708
|
-
* The function takes a value of type T or undefined and returns a FormValidateResult.
|
|
706
|
+
/**
|
|
707
|
+
* Represents a validation function for a value of type T.
|
|
708
|
+
* The function takes a value of type T or undefined and returns a FormValidateResult.
|
|
709
709
|
*/
|
|
710
710
|
type FormPartValidate<T> = (value: T | undefined, name: string, globalValidation: () => Promise<void>) => Aventus.Form.FormValidateResult;
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
namespace Form {
|
|
714
|
-
/**
|
|
715
|
-
* Abstract base class for creating custom form validators.
|
|
714
|
+
/**
|
|
715
|
+
* Abstract base class for creating custom form validators.
|
|
716
716
|
*/
|
|
717
717
|
abstract class Validator<T> {
|
|
718
718
|
/**
|
|
@@ -743,8 +743,8 @@ abstract class Validator<T> {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
namespace Form.Validators {
|
|
746
|
-
/**
|
|
747
|
-
* Validator for checking if a field has a value.
|
|
746
|
+
/**
|
|
747
|
+
* Validator for checking if a field has a value.
|
|
748
748
|
*/
|
|
749
749
|
class Required extends Aventus.Form.Validator<any> {
|
|
750
750
|
/**
|
|
@@ -760,8 +760,8 @@ class Required extends Aventus.Form.Validator<any> {
|
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
namespace Form.Validators {
|
|
763
|
-
/**
|
|
764
|
-
* Validator for checking if a string is a valid email address.
|
|
763
|
+
/**
|
|
764
|
+
* Validator for checking if a string is a valid email address.
|
|
765
765
|
*/
|
|
766
766
|
class Email extends Aventus.Form.Validator<string> {
|
|
767
767
|
/**
|
|
@@ -777,22 +777,22 @@ class Email extends Aventus.Form.Validator<string> {
|
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
namespace Form {
|
|
780
|
-
/**
|
|
781
|
-
* Represents a list of validation functions or validators for a form part.
|
|
780
|
+
/**
|
|
781
|
+
* Represents a list of validation functions or validators for a form part.
|
|
782
782
|
*/
|
|
783
783
|
type FormPartValidateList<T> = Aventus.Form.FormPartValidate<T> | Aventus.Form.Constructor<Aventus.Form.Validator<T>> | Aventus.Form.Validator<T> | (Aventus.Form.Constructor<Aventus.Form.Validator<T>> | Aventus.Form.Validator<T>)[];
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
namespace Form {
|
|
787
|
-
/**
|
|
788
|
-
* Represents a function that handles form submission, returning an asynchronous result with potential errors.
|
|
787
|
+
/**
|
|
788
|
+
* Represents a function that handles form submission, returning an asynchronous result with potential errors.
|
|
789
789
|
*/
|
|
790
790
|
type SubmitFunction<T, X> = Aventus.Asyncable<Aventus.Form.WithError<X>> | ((body: T) => Aventus.Asyncable<Aventus.Form.WithError<X>>);
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
namespace Form {
|
|
794
|
-
/**
|
|
795
|
-
* Configuration options for a FormHandler instance, including validation rules, error handling, and submission behavior.
|
|
794
|
+
/**
|
|
795
|
+
* Configuration options for a FormHandler instance, including validation rules, error handling, and submission behavior.
|
|
796
796
|
*/
|
|
797
797
|
type FormHandlerConfig<T, R = any> = {
|
|
798
798
|
defaultValues?: T;
|
|
@@ -819,8 +819,8 @@ type FormHandlerConfig<T, R = any> = {
|
|
|
819
819
|
}
|
|
820
820
|
|
|
821
821
|
namespace Form {
|
|
822
|
-
/**
|
|
823
|
-
* Defines the structure and behavior of a single part within a form schema.
|
|
822
|
+
/**
|
|
823
|
+
* Defines the structure and behavior of a single part within a form schema.
|
|
824
824
|
*/
|
|
825
825
|
interface FormPart<T = any> {
|
|
826
826
|
/**
|
|
@@ -835,8 +835,8 @@ interface FormPart<T = any> {
|
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
namespace Form {
|
|
838
|
-
/**
|
|
839
|
-
* Defines the schema for an entire form, specifying the structure and validation for each field.
|
|
838
|
+
/**
|
|
839
|
+
* Defines the schema for an entire form, specifying the structure and validation for each field.
|
|
840
840
|
*/
|
|
841
841
|
type FormSchema<T> = {
|
|
842
842
|
[K in Aventus.Form.OmitClass<T> as undefined extends T[K] ? never : K]: Aventus.Form.FormPart<K> | Aventus.Form.FormPartValidateList<K>;
|
|
@@ -873,8 +873,8 @@ type FormHandlerControllerConfig<T extends Aventus.HttpRoute, M extends Aventus.
|
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
namespace Form {
|
|
876
|
-
/**
|
|
877
|
-
* Defines the contract for individual form elements.
|
|
876
|
+
/**
|
|
877
|
+
* Defines the contract for individual form elements.
|
|
878
878
|
*/
|
|
879
879
|
interface IFormElement<T = any> {
|
|
880
880
|
errors: string[];
|
|
@@ -885,8 +885,8 @@ interface IFormElement<T = any> {
|
|
|
885
885
|
}
|
|
886
886
|
|
|
887
887
|
namespace Form {
|
|
888
|
-
/**
|
|
889
|
-
* Abstract base class for all individual form input elements in the Aventus framework. It provides core functionality for value management, validation, error display, and integration with the parent Form component.
|
|
888
|
+
/**
|
|
889
|
+
* Abstract base class for all individual form input elements in the Aventus framework. It provides core functionality for value management, validation, error display, and integration with the parent Form component.
|
|
890
890
|
*/
|
|
891
891
|
@Storybook()
|
|
892
892
|
abstract class FormElement<T> extends Aventus.WebComponent implements Aventus.DefaultComponent, Aventus.Form.IFormElement<T> {
|
|
@@ -907,15 +907,15 @@ abstract class FormElement<T> extends Aventus.WebComponent implements Aventus.De
|
|
|
907
907
|
/**
|
|
908
908
|
* The current value of the form element. Changes to this property trigger onValueChange().
|
|
909
909
|
*/
|
|
910
|
-
@Watch((target: FormElement<T>) => {
|
|
911
|
-
target.onValueChange(target.value);
|
|
910
|
+
@Watch((target: FormElement<T>) => {
|
|
911
|
+
target.onValueChange(target.value);
|
|
912
912
|
})
|
|
913
913
|
value: T | undefined;
|
|
914
914
|
/**
|
|
915
915
|
* List of error messages for the current form element. Changes to this property trigger onErrorsChange().
|
|
916
916
|
*/
|
|
917
|
-
@Watch((target: FormElement<T>) => {
|
|
918
|
-
target.onErrorsChange();
|
|
917
|
+
@Watch((target: FormElement<T>) => {
|
|
918
|
+
target.onErrorsChange();
|
|
919
919
|
})
|
|
920
920
|
errors: string[];
|
|
921
921
|
/**
|
|
@@ -1019,8 +1019,8 @@ abstract class FormElement<T> extends Aventus.WebComponent implements Aventus.De
|
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
namespace Form {
|
|
1022
|
-
/**
|
|
1023
|
-
* Defines the contract for classes that can act as a form handler.
|
|
1022
|
+
/**
|
|
1023
|
+
* Defines the contract for classes that can act as a form handler.
|
|
1024
1024
|
*/
|
|
1025
1025
|
interface IForm {
|
|
1026
1026
|
registerElement(element: Aventus.Form.FormElement<any>): Aventus.Form.IForm;
|
|
@@ -1030,8 +1030,8 @@ interface IForm {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
namespace Form {
|
|
1033
|
-
/**
|
|
1034
|
-
* Base class for form button elements, handling submission logic and integration with the Aventus form system.
|
|
1033
|
+
/**
|
|
1034
|
+
* Base class for form button elements, handling submission logic and integration with the Aventus form system.
|
|
1035
1035
|
*/
|
|
1036
1036
|
abstract class ButtonElement extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
1037
1037
|
/**
|
|
@@ -1068,8 +1068,8 @@ abstract class ButtonElement extends Aventus.WebComponent implements Aventus.Def
|
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
namespace Form {
|
|
1071
|
-
/**
|
|
1072
|
-
* Core web component for managing forms, including data handling, validation, and submission. It acts as an orchestrator for child form elements and can integrate with backend API routes.
|
|
1071
|
+
/**
|
|
1072
|
+
* Core web component for managing forms, including data handling, validation, and submission. It acts as an orchestrator for child form elements and can integrate with backend API routes.
|
|
1073
1073
|
*/
|
|
1074
1074
|
class Form<T extends any = any, R = any> extends Aventus.WebComponent implements Aventus.DefaultComponent, Aventus.Form.IForm {
|
|
1075
1075
|
|
|
@@ -1141,8 +1141,8 @@ class Form<T extends any = any, R = any> extends Aventus.WebComponent implements
|
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
namespace Form {
|
|
1144
|
-
/**
|
|
1145
|
-
* Provides core logic for handling forms, including data management, validation, and submission.
|
|
1144
|
+
/**
|
|
1145
|
+
* Provides core logic for handling forms, including data management, validation, and submission.
|
|
1146
1146
|
*/
|
|
1147
1147
|
class FormHandler<T, R = any> {
|
|
1148
1148
|
/**
|
|
@@ -1276,8 +1276,8 @@ class FormHandler<T, R = any> {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
1278
|
namespace Form {
|
|
1279
|
-
/**
|
|
1280
|
-
* Extends FormHandler to integrate with Aventus HttpRoute controllers for form submissions.
|
|
1279
|
+
/**
|
|
1280
|
+
* Extends FormHandler to integrate with Aventus HttpRoute controllers for form submissions.
|
|
1281
1281
|
*/
|
|
1282
1282
|
class FormHandlerController<T extends Aventus.HttpRoute, M extends Aventus.Form.MethodName<T> = Aventus.Form.MethodNameExist<T>, Key extends (keyof Aventus.Form.ObjectParameter<T[M]> | '') = ''> extends Aventus.Form.FormHandler<Aventus.Form.MethodBody<T, M, Key>> {
|
|
1283
1283
|
private _controller;
|
|
@@ -1311,8 +1311,8 @@ class FormHandlerController<T extends Aventus.HttpRoute, M extends Aventus.Form.
|
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
1313
|
namespace Lib {
|
|
1314
|
-
/**
|
|
1315
|
-
* Manages global keyboard shortcuts, allowing subscription and unsubscription for custom key combinations.
|
|
1314
|
+
/**
|
|
1315
|
+
* Manages global keyboard shortcuts, allowing subscription and unsubscription for custom key combinations.
|
|
1316
1316
|
*/
|
|
1317
1317
|
class ShortcutManager {
|
|
1318
1318
|
/**
|
|
@@ -1379,17 +1379,17 @@ class ShortcutManager {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
1381
|
namespace Layout {
|
|
1382
|
-
/**
|
|
1383
|
-
* Provides a comprehensive visual grid system and guide management for UI development. Features include configurable grid lines, rulers, draggable guides with magnetic snapping, and persistent storage for guide positions.
|
|
1382
|
+
/**
|
|
1383
|
+
* Provides a comprehensive visual grid system and guide management for UI development. Features include configurable grid lines, rulers, draggable guides with magnetic snapping, and persistent storage for guide positions.
|
|
1384
1384
|
*/
|
|
1385
1385
|
class GridHelper extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
1386
1386
|
/**
|
|
1387
1387
|
* The unit of measurement for grid and ruler calculations. Changes update CSS variables for ruler styling.
|
|
1388
1388
|
*/
|
|
1389
|
-
@Property((target: GridHelper) => {
|
|
1390
|
-
target.rulerLeftEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1391
|
-
target.rulerTopEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1392
|
-
target.lockEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1389
|
+
@Property((target: GridHelper) => {
|
|
1390
|
+
target.rulerLeftEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1391
|
+
target.rulerTopEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1392
|
+
target.lockEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1393
1393
|
})
|
|
1394
1394
|
unit: 'px' | 'rem' | 'cm' | 'mm' | 'in';
|
|
1395
1395
|
/**
|
|
@@ -1400,8 +1400,8 @@ class GridHelper extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
1400
1400
|
/**
|
|
1401
1401
|
* The number of rows in the grid. If 0, row_height is used.
|
|
1402
1402
|
*/
|
|
1403
|
-
@Property((target: GridHelper) => {
|
|
1404
|
-
|
|
1403
|
+
@Property((target: GridHelper) => {
|
|
1404
|
+
|
|
1405
1405
|
})
|
|
1406
1406
|
nb_row: number;
|
|
1407
1407
|
/**
|
|
@@ -1412,8 +1412,8 @@ class GridHelper extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
1412
1412
|
/**
|
|
1413
1413
|
* The height of each row. Used if nb_row is 0.
|
|
1414
1414
|
*/
|
|
1415
|
-
@Property((target: GridHelper) => {
|
|
1416
|
-
|
|
1415
|
+
@Property((target: GridHelper) => {
|
|
1416
|
+
|
|
1417
1417
|
})
|
|
1418
1418
|
row_height: number;
|
|
1419
1419
|
/**
|
|
@@ -1449,10 +1449,10 @@ class GridHelper extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
1449
1449
|
/**
|
|
1450
1450
|
* The size (thickness) of the rulers in the specified unit.
|
|
1451
1451
|
*/
|
|
1452
|
-
@Property((target: GridHelper) => {
|
|
1453
|
-
target.rulerLeftEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1454
|
-
target.rulerTopEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1455
|
-
target.lockEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1452
|
+
@Property((target: GridHelper) => {
|
|
1453
|
+
target.rulerLeftEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1454
|
+
target.rulerTopEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1455
|
+
target.lockEl.style.setProperty("--ruler-size", target.ruler_size + target.unit);
|
|
1456
1456
|
})
|
|
1457
1457
|
ruler_size: number;
|
|
1458
1458
|
/**
|
|
@@ -1579,8 +1579,8 @@ class GridHelper extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
1581
|
namespace Layout {
|
|
1582
|
-
/**
|
|
1583
|
-
* Utility component for providing visual guides (like rulers or snap lines) within a grid layout. It allows users to drag these guides and snap them to a predefined grid, aiding in precise UI alignment.
|
|
1582
|
+
/**
|
|
1583
|
+
* Utility component for providing visual guides (like rulers or snap lines) within a grid layout. It allows users to drag these guides and snap them to a predefined grid, aiding in precise UI alignment.
|
|
1584
1584
|
*/
|
|
1585
1585
|
class GridGuideHelper extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
1586
1586
|
|
|
@@ -1638,8 +1638,8 @@ class GridGuideHelper extends Aventus.WebComponent implements Aventus.DefaultCom
|
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
1640
|
|
|
1641
|
-
/**
|
|
1642
|
-
* Records and manages multiple touch/pointer events for gestures like pinch-to-zoom.
|
|
1641
|
+
/**
|
|
1642
|
+
* Records and manages multiple touch/pointer events for gestures like pinch-to-zoom.
|
|
1643
1643
|
*/
|
|
1644
1644
|
class TouchRecord {
|
|
1645
1645
|
/**
|
|
@@ -1728,8 +1728,8 @@ class TouchRecord {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
1730
|
namespace Layout {
|
|
1731
|
-
/**
|
|
1732
|
-
* A highly customizable and interactive scroll container web component. It supports advanced features like zooming, pinch-to-zoom, custom scrollbars, auto-hide scrollbars, momentum scrolling, mouse-dragging for scrolling, and auto-scrolling.
|
|
1731
|
+
/**
|
|
1732
|
+
* A highly customizable and interactive scroll container web component. It supports advanced features like zooming, pinch-to-zoom, custom scrollbars, auto-hide scrollbars, momentum scrolling, mouse-dragging for scrolling, and auto-scrolling.
|
|
1733
1733
|
*/
|
|
1734
1734
|
class Scrollable extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
1735
1735
|
/**
|
|
@@ -1743,8 +1743,8 @@ class Scrollable extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Sets the zoom level to apply to the container's content. Changes trigger a recalculation of dimensions and transformations.
|
|
1745
1745
|
*/
|
|
1746
|
-
@Property((target: Scrollable) => {
|
|
1747
|
-
target.changeZoom();
|
|
1746
|
+
@Property((target: Scrollable) => {
|
|
1747
|
+
target.changeZoom();
|
|
1748
1748
|
})
|
|
1749
1749
|
zoom: number;
|
|
1750
1750
|
/**
|
|
@@ -2189,8 +2189,8 @@ class Scrollable extends Aventus.WebComponent implements Aventus.DefaultComponen
|
|
|
2189
2189
|
}
|
|
2190
2190
|
|
|
2191
2191
|
namespace Layout.Tabs {
|
|
2192
|
-
/**
|
|
2193
|
-
* Abstract base class for the clickable header of an individual tab within a tabbed interface. It manages its active state, links to its corresponding Tab content, and handles user interaction to activate the tab.
|
|
2192
|
+
/**
|
|
2193
|
+
* Abstract base class for the clickable header of an individual tab within a tabbed interface. It manages its active state, links to its corresponding Tab content, and handles user interaction to activate the tab.
|
|
2194
2194
|
*/
|
|
2195
2195
|
abstract class TabHeader<T extends Aventus.Layout.Tabs.Tab> extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2196
2196
|
|
|
@@ -2235,8 +2235,8 @@ abstract class TabHeader<T extends Aventus.Layout.Tabs.Tab> extends Aventus.WebC
|
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
2237
|
namespace Layout.Tabs {
|
|
2238
|
-
/**
|
|
2239
|
-
* Abstract base class for individual tab content panels within a tabbed interface. It manages its selected state and maintains a reference to its corresponding tab header.
|
|
2238
|
+
/**
|
|
2239
|
+
* Abstract base class for individual tab content panels within a tabbed interface. It manages its selected state and maintains a reference to its corresponding tab header.
|
|
2240
2240
|
*/
|
|
2241
2241
|
abstract class Tab extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2242
2242
|
|
|
@@ -2260,8 +2260,8 @@ abstract class Tab extends Aventus.WebComponent implements Aventus.DefaultCompon
|
|
|
2260
2260
|
}
|
|
2261
2261
|
|
|
2262
2262
|
namespace Modal {
|
|
2263
|
-
/**
|
|
2264
|
-
* Abstract base class for creating various types of modal dialogs or pop-ups. It provides core functionality for showing, closing, and configuring modal behavior, including options for closing with the Escape key or outside clicks.
|
|
2263
|
+
/**
|
|
2264
|
+
* Abstract base class for creating various types of modal dialogs or pop-ups. It provides core functionality for showing, closing, and configuring modal behavior, including options for closing with the Escape key or outside clicks.
|
|
2265
2265
|
*/
|
|
2266
2266
|
abstract class ModalElement<T, U extends Aventus.Modal.ModalOptions<T> = Aventus.Modal.ModalOptions<T>> extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2267
2267
|
/**
|
|
@@ -2291,8 +2291,8 @@ abstract class ModalElement<T, U extends Aventus.Modal.ModalOptions<T> = Aventus
|
|
|
2291
2291
|
/**
|
|
2292
2292
|
* The configuration options for this specific modal instance. Changes to this property trigger onOptionsChanged().
|
|
2293
2293
|
*/
|
|
2294
|
-
@Watch((target: ModalElement<T, U>, action: Aventus.WatchAction, path: string, value: any) => {
|
|
2295
|
-
target.onOptionsChanged();
|
|
2294
|
+
@Watch((target: ModalElement<T, U>, action: Aventus.WatchAction, path: string, value: any) => {
|
|
2295
|
+
target.onOptionsChanged();
|
|
2296
2296
|
})
|
|
2297
2297
|
protected options: U;
|
|
2298
2298
|
/**
|
|
@@ -2347,28 +2347,28 @@ abstract class ModalElement<T, U extends Aventus.Modal.ModalOptions<T> = Aventus
|
|
|
2347
2347
|
}
|
|
2348
2348
|
|
|
2349
2349
|
namespace Modal {
|
|
2350
|
-
/**
|
|
2351
|
-
* A utility type to extract the return type (U) from a ModalElement instance X.
|
|
2350
|
+
/**
|
|
2351
|
+
* A utility type to extract the return type (U) from a ModalElement instance X.
|
|
2352
2352
|
*/
|
|
2353
2353
|
type ExtractTypeModal<X extends Aventus.Modal.ModalElement<U, Y>, U = any, Y extends Aventus.Modal.ModalOptions = any> = X extends Aventus.Modal.ModalElement<infer U, Y> ? U : never;
|
|
2354
2354
|
}
|
|
2355
2355
|
|
|
2356
2356
|
namespace Navigation {
|
|
2357
|
-
/**
|
|
2358
|
-
* Abstract base class for all routable pages within an Aventus application. It provides core functionality for page lifecycle management, visibility control, data loading, and access control.
|
|
2357
|
+
/**
|
|
2358
|
+
* Abstract base class for all routable pages within an Aventus application. It provides core functionality for page lifecycle management, visibility control, data loading, and access control.
|
|
2359
2359
|
*/
|
|
2360
2360
|
abstract class Page<Slug extends Aventus.UriParamsValue = {}> extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2361
2361
|
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Controls the visibility of the page. Changes to this property trigger onShow() or onHide() methods.
|
|
2364
2364
|
*/
|
|
2365
|
-
@Property((target: Page) => {
|
|
2366
|
-
if(target.visible) {
|
|
2367
|
-
target.onShow();
|
|
2368
|
-
}
|
|
2369
|
-
else {
|
|
2370
|
-
target.onHide();
|
|
2371
|
-
}
|
|
2365
|
+
@Property((target: Page) => {
|
|
2366
|
+
if(target.visible) {
|
|
2367
|
+
target.onShow();
|
|
2368
|
+
}
|
|
2369
|
+
else {
|
|
2370
|
+
target.onHide();
|
|
2371
|
+
}
|
|
2372
2372
|
})
|
|
2373
2373
|
visible: boolean;
|
|
2374
2374
|
/**
|
|
@@ -2419,8 +2419,8 @@ abstract class Page<Slug extends Aventus.UriParamsValue = {}> extends Aventus.We
|
|
|
2419
2419
|
}
|
|
2420
2420
|
|
|
2421
2421
|
namespace Navigation {
|
|
2422
|
-
/**
|
|
2423
|
-
* A specialized Page component intended to be displayed when a requested route or resource is not found (a "404 Not Found" error).
|
|
2422
|
+
/**
|
|
2423
|
+
* A specialized Page component intended to be displayed when a requested route or resource is not found (a "404 Not Found" error).
|
|
2424
2424
|
*/
|
|
2425
2425
|
class Default404 extends Aventus.Navigation.Page implements Aventus.DefaultComponent {
|
|
2426
2426
|
/**
|
|
@@ -2432,8 +2432,8 @@ class Default404 extends Aventus.Navigation.Page implements Aventus.DefaultCompo
|
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
2434
|
namespace Navigation {
|
|
2435
|
-
/**
|
|
2436
|
-
* The central navigation mechanism for Aventus applications. It manages application states, loads pages dynamically, handles URL changes, and provides mechanisms for defining routes, showing 404 pages, and controlling page lifecycles.
|
|
2435
|
+
/**
|
|
2436
|
+
* The central navigation mechanism for Aventus applications. It manages application states, loads pages dynamically, handles URL changes, and provides mechanisms for defining routes, showing 404 pages, and controlling page lifecycles.
|
|
2437
2437
|
*/
|
|
2438
2438
|
abstract class Router extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2439
2439
|
/**
|
|
@@ -2568,8 +2568,8 @@ abstract class Router extends Aventus.WebComponent implements Aventus.DefaultCom
|
|
|
2568
2568
|
}
|
|
2569
2569
|
|
|
2570
2570
|
namespace Toast {
|
|
2571
|
-
/**
|
|
2572
|
-
* Abstract base class for individual toast notifications. It provides core functionality for displaying, timing, and closing toasts, including animation handling and integration with a ToastManager.
|
|
2571
|
+
/**
|
|
2572
|
+
* Abstract base class for individual toast notifications. It provides core functionality for displaying, timing, and closing toasts, including animation handling and integration with a ToastManager.
|
|
2573
2573
|
*/
|
|
2574
2574
|
abstract class ToastElement<T extends Aventus.Toast.ToastOptions = Aventus.Toast.ToastOptions> extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2575
2575
|
/**
|
|
@@ -2653,8 +2653,8 @@ abstract class ToastElement<T extends Aventus.Toast.ToastOptions = Aventus.Toast
|
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
2655
|
namespace Toast {
|
|
2656
|
-
/**
|
|
2657
|
-
* Options for configuring an individual toast notification.
|
|
2656
|
+
/**
|
|
2657
|
+
* Options for configuring an individual toast notification.
|
|
2658
2658
|
*/
|
|
2659
2659
|
type ToastOptions = {
|
|
2660
2660
|
position?: Aventus.Toast.ToastPosition;
|
|
@@ -2667,8 +2667,8 @@ type ToastOptions = {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
|
|
2669
2669
|
namespace Toast {
|
|
2670
|
-
/**
|
|
2671
|
-
* A web component that manages the display, positioning, and lifecycle of toast notifications. It provides functionality for adding new toasts, configuring default behaviors, and handling toast stacking and removal.
|
|
2670
|
+
/**
|
|
2671
|
+
* A web component that manages the display, positioning, and lifecycle of toast notifications. It provides functionality for adding new toasts, configuring default behaviors, and handling toast stacking and removal.
|
|
2672
2672
|
*/
|
|
2673
2673
|
class ToastManager extends Aventus.WebComponent implements Aventus.DefaultComponent {
|
|
2674
2674
|
/**
|
|
@@ -2781,8 +2781,8 @@ class ToastManager extends Aventus.WebComponent implements Aventus.DefaultCompon
|
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
2783
|
|
|
2784
|
-
/**
|
|
2785
|
-
* Utility class for executing asynchronous processes and handling errors.
|
|
2784
|
+
/**
|
|
2785
|
+
* Utility class for executing asynchronous processes and handling errors.
|
|
2786
2786
|
*/
|
|
2787
2787
|
class Process {
|
|
2788
2788
|
/**
|