@bcweed/dynamic-form-lib 0.0.2 → 0.0.3

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.
Files changed (66) hide show
  1. package/README.md +19 -15
  2. package/fesm2022/bcweed-dynamic-form-lib.mjs +938 -0
  3. package/fesm2022/bcweed-dynamic-form-lib.mjs.map +1 -0
  4. package/index.d.ts +254 -0
  5. package/package.json +37 -65
  6. package/.editorconfig +0 -17
  7. package/.postcssrc.json +0 -5
  8. package/.vscode/extensions.json +0 -4
  9. package/.vscode/launch.json +0 -20
  10. package/.vscode/tasks.json +0 -42
  11. package/AngularDynamicFormLibrary.esproj +0 -13
  12. package/CHANGELOG.md +0 -16
  13. package/angular.json +0 -169
  14. package/aspnetcore-https.js +0 -37
  15. package/karma.conf.js +0 -44
  16. package/obj/Debug/AngularDynamicFormLibrary.esproj.CoreCompileInputs.cache +0 -0
  17. package/obj/Debug/AngularDynamicFormLibrary.esproj.FileListAbsolute.txt +0 -1
  18. package/obj/Debug/package.g.props +0 -56
  19. package/postcss.config.js +0 -6
  20. package/projects/dynamic-form-lib/.postcssrc.json +0 -5
  21. package/projects/dynamic-form-lib/README.md +0 -63
  22. package/projects/dynamic-form-lib/ng-package.json +0 -10
  23. package/projects/dynamic-form-lib/package.json +0 -27
  24. package/projects/dynamic-form-lib/src/lib/README.md +0 -424
  25. package/projects/dynamic-form-lib/src/lib/SUMMARY.md +0 -159
  26. package/projects/dynamic-form-lib/src/lib/directives/dynamic-ref-directive.ts +0 -13
  27. package/projects/dynamic-form-lib/src/lib/dynamic-form-demo/dynamic-form-demo.component.html +0 -75
  28. package/projects/dynamic-form-lib/src/lib/dynamic-form-demo/dynamic-form-demo.component.scss +0 -127
  29. package/projects/dynamic-form-lib/src/lib/dynamic-form-demo/dynamic-form-demo.component.ts +0 -50
  30. package/projects/dynamic-form-lib/src/lib/dynamic-form-field/dynamic-form-field.component.html +0 -234
  31. package/projects/dynamic-form-lib/src/lib/dynamic-form-field/dynamic-form-field.component.scss +0 -315
  32. package/projects/dynamic-form-lib/src/lib/dynamic-form-field/dynamic-form-field.component.ts +0 -219
  33. package/projects/dynamic-form-lib/src/lib/dynamic-form.component.html +0 -137
  34. package/projects/dynamic-form-lib/src/lib/dynamic-form.component.scss +0 -141
  35. package/projects/dynamic-form-lib/src/lib/dynamic-form.component.ts +0 -366
  36. package/projects/dynamic-form-lib/src/lib/helpers/component-helper.ts +0 -54
  37. package/projects/dynamic-form-lib/src/lib/index.ts +0 -10
  38. package/projects/dynamic-form-lib/src/lib/models/dynamic-form-interfaces.ts +0 -117
  39. package/projects/dynamic-form-lib/src/lib/services/dynamic-form.service.spec.ts +0 -302
  40. package/projects/dynamic-form-lib/src/lib/services/dynamic-form.service.ts +0 -325
  41. package/projects/dynamic-form-lib/src/lib/style.scss +0 -3
  42. package/projects/dynamic-form-lib/src/lib/tailwind-output.css +0 -0
  43. package/projects/dynamic-form-lib/src/lib/validators/compare-validator.ts +0 -26
  44. package/projects/dynamic-form-lib/src/public-api.css +0 -1
  45. package/projects/dynamic-form-lib/src/public-api.ts +0 -10
  46. package/projects/dynamic-form-lib/tailwind.config.js +0 -10
  47. package/projects/dynamic-form-lib/tsconfig.lib.json +0 -15
  48. package/projects/dynamic-form-lib/tsconfig.lib.prod.json +0 -11
  49. package/projects/dynamic-form-lib/tsconfig.spec.json +0 -15
  50. package/public/favicon.ico +0 -0
  51. package/src/app/app-routing.module.ts +0 -10
  52. package/src/app/app.component.css +0 -0
  53. package/src/app/app.component.html +0 -18
  54. package/src/app/app.component.spec.ts +0 -35
  55. package/src/app/app.component.ts +0 -1038
  56. package/src/app/app.config.ts +0 -45
  57. package/src/app/app.module.ts +0 -46
  58. package/src/app/app.routes.ts +0 -8
  59. package/src/index.html +0 -13
  60. package/src/main.ts +0 -16
  61. package/src/styles.css +0 -2
  62. package/tailwind.config.js +0 -10
  63. package/tsconfig.app.json +0 -15
  64. package/tsconfig.json +0 -32
  65. package/tsconfig.spec.json +0 -15
  66. /package/{projects/dynamic-form-lib/src → src}/lib/style.css +0 -0
@@ -1,45 +0,0 @@
1
- import { ApplicationConfig, ErrorHandler, inject, APP_INITIALIZER, provideZoneChangeDetection } from '@angular/core';
2
- import { provideRouter } from '@angular/router';
3
- import { routes } from './app.routes';
4
- import { HTTP_INTERCEPTORS, provideHttpClient, withFetch, withInterceptors } from '@angular/common/http';
5
- import { providePrimeNG } from 'primeng/config';
6
- import Aura from '@primeng/themes/aura';
7
- import { provideAnimations } from '@angular/platform-browser/animations';
8
- import { Title } from '@angular/platform-browser';
9
- import { DynamicFormService } from 'dynamic-form-lib';
10
-
11
- export const appConfig: ApplicationConfig = {
12
- providers: [
13
- provideAnimations(),
14
- provideZoneChangeDetection({ eventCoalescing: true }),
15
- provideRouter(routes),
16
- provideHttpClient(
17
- withFetch(),
18
- //withInterceptors([authorizationInterceptor, csrfInterceptor])
19
-
20
- ),
21
- providePrimeNG({
22
- inputVariant: 'filled',
23
- // overlayAppendTo: 'body',
24
- ripple: true,
25
- overlayOptions: {
26
- baseZIndex: 10000,
27
- autoZIndex:false
28
- },
29
- theme: {
30
- preset: Aura,
31
- options: {
32
- prefix: 'p',
33
- darkModeSelector: 'system',
34
- cssLayer: {
35
- name: 'primeng',
36
- order: 'theme, base, primeng'
37
- }
38
- }
39
- }
40
- }),
41
- DynamicFormService,
42
-
43
-
44
- ]
45
- };
@@ -1,46 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { BrowserModule } from '@angular/platform-browser';
3
-
4
- import { AppRoutingModule } from './app-routing.module';
5
- import { AppComponent } from './app.component';
6
- import { DynamicFormComponent } from 'dynamic-form-lib';
7
- import { DynamicFormFieldComponent } from 'dynamic-form-lib';
8
- import { DynamicFormService } from 'dynamic-form-lib';
9
- import { DynamicRefDirective } from 'dynamic-form-lib';
10
- import { providePrimeNG } from 'primeng/config';
11
- import Aura from '@primeng/themes/aura';
12
- import { provideAnimations } from '@angular/platform-browser/animations';
13
-
14
- @NgModule({
15
- declarations: [
16
- ],
17
- imports: [
18
- BrowserModule,
19
- AppRoutingModule,
20
- DynamicFormComponent,
21
- DynamicFormFieldComponent,
22
- DynamicRefDirective
23
- ],
24
- exports: [
25
- DynamicFormComponent,
26
- DynamicFormFieldComponent,
27
- DynamicRefDirective
28
- ],
29
- providers: [DynamicFormService,
30
- provideAnimations(),
31
- providePrimeNG({
32
- inputVariant: 'filled',
33
- // overlayAppendTo: 'body',
34
- ripple: true,
35
- theme: {
36
- preset: Aura,
37
- options: {
38
- prefix: 'p',
39
- darkModeSelector: 'system',
40
- cssLayer: false
41
- }
42
- }
43
- }),],
44
- bootstrap: [AppComponent]
45
- })
46
- export class AppModule { }
@@ -1,8 +0,0 @@
1
-
2
- import { NgModule } from '@angular/core';
3
- import { RouterModule, Routes } from '@angular/router';
4
-
5
-
6
- export const routes: Routes = [
7
-
8
- ];
package/src/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>DynamicForms</title>
6
- <base href="/">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
8
- <link rel="icon" type="image/x-icon" href="favicon.ico">
9
- </head>
10
- <body>
11
- <app-root></app-root>
12
- </body>
13
- </html>
package/src/main.ts DELETED
@@ -1,16 +0,0 @@
1
- import { platformBrowser } from '@angular/platform-browser';
2
- import { AppModule } from './app/app.module';
3
- import { bootstrapApplication } from '@angular/platform-browser';
4
-
5
- import { appConfig } from './app/app.config';
6
- import { AppComponent } from './app/app.component';
7
-
8
-
9
- bootstrapApplication(AppComponent, appConfig)
10
- .catch((err) => console.error(err));
11
-
12
-
13
- /*platformBrowser().bootstrapModule(AppModule, {
14
- ngZoneEventCoalescing: true,
15
- })
16
- .catch(err => console.error(err));*/
package/src/styles.css DELETED
@@ -1,2 +0,0 @@
1
- /* You can add global styles to this file, and also import other style files */
2
- @import "primeicons/primeicons.css";
@@ -1,10 +0,0 @@
1
- import PrimeUI from 'tailwindcss-primeui';
2
-
3
- export default {
4
- // ...
5
- content: [
6
- "./projects/dynamic-form-lib/src/**/*.{html,ts}",
7
-
8
- ],
9
- plugins: [PrimeUI]
10
- };
package/tsconfig.app.json DELETED
@@ -1,15 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "./tsconfig.json",
5
- "compilerOptions": {
6
- "outDir": "./out-tsc/app",
7
- "types": []
8
- },
9
- "files": [
10
- "src/main.ts"
11
- ],
12
- "include": [
13
- "src/**/*.d.ts"
14
- ]
15
- }
package/tsconfig.json DELETED
@@ -1,32 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "compileOnSave": false,
5
- "compilerOptions": {
6
- "paths": {
7
- "dynamic-form-lib": [
8
- "./dist/dynamic-form-lib"
9
- ]
10
- },
11
- "outDir": "./dist/out-tsc",
12
- "strict": true,
13
- "noImplicitOverride": true,
14
- "noPropertyAccessFromIndexSignature": true,
15
- "noImplicitReturns": true,
16
- "noFallthroughCasesInSwitch": true,
17
- "skipLibCheck": true,
18
- "isolatedModules": true,
19
- "esModuleInterop": true,
20
- "experimentalDecorators": true,
21
- "moduleResolution": "bundler",
22
- "importHelpers": true,
23
- "target": "ES2022",
24
- "module": "ES2022"
25
- },
26
- "angularCompilerOptions": {
27
- "enableI18nLegacyMessageIdFormat": false,
28
- "strictInjectionParameters": true,
29
- "strictInputAccessModifiers": true,
30
- "strictTemplates": true
31
- }
32
- }
@@ -1,15 +0,0 @@
1
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
2
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
3
- {
4
- "extends": "./tsconfig.json",
5
- "compilerOptions": {
6
- "outDir": "./out-tsc/spec",
7
- "types": [
8
- "jasmine"
9
- ]
10
- },
11
- "include": [
12
- "src/**/*.spec.ts",
13
- "src/**/*.d.ts"
14
- ]
15
- }