@rxap/ngx-changelog 17.0.1-dev.0 → 18.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/esm2022/lib/changelog/changelog.component.mjs +3 -3
- package/esm2022/lib/changelog-dialog/changelog-dialog.component.mjs +3 -3
- package/esm2022/lib/changelog.service.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/changelog-controller-get-latest.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/changelog-controller-get-version.remote-method.mjs +3 -3
- package/esm2022/lib/openapi/remote-methods/changelog-controller-list.remote-method.mjs +3 -3
- package/fesm2022/rxap-ngx-changelog.mjs +18 -18
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [18.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/ngx-changelog@17.0.1...@rxap/ngx-changelog@18.0.1-dev.0) (2024-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/ngx-changelog
|
|
9
|
+
|
|
10
|
+
## [17.0.1](https://gitlab.com/rxap/packages/compare/@rxap/ngx-changelog@17.0.1...@rxap/ngx-changelog@17.0.1) (2024-05-29)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/ngx-changelog
|
|
13
|
+
|
|
14
|
+
## [17.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/ngx-changelog@17.0.1...@rxap/ngx-changelog@17.0.1-dev.0) (2024-05-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @rxap/ngx-changelog
|
|
17
|
+
|
|
18
|
+
## [17.0.1](https://gitlab.com/rxap/packages/compare/@rxap/ngx-changelog@17.0.1-dev.0...@rxap/ngx-changelog@17.0.1) (2024-05-29)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rxap/ngx-changelog
|
|
21
|
+
|
|
6
22
|
## [17.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/ngx-changelog@16.1.3...@rxap/ngx-changelog@17.0.1-dev.0) (2024-05-29)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @rxap/ngx-changelog
|
package/README.md
CHANGED
|
@@ -16,5 +16,5 @@ package](https://img.shields.io/librariesio/release/npm/@rxap/ngx-changelog)
|
|
|
16
16
|
@rxap/ngx-changelog
|
|
17
17
|
```
|
|
18
18
|
**Install peer dependencies:** ```bash yarn add
|
|
19
|
-
@angular/common@^
|
|
19
|
+
@angular/common@^18.0.1 @angular/core@^18.0.1 @angular/forms@^18.0.1 @rxap/directives@^18.0.1-dev.0 @rxap/environment@^18.0.1-dev.0 @rxap/open-api@^18.0.1-dev.0 ngx-markdown@^16.0.0 rxjs@^7.8.1
|
|
20
20
|
```
|
|
@@ -65,10 +65,10 @@ export class ChangelogComponent {
|
|
|
65
65
|
this.error.set(e.message);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
69
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
69
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: ChangelogComponent, isStandalone: true, selector: "rxap-changelog", ngImport: i0, template: "<ng-container *ngIf=\"error(); else noError\">\n <h2 class=\"text-2xl pb-2\" i18n>Something has gone wrong!</h2>\n <p i18n>Unable to load the application changelog</p>\n</ng-container>\n<ng-template #noError>\n<div class=\"flex flex-col gap-3\">\n <ng-container *ngIf=\"availableVersions().length\">\n <div class=\"controls flex justify-center space-x-2 my-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n [disabled]=\"activeIndex() <= 0\"\n [ngClass]=\"{\n 'bg-gray-100 dark:bg-gray-900': activeIndex() <= 0,\n 'hover:bg-gray-300': activeIndex() > 0,\n }\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 transition-colors duration-150 rounded\">Previous\n </button>\n <button (click)=\"activeIndex.set(item.index)\"\n *ngFor=\"let item of displayedButtons()\"\n [ngClass]=\"{\n 'bg-primary-500': item.index === activeIndex(),\n 'bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150': item.index !== activeIndex()\n }\"\n class=\"px-4 py-2 rounded\">\n {{ item.version }}\n </button>\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n [disabled]=\"activeIndex() >= availableVersions().length - 1\"\n [ngClass]=\"{\n 'bg-gray-100 dark:bg-gray-900': activeIndex() >= availableVersions().length - 1,\n 'hover:bg-gray-300': activeIndex() < availableVersions().length - 1,\n }\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">Next\n </button>\n </div>\n <hr>\n </ng-container>\n <div class=\"flex flex-col gap-6 p-8 overflow-auto\" style=\"max-height: 60vh\">\n <ng-container *rxapMethod=\"let changelog call getChangelogMethod; parameters: getChangelogMethodParameters()\">\n <markdown *ngFor=\"let general of changelog.general\" [data]=\"general\" class=\"prose dark:prose-invert\">\n </markdown>\n <markdown *ngFor=\"let application of changelog.application\" [data]=\"application\" class=\"prose dark:prose-invert\">\n </markdown>\n </ng-container>\n </div>\n</div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: MethodTemplateDirective, selector: "[rxapMethod]", inputs: ["rxapMethodCall", "rxapMethodParameters", "rxapMethodError", "rxapMethodLoading", "rxapMethodWithoutParameters", "immediately"], outputs: ["executed", "failure", "successful", "executing", "embedded"], exportAs: ["rxapMethod"] }, { kind: "ngmodule", type: MarkdownModule }, { kind: "component", type: i1.MarkdownComponent, selector: "markdown, [markdown]", inputs: ["data", "src", "disableSanitizer", "inline", "srcRelativeLink", "clipboard", "clipboardButtonComponent", "clipboardButtonTemplate", "emoji", "katex", "katexOptions", "mermaid", "mermaidOptions", "lineHighlight", "line", "lineOffset", "lineNumbers", "start", "commandLine", "filterOutput", "host", "prompt", "output", "user"], outputs: ["error", "load", "ready"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogComponent, decorators: [{
|
|
72
72
|
type: Component,
|
|
73
73
|
args: [{ selector: 'rxap-changelog', standalone: true, imports: [
|
|
74
74
|
MethodTemplateDirective,
|
|
@@ -16,10 +16,10 @@ export class ChangelogDialogComponent {
|
|
|
16
16
|
this.dialog.nativeElement.close();
|
|
17
17
|
this.closeDialog.emit(remember);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: ChangelogDialogComponent, isStandalone: true, selector: "rxap-changelog-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\">\n <rxap-changelog></rxap-changelog>\n <div class=\"flex flex-row justify-end gap-6\">\n <div class=\"flex flex-row gap-3 items-center\">\n <input [(ngModel)]=\"remember\" id=\"rxap-changelog-remember\" type=\"checkbox\">\n <label for=\"rxap-changelog-remember\" i18n>Don't show again until next new version</label>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n </div>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ChangelogComponent, selector: "rxap-changelog" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogDialogComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'rxap-changelog-dialog', standalone: true, imports: [CommonModule, ChangelogComponent, FormsModule], template: "<dialog #dialog\n class=\"max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\">\n <rxap-changelog></rxap-changelog>\n <div class=\"flex flex-row justify-end gap-6\">\n <div class=\"flex flex-row gap-3 items-center\">\n <input [(ngModel)]=\"remember\" id=\"rxap-changelog-remember\" type=\"checkbox\">\n <label for=\"rxap-changelog-remember\" i18n>Don't show again until next new version</label>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n </div>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"] }]
|
|
25
25
|
}], propDecorators: { dialog: [{
|
|
@@ -42,10 +42,10 @@ export class ChangelogService {
|
|
|
42
42
|
}
|
|
43
43
|
this.showChangelogDialog();
|
|
44
44
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
46
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
46
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, providedIn: 'root' }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, decorators: [{
|
|
49
49
|
type: Injectable,
|
|
50
50
|
args: [{
|
|
51
51
|
providedIn: 'root',
|
package/esm2022/lib/openapi/remote-methods/changelog-controller-get-latest.remote-method.mjs
CHANGED
|
@@ -6,8 +6,8 @@ let ChangelogControllerGetLatestRemoteMethod = class ChangelogControllerGetLates
|
|
|
6
6
|
call(parameters) {
|
|
7
7
|
return super.call(parameters);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, providedIn: 'root' }); }
|
|
11
11
|
};
|
|
12
12
|
ChangelogControllerGetLatestRemoteMethod = __decorate([
|
|
13
13
|
RxapOpenApiRemoteMethod({
|
|
@@ -17,7 +17,7 @@ ChangelogControllerGetLatestRemoteMethod = __decorate([
|
|
|
17
17
|
})
|
|
18
18
|
], ChangelogControllerGetLatestRemoteMethod);
|
|
19
19
|
export { ChangelogControllerGetLatestRemoteMethod };
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{
|
|
23
23
|
providedIn: 'root',
|
package/esm2022/lib/openapi/remote-methods/changelog-controller-get-version.remote-method.mjs
CHANGED
|
@@ -6,8 +6,8 @@ let ChangelogControllerGetVersionRemoteMethod = class ChangelogControllerGetVers
|
|
|
6
6
|
call(parameters) {
|
|
7
7
|
return super.call(parameters);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, providedIn: 'root' }); }
|
|
11
11
|
};
|
|
12
12
|
ChangelogControllerGetVersionRemoteMethod = __decorate([
|
|
13
13
|
RxapOpenApiRemoteMethod({
|
|
@@ -17,7 +17,7 @@ ChangelogControllerGetVersionRemoteMethod = __decorate([
|
|
|
17
17
|
})
|
|
18
18
|
], ChangelogControllerGetVersionRemoteMethod);
|
|
19
19
|
export { ChangelogControllerGetVersionRemoteMethod };
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{
|
|
23
23
|
providedIn: 'root',
|
|
@@ -6,8 +6,8 @@ let ChangelogControllerListRemoteMethod = class ChangelogControllerListRemoteMet
|
|
|
6
6
|
call() {
|
|
7
7
|
return super.call();
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
10
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, providedIn: 'root' }); }
|
|
11
11
|
};
|
|
12
12
|
ChangelogControllerListRemoteMethod = __decorate([
|
|
13
13
|
RxapOpenApiRemoteMethod({
|
|
@@ -17,7 +17,7 @@ ChangelogControllerListRemoteMethod = __decorate([
|
|
|
17
17
|
})
|
|
18
18
|
], ChangelogControllerListRemoteMethod);
|
|
19
19
|
export { ChangelogControllerListRemoteMethod };
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{
|
|
23
23
|
providedIn: 'root',
|
|
@@ -16,8 +16,8 @@ let ChangelogControllerGetLatestRemoteMethod = class ChangelogControllerGetLates
|
|
|
16
16
|
call(parameters) {
|
|
17
17
|
return super.call(parameters);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, providedIn: 'root' }); }
|
|
21
21
|
};
|
|
22
22
|
ChangelogControllerGetLatestRemoteMethod = __decorate([
|
|
23
23
|
RxapOpenApiRemoteMethod({
|
|
@@ -26,7 +26,7 @@ ChangelogControllerGetLatestRemoteMethod = __decorate([
|
|
|
26
26
|
operation: '{"operationId":"ChangelogController_getLatest","parameters":[{"name":"application","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}},"application":{"type":"array","items":{"type":"string"}}},"required":["general","application"]}}}}},"method":"get","path":"/latest/{application}"}',
|
|
27
27
|
})
|
|
28
28
|
], ChangelogControllerGetLatestRemoteMethod);
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetLatestRemoteMethod, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{
|
|
32
32
|
providedIn: 'root',
|
|
@@ -37,8 +37,8 @@ let ChangelogControllerGetVersionRemoteMethod = class ChangelogControllerGetVers
|
|
|
37
37
|
call(parameters) {
|
|
38
38
|
return super.call(parameters);
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
41
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, providedIn: 'root' }); }
|
|
42
42
|
};
|
|
43
43
|
ChangelogControllerGetVersionRemoteMethod = __decorate([
|
|
44
44
|
RxapOpenApiRemoteMethod({
|
|
@@ -47,7 +47,7 @@ ChangelogControllerGetVersionRemoteMethod = __decorate([
|
|
|
47
47
|
operation: '{"operationId":"ChangelogController_getVersion","parameters":[{"name":"version","required":true,"in":"path","schema":{"type":"string"}},{"name":"application","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"general":{"type":"array","items":{"type":"string"}},"application":{"type":"array","items":{"type":"string"}}},"required":["general","application"]}}}}},"method":"get","path":"/{version}/{application}"}',
|
|
48
48
|
})
|
|
49
49
|
], ChangelogControllerGetVersionRemoteMethod);
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerGetVersionRemoteMethod, decorators: [{
|
|
51
51
|
type: Injectable,
|
|
52
52
|
args: [{
|
|
53
53
|
providedIn: 'root',
|
|
@@ -58,8 +58,8 @@ let ChangelogControllerListRemoteMethod = class ChangelogControllerListRemoteMet
|
|
|
58
58
|
call() {
|
|
59
59
|
return super.call();
|
|
60
60
|
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
62
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, providedIn: 'root' }); }
|
|
63
63
|
};
|
|
64
64
|
ChangelogControllerListRemoteMethod = __decorate([
|
|
65
65
|
RxapOpenApiRemoteMethod({
|
|
@@ -68,7 +68,7 @@ ChangelogControllerListRemoteMethod = __decorate([
|
|
|
68
68
|
operation: '{"operationId":"ChangelogController_list","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"method":"get","path":"/available-versions"}',
|
|
69
69
|
})
|
|
70
70
|
], ChangelogControllerListRemoteMethod);
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogControllerListRemoteMethod, decorators: [{
|
|
72
72
|
type: Injectable,
|
|
73
73
|
args: [{
|
|
74
74
|
providedIn: 'root',
|
|
@@ -133,10 +133,10 @@ class ChangelogComponent {
|
|
|
133
133
|
this.error.set(e.message);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
137
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: ChangelogComponent, isStandalone: true, selector: "rxap-changelog", ngImport: i0, template: "<ng-container *ngIf=\"error(); else noError\">\n <h2 class=\"text-2xl pb-2\" i18n>Something has gone wrong!</h2>\n <p i18n>Unable to load the application changelog</p>\n</ng-container>\n<ng-template #noError>\n<div class=\"flex flex-col gap-3\">\n <ng-container *ngIf=\"availableVersions().length\">\n <div class=\"controls flex justify-center space-x-2 my-4\">\n <button\n (click)=\"activeIndex.set(activeIndex() - 1)\"\n [disabled]=\"activeIndex() <= 0\"\n [ngClass]=\"{\n 'bg-gray-100 dark:bg-gray-900': activeIndex() <= 0,\n 'hover:bg-gray-300': activeIndex() > 0,\n }\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 transition-colors duration-150 rounded\">Previous\n </button>\n <button (click)=\"activeIndex.set(item.index)\"\n *ngFor=\"let item of displayedButtons()\"\n [ngClass]=\"{\n 'bg-primary-500': item.index === activeIndex(),\n 'bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150': item.index !== activeIndex()\n }\"\n class=\"px-4 py-2 rounded\">\n {{ item.version }}\n </button>\n <button\n (click)=\"activeIndex.set(activeIndex() + 1)\"\n [disabled]=\"activeIndex() >= availableVersions().length - 1\"\n [ngClass]=\"{\n 'bg-gray-100 dark:bg-gray-900': activeIndex() >= availableVersions().length - 1,\n 'hover:bg-gray-300': activeIndex() < availableVersions().length - 1,\n }\"\n class=\"px-4 py-2 bg-gray-200 dark:bg-gray-800 dark:hover:bg-gray-900 hover:bg-gray-300 transition-colors duration-150 rounded\">Next\n </button>\n </div>\n <hr>\n </ng-container>\n <div class=\"flex flex-col gap-6 p-8 overflow-auto\" style=\"max-height: 60vh\">\n <ng-container *rxapMethod=\"let changelog call getChangelogMethod; parameters: getChangelogMethodParameters()\">\n <markdown *ngFor=\"let general of changelog.general\" [data]=\"general\" class=\"prose dark:prose-invert\">\n </markdown>\n <markdown *ngFor=\"let application of changelog.application\" [data]=\"application\" class=\"prose dark:prose-invert\">\n </markdown>\n </ng-container>\n </div>\n</div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: MethodTemplateDirective, selector: "[rxapMethod]", inputs: ["rxapMethodCall", "rxapMethodParameters", "rxapMethodError", "rxapMethodLoading", "rxapMethodWithoutParameters", "immediately"], outputs: ["executed", "failure", "successful", "executing", "embedded"], exportAs: ["rxapMethod"] }, { kind: "ngmodule", type: MarkdownModule }, { kind: "component", type: i1.MarkdownComponent, selector: "markdown, [markdown]", inputs: ["data", "src", "disableSanitizer", "inline", "srcRelativeLink", "clipboard", "clipboardButtonComponent", "clipboardButtonTemplate", "emoji", "katex", "katexOptions", "mermaid", "mermaidOptions", "lineHighlight", "line", "lineOffset", "lineNumbers", "start", "commandLine", "filterOutput", "host", "prompt", "output", "user"], outputs: ["error", "load", "ready"] }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
138
138
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogComponent, decorators: [{
|
|
140
140
|
type: Component,
|
|
141
141
|
args: [{ selector: 'rxap-changelog', standalone: true, imports: [
|
|
142
142
|
MethodTemplateDirective,
|
|
@@ -159,10 +159,10 @@ class ChangelogDialogComponent {
|
|
|
159
159
|
this.dialog.nativeElement.close();
|
|
160
160
|
this.closeDialog.emit(remember);
|
|
161
161
|
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
163
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: ChangelogDialogComponent, isStandalone: true, selector: "rxap-changelog-dialog", outputs: { closeDialog: "closeDialog" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<dialog #dialog\n class=\"max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\">\n <rxap-changelog></rxap-changelog>\n <div class=\"flex flex-row justify-end gap-6\">\n <div class=\"flex flex-row gap-3 items-center\">\n <input [(ngModel)]=\"remember\" id=\"rxap-changelog-remember\" type=\"checkbox\">\n <label for=\"rxap-changelog-remember\" i18n>Don't show again until next new version</label>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n </div>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ChangelogComponent, selector: "rxap-changelog" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
164
164
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogDialogComponent, decorators: [{
|
|
166
166
|
type: Component,
|
|
167
167
|
args: [{ selector: 'rxap-changelog-dialog', standalone: true, imports: [CommonModule, ChangelogComponent, FormsModule], template: "<dialog #dialog\n class=\"max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6\">\n <rxap-changelog></rxap-changelog>\n <div class=\"flex flex-row justify-end gap-6\">\n <div class=\"flex flex-row gap-3 items-center\">\n <input [(ngModel)]=\"remember\" id=\"rxap-changelog-remember\" type=\"checkbox\">\n <label for=\"rxap-changelog-remember\" i18n>Don't show again until next new version</label>\n </div>\n <button (click)=\"close()\" class=\"px-4 py-2 rounded bg-primary-500\" i18n>close</button>\n </div>\n</dialog>\n", styles: ["dialog::backdrop{background:#000000b3}\n"] }]
|
|
168
168
|
}], propDecorators: { dialog: [{
|
|
@@ -210,10 +210,10 @@ class ChangelogService {
|
|
|
210
210
|
}
|
|
211
211
|
this.showChangelogDialog();
|
|
212
212
|
}
|
|
213
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
214
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, providedIn: 'root' }); }
|
|
215
215
|
}
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ChangelogService, decorators: [{
|
|
217
217
|
type: Injectable,
|
|
218
218
|
args: [{
|
|
219
219
|
providedIn: 'root',
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "18.0.1-dev.0",
|
|
3
3
|
"name": "@rxap/ngx-changelog",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@angular/common": "^
|
|
10
|
-
"@angular/core": "^
|
|
11
|
-
"@angular/forms": "^
|
|
12
|
-
"@rxap/directives": "^
|
|
13
|
-
"@rxap/environment": "^
|
|
14
|
-
"@rxap/open-api": "^
|
|
9
|
+
"@angular/common": "^18.0.1",
|
|
10
|
+
"@angular/core": "^18.0.1",
|
|
11
|
+
"@angular/forms": "^18.0.1",
|
|
12
|
+
"@rxap/directives": "^18.0.1-dev.0",
|
|
13
|
+
"@rxap/environment": "^18.0.1-dev.0",
|
|
14
|
+
"@rxap/open-api": "^18.0.1-dev.0",
|
|
15
15
|
"ngx-markdown": "^16.0.0",
|
|
16
16
|
"rxjs": "^7.8.1"
|
|
17
17
|
},
|
|
@@ -36,83 +36,83 @@
|
|
|
36
36
|
"packageGroup": [
|
|
37
37
|
{
|
|
38
38
|
"package": "@angular/common",
|
|
39
|
-
"version": "
|
|
39
|
+
"version": "18.0.1"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"package": "@angular/core",
|
|
43
|
-
"version": "
|
|
43
|
+
"version": "18.0.1"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"package": "@angular/forms",
|
|
47
|
-
"version": "
|
|
47
|
+
"version": "18.0.1"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"package": "@rxap/config",
|
|
51
|
-
"version": "
|
|
51
|
+
"version": "18.0.1-dev.0"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"package": "@rxap/data-source",
|
|
55
|
-
"version": "
|
|
55
|
+
"version": "18.0.1-dev.0"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"package": "@rxap/data-structure-tree",
|
|
59
|
-
"version": "1.1.
|
|
59
|
+
"version": "1.1.4"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"package": "@rxap/definition",
|
|
63
|
-
"version": "
|
|
63
|
+
"version": "18.0.1-dev.0"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"package": "@rxap/directives",
|
|
67
|
-
"version": "
|
|
67
|
+
"version": "18.0.1-dev.0"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"package": "@rxap/environment",
|
|
71
|
-
"version": "
|
|
71
|
+
"version": "18.0.1-dev.0"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"package": "@rxap/mixin",
|
|
75
|
-
"version": "16.0.
|
|
75
|
+
"version": "16.0.4"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"package": "@rxap/node-utilities",
|
|
79
|
-
"version": "1.2.
|
|
79
|
+
"version": "1.2.2"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"package": "@rxap/open-api",
|
|
83
|
-
"version": "
|
|
83
|
+
"version": "18.0.1-dev.0"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"package": "@rxap/pattern",
|
|
87
|
-
"version": "1.1.
|
|
87
|
+
"version": "1.1.3"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"package": "@rxap/plugin-utilities",
|
|
91
|
-
"version": "
|
|
91
|
+
"version": "19.0.1-dev.0"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"package": "@rxap/reflect-metadata",
|
|
95
|
-
"version": "1.0.
|
|
95
|
+
"version": "1.0.5"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"package": "@rxap/remote-method",
|
|
99
|
-
"version": "
|
|
99
|
+
"version": "18.0.1-dev.0"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"package": "@rxap/rxjs",
|
|
103
|
-
"version": "1.1.
|
|
103
|
+
"version": "1.1.4"
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"package": "@rxap/services",
|
|
107
|
-
"version": "
|
|
107
|
+
"version": "18.0.1-dev.0"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"package": "@rxap/utilities",
|
|
111
|
-
"version": "16.2.
|
|
111
|
+
"version": "16.2.2"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"package": "@rxap/workspace-utilities",
|
|
115
|
-
"version": "
|
|
115
|
+
"version": "19.0.1-dev.0"
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
},
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"directory": "packages/angular/changelog"
|
|
127
127
|
},
|
|
128
128
|
"sideEffects": false,
|
|
129
|
-
"gitHead": "
|
|
129
|
+
"gitHead": "62f6f876258a5952fa36b7a271b8d6ec1a4b4e13",
|
|
130
130
|
"module": "fesm2022/rxap-ngx-changelog.mjs",
|
|
131
131
|
"typings": "index.d.ts",
|
|
132
132
|
"exports": {
|