@next-bricks/form 1.9.8 → 1.9.10

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 (63) hide show
  1. package/dist/bricks.json +21 -21
  2. package/dist/chunks/1370.a4868fd8.js.map +1 -1
  3. package/dist/chunks/{3171.5cdb171f.js → 3171.950d3044.js} +2 -2
  4. package/dist/chunks/{3171.5cdb171f.js.map → 3171.950d3044.js.map} +1 -1
  5. package/dist/chunks/{5552.233d455a.js → 5552.c43d9ed9.js} +2 -2
  6. package/dist/chunks/{5552.233d455a.js.map → 5552.c43d9ed9.js.map} +1 -1
  7. package/dist/chunks/{7115.379adc04.js → 7115.f4c27ab5.js} +2 -2
  8. package/dist/chunks/{7115.379adc04.js.map → 7115.f4c27ab5.js.map} +1 -1
  9. package/dist/chunks/{790.febb6afa.js → 790.5dd9bc12.js} +2 -2
  10. package/dist/chunks/{790.febb6afa.js.map → 790.5dd9bc12.js.map} +1 -1
  11. package/dist/chunks/871.d0e2df19.js +2 -0
  12. package/dist/chunks/871.d0e2df19.js.map +1 -0
  13. package/dist/chunks/8989.b92b1ae1.js.map +1 -1
  14. package/dist/chunks/9248.3e16d613.js +2 -0
  15. package/dist/chunks/9248.3e16d613.js.map +1 -0
  16. package/dist/chunks/{9259.b9f603a7.js → 9259.ba9211d5.js} +3 -3
  17. package/dist/chunks/{9259.b9f603a7.js.map → 9259.ba9211d5.js.map} +1 -1
  18. package/dist/chunks/{9496.bbcd8714.js → 9496.3676c293.js} +2 -2
  19. package/dist/chunks/{9496.bbcd8714.js.map → 9496.3676c293.js.map} +1 -1
  20. package/dist/chunks/{9515.017e785e.js → 9515.3824dc76.js} +2 -2
  21. package/dist/chunks/{9515.017e785e.js.map → 9515.3824dc76.js.map} +1 -1
  22. package/dist/chunks/{eo-color-picker.41a61b64.js → eo-color-picker.9b93ab20.js} +2 -2
  23. package/dist/chunks/{eo-color-picker.41a61b64.js.map → eo-color-picker.9b93ab20.js.map} +1 -1
  24. package/dist/chunks/{eo-date-picker.3a94beab.js → eo-date-picker.ece15054.js} +2 -2
  25. package/dist/chunks/{eo-date-picker.3a94beab.js.map → eo-date-picker.ece15054.js.map} +1 -1
  26. package/dist/chunks/{eo-dynamic-form-item.3c17b8ac.js → eo-dynamic-form-item.5148de02.js} +3 -3
  27. package/dist/chunks/{eo-dynamic-form-item.3c17b8ac.js.map → eo-dynamic-form-item.5148de02.js.map} +1 -1
  28. package/dist/chunks/{eo-form-item.f5ce4c4d.js → eo-form-item.eb83ac0a.js} +3 -3
  29. package/dist/chunks/{eo-form-item.f5ce4c4d.js.map → eo-form-item.eb83ac0a.js.map} +1 -1
  30. package/dist/chunks/{eo-radio.b75c4407.js → eo-radio.3f3333bc.js} +3 -3
  31. package/dist/chunks/{eo-radio.b75c4407.js.map → eo-radio.3f3333bc.js.map} +1 -1
  32. package/dist/chunks/{eo-select.a5c8ce31.js → eo-select.b6fa4d93.js} +3 -3
  33. package/dist/chunks/{eo-select.a5c8ce31.js.map → eo-select.b6fa4d93.js.map} +1 -1
  34. package/dist/chunks/{eo-time-picker.c96d2bf5.js → eo-time-picker.17d2ea22.js} +2 -2
  35. package/dist/chunks/{eo-time-picker.c96d2bf5.js.map → eo-time-picker.17d2ea22.js.map} +1 -1
  36. package/dist/chunks/{eo-time-range-picker.223a34e3.js → eo-time-range-picker.8f0efdfa.js} +2 -2
  37. package/dist/chunks/{eo-time-range-picker.223a34e3.js.map → eo-time-range-picker.8f0efdfa.js.map} +1 -1
  38. package/dist/chunks/{eo-upload-file.6b53bdcc.js → eo-upload-file.e8e960b9.js} +3 -3
  39. package/dist/chunks/{eo-upload-file.6b53bdcc.js.map → eo-upload-file.e8e960b9.js.map} +1 -1
  40. package/dist/chunks/{eo-upload-image.3f142265.js → eo-upload-image.8f9c1bc2.js} +3 -3
  41. package/dist/chunks/{eo-upload-image.3f142265.js.map → eo-upload-image.8f9c1bc2.js.map} +1 -1
  42. package/dist/chunks/main.9ddca443.js +2 -0
  43. package/dist/chunks/{main.47ed23ac.js.map → main.9ddca443.js.map} +1 -1
  44. package/dist/examples.json +6 -6
  45. package/dist/index.ae34fc6e.js +2 -0
  46. package/dist/index.ae34fc6e.js.map +1 -0
  47. package/dist/manifest.json +246 -246
  48. package/dist/types.json +220 -220
  49. package/package.json +2 -2
  50. package/dist/chunks/7452.c39d470f.js +0 -2
  51. package/dist/chunks/7452.c39d470f.js.map +0 -1
  52. package/dist/chunks/8954.b8943355.js +0 -2
  53. package/dist/chunks/8954.b8943355.js.map +0 -1
  54. package/dist/chunks/main.47ed23ac.js +0 -2
  55. package/dist/index.b3d7db7c.js +0 -2
  56. package/dist/index.b3d7db7c.js.map +0 -1
  57. /package/dist/chunks/{9259.b9f603a7.js.LICENSE.txt → 9259.ba9211d5.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-dynamic-form-item.3c17b8ac.js.LICENSE.txt → eo-dynamic-form-item.5148de02.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-form-item.f5ce4c4d.js.LICENSE.txt → eo-form-item.eb83ac0a.js.LICENSE.txt} +0 -0
  60. /package/dist/chunks/{eo-radio.b75c4407.js.LICENSE.txt → eo-radio.3f3333bc.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-select.a5c8ce31.js.LICENSE.txt → eo-select.b6fa4d93.js.LICENSE.txt} +0 -0
  62. /package/dist/chunks/{eo-upload-file.6b53bdcc.js.LICENSE.txt → eo-upload-file.e8e960b9.js.LICENSE.txt} +0 -0
  63. /package/dist/chunks/{eo-upload-image.3f142265.js.LICENSE.txt → eo-upload-image.8f9c1bc2.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -2391,6 +2391,226 @@
2391
2391
  }
2392
2392
  ]
2393
2393
  },
2394
+ "eo-form-item": {
2395
+ "properties": [
2396
+ {
2397
+ "name": "formElement",
2398
+ "annotation": {
2399
+ "type": "reference",
2400
+ "typeName": {
2401
+ "type": "identifier",
2402
+ "name": "Form"
2403
+ }
2404
+ }
2405
+ },
2406
+ {
2407
+ "name": "curElement",
2408
+ "annotation": {
2409
+ "type": "reference",
2410
+ "typeName": {
2411
+ "type": "identifier",
2412
+ "name": "HTMLElement"
2413
+ }
2414
+ }
2415
+ },
2416
+ {
2417
+ "name": "name",
2418
+ "annotation": {
2419
+ "type": "keyword",
2420
+ "value": "string"
2421
+ }
2422
+ },
2423
+ {
2424
+ "name": "label",
2425
+ "annotation": {
2426
+ "type": "keyword",
2427
+ "value": "string"
2428
+ }
2429
+ },
2430
+ {
2431
+ "name": "pattern",
2432
+ "annotation": {
2433
+ "type": "keyword",
2434
+ "value": "string"
2435
+ }
2436
+ },
2437
+ {
2438
+ "name": "message",
2439
+ "annotation": {
2440
+ "type": "reference",
2441
+ "typeName": {
2442
+ "type": "identifier",
2443
+ "name": "Record"
2444
+ },
2445
+ "typeParameters": {
2446
+ "type": "typeParameterInstantiation",
2447
+ "params": [
2448
+ {
2449
+ "type": "keyword",
2450
+ "value": "string"
2451
+ },
2452
+ {
2453
+ "type": "keyword",
2454
+ "value": "string"
2455
+ }
2456
+ ]
2457
+ }
2458
+ }
2459
+ },
2460
+ {
2461
+ "name": "max",
2462
+ "annotation": {
2463
+ "type": "keyword",
2464
+ "value": "number"
2465
+ }
2466
+ },
2467
+ {
2468
+ "name": "min",
2469
+ "annotation": {
2470
+ "type": "keyword",
2471
+ "value": "number"
2472
+ }
2473
+ },
2474
+ {
2475
+ "name": "required",
2476
+ "annotation": {
2477
+ "type": "keyword",
2478
+ "value": "boolean"
2479
+ }
2480
+ },
2481
+ {
2482
+ "name": "value",
2483
+ "annotation": {
2484
+ "type": "keyword",
2485
+ "value": "string"
2486
+ }
2487
+ },
2488
+ {
2489
+ "name": "valuePropsName",
2490
+ "annotation": {
2491
+ "type": "keyword",
2492
+ "value": "string"
2493
+ }
2494
+ },
2495
+ {
2496
+ "name": "layout",
2497
+ "annotation": {
2498
+ "type": "reference",
2499
+ "typeName": {
2500
+ "type": "identifier",
2501
+ "name": "Layout"
2502
+ }
2503
+ }
2504
+ },
2505
+ {
2506
+ "name": "size",
2507
+ "annotation": {
2508
+ "type": "reference",
2509
+ "typeName": {
2510
+ "type": "identifier",
2511
+ "name": "ComponentSize"
2512
+ }
2513
+ }
2514
+ },
2515
+ {
2516
+ "name": "trim",
2517
+ "annotation": {
2518
+ "type": "keyword",
2519
+ "value": "boolean"
2520
+ }
2521
+ },
2522
+ {
2523
+ "name": "trigger",
2524
+ "annotation": {
2525
+ "type": "keyword",
2526
+ "value": "string"
2527
+ }
2528
+ },
2529
+ {
2530
+ "name": "validator",
2531
+ "annotation": {
2532
+ "type": "parenthesizedType",
2533
+ "annotation": {
2534
+ "type": "function",
2535
+ "parameters": [
2536
+ {
2537
+ "type": "identifier",
2538
+ "name": "value",
2539
+ "annotation": {
2540
+ "type": "keyword",
2541
+ "value": "any"
2542
+ }
2543
+ }
2544
+ ],
2545
+ "annotation": {
2546
+ "type": "reference",
2547
+ "typeName": {
2548
+ "type": "identifier",
2549
+ "name": "MessageBody"
2550
+ }
2551
+ }
2552
+ }
2553
+ }
2554
+ },
2555
+ {
2556
+ "name": "needValidate",
2557
+ "annotation": {
2558
+ "type": "keyword",
2559
+ "value": "boolean"
2560
+ }
2561
+ }
2562
+ ],
2563
+ "events": [],
2564
+ "methods": [],
2565
+ "types": [
2566
+ {
2567
+ "type": "typeAlias",
2568
+ "name": "Layout",
2569
+ "annotation": {
2570
+ "type": "union",
2571
+ "types": [
2572
+ {
2573
+ "type": "jsLiteral",
2574
+ "value": "horizontal"
2575
+ },
2576
+ {
2577
+ "type": "jsLiteral",
2578
+ "value": "vertical"
2579
+ },
2580
+ {
2581
+ "type": "jsLiteral",
2582
+ "value": "inline"
2583
+ }
2584
+ ]
2585
+ }
2586
+ },
2587
+ {
2588
+ "type": "typeAlias",
2589
+ "name": "ComponentSize",
2590
+ "annotation": {
2591
+ "type": "union",
2592
+ "types": [
2593
+ {
2594
+ "type": "jsLiteral",
2595
+ "value": "large"
2596
+ },
2597
+ {
2598
+ "type": "jsLiteral",
2599
+ "value": "medium"
2600
+ },
2601
+ {
2602
+ "type": "jsLiteral",
2603
+ "value": "small"
2604
+ },
2605
+ {
2606
+ "type": "jsLiteral",
2607
+ "value": "xs"
2608
+ }
2609
+ ]
2610
+ }
2611
+ }
2612
+ ]
2613
+ },
2394
2614
  "eo-textarea": {
2395
2615
  "properties": [
2396
2616
  {
@@ -3095,226 +3315,6 @@
3095
3315
  }
3096
3316
  ]
3097
3317
  },
3098
- "eo-form-item": {
3099
- "properties": [
3100
- {
3101
- "name": "formElement",
3102
- "annotation": {
3103
- "type": "reference",
3104
- "typeName": {
3105
- "type": "identifier",
3106
- "name": "Form"
3107
- }
3108
- }
3109
- },
3110
- {
3111
- "name": "curElement",
3112
- "annotation": {
3113
- "type": "reference",
3114
- "typeName": {
3115
- "type": "identifier",
3116
- "name": "HTMLElement"
3117
- }
3118
- }
3119
- },
3120
- {
3121
- "name": "name",
3122
- "annotation": {
3123
- "type": "keyword",
3124
- "value": "string"
3125
- }
3126
- },
3127
- {
3128
- "name": "label",
3129
- "annotation": {
3130
- "type": "keyword",
3131
- "value": "string"
3132
- }
3133
- },
3134
- {
3135
- "name": "pattern",
3136
- "annotation": {
3137
- "type": "keyword",
3138
- "value": "string"
3139
- }
3140
- },
3141
- {
3142
- "name": "message",
3143
- "annotation": {
3144
- "type": "reference",
3145
- "typeName": {
3146
- "type": "identifier",
3147
- "name": "Record"
3148
- },
3149
- "typeParameters": {
3150
- "type": "typeParameterInstantiation",
3151
- "params": [
3152
- {
3153
- "type": "keyword",
3154
- "value": "string"
3155
- },
3156
- {
3157
- "type": "keyword",
3158
- "value": "string"
3159
- }
3160
- ]
3161
- }
3162
- }
3163
- },
3164
- {
3165
- "name": "max",
3166
- "annotation": {
3167
- "type": "keyword",
3168
- "value": "number"
3169
- }
3170
- },
3171
- {
3172
- "name": "min",
3173
- "annotation": {
3174
- "type": "keyword",
3175
- "value": "number"
3176
- }
3177
- },
3178
- {
3179
- "name": "required",
3180
- "annotation": {
3181
- "type": "keyword",
3182
- "value": "boolean"
3183
- }
3184
- },
3185
- {
3186
- "name": "value",
3187
- "annotation": {
3188
- "type": "keyword",
3189
- "value": "string"
3190
- }
3191
- },
3192
- {
3193
- "name": "valuePropsName",
3194
- "annotation": {
3195
- "type": "keyword",
3196
- "value": "string"
3197
- }
3198
- },
3199
- {
3200
- "name": "layout",
3201
- "annotation": {
3202
- "type": "reference",
3203
- "typeName": {
3204
- "type": "identifier",
3205
- "name": "Layout"
3206
- }
3207
- }
3208
- },
3209
- {
3210
- "name": "size",
3211
- "annotation": {
3212
- "type": "reference",
3213
- "typeName": {
3214
- "type": "identifier",
3215
- "name": "ComponentSize"
3216
- }
3217
- }
3218
- },
3219
- {
3220
- "name": "trim",
3221
- "annotation": {
3222
- "type": "keyword",
3223
- "value": "boolean"
3224
- }
3225
- },
3226
- {
3227
- "name": "trigger",
3228
- "annotation": {
3229
- "type": "keyword",
3230
- "value": "string"
3231
- }
3232
- },
3233
- {
3234
- "name": "validator",
3235
- "annotation": {
3236
- "type": "parenthesizedType",
3237
- "annotation": {
3238
- "type": "function",
3239
- "parameters": [
3240
- {
3241
- "type": "identifier",
3242
- "name": "value",
3243
- "annotation": {
3244
- "type": "keyword",
3245
- "value": "any"
3246
- }
3247
- }
3248
- ],
3249
- "annotation": {
3250
- "type": "reference",
3251
- "typeName": {
3252
- "type": "identifier",
3253
- "name": "MessageBody"
3254
- }
3255
- }
3256
- }
3257
- }
3258
- },
3259
- {
3260
- "name": "needValidate",
3261
- "annotation": {
3262
- "type": "keyword",
3263
- "value": "boolean"
3264
- }
3265
- }
3266
- ],
3267
- "events": [],
3268
- "methods": [],
3269
- "types": [
3270
- {
3271
- "type": "typeAlias",
3272
- "name": "Layout",
3273
- "annotation": {
3274
- "type": "union",
3275
- "types": [
3276
- {
3277
- "type": "jsLiteral",
3278
- "value": "horizontal"
3279
- },
3280
- {
3281
- "type": "jsLiteral",
3282
- "value": "vertical"
3283
- },
3284
- {
3285
- "type": "jsLiteral",
3286
- "value": "inline"
3287
- }
3288
- ]
3289
- }
3290
- },
3291
- {
3292
- "type": "typeAlias",
3293
- "name": "ComponentSize",
3294
- "annotation": {
3295
- "type": "union",
3296
- "types": [
3297
- {
3298
- "type": "jsLiteral",
3299
- "value": "large"
3300
- },
3301
- {
3302
- "type": "jsLiteral",
3303
- "value": "medium"
3304
- },
3305
- {
3306
- "type": "jsLiteral",
3307
- "value": "small"
3308
- },
3309
- {
3310
- "type": "jsLiteral",
3311
- "value": "xs"
3312
- }
3313
- ]
3314
- }
3315
- }
3316
- ]
3317
- },
3318
3318
  "eo-date-picker": {
3319
3319
  "properties": [
3320
3320
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "1.9.8",
3
+ "version": "1.9.10",
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": "2d64a6e5a13623e6da5d903cdce55c8d26a733b3"
46
+ "gitHead": "77d6ef64dda8f67d558fdf15c56532faaee95a46"
47
47
  }
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_next_bricks_form=self.webpackChunk_next_bricks_form||[]).push([[7452],{5060:function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,i=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(e,n,i){var s=a.URL||a.webkitURL,c=document.createElement("a");n=n||e.name||"download",c.download=n,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?o(c):r(c.href)?t(e,n,i):o(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){o(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),n);else if(r(e))t(e,n,a);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){o(i)}))}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||s&&c||i)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var e=f.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},f.readAsDataURL(e)}else{var l=a.URL||a.webkitURL,v=l.createObjectURL(e);o?o.location=v:location.href=v,o=null,setTimeout((function(){l.revokeObjectURL(v)}),4e4)}});a.saveAs=s.saveAs=s,e.exports=s})?r.apply(t,[]):r)||(e.exports=o)},6330:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,c,"next",e)}function c(e){r(i,o,a,s,c,"throw",e)}s(void 0)}))}}n.d(t,{A:()=>o})},7452:(e,t,n)=>{"use strict";n.r(t),n.d(t,{JsonStorage:()=>u,createProviderClass:()=>a,deepFreeze:()=>i,hasOwnProperty:()=>s,isObject:()=>c,unwrapProvider:()=>l});var r=n(6330),o=n(5060);function a(e){return class extends HTMLElement{get $$typeof(){return"provider"}resolve(){return e(...arguments)}saveAs(t){var n=arguments;return(0,r.A)((function*(){for(var r=n.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=n[i];var s=yield e(...a);(0,o.saveAs)(s,t)}))()}}}function i(e){var t=Object.getOwnPropertyNames(e);for(var n of t){var r=e[n];r&&"object"==typeof r&&i(r)}return Object.freeze(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}class u{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){var t;return JSON.parse(null!==(t=this.storage.getItem(this.prefix+e))&&void 0!==t?t:"null")}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}var f=new Map;function l(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=function(e){var t=f.get(e);return t||(t=document.createElement(e),f.set(e,t),t)}(e);return o.resolve(...n)}}}}]);
2
- //# sourceMappingURL=7452.c39d470f.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/7452.c39d470f.js","mappings":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S1E,UAA6C,IAA1B+E,EAAmCA,EAAwB,OAC9J,CACA,UAAAE,CAAWjF,GACT,OAAO6C,KAAK4B,QAAQQ,WAAWpC,KAAK6B,OAAS1E,EAC/C,CACA,KAAAkF,GACE,OAAOrC,KAAK4B,QAAQS,OACtB,ECvBF,IAAIC,EAAO,IAAIC,IAUR,SAASC,EAAeC,GAC7B,OAAO,WACL,IAAK,IAAI9B,EAAOT,UAAUU,OAAQX,EAAO,IAAIY,MAAMF,GAAOG,EAAO,EAAGA,EAAOH,EAAMG,IAC/Eb,EAAKa,GAAQZ,UAAUY,GAEzB,IAAI4B,EAdR,SAA0BD,GACxB,IAAIC,EAAQJ,EAAKK,IAAIF,GACrB,OAAIC,IAGJA,EAAQ1G,SAASkB,cAAcuF,GAC/BH,EAAKM,IAAIH,EAAUC,GACZA,EACT,CAMgBG,CAAiBJ,GAC7B,OAAOC,EAAMvD,WAAWc,EAC1B,CACF,C","sources":["webpack:///../../node_modules/file-saver/dist/FileSaver.min.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/createProviderClass.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/deepFreeze.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/hasOwnProperty.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/isObject.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/JsonStorage.js","webpack:///../../node_modules/@next-core/utils/dist/esm/general/unwrapProvider.js"],"sourcesContent":["(function(a,b){if(\"function\"==typeof define&&define.amd)define([],b);else if(\"undefined\"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){\"use strict\";function b(a,b){return\"undefined\"==typeof b?b={autoBom:!1}:\"object\"!=typeof b&&(console.warn(\"Deprecated: Expected third argument to be a object\"),b={autoBom:!b}),b.autoBom&&/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(a.type)?new Blob([\"\\uFEFF\",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open(\"GET\",a),d.responseType=\"blob\",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error(\"could not download file\")},d.send()}function d(a){var b=new XMLHttpRequest;b.open(\"HEAD\",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent(\"click\"))}catch(c){var b=document.createEvent(\"MouseEvents\");b.initMouseEvent(\"click\",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f=\"object\"==typeof window&&window.window===window?window:\"object\"==typeof self&&self.self===self?self:\"object\"==typeof global&&global.global===global?global:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||(\"object\"!=typeof window||window!==f?function(){}:\"download\"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement(\"a\");g=g||b.name||\"download\",j.download=g,j.rel=\"noopener\",\"string\"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target=\"_blank\")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:\"msSaveOrOpenBlob\"in navigator?function(f,g,h){if(g=g||f.name||\"download\",\"string\"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement(\"a\");i.href=f,i.target=\"_blank\",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open(\"\",\"_blank\"),g&&(g.document.title=g.document.body.innerText=\"downloading...\"),\"string\"==typeof b)return c(b,d,e);var h=\"application/octet-stream\"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\\/[\\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&\"undefined\"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,\"data:attachment/file;\"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,\"undefined\"!=typeof module&&(module.exports=g)});\n\n//# sourceMappingURL=FileSaver.min.js.map","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport { saveAs } from \"file-saver\";\nexport function createProviderClass(api) {\n return class extends HTMLElement {\n get $$typeof() {\n return \"provider\";\n }\n resolve() {\n return api(...arguments);\n }\n saveAs(filename) {\n var _arguments = arguments;\n return _asyncToGenerator(function* () {\n for (var _len = _arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = _arguments[_key];\n }\n var blob = yield api(...args);\n saveAs(blob, filename);\n })();\n }\n };\n}\n//# sourceMappingURL=createProviderClass.js.map","// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze\n\n/** @internal */\nexport function deepFreeze(object) {\n // Retrieve the property names defined on object\n var propNames = Object.getOwnPropertyNames(object);\n\n // Freeze properties before freezing self\n\n for (var name of propNames) {\n var value = object[name];\n if (value && typeof value === \"object\") {\n deepFreeze(value);\n }\n }\n return Object.freeze(object);\n}\n//# sourceMappingURL=deepFreeze.js.map","export function hasOwnProperty(object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n}\n//# sourceMappingURL=hasOwnProperty.js.map","// Ref https://github.com/lodash/lodash/blob/4.17.11/lodash.js#L11744\nexport function isObject(value) {\n var type = typeof value;\n return value != null && (type == \"object\" || type == \"function\");\n}\n//# sourceMappingURL=isObject.js.map","// This is copied from\n// [@next-libs/storage](https://github.com/easyops-cn/next-libs/tree/master/libs/storage),\n// and the types is refined.\n// The usage of JsonStorage from @next-libs/storage should be deprecated,\n// and migrated to from @next-core/brick-utils.\nexport class JsonStorage {\n constructor(storage) {\n var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"brick-next-\";\n this.storage = storage;\n this.prefix = prefix;\n }\n setItem(name, value) {\n this.storage.setItem(this.prefix + name, JSON.stringify(value));\n }\n getItem(name) {\n var _this$storage$getItem;\n return JSON.parse((_this$storage$getItem = this.storage.getItem(this.prefix + name)) !== null && _this$storage$getItem !== void 0 ? _this$storage$getItem : \"null\");\n }\n removeItem(name) {\n return this.storage.removeItem(this.prefix + name);\n }\n clear() {\n return this.storage.clear();\n }\n}\n//# sourceMappingURL=JsonStorage.js.map","var pool = new Map();\nfunction getProviderBrick(provider) {\n var brick = pool.get(provider);\n if (brick) {\n return brick;\n }\n brick = document.createElement(provider);\n pool.set(provider, brick);\n return brick;\n}\nexport function unwrapProvider(provider) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n var brick = getProviderBrick(provider);\n return brick.resolve(...args);\n };\n}\n//# sourceMappingURL=unwrapProvider.js.map"],"names":["c","a","b","d","XMLHttpRequest","open","responseType","onload","g","response","onerror","console","error","send","status","e","dispatchEvent","MouseEvent","document","createEvent","initMouseEvent","window","f","self","global","navigator","test","userAgent","saveAs","HTMLAnchorElement","prototype","h","i","URL","webkitURL","j","createElement","name","download","rel","href","origin","location","target","createObjectURL","setTimeout","revokeObjectURL","msSaveOrOpenBlob","autoBom","warn","type","Blob","title","body","innerText","HTMLElement","safari","FileReader","k","onloadend","result","replace","readAsDataURL","l","m","module","exports","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","done","Promise","then","_asyncToGenerator","fn","this","args","arguments","apply","err","undefined","createProviderClass","api","$$typeof","filename","_arguments","_len","length","Array","_key","blob","deepFreeze","object","propNames","Object","getOwnPropertyNames","freeze","property","hasOwnProperty","call","isObject","JsonStorage","constructor","storage","prefix","setItem","JSON","stringify","getItem","_this$storage$getItem","parse","removeItem","clear","pool","Map","unwrapProvider","provider","brick","get","set","getProviderBrick"],"sourceRoot":""}