@next-bricks/form 0.12.0 → 0.12.1

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 (103) hide show
  1. package/dist/bricks.json +1 -5
  2. package/dist/chunks/3494.dd24d739.js +2 -0
  3. package/dist/chunks/{3494.b32e021c.js.map → 3494.dd24d739.js.map} +1 -1
  4. package/dist/chunks/4131.48a216bd.js +2 -0
  5. package/dist/chunks/4131.48a216bd.js.map +1 -0
  6. package/dist/chunks/4795.90b6991e.js +2 -0
  7. package/dist/chunks/4795.90b6991e.js.map +1 -0
  8. package/dist/chunks/5202.e887583f.js +2 -0
  9. package/dist/chunks/{5202.2b219084.js.map → 5202.e887583f.js.map} +1 -1
  10. package/dist/chunks/6221.9d80956c.js +3 -0
  11. package/dist/chunks/6221.9d80956c.js.map +1 -0
  12. package/dist/chunks/7822.c8ee10ba.js +2 -0
  13. package/dist/chunks/{7822.4154a218.js.map → 7822.c8ee10ba.js.map} +1 -1
  14. package/dist/chunks/7884.e14a1509.js +2 -0
  15. package/dist/chunks/7884.e14a1509.js.map +1 -0
  16. package/dist/chunks/873.cc3010b0.js +2 -0
  17. package/dist/chunks/{873.2b11a4db.js.map → 873.cc3010b0.js.map} +1 -1
  18. package/dist/chunks/9549.de31aced.js +2 -0
  19. package/dist/chunks/{9549.2c5f5edd.js.map → 9549.de31aced.js.map} +1 -1
  20. package/dist/chunks/eo-checkbox.f9bc931d.js +2 -0
  21. package/dist/chunks/eo-checkbox.f9bc931d.js.map +1 -0
  22. package/dist/chunks/{eo-dynamic-form-item.68db88eb.js → eo-dynamic-form-item.4acd47a7.js} +2 -2
  23. package/dist/chunks/{eo-dynamic-form-item.68db88eb.js.map → eo-dynamic-form-item.4acd47a7.js.map} +1 -1
  24. package/dist/chunks/eo-form.d8d5e655.js +2 -0
  25. package/dist/chunks/{eo-form.dfefdd7d.js.map → eo-form.d8d5e655.js.map} +1 -1
  26. package/dist/chunks/eo-icon-select.c36f29bb.js +3 -0
  27. package/dist/chunks/{eo-icon-select.821c7b62.js.map → eo-icon-select.c36f29bb.js.map} +1 -1
  28. package/dist/chunks/eo-radio.ea667baf.js +2 -0
  29. package/dist/chunks/eo-radio.ea667baf.js.map +1 -0
  30. package/dist/chunks/eo-select.cd27e6c2.js +2 -0
  31. package/dist/chunks/eo-select.cd27e6c2.js.map +1 -0
  32. package/dist/chunks/eo-textarea.9a478e44.js +3 -0
  33. package/dist/chunks/{eo-textarea.7e65b425.js.map → eo-textarea.9a478e44.js.map} +1 -1
  34. package/dist/chunks/eo-upload-file.837872c4.js +3 -0
  35. package/dist/chunks/{eo-upload-file.b27f22ea.js.map → eo-upload-file.837872c4.js.map} +1 -1
  36. package/dist/chunks/eo-upload-image.e3a4fa7b.js +3 -0
  37. package/dist/chunks/{eo-upload-image.3245726f.js.map → eo-upload-image.e3a4fa7b.js.map} +1 -1
  38. package/dist/chunks/main.2fbe2cf6.js +2 -0
  39. package/dist/chunks/main.2fbe2cf6.js.map +1 -0
  40. package/dist/index.6f347e9d.js +2 -0
  41. package/dist/index.6f347e9d.js.map +1 -0
  42. package/dist/manifest.json +0 -181
  43. package/dist/types.json +0 -496
  44. package/dist-types/bootstrap.d.ts +0 -1
  45. package/package.json +2 -2
  46. package/dist/chunks/1970.6303d93c.js +0 -3
  47. package/dist/chunks/1970.6303d93c.js.LICENSE.txt +0 -46
  48. package/dist/chunks/1970.6303d93c.js.map +0 -1
  49. package/dist/chunks/3494.b32e021c.js +0 -2
  50. package/dist/chunks/4131.da9663d6.js +0 -2
  51. package/dist/chunks/4131.da9663d6.js.map +0 -1
  52. package/dist/chunks/5202.2b219084.js +0 -2
  53. package/dist/chunks/5218.33d94637.js +0 -2
  54. package/dist/chunks/5218.33d94637.js.map +0 -1
  55. package/dist/chunks/6389.d53428bf.js +0 -2
  56. package/dist/chunks/6389.d53428bf.js.map +0 -1
  57. package/dist/chunks/714.fbaa063b.js +0 -2
  58. package/dist/chunks/714.fbaa063b.js.map +0 -1
  59. package/dist/chunks/7822.4154a218.js +0 -2
  60. package/dist/chunks/873.2b11a4db.js +0 -2
  61. package/dist/chunks/9223.f5fd0ea1.js +0 -2
  62. package/dist/chunks/9223.f5fd0ea1.js.map +0 -1
  63. package/dist/chunks/9549.2c5f5edd.js +0 -2
  64. package/dist/chunks/code-editor.e3690b47.js +0 -2
  65. package/dist/chunks/code-editor.e3690b47.js.map +0 -1
  66. package/dist/chunks/eo-checkbox.c5010723.js +0 -3
  67. package/dist/chunks/eo-checkbox.c5010723.js.map +0 -1
  68. package/dist/chunks/eo-form.dfefdd7d.js +0 -2
  69. package/dist/chunks/eo-icon-select.821c7b62.js +0 -3
  70. package/dist/chunks/eo-radio.3c54b91c.js +0 -3
  71. package/dist/chunks/eo-radio.3c54b91c.js.map +0 -1
  72. package/dist/chunks/eo-select.5abf2d64.js +0 -3
  73. package/dist/chunks/eo-select.5abf2d64.js.map +0 -1
  74. package/dist/chunks/eo-textarea.7e65b425.js +0 -3
  75. package/dist/chunks/eo-upload-file.b27f22ea.js +0 -3
  76. package/dist/chunks/eo-upload-file.b27f22ea.js.LICENSE.txt +0 -5
  77. package/dist/chunks/eo-upload-image.3245726f.js +0 -3
  78. package/dist/chunks/eo-upload-image.3245726f.js.LICENSE.txt +0 -5
  79. package/dist/chunks/main.21bfa780.js +0 -2
  80. package/dist/chunks/main.21bfa780.js.map +0 -1
  81. package/dist/index.85b15450.js +0 -2
  82. package/dist/index.85b15450.js.map +0 -1
  83. package/dist-types/code-editor/aceBuilds/index.d.ts +0 -16
  84. package/dist-types/code-editor/codeEditor.d.ts +0 -5
  85. package/dist-types/code-editor/custom-mode/BrickNextMode.d.ts +0 -7
  86. package/dist-types/code-editor/custom-mode/BrickNextRules.d.ts +0 -170
  87. package/dist-types/code-editor/custom-mode/BrickNextYamlMode.d.ts +0 -7
  88. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageMode.d.ts +0 -7
  89. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageRules.d.ts +0 -19
  90. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageRules.spec.d.ts +0 -1
  91. package/dist-types/code-editor/custom-mode/CommonExpressionLanguageYamlMode.d.ts +0 -7
  92. package/dist-types/code-editor/custom-mode/TerraformMode.d.ts +0 -7
  93. package/dist-types/code-editor/custom-mode/brickNextUtil.d.ts +0 -15
  94. package/dist-types/code-editor/getClickableMarker.d.ts +0 -2
  95. package/dist-types/code-editor/getHighlightMarkers.d.ts +0 -11
  96. package/dist-types/code-editor/index.d.ts +0 -166
  97. package/dist-types/code-editor/index.spec.d.ts +0 -1
  98. package/dist-types/code-editor/interfaces.d.ts +0 -76
  99. /package/dist/chunks/{eo-checkbox.c5010723.js.LICENSE.txt → 6221.9d80956c.js.LICENSE.txt} +0 -0
  100. /package/dist/chunks/{eo-icon-select.821c7b62.js.LICENSE.txt → eo-icon-select.c36f29bb.js.LICENSE.txt} +0 -0
  101. /package/dist/chunks/{eo-radio.3c54b91c.js.LICENSE.txt → eo-textarea.9a478e44.js.LICENSE.txt} +0 -0
  102. /package/dist/chunks/{eo-select.5abf2d64.js.LICENSE.txt → eo-upload-file.837872c4.js.LICENSE.txt} +0 -0
  103. /package/dist/chunks/{eo-textarea.7e65b425.js.LICENSE.txt → eo-upload-image.e3a4fa7b.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -2986,501 +2986,5 @@
2986
2986
  ]
2987
2987
  }
2988
2988
  ]
2989
- },
2990
- "form.code-editor": {
2991
- "properties": [
2992
- {
2993
- "name": "name",
2994
- "annotation": {
2995
- "type": "keyword",
2996
- "value": "string"
2997
- }
2998
- },
2999
- {
3000
- "name": "label",
3001
- "annotation": {
3002
- "type": "keyword",
3003
- "value": "string"
3004
- }
3005
- },
3006
- {
3007
- "name": "value",
3008
- "annotation": {
3009
- "type": "keyword",
3010
- "value": "string"
3011
- }
3012
- },
3013
- {
3014
- "name": "placeholder",
3015
- "annotation": {
3016
- "type": "keyword",
3017
- "value": "string"
3018
- }
3019
- },
3020
- {
3021
- "name": "theme",
3022
- "annotation": {
3023
- "type": "keyword",
3024
- "value": "string"
3025
- }
3026
- },
3027
- {
3028
- "name": "mode",
3029
- "annotation": {
3030
- "type": "keyword",
3031
- "value": "string"
3032
- }
3033
- },
3034
- {
3035
- "name": "required",
3036
- "annotation": {
3037
- "type": "keyword",
3038
- "value": "boolean"
3039
- }
3040
- },
3041
- {
3042
- "name": "readOnly",
3043
- "annotation": {
3044
- "type": "keyword",
3045
- "value": "boolean"
3046
- }
3047
- },
3048
- {
3049
- "name": "showLineNumbers",
3050
- "annotation": {
3051
- "type": "keyword",
3052
- "value": "boolean"
3053
- }
3054
- },
3055
- {
3056
- "name": "maxLines",
3057
- "annotation": {
3058
- "type": "union",
3059
- "types": [
3060
- {
3061
- "type": "keyword",
3062
- "value": "number"
3063
- },
3064
- {
3065
- "type": "jsLiteral",
3066
- "value": "Infinity"
3067
- }
3068
- ]
3069
- }
3070
- },
3071
- {
3072
- "name": "minLines",
3073
- "annotation": {
3074
- "type": "keyword",
3075
- "value": "number"
3076
- }
3077
- },
3078
- {
3079
- "name": "tabSize",
3080
- "annotation": {
3081
- "type": "keyword",
3082
- "value": "number"
3083
- }
3084
- },
3085
- {
3086
- "name": "printMargin",
3087
- "annotation": {
3088
- "type": "keyword",
3089
- "value": "boolean"
3090
- }
3091
- },
3092
- {
3093
- "name": "highlightActiveLine",
3094
- "annotation": {
3095
- "type": "keyword",
3096
- "value": "boolean"
3097
- }
3098
- },
3099
- {
3100
- "name": "showExportButton",
3101
- "annotation": {
3102
- "type": "keyword",
3103
- "value": "boolean"
3104
- }
3105
- },
3106
- {
3107
- "name": "showCopyButton",
3108
- "annotation": {
3109
- "type": "keyword",
3110
- "value": "boolean"
3111
- }
3112
- },
3113
- {
3114
- "name": "showExpandButton",
3115
- "annotation": {
3116
- "type": "keyword",
3117
- "value": "boolean"
3118
- }
3119
- },
3120
- {
3121
- "name": "exportFileName",
3122
- "annotation": {
3123
- "type": "keyword",
3124
- "value": "string"
3125
- }
3126
- },
3127
- {
3128
- "name": "jsonSchema",
3129
- "annotation": {
3130
- "type": "reference",
3131
- "typeName": {
3132
- "type": "identifier",
3133
- "name": "Record"
3134
- },
3135
- "typeParameters": {
3136
- "type": "typeParameterInstantiation",
3137
- "params": [
3138
- {
3139
- "type": "keyword",
3140
- "value": "string"
3141
- },
3142
- {
3143
- "type": "keyword",
3144
- "value": "any"
3145
- }
3146
- ]
3147
- }
3148
- }
3149
- },
3150
- {
3151
- "name": "validateJsonSchemaMode",
3152
- "annotation": {
3153
- "type": "union",
3154
- "types": [
3155
- {
3156
- "type": "jsLiteral",
3157
- "value": "warning"
3158
- },
3159
- {
3160
- "type": "jsLiteral",
3161
- "value": "error"
3162
- }
3163
- ]
3164
- }
3165
- },
3166
- {
3167
- "name": "schemaRef",
3168
- "annotation": {
3169
- "type": "keyword",
3170
- "value": "string"
3171
- }
3172
- },
3173
- {
3174
- "name": "enableLiveAutocompletion",
3175
- "annotation": {
3176
- "type": "keyword",
3177
- "value": "boolean"
3178
- }
3179
- },
3180
- {
3181
- "name": "customCompleters",
3182
- "annotation": {
3183
- "type": "union",
3184
- "types": [
3185
- {
3186
- "type": "array",
3187
- "elementType": {
3188
- "type": "keyword",
3189
- "value": "string"
3190
- }
3191
- },
3192
- {
3193
- "type": "array",
3194
- "elementType": {
3195
- "type": "typeLiteral",
3196
- "members": [
3197
- {
3198
- "type": "propertySignature",
3199
- "key": {
3200
- "type": "identifier",
3201
- "name": "caption"
3202
- },
3203
- "annotation": {
3204
- "type": "keyword",
3205
- "value": "string"
3206
- },
3207
- "optional": true,
3208
- "computed": false
3209
- },
3210
- {
3211
- "type": "propertySignature",
3212
- "key": {
3213
- "type": "identifier",
3214
- "name": "value"
3215
- },
3216
- "annotation": {
3217
- "type": "keyword",
3218
- "value": "string"
3219
- },
3220
- "computed": false
3221
- },
3222
- {
3223
- "type": "propertySignature",
3224
- "key": {
3225
- "type": "identifier",
3226
- "name": "meta"
3227
- },
3228
- "annotation": {
3229
- "type": "keyword",
3230
- "value": "string"
3231
- },
3232
- "optional": true,
3233
- "computed": false
3234
- },
3235
- {
3236
- "type": "propertySignature",
3237
- "key": {
3238
- "type": "identifier",
3239
- "name": "score"
3240
- },
3241
- "annotation": {
3242
- "type": "keyword",
3243
- "value": "number"
3244
- },
3245
- "optional": true,
3246
- "computed": false
3247
- }
3248
- ]
3249
- }
3250
- }
3251
- ]
3252
- }
3253
- },
3254
- {
3255
- "name": "loadYamlInJsonMode",
3256
- "annotation": {
3257
- "type": "keyword",
3258
- "value": "boolean"
3259
- }
3260
- },
3261
- {
3262
- "name": "highlightTokens",
3263
- "annotation": {
3264
- "type": "array",
3265
- "elementType": {
3266
- "type": "reference",
3267
- "typeName": {
3268
- "type": "identifier",
3269
- "name": "HighlightTokenSettings"
3270
- }
3271
- }
3272
- }
3273
- }
3274
- ],
3275
- "events": [
3276
- {
3277
- "name": "code.change",
3278
- "detail": {
3279
- "annotation": {
3280
- "type": "keyword",
3281
- "value": "string"
3282
- }
3283
- }
3284
- },
3285
- {
3286
- "name": "editor.blur",
3287
- "detail": {
3288
- "annotation": {
3289
- "type": "keyword",
3290
- "value": "string"
3291
- }
3292
- }
3293
- },
3294
- {
3295
- "name": "error.change",
3296
- "detail": {
3297
- "annotation": {
3298
- "type": "reference",
3299
- "typeName": {
3300
- "type": "identifier",
3301
- "name": "Error"
3302
- }
3303
- }
3304
- }
3305
- },
3306
- {
3307
- "name": "highlightToken.click",
3308
- "detail": {
3309
- "annotation": {
3310
- "type": "typeLiteral",
3311
- "members": [
3312
- {
3313
- "type": "propertySignature",
3314
- "key": {
3315
- "type": "identifier",
3316
- "name": "type"
3317
- },
3318
- "annotation": {
3319
- "type": "keyword",
3320
- "value": "string"
3321
- },
3322
- "computed": false
3323
- },
3324
- {
3325
- "type": "propertySignature",
3326
- "key": {
3327
- "type": "identifier",
3328
- "name": "value"
3329
- },
3330
- "annotation": {
3331
- "type": "keyword",
3332
- "value": "string"
3333
- },
3334
- "computed": false
3335
- }
3336
- ]
3337
- }
3338
- }
3339
- }
3340
- ],
3341
- "methods": [],
3342
- "types": [
3343
- {
3344
- "type": "interface",
3345
- "name": "HighlightTokenSettings",
3346
- "body": [
3347
- {
3348
- "type": "propertySignature",
3349
- "key": {
3350
- "type": "identifier",
3351
- "name": "type"
3352
- },
3353
- "annotation": {
3354
- "type": "reference",
3355
- "typeName": {
3356
- "type": "identifier",
3357
- "name": "HighlightTokenType"
3358
- }
3359
- },
3360
- "computed": false
3361
- },
3362
- {
3363
- "type": "propertySignature",
3364
- "key": {
3365
- "type": "identifier",
3366
- "name": "clickable"
3367
- },
3368
- "annotation": {
3369
- "type": "keyword",
3370
- "value": "boolean"
3371
- },
3372
- "optional": true,
3373
- "computed": false
3374
- },
3375
- {
3376
- "type": "propertySignature",
3377
- "key": {
3378
- "type": "identifier",
3379
- "name": "level"
3380
- },
3381
- "annotation": {
3382
- "type": "union",
3383
- "types": [
3384
- {
3385
- "type": "jsLiteral",
3386
- "value": "default"
3387
- },
3388
- {
3389
- "type": "jsLiteral",
3390
- "value": "warn"
3391
- },
3392
- {
3393
- "type": "jsLiteral",
3394
- "value": "error"
3395
- }
3396
- ]
3397
- },
3398
- "optional": true,
3399
- "computed": false
3400
- }
3401
- ]
3402
- },
3403
- {
3404
- "type": "typeAlias",
3405
- "name": "HighlightTokenType",
3406
- "annotation": {
3407
- "type": "union",
3408
- "types": [
3409
- {
3410
- "type": "jsLiteral",
3411
- "value": "storyboard-function"
3412
- },
3413
- {
3414
- "type": "jsLiteral",
3415
- "value": "storyboard-context"
3416
- },
3417
- {
3418
- "type": "jsLiteral",
3419
- "value": "storyboard-context-action"
3420
- },
3421
- {
3422
- "type": "jsLiteral",
3423
- "value": "storyboard-state"
3424
- },
3425
- {
3426
- "type": "jsLiteral",
3427
- "value": "storyboard-state-action"
3428
- },
3429
- {
3430
- "type": "jsLiteral",
3431
- "value": "storyboard-tpl-var"
3432
- },
3433
- {
3434
- "type": "jsLiteral",
3435
- "value": "storyboard-tag-name-as-target"
3436
- },
3437
- {
3438
- "type": "jsLiteral",
3439
- "value": "storyboard-route-var"
3440
- },
3441
- {
3442
- "type": "jsLiteral",
3443
- "value": "dashboard-DS"
3444
- }
3445
- ]
3446
- }
3447
- },
3448
- {
3449
- "type": "interface",
3450
- "name": "Error",
3451
- "body": [
3452
- {
3453
- "type": "propertySignature",
3454
- "key": {
3455
- "type": "identifier",
3456
- "name": "err"
3457
- },
3458
- "annotation": {
3459
- "type": "array",
3460
- "elementType": {
3461
- "type": "reference",
3462
- "typeName": {
3463
- "type": "identifier",
3464
- "name": "Annotation"
3465
- }
3466
- }
3467
- },
3468
- "computed": false
3469
- },
3470
- {
3471
- "type": "propertySignature",
3472
- "key": {
3473
- "type": "identifier",
3474
- "name": "hasError"
3475
- },
3476
- "annotation": {
3477
- "type": "keyword",
3478
- "value": "boolean"
3479
- },
3480
- "computed": false
3481
- }
3482
- ]
3483
- }
3484
- ]
3485
2989
  }
3486
2990
  }
@@ -6,7 +6,6 @@ import "./radio/index.js";
6
6
  import "./select/index.js";
7
7
  import "./submit-buttons/index.js";
8
8
  import "./checkbox/index.js";
9
- import "./code-editor/index.js";
10
9
  import "./dynamic-form-item/index.js";
11
10
  import "./search/index.js";
12
11
  import "./icon-select/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/form",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,5 +37,5 @@
37
37
  "@next-core/build-next-bricks": "^1.13.2",
38
38
  "@next-core/test-next": "^1.0.7"
39
39
  },
40
- "gitHead": "1d1d029906b29f94be440bc2d5c93db819034443"
40
+ "gitHead": "dac6b6cc81d6456ebe70ad06ed98364d0b6fc412"
41
41
  }