@chobantonov/jsonforms-extended-spec 0.4.0 → 1.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.
@@ -2676,5 +2676,248 @@
2676
2676
  },
2677
2677
  "valid": false,
2678
2678
  "section": "9.4a"
2679
+ },
2680
+ {
2681
+ "id": "group-slotted-layout-common",
2682
+ "schema": "jsonforms-uischema.schema.json",
2683
+ "value": {
2684
+ "type": "Group",
2685
+ "elements": [
2686
+ {
2687
+ "type": "VerticalLayout",
2688
+ "slot": "header",
2689
+ "elements": [
2690
+ {
2691
+ "type": "Label",
2692
+ "text": "Heading"
2693
+ }
2694
+ ]
2695
+ },
2696
+ {
2697
+ "type": "Control",
2698
+ "scope": "#/properties/name"
2699
+ },
2700
+ {
2701
+ "type": "Label",
2702
+ "slot": "footer",
2703
+ "text": "Summary"
2704
+ }
2705
+ ]
2706
+ },
2707
+ "valid": true,
2708
+ "section": "8.1"
2709
+ },
2710
+ {
2711
+ "id": "group-unknown-slot-common",
2712
+ "schema": "jsonforms-uischema.schema.json",
2713
+ "value": {
2714
+ "type": "Group",
2715
+ "elements": [
2716
+ {
2717
+ "type": "Label",
2718
+ "slot": "bottom",
2719
+ "text": "Unknown"
2720
+ }
2721
+ ]
2722
+ },
2723
+ "valid": true,
2724
+ "section": "8.1"
2725
+ },
2726
+ {
2727
+ "id": "group-nonstring-slot-common",
2728
+ "schema": "jsonforms-uischema.schema.json",
2729
+ "value": {
2730
+ "type": "Group",
2731
+ "elements": [
2732
+ {
2733
+ "type": "Label",
2734
+ "slot": false
2735
+ }
2736
+ ]
2737
+ },
2738
+ "valid": false,
2739
+ "section": "8.1"
2740
+ },
2741
+ {
2742
+ "id": "group-invalid-slot-content-common",
2743
+ "schema": "jsonforms-uischema.schema.json",
2744
+ "value": {
2745
+ "type": "Group",
2746
+ "elements": [
2747
+ {
2748
+ "type": "VerticalLayout",
2749
+ "slot": "header",
2750
+ "elements": [
2751
+ {
2752
+ "type": "Control",
2753
+ "scope": 42
2754
+ }
2755
+ ]
2756
+ }
2757
+ ]
2758
+ },
2759
+ "valid": false,
2760
+ "section": "8.1"
2761
+ },
2762
+ {
2763
+ "id": "slot-empty-common",
2764
+ "schema": "jsonforms-uischema.schema.json",
2765
+ "value": {
2766
+ "type": "Label",
2767
+ "slot": ""
2768
+ },
2769
+ "valid": false,
2770
+ "section": "8.1"
2771
+ },
2772
+ {
2773
+ "id": "group-slotted-layout-extended",
2774
+ "schema": "jsonforms-extended-uischema.schema.json",
2775
+ "value": {
2776
+ "type": "Group",
2777
+ "elements": [
2778
+ {
2779
+ "type": "VerticalLayout",
2780
+ "slot": "header",
2781
+ "elements": [
2782
+ {
2783
+ "type": "Label",
2784
+ "text": "Heading"
2785
+ }
2786
+ ]
2787
+ },
2788
+ {
2789
+ "type": "Control",
2790
+ "scope": "#/properties/name"
2791
+ },
2792
+ {
2793
+ "type": "Label",
2794
+ "slot": "footer",
2795
+ "text": "Summary"
2796
+ }
2797
+ ]
2798
+ },
2799
+ "valid": true,
2800
+ "section": "8.1"
2801
+ },
2802
+ {
2803
+ "id": "group-unknown-slot-extended",
2804
+ "schema": "jsonforms-extended-uischema.schema.json",
2805
+ "value": {
2806
+ "type": "Group",
2807
+ "elements": [
2808
+ {
2809
+ "type": "Label",
2810
+ "slot": "bottom",
2811
+ "text": "Unknown"
2812
+ }
2813
+ ]
2814
+ },
2815
+ "valid": true,
2816
+ "section": "8.1"
2817
+ },
2818
+ {
2819
+ "id": "group-nonstring-slot-extended",
2820
+ "schema": "jsonforms-extended-uischema.schema.json",
2821
+ "value": {
2822
+ "type": "Group",
2823
+ "elements": [
2824
+ {
2825
+ "type": "Label",
2826
+ "slot": false
2827
+ }
2828
+ ]
2829
+ },
2830
+ "valid": false,
2831
+ "section": "8.1"
2832
+ },
2833
+ {
2834
+ "id": "group-invalid-slot-content-extended",
2835
+ "schema": "jsonforms-extended-uischema.schema.json",
2836
+ "value": {
2837
+ "type": "Group",
2838
+ "elements": [
2839
+ {
2840
+ "type": "VerticalLayout",
2841
+ "slot": "header",
2842
+ "elements": [
2843
+ {
2844
+ "type": "Control",
2845
+ "scope": 42
2846
+ }
2847
+ ]
2848
+ }
2849
+ ]
2850
+ },
2851
+ "valid": false,
2852
+ "section": "8.1"
2853
+ },
2854
+ {
2855
+ "id": "slot-empty-extended",
2856
+ "schema": "jsonforms-extended-uischema.schema.json",
2857
+ "value": {
2858
+ "type": "Label",
2859
+ "slot": ""
2860
+ },
2861
+ "valid": false,
2862
+ "section": "8.1"
2863
+ },
2864
+ {
2865
+ "id": "group-template-name-independent-of-slot",
2866
+ "schema": "jsonforms-extended-uischema.schema.json",
2867
+ "value": {
2868
+ "type": "Group",
2869
+ "elements": [
2870
+ {
2871
+ "type": "Template",
2872
+ "name": "partner-summary",
2873
+ "slot": "header",
2874
+ "elements": []
2875
+ }
2876
+ ]
2877
+ },
2878
+ "valid": true,
2879
+ "section": "8.1"
2880
+ },
2881
+ {
2882
+ "id": "group-duplicate-slot-common",
2883
+ "schema": "jsonforms-uischema.schema.json",
2884
+ "section": "8.1",
2885
+ "value": {
2886
+ "type": "Group",
2887
+ "elements": [
2888
+ {
2889
+ "type": "Label",
2890
+ "slot": "header",
2891
+ "text": "First"
2892
+ },
2893
+ {
2894
+ "type": "Label",
2895
+ "slot": "header",
2896
+ "text": "Body fallback"
2897
+ }
2898
+ ]
2899
+ },
2900
+ "valid": true
2901
+ },
2902
+ {
2903
+ "id": "group-duplicate-slot-extended",
2904
+ "schema": "jsonforms-extended-uischema.schema.json",
2905
+ "section": "8.1",
2906
+ "value": {
2907
+ "type": "Group",
2908
+ "elements": [
2909
+ {
2910
+ "type": "Label",
2911
+ "slot": "header",
2912
+ "text": "First"
2913
+ },
2914
+ {
2915
+ "type": "Label",
2916
+ "slot": "header",
2917
+ "text": "Body fallback"
2918
+ }
2919
+ ]
2920
+ },
2921
+ "valid": true
2679
2922
  }
2680
2923
  ]