@next-bricks/data-view 1.1.5 → 1.1.6

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 (45) hide show
  1. package/dist/bricks.json +3 -3
  2. package/dist/chunks/{1451.90e135cf.js → 1451.77e049e2.js} +2 -2
  3. package/dist/chunks/{1451.90e135cf.js.map → 1451.77e049e2.js.map} +1 -1
  4. package/dist/chunks/2652.e978474f.js +2 -0
  5. package/dist/chunks/2652.e978474f.js.map +1 -0
  6. package/dist/chunks/{3171.2a35d1f0.js → 3171.8312f836.js} +2 -2
  7. package/dist/chunks/{5552.e6bcc958.js.map → 3171.8312f836.js.map} +1 -1
  8. package/dist/chunks/3751.96899dc7.js.map +1 -1
  9. package/dist/chunks/{3933.40efcd5b.js → 3933.d876c32c.js} +2 -2
  10. package/dist/chunks/{3933.40efcd5b.js.map → 3933.d876c32c.js.map} +1 -1
  11. package/dist/chunks/{5552.e6bcc958.js → 5552.40ceb88b.js} +2 -2
  12. package/dist/chunks/{3171.2a35d1f0.js.map → 5552.40ceb88b.js.map} +1 -1
  13. package/dist/chunks/{6314.cb6fcea9.js → 6314.50a2c589.js} +2 -2
  14. package/dist/chunks/{6314.cb6fcea9.js.map → 6314.50a2c589.js.map} +1 -1
  15. package/dist/chunks/{7115.4d43947f.js → 7115.1632e77c.js} +2 -2
  16. package/dist/chunks/{7115.4d43947f.js.map → 7115.1632e77c.js.map} +1 -1
  17. package/dist/chunks/{8097.5a58b96a.js → 8097.250c9281.js} +2 -2
  18. package/dist/chunks/{8097.5a58b96a.js.map → 8097.250c9281.js.map} +1 -1
  19. package/dist/chunks/871.71935584.js +2 -0
  20. package/dist/chunks/871.71935584.js.map +1 -0
  21. package/dist/chunks/8989.553c1fc4.js.map +1 -1
  22. package/dist/chunks/{9496.81596f70.js → 9496.1ae70e22.js} +2 -2
  23. package/dist/chunks/{9496.81596f70.js.map → 9496.1ae70e22.js.map} +1 -1
  24. package/dist/chunks/{complex-search.f0e4f2e1.js → complex-search.9828a690.js} +2 -2
  25. package/dist/chunks/{complex-search.f0e4f2e1.js.map → complex-search.9828a690.js.map} +1 -1
  26. package/dist/chunks/{graph-text.ffcddd89.js → graph-text.f6db0e58.js} +2 -2
  27. package/dist/chunks/{graph-text.ffcddd89.js.map → graph-text.f6db0e58.js.map} +1 -1
  28. package/dist/chunks/main.c7bb6a83.js +2 -0
  29. package/dist/chunks/{main.c456205f.js.map → main.c7bb6a83.js.map} +1 -1
  30. package/dist/chunks/{modern-style-treemap.21692a1c.js → modern-style-treemap.33ae3fda.js} +3 -3
  31. package/dist/chunks/{modern-style-treemap.21692a1c.js.map → modern-style-treemap.33ae3fda.js.map} +1 -1
  32. package/dist/examples.json +6 -6
  33. package/dist/index.70d27a5a.js +2 -0
  34. package/dist/index.70d27a5a.js.map +1 -0
  35. package/dist/manifest.json +72 -72
  36. package/dist/types.json +126 -126
  37. package/package.json +2 -2
  38. package/dist/chunks/7452.ec94f054.js +0 -2
  39. package/dist/chunks/7452.ec94f054.js.map +0 -1
  40. package/dist/chunks/875.3148c543.js +0 -2
  41. package/dist/chunks/875.3148c543.js.map +0 -1
  42. package/dist/chunks/main.c456205f.js +0 -2
  43. package/dist/index.3b908260.js +0 -2
  44. package/dist/index.3b908260.js.map +0 -1
  45. /package/dist/chunks/{modern-style-treemap.21692a1c.js.LICENSE.txt → modern-style-treemap.33ae3fda.js.LICENSE.txt} +0 -0
@@ -49,6 +49,44 @@
49
49
  "description": "大屏仪表盘",
50
50
  "category": "big-screen-content"
51
51
  },
52
+ {
53
+ "name": "data-view.modern-style-component-title",
54
+ "properties": [
55
+ {
56
+ "name": "hideLeftComponent",
57
+ "description": "",
58
+ "default": "false"
59
+ },
60
+ {
61
+ "name": "hideRightComponent",
62
+ "description": "",
63
+ "default": "true"
64
+ },
65
+ {
66
+ "name": "componentTitle",
67
+ "description": "",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "name": "titleTextStyle",
72
+ "description": "",
73
+ "attribute": false,
74
+ "type": "CSSProperties"
75
+ },
76
+ {
77
+ "name": "squareColor",
78
+ "description": "",
79
+ "attribute": false,
80
+ "type": "CSSProperties[\"color\"]"
81
+ }
82
+ ],
83
+ "events": [],
84
+ "slots": [],
85
+ "methods": [],
86
+ "parts": [],
87
+ "description": "现代风组件标题",
88
+ "category": "big-screen-content"
89
+ },
52
90
  {
53
91
  "name": "data-view.modern-style-page-title",
54
92
  "properties": [
@@ -180,44 +218,6 @@
180
218
  "description": "大屏仪标签页抽屉",
181
219
  "category": "big-screen-layout"
182
220
  },
183
- {
184
- "name": "data-view.modern-style-component-title",
185
- "properties": [
186
- {
187
- "name": "hideLeftComponent",
188
- "description": "",
189
- "default": "false"
190
- },
191
- {
192
- "name": "hideRightComponent",
193
- "description": "",
194
- "default": "true"
195
- },
196
- {
197
- "name": "componentTitle",
198
- "description": "",
199
- "type": "string"
200
- },
201
- {
202
- "name": "titleTextStyle",
203
- "description": "",
204
- "attribute": false,
205
- "type": "CSSProperties"
206
- },
207
- {
208
- "name": "squareColor",
209
- "description": "",
210
- "attribute": false,
211
- "type": "CSSProperties[\"color\"]"
212
- }
213
- ],
214
- "events": [],
215
- "slots": [],
216
- "methods": [],
217
- "parts": [],
218
- "description": "现代风组件标题",
219
- "category": "big-screen-content"
220
- },
221
221
  {
222
222
  "name": "data-view.modern-style-treemap",
223
223
  "properties": [
@@ -276,81 +276,81 @@
276
276
  "category": "big-screen-content"
277
277
  },
278
278
  {
279
- "name": "data-view.dropdown-menu",
279
+ "name": "data-view.battery-chart",
280
280
  "properties": [
281
281
  {
282
- "name": "options",
282
+ "name": "value",
283
283
  "description": "",
284
- "attribute": false,
285
- "type": "{ label: string; value: string }[]"
284
+ "type": "number"
286
285
  },
287
286
  {
288
- "name": "value",
287
+ "name": "batteryWidth",
289
288
  "description": "",
290
- "type": "string"
289
+ "type": "number"
291
290
  },
292
291
  {
293
- "name": "placeholder",
292
+ "name": "batteryHeight",
294
293
  "description": "",
295
- "type": "string"
294
+ "type": "number"
296
295
  },
297
296
  {
298
- "name": "allowClear",
297
+ "name": "thresholdColors",
299
298
  "description": "",
300
- "type": "boolean"
301
- }
302
- ],
303
- "events": [
299
+ "attribute": false,
300
+ "type": "ThresholdColor[]"
301
+ },
304
302
  {
305
- "name": "value.change",
303
+ "name": "thresholdValue",
306
304
  "description": "",
307
- "detail": {
308
- "description": null,
309
- "type": "string"
310
- }
305
+ "type": "number"
311
306
  }
312
307
  ],
308
+ "events": [],
313
309
  "slots": [],
314
310
  "methods": [],
315
311
  "parts": [],
316
- "description": "基础下拉菜单",
312
+ "description": "大屏电池",
317
313
  "category": "big-screen-content"
318
314
  },
319
315
  {
320
- "name": "data-view.battery-chart",
316
+ "name": "data-view.dropdown-menu",
321
317
  "properties": [
322
318
  {
323
- "name": "value",
319
+ "name": "options",
324
320
  "description": "",
325
- "type": "number"
321
+ "attribute": false,
322
+ "type": "{ label: string; value: string }[]"
326
323
  },
327
324
  {
328
- "name": "batteryWidth",
325
+ "name": "value",
329
326
  "description": "",
330
- "type": "number"
327
+ "type": "string"
331
328
  },
332
329
  {
333
- "name": "batteryHeight",
330
+ "name": "placeholder",
334
331
  "description": "",
335
- "type": "number"
332
+ "type": "string"
336
333
  },
337
334
  {
338
- "name": "thresholdColors",
335
+ "name": "allowClear",
339
336
  "description": "",
340
- "attribute": false,
341
- "type": "ThresholdColor[]"
342
- },
337
+ "type": "boolean"
338
+ }
339
+ ],
340
+ "events": [
343
341
  {
344
- "name": "thresholdValue",
342
+ "name": "value.change",
345
343
  "description": "",
346
- "type": "number"
344
+ "detail": {
345
+ "description": null,
346
+ "type": "string"
347
+ }
347
348
  }
348
349
  ],
349
- "events": [],
350
350
  "slots": [],
351
351
  "methods": [],
352
352
  "parts": [],
353
- "description": "大屏电池",
353
+ "description": "基础下拉菜单",
354
354
  "category": "big-screen-content"
355
355
  },
356
356
  {
package/dist/types.json CHANGED
@@ -40,6 +40,60 @@
40
40
  "events": [],
41
41
  "methods": []
42
42
  },
43
+ "data-view.modern-style-component-title": {
44
+ "properties": [
45
+ {
46
+ "name": "hideLeftComponent",
47
+ "annotation": {
48
+ "type": "keyword",
49
+ "value": "boolean"
50
+ }
51
+ },
52
+ {
53
+ "name": "hideRightComponent",
54
+ "annotation": {
55
+ "type": "keyword",
56
+ "value": "boolean"
57
+ }
58
+ },
59
+ {
60
+ "name": "componentTitle",
61
+ "annotation": {
62
+ "type": "keyword",
63
+ "value": "string"
64
+ }
65
+ },
66
+ {
67
+ "name": "titleTextStyle",
68
+ "annotation": {
69
+ "type": "reference",
70
+ "typeName": {
71
+ "type": "identifier",
72
+ "name": "CSSProperties"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "name": "squareColor",
78
+ "annotation": {
79
+ "type": "indexedAccess",
80
+ "objectType": {
81
+ "type": "reference",
82
+ "typeName": {
83
+ "type": "identifier",
84
+ "name": "CSSProperties"
85
+ }
86
+ },
87
+ "indexType": {
88
+ "type": "jsLiteral",
89
+ "value": "color"
90
+ }
91
+ }
92
+ }
93
+ ],
94
+ "events": [],
95
+ "methods": []
96
+ },
43
97
  "data-view.modern-style-page-title": {
44
98
  "properties": [
45
99
  {
@@ -283,132 +337,6 @@
283
337
  }
284
338
  ]
285
339
  },
286
- "data-view.modern-style-component-title": {
287
- "properties": [
288
- {
289
- "name": "hideLeftComponent",
290
- "annotation": {
291
- "type": "keyword",
292
- "value": "boolean"
293
- }
294
- },
295
- {
296
- "name": "hideRightComponent",
297
- "annotation": {
298
- "type": "keyword",
299
- "value": "boolean"
300
- }
301
- },
302
- {
303
- "name": "componentTitle",
304
- "annotation": {
305
- "type": "keyword",
306
- "value": "string"
307
- }
308
- },
309
- {
310
- "name": "titleTextStyle",
311
- "annotation": {
312
- "type": "reference",
313
- "typeName": {
314
- "type": "identifier",
315
- "name": "CSSProperties"
316
- }
317
- }
318
- },
319
- {
320
- "name": "squareColor",
321
- "annotation": {
322
- "type": "indexedAccess",
323
- "objectType": {
324
- "type": "reference",
325
- "typeName": {
326
- "type": "identifier",
327
- "name": "CSSProperties"
328
- }
329
- },
330
- "indexType": {
331
- "type": "jsLiteral",
332
- "value": "color"
333
- }
334
- }
335
- }
336
- ],
337
- "events": [],
338
- "methods": []
339
- },
340
- "data-view.dropdown-menu": {
341
- "properties": [
342
- {
343
- "name": "options",
344
- "annotation": {
345
- "type": "array",
346
- "elementType": {
347
- "type": "typeLiteral",
348
- "members": [
349
- {
350
- "type": "propertySignature",
351
- "key": {
352
- "type": "identifier",
353
- "name": "label"
354
- },
355
- "annotation": {
356
- "type": "keyword",
357
- "value": "string"
358
- },
359
- "computed": false
360
- },
361
- {
362
- "type": "propertySignature",
363
- "key": {
364
- "type": "identifier",
365
- "name": "value"
366
- },
367
- "annotation": {
368
- "type": "keyword",
369
- "value": "string"
370
- },
371
- "computed": false
372
- }
373
- ]
374
- }
375
- }
376
- },
377
- {
378
- "name": "value",
379
- "annotation": {
380
- "type": "keyword",
381
- "value": "string"
382
- }
383
- },
384
- {
385
- "name": "placeholder",
386
- "annotation": {
387
- "type": "keyword",
388
- "value": "string"
389
- }
390
- },
391
- {
392
- "name": "allowClear",
393
- "annotation": {
394
- "type": "keyword",
395
- "value": "boolean"
396
- }
397
- }
398
- ],
399
- "events": [
400
- {
401
- "name": "value.change",
402
- "detail": {
403
- "annotation": {
404
- "type": "keyword",
405
- "value": "string"
406
- }
407
- }
408
- }
409
- ],
410
- "methods": []
411
- },
412
340
  "data-view.battery-chart": {
413
341
  "properties": [
414
342
  {
@@ -548,6 +476,78 @@
548
476
  }
549
477
  ]
550
478
  },
479
+ "data-view.dropdown-menu": {
480
+ "properties": [
481
+ {
482
+ "name": "options",
483
+ "annotation": {
484
+ "type": "array",
485
+ "elementType": {
486
+ "type": "typeLiteral",
487
+ "members": [
488
+ {
489
+ "type": "propertySignature",
490
+ "key": {
491
+ "type": "identifier",
492
+ "name": "label"
493
+ },
494
+ "annotation": {
495
+ "type": "keyword",
496
+ "value": "string"
497
+ },
498
+ "computed": false
499
+ },
500
+ {
501
+ "type": "propertySignature",
502
+ "key": {
503
+ "type": "identifier",
504
+ "name": "value"
505
+ },
506
+ "annotation": {
507
+ "type": "keyword",
508
+ "value": "string"
509
+ },
510
+ "computed": false
511
+ }
512
+ ]
513
+ }
514
+ }
515
+ },
516
+ {
517
+ "name": "value",
518
+ "annotation": {
519
+ "type": "keyword",
520
+ "value": "string"
521
+ }
522
+ },
523
+ {
524
+ "name": "placeholder",
525
+ "annotation": {
526
+ "type": "keyword",
527
+ "value": "string"
528
+ }
529
+ },
530
+ {
531
+ "name": "allowClear",
532
+ "annotation": {
533
+ "type": "keyword",
534
+ "value": "boolean"
535
+ }
536
+ }
537
+ ],
538
+ "events": [
539
+ {
540
+ "name": "value.change",
541
+ "detail": {
542
+ "annotation": {
543
+ "type": "keyword",
544
+ "value": "string"
545
+ }
546
+ }
547
+ }
548
+ ],
549
+ "methods": []
550
+ },
551
551
  "data-view.particle-animation": {
552
552
  "properties": [
553
553
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "peerDependencies": {
41
41
  "@next-bricks/icons": "*"
42
42
  },
43
- "gitHead": "6e28ef7f17684ea4abb12b09df98009b66cfd085"
43
+ "gitHead": "77d6ef64dda8f67d558fdf15c56532faaee95a46"
44
44
  }
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).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 l=new FileReader;l.onloadend=function(){var e=l.result;e=u?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var f=a.URL||a.webkitURL,v=f.createObjectURL(e);o?o.location=v:location.href=v,o=null,setTimeout((function(){f.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:()=>f});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 l=new Map;function f(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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AS1E,EAAM4E,KAAKC,UAAUtC,GAC1D,CACA,OAAAuC,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":""}