platform-core-ng 21.1.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/README.md +73 -0
- package/fesm2022/platform-core-ng.mjs +7139 -0
- package/fesm2022/platform-core-ng.mjs.map +1 -0
- package/package.json +20 -0
- package/styles/base/_breakpoints.scss +1 -0
- package/styles/base/_interaction-mixins.scss +37 -0
- package/styles/base/_tokens.scss +255 -0
- package/styles/base/reset.scss +66 -0
- package/styles/base/scrollbar.scss +22 -0
- package/styles/base/theme.scss +424 -0
- package/styles/base/typography.scss +50 -0
- package/styles/components/index.scss +7 -0
- package/styles/components/mail-client.scss +2165 -0
- package/styles/components/master-detail.scss +137 -0
- package/styles/components/mobile-list-directives.scss +355 -0
- package/styles/control/button.scss +565 -0
- package/styles/control/switch.scss +85 -0
- package/styles/data/table/base.scss +31 -0
- package/styles/data/table/pattern-admin.scss +136 -0
- package/styles/data/table/pattern-screen.scss +36 -0
- package/styles/data/table.scss +3 -0
- package/styles/form/checkbox.scss +97 -0
- package/styles/form/input.scss +201 -0
- package/styles/form/number.scss +17 -0
- package/styles/form/radio.scss +84 -0
- package/styles/form/range.scss +118 -0
- package/styles/form/select.scss +50 -0
- package/styles/form/textarea.scss +65 -0
- package/styles/foundation.scss +16 -0
- package/styles/index.scss +1 -0
- package/styles/profiles/b/index.scss +4 -0
- package/styles/profiles/b/layout.scss +88 -0
- package/styles/profiles/b/theme.scss +44 -0
- package/styles/profiles/screen/index.scss +3 -0
- package/styles/profiles/screen/layout.scss +125 -0
- package/styles/profiles/screen/theme.scss +131 -0
- package/types/platform-core-ng.d.ts +3217 -0
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# PlatformCoreNg ng-平台核心
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.1.1.
|
|
4
|
+
|
|
5
|
+
## Public API ownership
|
|
6
|
+
|
|
7
|
+
The package root keeps a compatibility facade at `src/public-api.ts`, but exports are owned by
|
|
8
|
+
layered barrels:
|
|
9
|
+
|
|
10
|
+
- `src/core`: runtime, auth, HTTP, permission, handlers, and integration tokens.
|
|
11
|
+
- `src/layouts`: shell layouts, layout parts, workspace layout, and layout providers.
|
|
12
|
+
- `src/shared/components`: reusable UI components.
|
|
13
|
+
- `src/shared/overlay`: dialog, drawer, message overlay contracts, and overlay host utilities.
|
|
14
|
+
- `src/shared/directives` and `src/shared/pipes`: shared template helpers.
|
|
15
|
+
|
|
16
|
+
When the source layout is ready to move into package-root entry folders, these layers are the
|
|
17
|
+
migration boundary for secondary entry points.
|
|
18
|
+
|
|
19
|
+
## Development server
|
|
20
|
+
|
|
21
|
+
To start a local development server, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng serve
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
|
|
28
|
+
|
|
29
|
+
## Code scaffolding
|
|
30
|
+
|
|
31
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
ng generate component component-name
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
ng generate --help
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Building
|
|
44
|
+
|
|
45
|
+
To build the project run:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng build
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
|
|
52
|
+
|
|
53
|
+
## Running unit tests
|
|
54
|
+
|
|
55
|
+
To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
ng test
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Running end-to-end tests
|
|
62
|
+
|
|
63
|
+
For end-to-end (e2e) testing, run:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
ng e2e
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
70
|
+
|
|
71
|
+
## Additional Resources
|
|
72
|
+
|
|
73
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|