@ng-formworks/core 16.3.0 → 17.3.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.
Files changed (113) hide show
  1. package/esm2022/lib/framework-library/framework-library.service.mjs +174 -174
  2. package/esm2022/lib/framework-library/framework.mjs +14 -14
  3. package/esm2022/lib/framework-library/no-framework.component.mjs +17 -17
  4. package/esm2022/lib/framework-library/no-framework.module.mjs +26 -26
  5. package/esm2022/lib/framework-library/no.framework.mjs +18 -18
  6. package/esm2022/lib/json-schema-form.component.mjs +765 -765
  7. package/esm2022/lib/json-schema-form.module.mjs +25 -25
  8. package/esm2022/lib/json-schema-form.service.mjs +675 -675
  9. package/esm2022/lib/locale/de-validation-messages.mjs +59 -59
  10. package/esm2022/lib/locale/en-validation-messages.mjs +59 -59
  11. package/esm2022/lib/locale/es-validation-messages.mjs +56 -56
  12. package/esm2022/lib/locale/fr-validation-messages.mjs +59 -59
  13. package/esm2022/lib/locale/index.mjs +7 -7
  14. package/esm2022/lib/locale/it-validation-messages.mjs +59 -59
  15. package/esm2022/lib/locale/pt-validation-messages.mjs +59 -59
  16. package/esm2022/lib/locale/zh-validation-messages.mjs +59 -59
  17. package/esm2022/lib/shared/convert-schema-to-draft6.function.mjs +299 -299
  18. package/esm2022/lib/shared/form-group.functions.mjs +441 -441
  19. package/esm2022/lib/shared/format-regex.constants.mjs +53 -53
  20. package/esm2022/lib/shared/index.mjs +11 -11
  21. package/esm2022/lib/shared/json-schema.functions.mjs +783 -783
  22. package/esm2022/lib/shared/json.validators.mjs +883 -883
  23. package/esm2022/lib/shared/jsonpointer.functions.mjs +1025 -1025
  24. package/esm2022/lib/shared/layout.functions.mjs +1153 -1153
  25. package/esm2022/lib/shared/merge-schemas.function.mjs +344 -344
  26. package/esm2022/lib/shared/utility.functions.mjs +379 -379
  27. package/esm2022/lib/shared/validator.functions.mjs +583 -583
  28. package/esm2022/lib/widget-library/add-reference.component.mjs +48 -48
  29. package/esm2022/lib/widget-library/button.component.mjs +41 -41
  30. package/esm2022/lib/widget-library/checkbox.component.mjs +46 -46
  31. package/esm2022/lib/widget-library/checkboxes.component.mjs +52 -52
  32. package/esm2022/lib/widget-library/file.component.mjs +35 -35
  33. package/esm2022/lib/widget-library/hidden.component.mjs +33 -33
  34. package/esm2022/lib/widget-library/index.mjs +54 -54
  35. package/esm2022/lib/widget-library/input.component.mjs +38 -38
  36. package/esm2022/lib/widget-library/message.component.mjs +33 -33
  37. package/esm2022/lib/widget-library/none.component.mjs +20 -20
  38. package/esm2022/lib/widget-library/number.component.mjs +44 -44
  39. package/esm2022/lib/widget-library/one-of.component.mjs +35 -35
  40. package/esm2022/lib/widget-library/orderable.directive.mjs +123 -123
  41. package/esm2022/lib/widget-library/radios.component.mjs +44 -44
  42. package/esm2022/lib/widget-library/root.component.mjs +44 -44
  43. package/esm2022/lib/widget-library/section.component.mjs +78 -78
  44. package/esm2022/lib/widget-library/select-framework.component.mjs +51 -51
  45. package/esm2022/lib/widget-library/select-widget.component.mjs +46 -46
  46. package/esm2022/lib/widget-library/select.component.mjs +41 -41
  47. package/esm2022/lib/widget-library/submit.component.mjs +55 -55
  48. package/esm2022/lib/widget-library/tab.component.mjs +30 -30
  49. package/esm2022/lib/widget-library/tabs.component.mjs +53 -53
  50. package/esm2022/lib/widget-library/template.component.mjs +46 -46
  51. package/esm2022/lib/widget-library/textarea.component.mjs +37 -37
  52. package/esm2022/lib/widget-library/widget-library.module.mjs +41 -41
  53. package/esm2022/lib/widget-library/widget-library.service.mjs +225 -225
  54. package/esm2022/ng-formworks-core.mjs +4 -4
  55. package/esm2022/public_api.mjs +12 -12
  56. package/fesm2022/ng-formworks-core.mjs +9103 -9103
  57. package/fesm2022/ng-formworks-core.mjs.map +1 -1
  58. package/index.d.ts +5 -5
  59. package/lib/framework-library/framework-library.service.d.ts +55 -55
  60. package/lib/framework-library/framework.d.ts +13 -13
  61. package/lib/framework-library/no-framework.component.d.ts +8 -8
  62. package/lib/framework-library/no-framework.module.d.ts +9 -9
  63. package/lib/framework-library/no.framework.d.ts +10 -10
  64. package/lib/json-schema-form.component.d.ts +218 -218
  65. package/lib/json-schema-form.module.d.ts +11 -11
  66. package/lib/json-schema-form.service.d.ts +115 -115
  67. package/lib/locale/de-validation-messages.d.ts +1 -1
  68. package/lib/locale/en-validation-messages.d.ts +1 -1
  69. package/lib/locale/es-validation-messages.d.ts +1 -1
  70. package/lib/locale/fr-validation-messages.d.ts +1 -1
  71. package/lib/locale/index.d.ts +7 -7
  72. package/lib/locale/it-validation-messages.d.ts +1 -1
  73. package/lib/locale/pt-validation-messages.d.ts +1 -1
  74. package/lib/locale/zh-validation-messages.d.ts +1 -1
  75. package/lib/shared/convert-schema-to-draft6.function.d.ts +21 -21
  76. package/lib/shared/form-group.functions.d.ts +100 -100
  77. package/lib/shared/format-regex.constants.d.ts +19 -19
  78. package/lib/shared/index.d.ts +9 -9
  79. package/lib/shared/json-schema.functions.d.ts +193 -193
  80. package/lib/shared/json.validators.d.ts +441 -441
  81. package/lib/shared/jsonpointer.functions.d.ts +416 -416
  82. package/lib/shared/layout.functions.d.ts +83 -83
  83. package/lib/shared/merge-schemas.function.d.ts +19 -19
  84. package/lib/shared/utility.functions.d.ts +165 -165
  85. package/lib/shared/validator.functions.d.ts +364 -364
  86. package/lib/widget-library/add-reference.component.d.ts +20 -20
  87. package/lib/widget-library/button.component.d.ts +21 -21
  88. package/lib/widget-library/checkbox.component.d.ts +24 -24
  89. package/lib/widget-library/checkboxes.component.d.ts +24 -24
  90. package/lib/widget-library/file.component.d.ts +21 -21
  91. package/lib/widget-library/hidden.component.d.ts +19 -19
  92. package/lib/widget-library/index.d.ts +47 -47
  93. package/lib/widget-library/input.component.d.ts +22 -22
  94. package/lib/widget-library/message.component.d.ts +15 -15
  95. package/lib/widget-library/none.component.d.ts +8 -8
  96. package/lib/widget-library/number.component.d.ts +25 -25
  97. package/lib/widget-library/one-of.component.d.ts +21 -21
  98. package/lib/widget-library/orderable.directive.d.ts +41 -41
  99. package/lib/widget-library/radios.component.d.ts +23 -23
  100. package/lib/widget-library/root.component.d.ts +17 -17
  101. package/lib/widget-library/section.component.d.ts +19 -19
  102. package/lib/widget-library/select-framework.component.d.ts +18 -18
  103. package/lib/widget-library/select-widget.component.d.ts +18 -18
  104. package/lib/widget-library/select.component.d.ts +24 -24
  105. package/lib/widget-library/submit.component.d.ts +24 -24
  106. package/lib/widget-library/tab.component.d.ts +14 -14
  107. package/lib/widget-library/tabs.component.d.ts +20 -20
  108. package/lib/widget-library/template.component.d.ts +18 -18
  109. package/lib/widget-library/textarea.component.d.ts +21 -21
  110. package/lib/widget-library/widget-library.module.d.ts +31 -31
  111. package/lib/widget-library/widget-library.service.d.ts +22 -22
  112. package/package.json +5 -5
  113. package/public_api.d.ts +9 -9
@@ -1,22 +1,22 @@
1
- import * as i0 from "@angular/core";
2
- export declare class WidgetLibraryService {
3
- defaultWidget: string;
4
- widgetLibrary: any;
5
- registeredWidgets: any;
6
- frameworkWidgets: any;
7
- activeWidgets: any;
8
- constructor();
9
- setActiveWidgets(): boolean;
10
- setDefaultWidget(type: string): boolean;
11
- hasWidget(type: string, widgetSet?: string): boolean;
12
- hasDefaultWidget(type: string): boolean;
13
- registerWidget(type: string, widget: any): boolean;
14
- unRegisterWidget(type: string): boolean;
15
- unRegisterAllWidgets(unRegisterFrameworkWidgets?: boolean): boolean;
16
- registerFrameworkWidgets(widgets: any): boolean;
17
- unRegisterFrameworkWidgets(): boolean;
18
- getWidget(type?: string, widgetSet?: string): any;
19
- getAllWidgets(): any;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetLibraryService>;
22
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class WidgetLibraryService {
3
+ defaultWidget: string;
4
+ widgetLibrary: any;
5
+ registeredWidgets: any;
6
+ frameworkWidgets: any;
7
+ activeWidgets: any;
8
+ constructor();
9
+ setActiveWidgets(): boolean;
10
+ setDefaultWidget(type: string): boolean;
11
+ hasWidget(type: string, widgetSet?: string): boolean;
12
+ hasDefaultWidget(type: string): boolean;
13
+ registerWidget(type: string, widget: any): boolean;
14
+ unRegisterWidget(type: string): boolean;
15
+ unRegisterAllWidgets(unRegisterFrameworkWidgets?: boolean): boolean;
16
+ registerFrameworkWidgets(widgets: any): boolean;
17
+ unRegisterFrameworkWidgets(): boolean;
18
+ getWidget(type?: string, widgetSet?: string): any;
19
+ getAllWidgets(): any;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<WidgetLibraryService>;
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-formworks/core",
3
- "version": "16.3.0",
3
+ "version": "17.3.0",
4
4
  "description": "Angular ng-formworks - JSON Schema Form builder core",
5
5
  "author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
6
6
  "keywords": [
@@ -42,10 +42,10 @@
42
42
  "tslib": "^2.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@angular/common": ">=16.0.0",
46
- "@angular/core": ">=16.0.0",
47
- "@angular/forms": ">=16.0.0",
48
- "@angular/platform-browser": ">=16.0.0",
45
+ "@angular/common": ">=17.0.0",
46
+ "@angular/core": ">=17.0.0",
47
+ "@angular/forms": ">=17.0.0",
48
+ "@angular/platform-browser": ">=17.0.0",
49
49
  "rxjs": "^7.0.0"
50
50
  },
51
51
  "module": "fesm2022/ng-formworks-core.mjs",
package/public_api.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- export { JsonSchemaFormModule } from './lib/json-schema-form.module';
2
- export { TitleMapItem, ErrorMessages, JsonSchemaFormService } from './lib/json-schema-form.service';
3
- export { JsonSchemaFormComponent } from './lib/json-schema-form.component';
4
- export { Framework } from './lib/framework-library/framework';
5
- export { FrameworkLibraryService } from './lib/framework-library/framework-library.service';
6
- export { deValidationMessages, enValidationMessages, esValidationMessages, frValidationMessages, itValidationMessages, ptValidationMessages, zhValidationMessages } from './lib/locale';
7
- export * from './lib/widget-library';
8
- export * from './lib/widget-library/widget-library.module';
9
- export * from './lib/shared';
1
+ export { JsonSchemaFormModule } from './lib/json-schema-form.module';
2
+ export { TitleMapItem, ErrorMessages, JsonSchemaFormService } from './lib/json-schema-form.service';
3
+ export { JsonSchemaFormComponent } from './lib/json-schema-form.component';
4
+ export { Framework } from './lib/framework-library/framework';
5
+ export { FrameworkLibraryService } from './lib/framework-library/framework-library.service';
6
+ export { deValidationMessages, enValidationMessages, esValidationMessages, frValidationMessages, itValidationMessages, ptValidationMessages, zhValidationMessages } from './lib/locale';
7
+ export * from './lib/widget-library';
8
+ export * from './lib/widget-library/widget-library.module';
9
+ export * from './lib/shared';