@wawjs/ngx-bos 22.0.0 → 22.0.1
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/AGENTS.md +23 -23
- package/README.md +105 -105
- package/RELEASES.md +19 -19
- package/ai/architecture.md +40 -40
- package/ai/code-style.md +33 -33
- package/ai/decisions/2026-06-02-browser-only-bos-spa.md +16 -16
- package/ai/decisions/2026-06-02-package-boundary.md +22 -22
- package/ai/decisions/2026-06-02-version-start.md +12 -12
- package/ai/decisions/index.md +7 -7
- package/ai/onboarding.md +19 -19
- package/ai/task-execution.md +35 -35
- package/ai/tooling.md +33 -33
- package/fesm2022/wawjs-ngx-bos.mjs +2 -2
- package/fesm2022/wawjs-ngx-bos.mjs.map +1 -1
- package/package.json +1 -1
- package/src/feature/file/file.component.ts +220 -220
- package/src/feature/file/file.interface.ts +12 -12
- package/src/feature/file/file.service.ts +34 -34
- package/src/feature/file/pages/files/files.component.html +2 -2
- package/src/feature/file/pages/files/files.component.ts +117 -117
- package/src/feature/file/pages/files/files.routes.ts +9 -9
- package/src/feature/file/selectors/file/file-selector.component.ts +27 -27
- package/src/feature/user/guards/admins.guard.ts +22 -22
- package/src/feature/user/guards/authenticated.guard.ts +14 -14
- package/src/feature/user/guards/guest.guard.ts +14 -14
- package/src/feature/user/pages/clients/clients.component.ts +45 -45
- package/src/feature/user/pages/clients/clients.routes.ts +1 -1
- package/src/feature/user/pages/users/users.component.ts +57 -57
- package/src/feature/user/pages/users/users.routes.ts +1 -1
- package/src/feature/user/selectors/user/user-selector.component.ts +17 -17
- package/src/feature/user/user.const.ts +3 -3
- package/src/feature/user/user.form.ts +54 -54
- package/src/feature/user/user.interface.ts +12 -12
- package/src/feature/user/user.service.ts +176 -176
- package/src/form-components/ace/ace.component.ts +210 -210
- package/src/form-components/button/button.component.ts +31 -31
- package/src/form-components/file/file.component.ts +91 -91
- package/src/form-components/form-bridge.interface.ts +27 -27
- package/src/form-components/index.ts +85 -85
- package/src/form-components/input/input.component.ts +31 -31
- package/src/form-components/select/select.component.ts +31 -31
- package/src/form-components/tinymce/tinymce.component.ts +221 -221
- package/src/ngx-bos.config.ts +55 -55
- package/src/pages/form/form.component.ts +86 -86
- package/src/pages/form/form.routes.ts +1 -1
- package/src/pages/forms/forms.component.ts +15 -15
- package/src/pages/forms/forms.routes.ts +1 -1
- package/src/pipes/phone.pipe.ts +17 -17
- package/src/public-api.ts +36 -36
package/ai/task-execution.md
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# Task Execution
|
|
2
|
-
|
|
3
|
-
## Before Editing
|
|
4
|
-
|
|
5
|
-
Inspect the relevant local context:
|
|
6
|
-
|
|
7
|
-
- `src/app/app.routes.ts`
|
|
8
|
-
- reusable route guards under `projects/ngx-bos/src/feature/user/guards`
|
|
9
|
-
- layouts under `src/app/layouts`
|
|
10
|
-
- affected pages/modules/libs
|
|
11
|
-
- `src/app/app.formcomponents.ts` for dynamic forms
|
|
12
|
-
- `src/environments/*`
|
|
13
|
-
- `src/app/wawjs.config.ts`
|
|
14
|
-
- package guidance under `projects/ngx-bos/ai/` in the source workspace
|
|
15
|
-
|
|
16
|
-
For structural package work, also read root `documentation/codex-structure-work.md`.
|
|
17
|
-
|
|
18
|
-
## During Editing
|
|
19
|
-
|
|
20
|
-
- keep app-specific behavior under `src/`
|
|
21
|
-
- keep reusable package behavior under `projects/ngx-bos/`
|
|
22
|
-
- export package APIs from `projects/ngx-bos/src/public-api.ts`
|
|
23
|
-
- keep route, guard, navigation, dashboard, and permission changes connected
|
|
24
|
-
- avoid unrelated refactors
|
|
25
|
-
|
|
26
|
-
## Verification
|
|
27
|
-
|
|
28
|
-
For package-boundary work:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
npm.cmd exec ng build ngx-bos
|
|
32
|
-
npm.cmd run build
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
For app workflow work, run the app build and any focused checks available for the changed area.
|
|
1
|
+
# Task Execution
|
|
2
|
+
|
|
3
|
+
## Before Editing
|
|
4
|
+
|
|
5
|
+
Inspect the relevant local context:
|
|
6
|
+
|
|
7
|
+
- `src/app/app.routes.ts`
|
|
8
|
+
- reusable route guards under `projects/ngx-bos/src/feature/user/guards`
|
|
9
|
+
- layouts under `src/app/layouts`
|
|
10
|
+
- affected pages/modules/libs
|
|
11
|
+
- `src/app/app.formcomponents.ts` for dynamic forms
|
|
12
|
+
- `src/environments/*`
|
|
13
|
+
- `src/app/wawjs.config.ts`
|
|
14
|
+
- package guidance under `projects/ngx-bos/ai/` in the source workspace
|
|
15
|
+
|
|
16
|
+
For structural package work, also read root `documentation/codex-structure-work.md`.
|
|
17
|
+
|
|
18
|
+
## During Editing
|
|
19
|
+
|
|
20
|
+
- keep app-specific behavior under `src/`
|
|
21
|
+
- keep reusable package behavior under `projects/ngx-bos/`
|
|
22
|
+
- export package APIs from `projects/ngx-bos/src/public-api.ts`
|
|
23
|
+
- keep route, guard, navigation, dashboard, and permission changes connected
|
|
24
|
+
- avoid unrelated refactors
|
|
25
|
+
|
|
26
|
+
## Verification
|
|
27
|
+
|
|
28
|
+
For package-boundary work:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npm.cmd exec ng build ngx-bos
|
|
32
|
+
npm.cmd run build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
For app workflow work, run the app build and any focused checks available for the changed area.
|
package/ai/tooling.md
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# Tooling
|
|
2
|
-
|
|
3
|
-
## Build
|
|
4
|
-
|
|
5
|
-
Build the reusable package:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm.cmd exec ng build ngx-bos
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Build the SPA app:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm.cmd run build
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Search
|
|
18
|
-
|
|
19
|
-
Prefer `rg` for source inspection:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
rg --files src projects/ngx-bos
|
|
23
|
-
rg "from ['\\\"]@wawjs/ngx-bos" src projects/ngx-bos
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Package Checks
|
|
27
|
-
|
|
28
|
-
After building the package, inspect package contents before publishing:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
cd dist/ngx-bos
|
|
32
|
-
npm pack --dry-run --json
|
|
33
|
-
```
|
|
1
|
+
# Tooling
|
|
2
|
+
|
|
3
|
+
## Build
|
|
4
|
+
|
|
5
|
+
Build the reusable package:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm.cmd exec ng build ngx-bos
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Build the SPA app:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm.cmd run build
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Search
|
|
18
|
+
|
|
19
|
+
Prefer `rg` for source inspection:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
rg --files src projects/ngx-bos
|
|
23
|
+
rg "from ['\\\"]@wawjs/ngx-bos" src projects/ngx-bos
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Package Checks
|
|
27
|
+
|
|
28
|
+
After building the package, inspect package contents before publishing:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
cd dist/ngx-bos
|
|
32
|
+
npm pack --dry-run --json
|
|
33
|
+
```
|
|
@@ -439,11 +439,11 @@ class FilesComponent {
|
|
|
439
439
|
delete file.__created;
|
|
440
440
|
}
|
|
441
441
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: FilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
442
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.2", type: FilesComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\n\t</ng-template>\r\n</wtable>\r\n", dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
442
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.2", type: FilesComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\r\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\r\n\t</ng-template>\r\n</wtable>\r\n", dependencies: [{ kind: "component", type: TableComponent, selector: "wtable", inputs: ["bindValue", "rows", "config", "columns", "value", "title"], outputs: ["columnsChange", "onSearch"] }] }); }
|
|
443
443
|
}
|
|
444
444
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: FilesComponent, decorators: [{
|
|
445
445
|
type: Component,
|
|
446
|
-
args: [{ imports: [TableComponent], template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\n\t</ng-template>\r\n</wtable>\r\n" }]
|
|
446
|
+
args: [{ imports: [TableComponent], template: "<wtable title=\"Files\" [columns]=\"columns\" [config]=\"config\" [rows]=\"rows\">\r\n\t<ng-template cell=\"img\" let-element>\r\n\t\t<img\r\n\t\t\t[src]=\"element.url || ''\"\r\n\t\t\t(click)=\"copy(element.url)\"\r\n\t\t\tstyle=\"height: 100px\"\r\n\t\t/>\r\n\t</ng-template>\r\n\t<ng-template cell=\"url\" let-element>\r\n\t\t<span (click)=\"copy(element.url || '')\">{{ element.url }}</span>\r\n\t</ng-template>\r\n</wtable>\r\n" }]
|
|
447
447
|
}], ctorParameters: () => [] });
|
|
448
448
|
|
|
449
449
|
var files_component = /*#__PURE__*/Object.freeze({
|