orcas-angular 1.0.3 → 1.0.4
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/.claude/settings.local.json +8 -0
- package/index.ts +25 -25
- package/localization/localization.service.ts +1 -1
- package/localization/localize.pipe.ts +1 -1
- package/log/echo-provider.ts +1 -1
- package/log/index.ts +3 -3
- package/navigation/back-on-click.directive.ts +1 -1
- package/navigation/index.ts +2 -2
- package/ng-package.json +7 -0
- package/package.json +14 -3
- package/storage/capacitor-files.service.ts +1 -1
- package/storage/file-box.service.ts +1 -1
- package/storage/local-storage-files.service.ts +1 -1
- package/storage/settings-signals.service.ts +2 -2
- package/storage/settings.service.ts +2 -2
- package/storage/tauri-files.service.ts +1 -1
- package/tsconfig.lib.json +11 -0
- package/ui/context-menu/context-menu-trigger.directive.ts +1 -1
- package/ui/context-menu/index.ts +4 -4
package/index.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export * from './async/async
|
|
2
|
-
export * from './async/cancellation-token
|
|
3
|
-
export * from './dev/console-hook
|
|
4
|
-
export * from './framework/services-init
|
|
5
|
-
export * from './localization/localization.service
|
|
6
|
-
export * from './localization/localize.pipe
|
|
7
|
-
export * from './localization/localization.interface
|
|
8
|
-
export * from './log/echo
|
|
9
|
-
export * from './log/log-systems
|
|
10
|
-
export * from './log/echo-provider
|
|
11
|
-
export * from './navigation/navigation-stack.service
|
|
12
|
-
export * from './navigation/back-on-click.directive
|
|
13
|
-
export * from './storage/files
|
|
14
|
-
export * from './storage/file-box.service
|
|
15
|
-
export * from './storage/key-signals
|
|
16
|
-
export * from './storage/settings-signals.service
|
|
17
|
-
export * from './storage/settings.service
|
|
18
|
-
export * from './storage/tauri-files.service
|
|
19
|
-
export * from './storage/capacitor-files.service
|
|
20
|
-
export * from './storage/local-storage-files.service
|
|
21
|
-
export * from './theme/theme.service
|
|
22
|
-
export * from './ui/context-menu/context-menu.component
|
|
23
|
-
export * from './ui/context-menu/context-header.component
|
|
24
|
-
export * from './ui/context-menu/context-button.component
|
|
25
|
-
export * from './ui/context-menu/context-menu-trigger.directive
|
|
1
|
+
export * from './async/async';
|
|
2
|
+
export * from './async/cancellation-token';
|
|
3
|
+
export * from './dev/console-hook';
|
|
4
|
+
export * from './framework/services-init';
|
|
5
|
+
export * from './localization/localization.service';
|
|
6
|
+
export * from './localization/localize.pipe';
|
|
7
|
+
export * from './localization/localization.interface';
|
|
8
|
+
export * from './log/echo';
|
|
9
|
+
export * from './log/log-systems';
|
|
10
|
+
export * from './log/echo-provider';
|
|
11
|
+
export * from './navigation/navigation-stack.service';
|
|
12
|
+
export * from './navigation/back-on-click.directive';
|
|
13
|
+
export * from './storage/files';
|
|
14
|
+
export * from './storage/file-box.service';
|
|
15
|
+
export * from './storage/key-signals';
|
|
16
|
+
export * from './storage/settings-signals.service';
|
|
17
|
+
export * from './storage/settings.service';
|
|
18
|
+
export * from './storage/tauri-files.service';
|
|
19
|
+
export * from './storage/capacitor-files.service';
|
|
20
|
+
export * from './storage/local-storage-files.service';
|
|
21
|
+
export * from './theme/theme.service';
|
|
22
|
+
export * from './ui/context-menu/context-menu.component';
|
|
23
|
+
export * from './ui/context-menu/context-header.component';
|
|
24
|
+
export * from './ui/context-menu/context-button.component';
|
|
25
|
+
export * from './ui/context-menu/context-menu-trigger.directive';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, inject, Injectable, signal } from '@angular/core';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { ILocalizationService } from './localization.interface
|
|
3
|
+
import { ILocalizationService } from './localization.interface';
|
|
4
4
|
|
|
5
5
|
@Injectable({
|
|
6
6
|
providedIn: 'root'
|
package/log/echo-provider.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Provides a singleton Echo instance with console writer.
|
|
4
4
|
*/
|
|
5
5
|
import { InjectionToken, Provider } from '@angular/core';
|
|
6
|
-
import { Echo, EchoConsole } from './echo
|
|
6
|
+
import { Echo, EchoConsole } from './echo';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Injection token for Echo logger instance
|
package/log/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Echo logging library exports
|
|
3
3
|
*/
|
|
4
|
-
export { Echo, EchoLogger, EchoSystemLogger, EchoConsole, EchoSettings, LogLevel, SystemColor, LogWriterConfig } from './echo
|
|
5
|
-
export { LogSystems } from './log-systems
|
|
6
|
-
export { ECHO, ECHO_PROVIDER, echoFactory } from './echo-provider
|
|
4
|
+
export { Echo, EchoLogger, EchoSystemLogger, EchoConsole, EchoSettings, LogLevel, SystemColor, LogWriterConfig } from './echo';
|
|
5
|
+
export { LogSystems } from './log-systems';
|
|
6
|
+
export { ECHO, ECHO_PROVIDER, echoFactory } from './echo-provider';
|
package/navigation/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './navigation-stack.service
|
|
2
|
-
export * from './back-on-click.directive
|
|
1
|
+
export * from './navigation-stack.service';
|
|
2
|
+
export * from './back-on-click.directive';
|
|
3
3
|
|
package/ng-package.json
ADDED
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orcas-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A collection of reusable Angular utilities and services, with support for Tauri and Capacitor.",
|
|
5
|
-
"main": "index.ts",
|
|
6
|
-
"types": "index.ts",
|
|
7
5
|
"keywords": [
|
|
8
6
|
"angular",
|
|
9
7
|
"tauri",
|
|
@@ -14,9 +12,16 @@
|
|
|
14
12
|
],
|
|
15
13
|
"author": "Racso",
|
|
16
14
|
"license": "MPL-2.0",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "ng-packagr -p ng-package.json"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"directory": "dist"
|
|
20
|
+
},
|
|
17
21
|
"peerDependencies": {
|
|
18
22
|
"@angular/common": "^21.0.0",
|
|
19
23
|
"@angular/core": "^21.0.0",
|
|
24
|
+
"@angular/router": "^21.0.0",
|
|
20
25
|
"@angular/cdk": "^21.0.3",
|
|
21
26
|
"rxjs": "~7.8.0"
|
|
22
27
|
},
|
|
@@ -25,5 +30,11 @@
|
|
|
25
30
|
"@tauri-apps/plugin-fs": "^2.0.0",
|
|
26
31
|
"@capacitor/filesystem": "^6.0.0",
|
|
27
32
|
"@capacitor/preferences": "^6.0.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@angular/compiler": "^21.0.0",
|
|
36
|
+
"@angular/compiler-cli": "^21.0.0",
|
|
37
|
+
"ng-packagr": "^21.0.0",
|
|
38
|
+
"typescript": "~5.9.0"
|
|
28
39
|
}
|
|
29
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injectable, inject } from '@angular/core';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { lastValueFrom } from 'rxjs';
|
|
4
|
-
import { FilesService } from './files
|
|
4
|
+
import { FilesService } from './files';
|
|
5
5
|
|
|
6
6
|
@Injectable()
|
|
7
7
|
export class LocalStorageFilesService extends FilesService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject, Injectable } from '@angular/core';
|
|
2
|
-
import { KeySignals } from './key-signals
|
|
3
|
-
import { FileBoxService } from './file-box.service
|
|
2
|
+
import { KeySignals } from './key-signals';
|
|
3
|
+
import { FileBoxService } from './file-box.service';
|
|
4
4
|
|
|
5
5
|
@Injectable({
|
|
6
6
|
providedIn: 'root'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject, Injectable, Signal } from "@angular/core";
|
|
2
|
-
import { FileBoxService } from "./file-box.service
|
|
3
|
-
import { SettingsSignalsService } from "./settings-signals.service
|
|
2
|
+
import { FileBoxService } from "./file-box.service";
|
|
3
|
+
import { SettingsSignalsService } from "./settings-signals.service";
|
|
4
4
|
|
|
5
5
|
@Injectable({
|
|
6
6
|
providedIn: "root"
|
package/ui/context-menu/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './context-menu.component
|
|
2
|
-
export * from './context-header.component
|
|
3
|
-
export * from './context-button.component
|
|
4
|
-
export * from './context-menu-trigger.directive
|
|
1
|
+
export * from './context-menu.component';
|
|
2
|
+
export * from './context-header.component';
|
|
3
|
+
export * from './context-button.component';
|
|
4
|
+
export * from './context-menu-trigger.directive';
|