@next-bricks/form 1.9.9 → 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 (61) hide show
  1. package/dist/bricks.json +16 -16
  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.3b02840c.js → 7115.f4c27ab5.js} +2 -2
  8. package/dist/chunks/{7115.3b02840c.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.3575bc5d.js → 9259.ba9211d5.js} +3 -3
  17. package/dist/chunks/{9259.3575bc5d.js.map → 9259.ba9211d5.js.map} +1 -1
  18. package/dist/chunks/{9496.bf1800b3.js → 9496.3676c293.js} +2 -2
  19. package/dist/chunks/{9496.bf1800b3.js.map → 9496.3676c293.js.map} +1 -1
  20. package/dist/chunks/{eo-color-picker.a76178a1.js → eo-color-picker.9b93ab20.js} +2 -2
  21. package/dist/chunks/{eo-color-picker.a76178a1.js.map → eo-color-picker.9b93ab20.js.map} +1 -1
  22. package/dist/chunks/{eo-date-picker.5e6f0644.js → eo-date-picker.ece15054.js} +2 -2
  23. package/dist/chunks/{eo-date-picker.5e6f0644.js.map → eo-date-picker.ece15054.js.map} +1 -1
  24. package/dist/chunks/{eo-dynamic-form-item.72dcadc4.js → eo-dynamic-form-item.5148de02.js} +3 -3
  25. package/dist/chunks/{eo-dynamic-form-item.72dcadc4.js.map → eo-dynamic-form-item.5148de02.js.map} +1 -1
  26. package/dist/chunks/{eo-form-item.096abc40.js → eo-form-item.eb83ac0a.js} +3 -3
  27. package/dist/chunks/{eo-form-item.096abc40.js.map → eo-form-item.eb83ac0a.js.map} +1 -1
  28. package/dist/chunks/{eo-radio.be4c8159.js → eo-radio.3f3333bc.js} +3 -3
  29. package/dist/chunks/{eo-radio.be4c8159.js.map → eo-radio.3f3333bc.js.map} +1 -1
  30. package/dist/chunks/{eo-select.c90b1816.js → eo-select.b6fa4d93.js} +3 -3
  31. package/dist/chunks/{eo-select.c90b1816.js.map → eo-select.b6fa4d93.js.map} +1 -1
  32. package/dist/chunks/{eo-time-picker.d98b8971.js → eo-time-picker.17d2ea22.js} +2 -2
  33. package/dist/chunks/{eo-time-picker.d98b8971.js.map → eo-time-picker.17d2ea22.js.map} +1 -1
  34. package/dist/chunks/{eo-time-range-picker.349dbd93.js → eo-time-range-picker.8f0efdfa.js} +2 -2
  35. package/dist/chunks/{eo-time-range-picker.349dbd93.js.map → eo-time-range-picker.8f0efdfa.js.map} +1 -1
  36. package/dist/chunks/{eo-upload-file.f3bd5cbf.js → eo-upload-file.e8e960b9.js} +3 -3
  37. package/dist/chunks/{eo-upload-file.f3bd5cbf.js.map → eo-upload-file.e8e960b9.js.map} +1 -1
  38. package/dist/chunks/{eo-upload-image.8e206a5b.js → eo-upload-image.8f9c1bc2.js} +3 -3
  39. package/dist/chunks/{eo-upload-image.8e206a5b.js.map → eo-upload-image.8f9c1bc2.js.map} +1 -1
  40. package/dist/chunks/main.9ddca443.js +2 -0
  41. package/dist/chunks/{main.f680fa3e.js.map → main.9ddca443.js.map} +1 -1
  42. package/dist/examples.json +6 -6
  43. package/dist/index.ae34fc6e.js +2 -0
  44. package/dist/index.ae34fc6e.js.map +1 -0
  45. package/dist/manifest.json +220 -220
  46. package/dist/types.json +180 -180
  47. package/package.json +2 -2
  48. package/dist/chunks/7452.c39d470f.js +0 -2
  49. package/dist/chunks/7452.c39d470f.js.map +0 -1
  50. package/dist/chunks/8954.8c4c25a0.js +0 -2
  51. package/dist/chunks/8954.8c4c25a0.js.map +0 -1
  52. package/dist/chunks/main.f680fa3e.js +0 -2
  53. package/dist/index.fcd9729b.js +0 -2
  54. package/dist/index.fcd9729b.js.map +0 -1
  55. /package/dist/chunks/{9259.3575bc5d.js.LICENSE.txt → 9259.ba9211d5.js.LICENSE.txt} +0 -0
  56. /package/dist/chunks/{eo-dynamic-form-item.72dcadc4.js.LICENSE.txt → eo-dynamic-form-item.5148de02.js.LICENSE.txt} +0 -0
  57. /package/dist/chunks/{eo-form-item.096abc40.js.LICENSE.txt → eo-form-item.eb83ac0a.js.LICENSE.txt} +0 -0
  58. /package/dist/chunks/{eo-radio.be4c8159.js.LICENSE.txt → eo-radio.3f3333bc.js.LICENSE.txt} +0 -0
  59. /package/dist/chunks/{eo-select.c90b1816.js.LICENSE.txt → eo-select.b6fa4d93.js.LICENSE.txt} +0 -0
  60. /package/dist/chunks/{eo-upload-file.f3bd5cbf.js.LICENSE.txt → eo-upload-file.e8e960b9.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-upload-image.8e206a5b.js.LICENSE.txt → eo-upload-image.8f9c1bc2.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -2391,186 +2391,6 @@
2391
2391
  }
2392
2392
  ]
2393
2393
  },
2394
- "eo-textarea": {
2395
- "properties": [
2396
- {
2397
- "name": "name",
2398
- "annotation": {
2399
- "type": "keyword",
2400
- "value": "string"
2401
- }
2402
- },
2403
- {
2404
- "name": "label",
2405
- "annotation": {
2406
- "type": "keyword",
2407
- "value": "string"
2408
- }
2409
- },
2410
- {
2411
- "name": "value",
2412
- "annotation": {
2413
- "type": "keyword",
2414
- "value": "string"
2415
- }
2416
- },
2417
- {
2418
- "name": "placeholder",
2419
- "annotation": {
2420
- "type": "keyword",
2421
- "value": "string"
2422
- }
2423
- },
2424
- {
2425
- "name": "disabled",
2426
- "annotation": {
2427
- "type": "keyword",
2428
- "value": "boolean"
2429
- }
2430
- },
2431
- {
2432
- "name": "minLength",
2433
- "annotation": {
2434
- "type": "keyword",
2435
- "value": "number"
2436
- }
2437
- },
2438
- {
2439
- "name": "maxLength",
2440
- "annotation": {
2441
- "type": "keyword",
2442
- "value": "number"
2443
- }
2444
- },
2445
- {
2446
- "name": "autoSize",
2447
- "annotation": {
2448
- "type": "reference",
2449
- "typeName": {
2450
- "type": "identifier",
2451
- "name": "AutoSize"
2452
- }
2453
- }
2454
- },
2455
- {
2456
- "name": "required",
2457
- "annotation": {
2458
- "type": "keyword",
2459
- "value": "boolean"
2460
- }
2461
- },
2462
- {
2463
- "name": "max",
2464
- "annotation": {
2465
- "type": "keyword",
2466
- "value": "number"
2467
- }
2468
- },
2469
- {
2470
- "name": "min",
2471
- "annotation": {
2472
- "type": "keyword",
2473
- "value": "number"
2474
- }
2475
- },
2476
- {
2477
- "name": "message",
2478
- "annotation": {
2479
- "type": "reference",
2480
- "typeName": {
2481
- "type": "identifier",
2482
- "name": "Record"
2483
- },
2484
- "typeParameters": {
2485
- "type": "typeParameterInstantiation",
2486
- "params": [
2487
- {
2488
- "type": "keyword",
2489
- "value": "string"
2490
- },
2491
- {
2492
- "type": "keyword",
2493
- "value": "string"
2494
- }
2495
- ]
2496
- }
2497
- }
2498
- },
2499
- {
2500
- "name": "textareaStyle",
2501
- "annotation": {
2502
- "type": "reference",
2503
- "typeName": {
2504
- "type": "qualifiedName",
2505
- "left": {
2506
- "type": "identifier",
2507
- "name": "React"
2508
- },
2509
- "right": {
2510
- "type": "identifier",
2511
- "name": "CSSProperties"
2512
- }
2513
- }
2514
- }
2515
- }
2516
- ],
2517
- "events": [
2518
- {
2519
- "name": "change",
2520
- "detail": {
2521
- "annotation": {
2522
- "type": "keyword",
2523
- "value": "string"
2524
- }
2525
- }
2526
- }
2527
- ],
2528
- "methods": [],
2529
- "types": [
2530
- {
2531
- "type": "typeAlias",
2532
- "name": "AutoSize",
2533
- "annotation": {
2534
- "type": "union",
2535
- "types": [
2536
- {
2537
- "type": "keyword",
2538
- "value": "boolean"
2539
- },
2540
- {
2541
- "type": "typeLiteral",
2542
- "members": [
2543
- {
2544
- "type": "propertySignature",
2545
- "key": {
2546
- "type": "identifier",
2547
- "name": "minRows"
2548
- },
2549
- "annotation": {
2550
- "type": "keyword",
2551
- "value": "number"
2552
- },
2553
- "computed": false
2554
- },
2555
- {
2556
- "type": "propertySignature",
2557
- "key": {
2558
- "type": "identifier",
2559
- "name": "maxRows"
2560
- },
2561
- "annotation": {
2562
- "type": "keyword",
2563
- "value": "number"
2564
- },
2565
- "computed": false
2566
- }
2567
- ]
2568
- }
2569
- ]
2570
- }
2571
- }
2572
- ]
2573
- },
2574
2394
  "eo-form-item": {
2575
2395
  "properties": [
2576
2396
  {
@@ -2791,6 +2611,186 @@
2791
2611
  }
2792
2612
  ]
2793
2613
  },
2614
+ "eo-textarea": {
2615
+ "properties": [
2616
+ {
2617
+ "name": "name",
2618
+ "annotation": {
2619
+ "type": "keyword",
2620
+ "value": "string"
2621
+ }
2622
+ },
2623
+ {
2624
+ "name": "label",
2625
+ "annotation": {
2626
+ "type": "keyword",
2627
+ "value": "string"
2628
+ }
2629
+ },
2630
+ {
2631
+ "name": "value",
2632
+ "annotation": {
2633
+ "type": "keyword",
2634
+ "value": "string"
2635
+ }
2636
+ },
2637
+ {
2638
+ "name": "placeholder",
2639
+ "annotation": {
2640
+ "type": "keyword",
2641
+ "value": "string"
2642
+ }
2643
+ },
2644
+ {
2645
+ "name": "disabled",
2646
+ "annotation": {
2647
+ "type": "keyword",
2648
+ "value": "boolean"
2649
+ }
2650
+ },
2651
+ {
2652
+ "name": "minLength",
2653
+ "annotation": {
2654
+ "type": "keyword",
2655
+ "value": "number"
2656
+ }
2657
+ },
2658
+ {
2659
+ "name": "maxLength",
2660
+ "annotation": {
2661
+ "type": "keyword",
2662
+ "value": "number"
2663
+ }
2664
+ },
2665
+ {
2666
+ "name": "autoSize",
2667
+ "annotation": {
2668
+ "type": "reference",
2669
+ "typeName": {
2670
+ "type": "identifier",
2671
+ "name": "AutoSize"
2672
+ }
2673
+ }
2674
+ },
2675
+ {
2676
+ "name": "required",
2677
+ "annotation": {
2678
+ "type": "keyword",
2679
+ "value": "boolean"
2680
+ }
2681
+ },
2682
+ {
2683
+ "name": "max",
2684
+ "annotation": {
2685
+ "type": "keyword",
2686
+ "value": "number"
2687
+ }
2688
+ },
2689
+ {
2690
+ "name": "min",
2691
+ "annotation": {
2692
+ "type": "keyword",
2693
+ "value": "number"
2694
+ }
2695
+ },
2696
+ {
2697
+ "name": "message",
2698
+ "annotation": {
2699
+ "type": "reference",
2700
+ "typeName": {
2701
+ "type": "identifier",
2702
+ "name": "Record"
2703
+ },
2704
+ "typeParameters": {
2705
+ "type": "typeParameterInstantiation",
2706
+ "params": [
2707
+ {
2708
+ "type": "keyword",
2709
+ "value": "string"
2710
+ },
2711
+ {
2712
+ "type": "keyword",
2713
+ "value": "string"
2714
+ }
2715
+ ]
2716
+ }
2717
+ }
2718
+ },
2719
+ {
2720
+ "name": "textareaStyle",
2721
+ "annotation": {
2722
+ "type": "reference",
2723
+ "typeName": {
2724
+ "type": "qualifiedName",
2725
+ "left": {
2726
+ "type": "identifier",
2727
+ "name": "React"
2728
+ },
2729
+ "right": {
2730
+ "type": "identifier",
2731
+ "name": "CSSProperties"
2732
+ }
2733
+ }
2734
+ }
2735
+ }
2736
+ ],
2737
+ "events": [
2738
+ {
2739
+ "name": "change",
2740
+ "detail": {
2741
+ "annotation": {
2742
+ "type": "keyword",
2743
+ "value": "string"
2744
+ }
2745
+ }
2746
+ }
2747
+ ],
2748
+ "methods": [],
2749
+ "types": [
2750
+ {
2751
+ "type": "typeAlias",
2752
+ "name": "AutoSize",
2753
+ "annotation": {
2754
+ "type": "union",
2755
+ "types": [
2756
+ {
2757
+ "type": "keyword",
2758
+ "value": "boolean"
2759
+ },
2760
+ {
2761
+ "type": "typeLiteral",
2762
+ "members": [
2763
+ {
2764
+ "type": "propertySignature",
2765
+ "key": {
2766
+ "type": "identifier",
2767
+ "name": "minRows"
2768
+ },
2769
+ "annotation": {
2770
+ "type": "keyword",
2771
+ "value": "number"
2772
+ },
2773
+ "computed": false
2774
+ },
2775
+ {
2776
+ "type": "propertySignature",
2777
+ "key": {
2778
+ "type": "identifier",
2779
+ "name": "maxRows"
2780
+ },
2781
+ "annotation": {
2782
+ "type": "keyword",
2783
+ "value": "number"
2784
+ },
2785
+ "computed": false
2786
+ }
2787
+ ]
2788
+ }
2789
+ ]
2790
+ }
2791
+ }
2792
+ ]
2793
+ },
2794
2794
  "eo-dynamic-form-item": {
2795
2795
  "properties": [
2796
2796
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "1.9.9",
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": "6e28ef7f17684ea4abb12b09df98009b66cfd085"
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)}(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AAAuC,CAAQ9E,GACN,IAAI+E,EACJ,OAAOH,KAAKI,MAA6E,QAAtED,EAAwBlC,KAAK4B,QAAQK,QAAQjC,KAAK6B,OAAS1E,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":""}