@next-bricks/form 1.9.16 → 1.9.18
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/dist/bricks.json +11 -11
- package/dist/chunks/9259.a05a1683.js +3 -0
- package/dist/chunks/9259.a05a1683.js.map +1 -0
- package/dist/chunks/eo-dynamic-form-item.9dd48465.js +3 -0
- package/dist/chunks/eo-dynamic-form-item.9dd48465.js.map +1 -0
- package/dist/chunks/eo-time-range-picker.03addb00.js +2 -0
- package/dist/chunks/eo-time-range-picker.03addb00.js.map +1 -0
- package/dist/chunks/{main.0dfcce1d.js → main.85c7a145.js} +2 -2
- package/dist/chunks/{main.0dfcce1d.js.map → main.85c7a145.js.map} +1 -1
- package/dist/examples.json +3 -3
- package/dist/index.7ddd51cc.js +2 -0
- package/dist/{index.012d3809.js.map → index.7ddd51cc.js.map} +1 -1
- package/dist/manifest.json +190 -190
- package/dist/types.json +220 -220
- package/dist-types/time-range-picker/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunks/9259.6adad811.js +0 -3
- package/dist/chunks/9259.6adad811.js.map +0 -1
- package/dist/chunks/eo-dynamic-form-item.95545919.js +0 -3
- package/dist/chunks/eo-dynamic-form-item.95545919.js.map +0 -1
- package/dist/chunks/eo-time-range-picker.b2ca48cf.js +0 -2
- package/dist/chunks/eo-time-range-picker.b2ca48cf.js.map +0 -1
- package/dist/index.012d3809.js +0 -2
- /package/dist/chunks/{9259.6adad811.js.LICENSE.txt → 9259.a05a1683.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-dynamic-form-item.95545919.js.LICENSE.txt → eo-dynamic-form-item.9dd48465.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -2584,226 +2584,6 @@
|
|
|
2584
2584
|
}
|
|
2585
2585
|
]
|
|
2586
2586
|
},
|
|
2587
|
-
"eo-form-item": {
|
|
2588
|
-
"properties": [
|
|
2589
|
-
{
|
|
2590
|
-
"name": "formElement",
|
|
2591
|
-
"annotation": {
|
|
2592
|
-
"type": "reference",
|
|
2593
|
-
"typeName": {
|
|
2594
|
-
"type": "identifier",
|
|
2595
|
-
"name": "Form"
|
|
2596
|
-
}
|
|
2597
|
-
}
|
|
2598
|
-
},
|
|
2599
|
-
{
|
|
2600
|
-
"name": "curElement",
|
|
2601
|
-
"annotation": {
|
|
2602
|
-
"type": "reference",
|
|
2603
|
-
"typeName": {
|
|
2604
|
-
"type": "identifier",
|
|
2605
|
-
"name": "HTMLElement"
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
{
|
|
2610
|
-
"name": "name",
|
|
2611
|
-
"annotation": {
|
|
2612
|
-
"type": "keyword",
|
|
2613
|
-
"value": "string"
|
|
2614
|
-
}
|
|
2615
|
-
},
|
|
2616
|
-
{
|
|
2617
|
-
"name": "label",
|
|
2618
|
-
"annotation": {
|
|
2619
|
-
"type": "keyword",
|
|
2620
|
-
"value": "string"
|
|
2621
|
-
}
|
|
2622
|
-
},
|
|
2623
|
-
{
|
|
2624
|
-
"name": "pattern",
|
|
2625
|
-
"annotation": {
|
|
2626
|
-
"type": "keyword",
|
|
2627
|
-
"value": "string"
|
|
2628
|
-
}
|
|
2629
|
-
},
|
|
2630
|
-
{
|
|
2631
|
-
"name": "message",
|
|
2632
|
-
"annotation": {
|
|
2633
|
-
"type": "reference",
|
|
2634
|
-
"typeName": {
|
|
2635
|
-
"type": "identifier",
|
|
2636
|
-
"name": "Record"
|
|
2637
|
-
},
|
|
2638
|
-
"typeParameters": {
|
|
2639
|
-
"type": "typeParameterInstantiation",
|
|
2640
|
-
"params": [
|
|
2641
|
-
{
|
|
2642
|
-
"type": "keyword",
|
|
2643
|
-
"value": "string"
|
|
2644
|
-
},
|
|
2645
|
-
{
|
|
2646
|
-
"type": "keyword",
|
|
2647
|
-
"value": "string"
|
|
2648
|
-
}
|
|
2649
|
-
]
|
|
2650
|
-
}
|
|
2651
|
-
}
|
|
2652
|
-
},
|
|
2653
|
-
{
|
|
2654
|
-
"name": "max",
|
|
2655
|
-
"annotation": {
|
|
2656
|
-
"type": "keyword",
|
|
2657
|
-
"value": "number"
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
{
|
|
2661
|
-
"name": "min",
|
|
2662
|
-
"annotation": {
|
|
2663
|
-
"type": "keyword",
|
|
2664
|
-
"value": "number"
|
|
2665
|
-
}
|
|
2666
|
-
},
|
|
2667
|
-
{
|
|
2668
|
-
"name": "required",
|
|
2669
|
-
"annotation": {
|
|
2670
|
-
"type": "keyword",
|
|
2671
|
-
"value": "boolean"
|
|
2672
|
-
}
|
|
2673
|
-
},
|
|
2674
|
-
{
|
|
2675
|
-
"name": "value",
|
|
2676
|
-
"annotation": {
|
|
2677
|
-
"type": "keyword",
|
|
2678
|
-
"value": "string"
|
|
2679
|
-
}
|
|
2680
|
-
},
|
|
2681
|
-
{
|
|
2682
|
-
"name": "valuePropsName",
|
|
2683
|
-
"annotation": {
|
|
2684
|
-
"type": "keyword",
|
|
2685
|
-
"value": "string"
|
|
2686
|
-
}
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"name": "layout",
|
|
2690
|
-
"annotation": {
|
|
2691
|
-
"type": "reference",
|
|
2692
|
-
"typeName": {
|
|
2693
|
-
"type": "identifier",
|
|
2694
|
-
"name": "Layout"
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
},
|
|
2698
|
-
{
|
|
2699
|
-
"name": "size",
|
|
2700
|
-
"annotation": {
|
|
2701
|
-
"type": "reference",
|
|
2702
|
-
"typeName": {
|
|
2703
|
-
"type": "identifier",
|
|
2704
|
-
"name": "ComponentSize"
|
|
2705
|
-
}
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "trim",
|
|
2710
|
-
"annotation": {
|
|
2711
|
-
"type": "keyword",
|
|
2712
|
-
"value": "boolean"
|
|
2713
|
-
}
|
|
2714
|
-
},
|
|
2715
|
-
{
|
|
2716
|
-
"name": "trigger",
|
|
2717
|
-
"annotation": {
|
|
2718
|
-
"type": "keyword",
|
|
2719
|
-
"value": "string"
|
|
2720
|
-
}
|
|
2721
|
-
},
|
|
2722
|
-
{
|
|
2723
|
-
"name": "validator",
|
|
2724
|
-
"annotation": {
|
|
2725
|
-
"type": "parenthesizedType",
|
|
2726
|
-
"annotation": {
|
|
2727
|
-
"type": "function",
|
|
2728
|
-
"parameters": [
|
|
2729
|
-
{
|
|
2730
|
-
"type": "identifier",
|
|
2731
|
-
"name": "value",
|
|
2732
|
-
"annotation": {
|
|
2733
|
-
"type": "keyword",
|
|
2734
|
-
"value": "any"
|
|
2735
|
-
}
|
|
2736
|
-
}
|
|
2737
|
-
],
|
|
2738
|
-
"annotation": {
|
|
2739
|
-
"type": "reference",
|
|
2740
|
-
"typeName": {
|
|
2741
|
-
"type": "identifier",
|
|
2742
|
-
"name": "MessageBody"
|
|
2743
|
-
}
|
|
2744
|
-
}
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"name": "needValidate",
|
|
2750
|
-
"annotation": {
|
|
2751
|
-
"type": "keyword",
|
|
2752
|
-
"value": "boolean"
|
|
2753
|
-
}
|
|
2754
|
-
}
|
|
2755
|
-
],
|
|
2756
|
-
"events": [],
|
|
2757
|
-
"methods": [],
|
|
2758
|
-
"types": [
|
|
2759
|
-
{
|
|
2760
|
-
"type": "typeAlias",
|
|
2761
|
-
"name": "Layout",
|
|
2762
|
-
"annotation": {
|
|
2763
|
-
"type": "union",
|
|
2764
|
-
"types": [
|
|
2765
|
-
{
|
|
2766
|
-
"type": "jsLiteral",
|
|
2767
|
-
"value": "horizontal"
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"type": "jsLiteral",
|
|
2771
|
-
"value": "vertical"
|
|
2772
|
-
},
|
|
2773
|
-
{
|
|
2774
|
-
"type": "jsLiteral",
|
|
2775
|
-
"value": "inline"
|
|
2776
|
-
}
|
|
2777
|
-
]
|
|
2778
|
-
}
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"type": "typeAlias",
|
|
2782
|
-
"name": "ComponentSize",
|
|
2783
|
-
"annotation": {
|
|
2784
|
-
"type": "union",
|
|
2785
|
-
"types": [
|
|
2786
|
-
{
|
|
2787
|
-
"type": "jsLiteral",
|
|
2788
|
-
"value": "large"
|
|
2789
|
-
},
|
|
2790
|
-
{
|
|
2791
|
-
"type": "jsLiteral",
|
|
2792
|
-
"value": "medium"
|
|
2793
|
-
},
|
|
2794
|
-
{
|
|
2795
|
-
"type": "jsLiteral",
|
|
2796
|
-
"value": "small"
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"type": "jsLiteral",
|
|
2800
|
-
"value": "xs"
|
|
2801
|
-
}
|
|
2802
|
-
]
|
|
2803
|
-
}
|
|
2804
|
-
}
|
|
2805
|
-
]
|
|
2806
|
-
},
|
|
2807
2587
|
"eo-dynamic-form-item": {
|
|
2808
2588
|
"properties": [
|
|
2809
2589
|
{
|
|
@@ -3203,6 +2983,226 @@
|
|
|
3203
2983
|
}
|
|
3204
2984
|
]
|
|
3205
2985
|
},
|
|
2986
|
+
"eo-form-item": {
|
|
2987
|
+
"properties": [
|
|
2988
|
+
{
|
|
2989
|
+
"name": "formElement",
|
|
2990
|
+
"annotation": {
|
|
2991
|
+
"type": "reference",
|
|
2992
|
+
"typeName": {
|
|
2993
|
+
"type": "identifier",
|
|
2994
|
+
"name": "Form"
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "curElement",
|
|
3000
|
+
"annotation": {
|
|
3001
|
+
"type": "reference",
|
|
3002
|
+
"typeName": {
|
|
3003
|
+
"type": "identifier",
|
|
3004
|
+
"name": "HTMLElement"
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"name": "name",
|
|
3010
|
+
"annotation": {
|
|
3011
|
+
"type": "keyword",
|
|
3012
|
+
"value": "string"
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"name": "label",
|
|
3017
|
+
"annotation": {
|
|
3018
|
+
"type": "keyword",
|
|
3019
|
+
"value": "string"
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "pattern",
|
|
3024
|
+
"annotation": {
|
|
3025
|
+
"type": "keyword",
|
|
3026
|
+
"value": "string"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "message",
|
|
3031
|
+
"annotation": {
|
|
3032
|
+
"type": "reference",
|
|
3033
|
+
"typeName": {
|
|
3034
|
+
"type": "identifier",
|
|
3035
|
+
"name": "Record"
|
|
3036
|
+
},
|
|
3037
|
+
"typeParameters": {
|
|
3038
|
+
"type": "typeParameterInstantiation",
|
|
3039
|
+
"params": [
|
|
3040
|
+
{
|
|
3041
|
+
"type": "keyword",
|
|
3042
|
+
"value": "string"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"type": "keyword",
|
|
3046
|
+
"value": "string"
|
|
3047
|
+
}
|
|
3048
|
+
]
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
"name": "max",
|
|
3054
|
+
"annotation": {
|
|
3055
|
+
"type": "keyword",
|
|
3056
|
+
"value": "number"
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"name": "min",
|
|
3061
|
+
"annotation": {
|
|
3062
|
+
"type": "keyword",
|
|
3063
|
+
"value": "number"
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"name": "required",
|
|
3068
|
+
"annotation": {
|
|
3069
|
+
"type": "keyword",
|
|
3070
|
+
"value": "boolean"
|
|
3071
|
+
}
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"name": "value",
|
|
3075
|
+
"annotation": {
|
|
3076
|
+
"type": "keyword",
|
|
3077
|
+
"value": "string"
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"name": "valuePropsName",
|
|
3082
|
+
"annotation": {
|
|
3083
|
+
"type": "keyword",
|
|
3084
|
+
"value": "string"
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"name": "layout",
|
|
3089
|
+
"annotation": {
|
|
3090
|
+
"type": "reference",
|
|
3091
|
+
"typeName": {
|
|
3092
|
+
"type": "identifier",
|
|
3093
|
+
"name": "Layout"
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"name": "size",
|
|
3099
|
+
"annotation": {
|
|
3100
|
+
"type": "reference",
|
|
3101
|
+
"typeName": {
|
|
3102
|
+
"type": "identifier",
|
|
3103
|
+
"name": "ComponentSize"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"name": "trim",
|
|
3109
|
+
"annotation": {
|
|
3110
|
+
"type": "keyword",
|
|
3111
|
+
"value": "boolean"
|
|
3112
|
+
}
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "trigger",
|
|
3116
|
+
"annotation": {
|
|
3117
|
+
"type": "keyword",
|
|
3118
|
+
"value": "string"
|
|
3119
|
+
}
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
"name": "validator",
|
|
3123
|
+
"annotation": {
|
|
3124
|
+
"type": "parenthesizedType",
|
|
3125
|
+
"annotation": {
|
|
3126
|
+
"type": "function",
|
|
3127
|
+
"parameters": [
|
|
3128
|
+
{
|
|
3129
|
+
"type": "identifier",
|
|
3130
|
+
"name": "value",
|
|
3131
|
+
"annotation": {
|
|
3132
|
+
"type": "keyword",
|
|
3133
|
+
"value": "any"
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
],
|
|
3137
|
+
"annotation": {
|
|
3138
|
+
"type": "reference",
|
|
3139
|
+
"typeName": {
|
|
3140
|
+
"type": "identifier",
|
|
3141
|
+
"name": "MessageBody"
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"name": "needValidate",
|
|
3149
|
+
"annotation": {
|
|
3150
|
+
"type": "keyword",
|
|
3151
|
+
"value": "boolean"
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
],
|
|
3155
|
+
"events": [],
|
|
3156
|
+
"methods": [],
|
|
3157
|
+
"types": [
|
|
3158
|
+
{
|
|
3159
|
+
"type": "typeAlias",
|
|
3160
|
+
"name": "Layout",
|
|
3161
|
+
"annotation": {
|
|
3162
|
+
"type": "union",
|
|
3163
|
+
"types": [
|
|
3164
|
+
{
|
|
3165
|
+
"type": "jsLiteral",
|
|
3166
|
+
"value": "horizontal"
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"type": "jsLiteral",
|
|
3170
|
+
"value": "vertical"
|
|
3171
|
+
},
|
|
3172
|
+
{
|
|
3173
|
+
"type": "jsLiteral",
|
|
3174
|
+
"value": "inline"
|
|
3175
|
+
}
|
|
3176
|
+
]
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"type": "typeAlias",
|
|
3181
|
+
"name": "ComponentSize",
|
|
3182
|
+
"annotation": {
|
|
3183
|
+
"type": "union",
|
|
3184
|
+
"types": [
|
|
3185
|
+
{
|
|
3186
|
+
"type": "jsLiteral",
|
|
3187
|
+
"value": "large"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"type": "jsLiteral",
|
|
3191
|
+
"value": "medium"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"type": "jsLiteral",
|
|
3195
|
+
"value": "small"
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"type": "jsLiteral",
|
|
3199
|
+
"value": "xs"
|
|
3200
|
+
}
|
|
3201
|
+
]
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
]
|
|
3205
|
+
},
|
|
3206
3206
|
"eo-icon-select": {
|
|
3207
3207
|
"properties": [
|
|
3208
3208
|
{
|
|
@@ -27,7 +27,7 @@ export interface EoTimeRangePickerProps extends FormItemProps {
|
|
|
27
27
|
selectNearDays?: number;
|
|
28
28
|
presetRanges?: presetRangeType[];
|
|
29
29
|
}
|
|
30
|
-
type RealTimeRangePickerProps = Omit<EoTimeRangePickerProps, keyof FormItemProps
|
|
30
|
+
type RealTimeRangePickerProps = Omit<EoTimeRangePickerProps, keyof Omit<FormItemProps, "formElement">>;
|
|
31
31
|
/**
|
|
32
32
|
* 时间区间选择器
|
|
33
33
|
* @author zhendonghuang
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/form",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.18",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/icons": "*",
|
|
44
44
|
"@next-bricks/illustrations": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ca3c5c3e782903fb0a92fa4b5858a0ebf6c58aa4"
|
|
47
47
|
}
|