@jsonforms/examples 3.2.0-alpha.2 → 3.2.0-alpha.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.
Files changed (73) hide show
  1. package/lib/examples/arrays-with-defaults.d.ts +107 -0
  2. package/lib/index.d.ts +2 -1
  3. package/lib/jsonforms-examples.cjs.js +234 -126
  4. package/lib/jsonforms-examples.cjs.js.map +1 -1
  5. package/lib/jsonforms-examples.esm.js +235 -128
  6. package/lib/jsonforms-examples.esm.js.map +1 -1
  7. package/package.json +4 -4
  8. package/src/examples/arrays-with-defaults.ts +129 -0
  9. package/src/index.ts +2 -0
  10. package/stats.html +28 -28
  11. package/docs/assets/css/main.css +0 -2660
  12. package/docs/assets/images/icons.png +0 -0
  13. package/docs/assets/images/icons@2x.png +0 -0
  14. package/docs/assets/images/widgets.png +0 -0
  15. package/docs/assets/images/widgets@2x.png +0 -0
  16. package/docs/assets/js/main.js +0 -248
  17. package/docs/assets/js/search.js +0 -1
  18. package/docs/index.html +0 -283
  19. package/docs/interfaces/example.ExampleDescription.html +0 -270
  20. package/docs/interfaces/example.StateProps.html +0 -242
  21. package/docs/modules/example.html +0 -125
  22. package/docs/modules/examples_1884.html +0 -336
  23. package/docs/modules/examples_1948.html +0 -252
  24. package/docs/modules/examples_additional_errors.html +0 -148
  25. package/docs/modules/examples_allOf.html +0 -236
  26. package/docs/modules/examples_anyOf.html +0 -316
  27. package/docs/modules/examples_anyOf_oneOf_allOf_resolve.html +0 -217
  28. package/docs/modules/examples_arrays.html +0 -292
  29. package/docs/modules/examples_arraysI18n.html +0 -370
  30. package/docs/modules/examples_arrays_with_custom_element_label.html +0 -234
  31. package/docs/modules/examples_arrays_with_detail.html +0 -301
  32. package/docs/modules/examples_arrays_with_detail_and_rule.html +0 -309
  33. package/docs/modules/examples_arrays_with_sorting.html +0 -287
  34. package/docs/modules/examples_categorization.html +0 -467
  35. package/docs/modules/examples_categorization_stepper.html +0 -362
  36. package/docs/modules/examples_categorization_stepper_nav_buttons.html +0 -365
  37. package/docs/modules/examples_conditional_schema_compositions.html +0 -200
  38. package/docs/modules/examples_config.html +0 -222
  39. package/docs/modules/examples_control_options.html +0 -472
  40. package/docs/modules/examples_dates.html +0 -320
  41. package/docs/modules/examples_default.html +0 -292
  42. package/docs/modules/examples_enum.html +0 -277
  43. package/docs/modules/examples_enumInArray.html +0 -216
  44. package/docs/modules/examples_enum_multi.html +0 -238
  45. package/docs/modules/examples_generate.html +0 -187
  46. package/docs/modules/examples_generateUI.html +0 -247
  47. package/docs/modules/examples_generate_dynamic.html +0 -134
  48. package/docs/modules/examples_huge.html +0 -134
  49. package/docs/modules/examples_i18n.html +0 -357
  50. package/docs/modules/examples_if_then_else.html +0 -225
  51. package/docs/modules/examples_layout.html +0 -410
  52. package/docs/modules/examples_list_with_detail.html +0 -405
  53. package/docs/modules/examples_list_with_detail_primitives.html +0 -300
  54. package/docs/modules/examples_list_with_detail_registered.html +0 -290
  55. package/docs/modules/examples_nestedArrays.html +0 -145
  56. package/docs/modules/examples_nestedCategorization.html +0 -278
  57. package/docs/modules/examples_numbers.html +0 -224
  58. package/docs/modules/examples_object.html +0 -272
  59. package/docs/modules/examples_onChange.html +0 -276
  60. package/docs/modules/examples_oneOf.html +0 -277
  61. package/docs/modules/examples_oneOfArray.html +0 -276
  62. package/docs/modules/examples_oneOf_recursive.html +0 -271
  63. package/docs/modules/examples_person.html +0 -403
  64. package/docs/modules/examples_radioGroup.html +0 -213
  65. package/docs/modules/examples_readonly.html +0 -227
  66. package/docs/modules/examples_rule.html +0 -246
  67. package/docs/modules/examples_ruleInheritance.html +0 -229
  68. package/docs/modules/examples_scope.html +0 -280
  69. package/docs/modules/examples_stringArray.html +0 -213
  70. package/docs/modules/examples_text.html +0 -233
  71. package/docs/modules/index.html +0 -597
  72. package/docs/modules/register.html +0 -168
  73. package/docs/modules.html +0 -314
@@ -0,0 +1,107 @@
1
+ export declare const schema: {
2
+ definitions: {
3
+ itemsType: {
4
+ type: string;
5
+ properties: {
6
+ name: {
7
+ type: string;
8
+ default: string;
9
+ };
10
+ name_noDefault: {
11
+ type: string;
12
+ };
13
+ description: {
14
+ type: string;
15
+ default: string;
16
+ };
17
+ done: {
18
+ type: string;
19
+ default: boolean;
20
+ };
21
+ rating: {
22
+ type: string;
23
+ default: number;
24
+ };
25
+ cost: {
26
+ type: string;
27
+ default: number;
28
+ };
29
+ date: {
30
+ type: string;
31
+ format: string;
32
+ default: string;
33
+ };
34
+ };
35
+ };
36
+ stringDef: {
37
+ type: string;
38
+ default: string;
39
+ };
40
+ numberDef: {
41
+ type: string;
42
+ default: number;
43
+ };
44
+ intDef: {
45
+ type: string;
46
+ default: number;
47
+ };
48
+ boolDef: {
49
+ type: string;
50
+ default: boolean;
51
+ };
52
+ arrayDef: {
53
+ type: string;
54
+ default: string[];
55
+ };
56
+ };
57
+ type: string;
58
+ properties: {
59
+ objectArray: {
60
+ type: string;
61
+ items: {
62
+ $ref: string;
63
+ };
64
+ };
65
+ stringArray: {
66
+ type: string;
67
+ items: {
68
+ type: string;
69
+ default: string;
70
+ };
71
+ };
72
+ objectArrayWithPropertyRefs: {
73
+ type: string;
74
+ items: {
75
+ type: string;
76
+ properties: {
77
+ string1: {
78
+ $ref: string;
79
+ };
80
+ string2: {
81
+ type: string;
82
+ };
83
+ number: {
84
+ $ref: string;
85
+ };
86
+ int: {
87
+ $ref: string;
88
+ };
89
+ bool: {
90
+ $ref: string;
91
+ };
92
+ array: {
93
+ $ref: string;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ };
99
+ };
100
+ export declare const uischema: {
101
+ type: string;
102
+ elements: {
103
+ type: string;
104
+ scope: string;
105
+ }[];
106
+ };
107
+ export declare const data: {};
package/lib/index.d.ts CHANGED
@@ -11,6 +11,7 @@ import * as arrayWithDetail from './examples/arrays-with-detail';
11
11
  import * as arrayWithDetailAndRule from './examples/arrays-with-detail-and-rule';
12
12
  import * as arrayWithCustomChildLabel from './examples/arrays-with-custom-element-label';
13
13
  import * as arrayWithSorting from './examples/arrays-with-sorting';
14
+ import * as arrayWithDefaults from './examples/arrays-with-defaults';
14
15
  import * as stringArray from './examples/stringArray';
15
16
  import * as categorization from './examples/categorization';
16
17
  import * as stepper from './examples/categorization-stepper';
@@ -49,4 +50,4 @@ import * as additionalErrors from './examples/additional-errors';
49
50
  export * from './register';
50
51
  export * from './example';
51
52
  import * as ifThenElse from './examples/if_then_else';
52
- export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, };
53
+ export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, arrayWithDefaults, };