@acorex/core 21.0.0-next.13 → 21.0.0-next.15

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.
@@ -13,7 +13,21 @@ interface AXComponentOptions {
13
13
  declare class AXComponentService {
14
14
  private appRef;
15
15
  private getRootViewContainerRef;
16
+ /**
17
+ * Creates and inserts a component instance into the application's root ViewContainerRef.
18
+ *
19
+ * @typeParam T - Component class type
20
+ * @param content - Component type to instantiate
21
+ * @returns Promise<ComponentRef<T>> - Reference to the created component
22
+ */
16
23
  createFromComponent<T>(content: AXComponentType<T>): Promise<ComponentRef<T>>;
24
+ /**
25
+ * Creates and inserts an embedded view from a TemplateRef into the application's root ViewContainerRef.
26
+ *
27
+ * @typeParam T - Template context type
28
+ * @param content - TemplateRef to render
29
+ * @returns Promise<EmbeddedViewRef<T>> - Reference to the created embedded view
30
+ */
17
31
  createFromTemplate<T>(content: TemplateRef<T>): Promise<EmbeddedViewRef<T>>;
18
32
  static ɵfac: i0.ɵɵFactoryDeclaration<AXComponentService, never>;
19
33
  static ɵprov: i0.ɵɵInjectableDeclaration<AXComponentService>;
@@ -60,18 +60,88 @@ declare abstract class AXCalendar {
60
60
  constructor(config: AXCalendarConfig);
61
61
  get weekend(): number[];
62
62
  get weekdays(): number[];
63
+ /**
64
+ * Returns the name of the calendar system.
65
+ * @returns The calendar system name (e.g., 'gregorian', 'persian', 'islamic').
66
+ */
63
67
  abstract name(): string;
68
+ /**
69
+ * Returns the day of the month for the given date.
70
+ * @param date - The date to get the day of month from.
71
+ * @returns The day of the month (1-31).
72
+ */
64
73
  abstract dayOfMonth(date: Date): number;
74
+ /**
75
+ * Returns the day of the year for the given date.
76
+ * @param date - The date to get the day of year from.
77
+ * @returns The day of the year (1-365/366).
78
+ */
65
79
  abstract dayOfYear(date: Date): number;
80
+ /**
81
+ * Returns the day of the week for the given date.
82
+ * @param date - The date to get the day of week from.
83
+ * @returns The day of the week (1-7).
84
+ */
66
85
  abstract dayOfWeek(date: Date): number;
86
+ /**
87
+ * Returns the month of the year for the given date.
88
+ * @param date - The date to get the month from.
89
+ * @returns The month of the year (1-12).
90
+ */
67
91
  abstract monthOfYear(date: Date): number;
92
+ /**
93
+ * Returns the week of the year for the given date.
94
+ * @param date - The date to get the week from.
95
+ * @returns The week of the year (1-52/53).
96
+ */
68
97
  abstract weekOfYear(date: Date): number;
98
+ /**
99
+ * Returns the year for the given date.
100
+ * @param date - The date to get the year from.
101
+ * @returns The year.
102
+ */
69
103
  abstract year(date: Date): number;
104
+ /**
105
+ * Adds a specified amount of time units to the given date.
106
+ * @param date - The base date.
107
+ * @param unit - The time unit to add (day, month, year, etc.).
108
+ * @param amount - The amount to add.
109
+ * @returns A new AXDateTime instance with the added time.
110
+ */
70
111
  abstract add(date: Date, unit: TimeUnit, amount: number): AXDateTime;
112
+ /**
113
+ * Sets a specific time unit to a given value.
114
+ * @param date - The base date.
115
+ * @param unit - The time unit to set (day, month, year, etc.).
116
+ * @param value - The new value for the time unit.
117
+ * @returns A new AXDateTime instance with the set time unit.
118
+ */
71
119
  abstract set(date: Date, unit: TimeUnit, value: number): AXDateTime;
120
+ /**
121
+ * Returns the start of the specified time unit for the given date.
122
+ * @param date - The base date.
123
+ * @param unit - The time unit to get the start of (day, month, year, etc.).
124
+ * @returns A new AXDateTime instance representing the start of the time unit.
125
+ */
72
126
  abstract startOf(date: Date, unit: TimeUnit): AXDateTime;
127
+ /**
128
+ * Returns the end of the specified time unit for the given date.
129
+ * @param date - The base date.
130
+ * @param unit - The time unit to get the end of (day, month, year, etc.).
131
+ * @returns A new AXDateTime instance representing the end of the time unit.
132
+ */
73
133
  abstract endOf(date: Date, unit: TimeUnit): AXDateTime;
134
+ /**
135
+ * Creates a new AXDateTime instance from an AXDateValue object.
136
+ * @param value - The date value object containing date information.
137
+ * @returns A new AXDateTime instance.
138
+ */
74
139
  abstract create(value: AXDateValue): AXDateTime;
140
+ /**
141
+ * Parses a date string and returns a new AXDateTime instance.
142
+ * @param value - The date string to parse.
143
+ * @returns A new AXDateTime instance.
144
+ */
75
145
  abstract parse(value: string): AXDateTime;
76
146
  }
77
147
  declare class AXDateTime {
@@ -14,9 +14,23 @@ class AXComponentService {
14
14
  }
15
15
  return null;
16
16
  }
17
+ /**
18
+ * Creates and inserts a component instance into the application's root ViewContainerRef.
19
+ *
20
+ * @typeParam T - Component class type
21
+ * @param content - Component type to instantiate
22
+ * @returns Promise<ComponentRef<T>> - Reference to the created component
23
+ */
17
24
  async createFromComponent(content) {
18
25
  return this.getRootViewContainerRef().createComponent(content);
19
26
  }
27
+ /**
28
+ * Creates and inserts an embedded view from a TemplateRef into the application's root ViewContainerRef.
29
+ *
30
+ * @typeParam T - Template context type
31
+ * @param content - TemplateRef to render
32
+ * @returns Promise<EmbeddedViewRef<T>> - Reference to the created embedded view
33
+ */
20
34
  async createFromTemplate(content) {
21
35
  return this.getRootViewContainerRef().createEmbeddedView(content);
22
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-core-components.mjs","sources":["../tmp-esm2022/components/lib/component.service.js","../tmp-esm2022/components/acorex-core-components.js"],"sourcesContent":["import { ApplicationRef, inject, Injectable, ViewContainerRef, } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXComponentService {\n constructor() {\n this.appRef = inject(ApplicationRef);\n }\n getRootViewContainerRef() {\n // Get all components in the application\n const components = this.appRef.components;\n if (components.length > 0) {\n const rootComponentRef = components[0];\n return rootComponentRef.injector.get(ViewContainerRef, null);\n }\n return null;\n }\n async createFromComponent(content) {\n return this.getRootViewContainerRef().createComponent(content);\n }\n async createFromTemplate(content) {\n return this.getRootViewContainerRef().createEmbeddedView(content);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsY0FBYyxFQUdkLE1BQU0sRUFDTixVQUFVLEVBRVYsZ0JBQWdCLEdBQ2pCLE1BQU0sZUFBZSxDQUFDOztBQU12QixNQUFNLE9BQU8sa0JBQWtCO0lBSC9CO1FBSVUsV0FBTSxHQUFHLE1BQU0sQ0FBQyxjQUFjLENBQUMsQ0FBQztLQXFCekM7SUFuQlMsdUJBQXVCO1FBQzdCLHdDQUF3QztRQUN4QyxNQUFNLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQztRQUUxQyxJQUFJLFVBQVUsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxFQUFFLENBQUM7WUFDMUIsTUFBTSxnQkFBZ0IsR0FBc0IsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQzFELE9BQU8sZ0JBQWdCLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUMvRCxDQUFDO1FBRUQsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRUQsS0FBSyxDQUFDLG1CQUFtQixDQUFJLE9BQTJCO1FBQ3RELE9BQU8sSUFBSSxDQUFDLHVCQUF1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cG9uZW50UmVmOiBDb21wb25lbnRSZWY8YW55PiA9IGNvbXBvbmVudHNbMF07XG4gICAgICByZXR1cm4gcm9vdENvbXBvbmVudFJlZi5pbmplY3Rvci5nZXQoVmlld0NvbnRhaW5lclJlZiwgbnVsbCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG51bGw7XG4gIH1cblxuICBhc3luYyBjcmVhdGVGcm9tQ29tcG9uZW50PFQ+KGNvbnRlbnQ6IEFYQ29tcG9uZW50VHlwZTxUPik6IFByb21pc2U8Q29tcG9uZW50UmVmPFQ+PiB7XG4gICAgcmV0dXJuIHRoaXMuZ2V0Um9vdFZpZXdDb250YWluZXJSZWYoKS5jcmVhdGVDb21wb25lbnQ8VD4oY29udGVudCk7XG4gIH1cblxuICBhc3luYyBjcmVhdGVGcm9tVGVtcGxhdGU8VD4oY29udGVudDogVGVtcGxhdGVSZWY8VD4pOiBQcm9taXNlPEVtYmVkZGVkVmlld1JlZjxUPj4ge1xuICAgIHJldHVybiB0aGlzLmdldFJvb3RWaWV3Q29udGFpbmVyUmVmKCkuY3JlYXRlRW1iZWRkZWRWaWV3KGNvbnRlbnQpO1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29tcG9uZW50cy9zcmMvYWNvcmV4LWNvcmUtY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiB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AAM,EAAE,CAAC,CAAC;AAC5J;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAC5H,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC7Bb;AACA;AACA;;;;"}
1
+ {"version":3,"file":"acorex-core-components.mjs","sources":["../tmp-esm2022/components/lib/component.service.js","../tmp-esm2022/components/acorex-core-components.js"],"sourcesContent":["import { ApplicationRef, inject, Injectable, ViewContainerRef, } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXComponentService {\n constructor() {\n this.appRef = inject(ApplicationRef);\n }\n getRootViewContainerRef() {\n // Get all components in the application\n const components = this.appRef.components;\n if (components.length > 0) {\n const rootComponentRef = components[0];\n return rootComponentRef.injector.get(ViewContainerRef, null);\n }\n return null;\n }\n /**\n * Creates and inserts a component instance into the application's root ViewContainerRef.\n *\n * @typeParam T - Component class type\n * @param content - Component type to instantiate\n * @returns Promise<ComponentRef<T>> - Reference to the created component\n */\n async createFromComponent(content) {\n return this.getRootViewContainerRef().createComponent(content);\n }\n /**\n * Creates and inserts an embedded view from a TemplateRef into the application's root ViewContainerRef.\n *\n * @typeParam T - Template context type\n * @param content - TemplateRef to render\n * @returns Promise<EmbeddedViewRef<T>> - Reference to the created embedded view\n */\n async createFromTemplate(content) {\n return this.getRootViewContainerRef().createEmbeddedView(content);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.6\", ngImport: i0, type: AXComponentService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL2NvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsY0FBYyxFQUdkLE1BQU0sRUFDTixVQUFVLEVBRVYsZ0JBQWdCLEdBQ2pCLE1BQU0sZUFBZSxDQUFDOztBQU12QixNQUFNLE9BQU8sa0JBQWtCO0lBSC9CO1FBSVUsV0FBTSxHQUFHLE1BQU0sQ0FBQyxjQUFjLENBQUMsQ0FBQztLQW1DekM7SUFqQ1MsdUJBQXVCO1FBQzdCLHdDQUF3QztRQUN4QyxNQUFNLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQztRQUUxQyxJQUFJLFVBQVUsQ0FBQyxNQUFNLEdBQUcsQ0FBQyxFQUFFLENBQUM7WUFDMUIsTUFBTSxnQkFBZ0IsR0FBc0IsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQzFELE9BQU8sZ0JBQWdCLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxnQkFBZ0IsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUMvRCxDQUFDO1FBRUQsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0gsS0FBSyxDQUFDLG1CQUFtQixDQUFJLE9BQTJCO1FBQ3RELE9BQU8sS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gVGVtcGxhdGVSZWYgdG8gcmVuZGVyXG4gICAqIEByZXR1cm5zIFByb21pc2U8RW1iZWRkZWRWaWV3UmVmPFQ+PiAtIFJlZmVyZW5jZSB0byB0aGUgY3JlYXRlZCBlbWJlZGRlZCB2aWV3XG4gICAqL1xuICBhc3luYyBjcmVhdGVGcm9tVGVtcGxhdGU8VD4oY29udGVudDogVGVtcGxhdGVSZWY8VD4pOiBQcm9taXNlPEVtYmVkZGVkVmlld1JlZjxUPj4ge1xuICAgIHJldHVybiB0aGlzLmdldFJvb3RWaWV3Q29udGFpbmVyUmVmKCkuY3JlYXRlRW1iZWRkZWRWaWV3KGNvbnRlbnQpO1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvcmUtY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvY29tcG9uZW50cy9zcmMvYWNvcmV4LWNvcmUtY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;AAEO,MAAM,kBAAkB,CAAC;AAChC,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC;AAC5C,IAAI;AACJ,IAAI,uBAAuB,GAAG;AAC9B;AACA,QAAQ,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU;AACjD,QAAQ,IAAI,UAAU,C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