@next-bricks/data-view 0.2.0 → 0.3.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 (123) hide show
  1. package/dist/bricks.json +5 -3
  2. package/dist/chunks/{1646.c6fb10b9.js → 1646.840ff4cb.js} +2 -2
  3. package/dist/chunks/1646.840ff4cb.js.map +1 -0
  4. package/dist/chunks/2323.d18e8952.js +2 -0
  5. package/dist/chunks/2323.d18e8952.js.map +1 -0
  6. package/dist/chunks/2618.68a01967.js +2 -0
  7. package/dist/chunks/2618.68a01967.js.map +1 -0
  8. package/dist/chunks/{3494.f3d54505.js → 3494.d359914f.js} +2 -2
  9. package/dist/chunks/{3494.f3d54505.js.map → 3494.d359914f.js.map} +1 -1
  10. package/dist/chunks/{353.aaa52aa5.js → 353.379af925.js} +2 -2
  11. package/dist/chunks/{353.aaa52aa5.js.map → 353.379af925.js.map} +1 -1
  12. package/dist/chunks/4454.3c78522e.js +2 -0
  13. package/dist/chunks/4454.3c78522e.js.map +1 -0
  14. package/dist/chunks/{4512.6ed82117.js → 4512.a6f07874.js} +2 -2
  15. package/dist/chunks/{4512.6ed82117.js.map → 4512.a6f07874.js.map} +1 -1
  16. package/dist/chunks/4728.fb9d912a.js +2 -0
  17. package/dist/chunks/4728.fb9d912a.js.map +1 -0
  18. package/dist/chunks/5151.f76b1f6a.js +2 -0
  19. package/dist/chunks/5151.f76b1f6a.js.map +1 -0
  20. package/dist/chunks/{5636.ed10ef34.js → 5636.6a5194f2.js} +2 -2
  21. package/dist/chunks/{5636.ed10ef34.js.map → 5636.6a5194f2.js.map} +1 -1
  22. package/dist/chunks/5746.0603bcc0.js +3 -0
  23. package/dist/chunks/5746.0603bcc0.js.map +1 -0
  24. package/dist/chunks/6205.ad762e76.js +2 -0
  25. package/dist/chunks/{6205.de9bf2ba.js.map → 6205.ad762e76.js.map} +1 -1
  26. package/dist/chunks/7164.679a698f.js +2 -0
  27. package/dist/chunks/{7164.4bb29d10.js.map → 7164.679a698f.js.map} +1 -1
  28. package/dist/chunks/7746.ad47a983.js +2 -0
  29. package/dist/chunks/7746.ad47a983.js.map +1 -0
  30. package/dist/chunks/{7822.c3e6d531.js → 7822.4a63fdd3.js} +2 -2
  31. package/dist/chunks/{7822.c3e6d531.js.map → 7822.4a63fdd3.js.map} +1 -1
  32. package/dist/chunks/{7915.0bf6d068.js → 7915.f3e0ede9.js} +2 -2
  33. package/dist/chunks/{7915.0bf6d068.js.map → 7915.f3e0ede9.js.map} +1 -1
  34. package/dist/chunks/{8008.00ab7560.js → 8008.a58de07d.js} +3 -3
  35. package/dist/chunks/{8008.00ab7560.js.map → 8008.a58de07d.js.map} +1 -1
  36. package/dist/chunks/8196.667392f2.js +2 -0
  37. package/dist/chunks/8196.667392f2.js.map +1 -0
  38. package/dist/chunks/873.b84ce056.js +2 -0
  39. package/dist/chunks/873.b84ce056.js.map +1 -0
  40. package/dist/chunks/8843.dcd562e8.js +3 -0
  41. package/dist/chunks/8843.dcd562e8.js.map +1 -0
  42. package/dist/chunks/app-wall-card-item.74fb1221.js +3 -0
  43. package/dist/chunks/{app-wall-card-item.840fb3f9.js.map → app-wall-card-item.74fb1221.js.map} +1 -1
  44. package/dist/chunks/app-wall-relation-line.ff4dd4fc.js +3 -0
  45. package/dist/chunks/app-wall-relation-line.ff4dd4fc.js.map +1 -0
  46. package/dist/chunks/app-wall-system-card.331f8176.js +3 -0
  47. package/dist/chunks/app-wall-system-card.331f8176.js.map +1 -0
  48. package/dist/chunks/battery-chart.658a3780.js +2 -0
  49. package/dist/chunks/{battery-chart.2c991e97.js.map → battery-chart.658a3780.js.map} +1 -1
  50. package/dist/chunks/complex-search.c4405533.js +2 -0
  51. package/dist/chunks/{complex-search.e5ad7ef3.js.map → complex-search.c4405533.js.map} +1 -1
  52. package/dist/chunks/dropdown-menu.43f26f9a.js +3 -0
  53. package/dist/chunks/{dropdown-menu.2681372b.js.map → dropdown-menu.43f26f9a.js.map} +1 -1
  54. package/dist/chunks/gauge-chart.0ae3f129.js +2 -0
  55. package/dist/chunks/{gauge-chart.5c4ba6a4.js.map → gauge-chart.0ae3f129.js.map} +1 -1
  56. package/dist/chunks/loading-panel.c495be3f.js +2 -0
  57. package/dist/chunks/{loading-panel.c594808c.js.map → loading-panel.c495be3f.js.map} +1 -1
  58. package/dist/chunks/main.8488fbc4.js +2 -0
  59. package/dist/chunks/{main.887a6193.js.map → main.8488fbc4.js.map} +1 -1
  60. package/dist/chunks/modern-style-component-title.389445d4.js +2 -0
  61. package/dist/chunks/{modern-style-component-title.e8b2aa60.js.map → modern-style-component-title.389445d4.js.map} +1 -1
  62. package/dist/chunks/modern-style-page-title.ca489473.js +2 -0
  63. package/dist/chunks/{modern-style-page-title.9290bacc.js.map → modern-style-page-title.ca489473.js.map} +1 -1
  64. package/dist/chunks/modern-style-treemap.8cfc03bf.js +2 -0
  65. package/dist/chunks/{modern-style-treemap.025c61b9.js.map → modern-style-treemap.8cfc03bf.js.map} +1 -1
  66. package/dist/chunks/particle-animation.39f3cafa.js +2 -0
  67. package/dist/chunks/particle-animation.39f3cafa.js.map +1 -0
  68. package/dist/chunks/tabs-drawer.9ae3c94a.js +3 -0
  69. package/dist/chunks/tabs-drawer.9ae3c94a.js.LICENSE.txt +5 -0
  70. package/dist/chunks/{tabs-drawer.a75dc490.js.map → tabs-drawer.9ae3c94a.js.map} +1 -1
  71. package/dist/index.710e5862.js +2 -0
  72. package/dist/index.710e5862.js.map +1 -0
  73. package/dist-types/app-wall/relation-line/index.d.ts +24 -0
  74. package/dist-types/app-wall/relation-line/index.spec.d.ts +1 -0
  75. package/dist-types/bootstrap.d.ts +1 -0
  76. package/package.json +10 -19
  77. package/dist/chunks/1646.c6fb10b9.js.map +0 -1
  78. package/dist/chunks/2323.5185fa60.js +0 -2
  79. package/dist/chunks/2323.5185fa60.js.map +0 -1
  80. package/dist/chunks/2618.a2399464.js +0 -2
  81. package/dist/chunks/2618.a2399464.js.map +0 -1
  82. package/dist/chunks/2951.57059430.js +0 -3
  83. package/dist/chunks/2951.57059430.js.map +0 -1
  84. package/dist/chunks/4454.25db2c7a.js +0 -2
  85. package/dist/chunks/4454.25db2c7a.js.map +0 -1
  86. package/dist/chunks/4728.b40327c9.js +0 -2
  87. package/dist/chunks/4728.b40327c9.js.map +0 -1
  88. package/dist/chunks/5151.f19f99d2.js +0 -2
  89. package/dist/chunks/5151.f19f99d2.js.map +0 -1
  90. package/dist/chunks/6205.de9bf2ba.js +0 -2
  91. package/dist/chunks/7164.4bb29d10.js +0 -2
  92. package/dist/chunks/7746.2d8b6f17.js +0 -2
  93. package/dist/chunks/7746.2d8b6f17.js.map +0 -1
  94. package/dist/chunks/873.58c2e4d7.js +0 -2
  95. package/dist/chunks/873.58c2e4d7.js.map +0 -1
  96. package/dist/chunks/9685.b7dafab6.js +0 -3
  97. package/dist/chunks/9685.b7dafab6.js.map +0 -1
  98. package/dist/chunks/991.42fd7b7b.js +0 -2
  99. package/dist/chunks/991.42fd7b7b.js.map +0 -1
  100. package/dist/chunks/app-wall-card-item.840fb3f9.js +0 -3
  101. package/dist/chunks/app-wall-system-card.2a19da39.js +0 -3
  102. package/dist/chunks/app-wall-system-card.2a19da39.js.map +0 -1
  103. package/dist/chunks/battery-chart.2c991e97.js +0 -2
  104. package/dist/chunks/complex-search.e5ad7ef3.js +0 -2
  105. package/dist/chunks/dropdown-menu.2681372b.js +0 -3
  106. package/dist/chunks/gauge-chart.5c4ba6a4.js +0 -2
  107. package/dist/chunks/loading-panel.c594808c.js +0 -2
  108. package/dist/chunks/main.887a6193.js +0 -2
  109. package/dist/chunks/modern-style-component-title.e8b2aa60.js +0 -2
  110. package/dist/chunks/modern-style-page-title.9290bacc.js +0 -2
  111. package/dist/chunks/modern-style-treemap.025c61b9.js +0 -2
  112. package/dist/chunks/particle-animation.37f88acb.js +0 -2
  113. package/dist/chunks/particle-animation.37f88acb.js.map +0 -1
  114. package/dist/chunks/tabs-drawer.a75dc490.js +0 -3
  115. package/dist/index.d5a4d33a.js +0 -2
  116. package/dist/index.d5a4d33a.js.map +0 -1
  117. /package/dist/chunks/{9685.b7dafab6.js.LICENSE.txt → 5746.0603bcc0.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{8008.00ab7560.js.LICENSE.txt → 8008.a58de07d.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{2951.57059430.js.LICENSE.txt → 8843.dcd562e8.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{app-wall-card-item.840fb3f9.js.LICENSE.txt → app-wall-card-item.74fb1221.js.LICENSE.txt} +0 -0
  121. /package/dist/chunks/{app-wall-system-card.2a19da39.js.LICENSE.txt → app-wall-relation-line.ff4dd4fc.js.LICENSE.txt} +0 -0
  122. /package/dist/chunks/{dropdown-menu.2681372b.js.LICENSE.txt → app-wall-system-card.331f8176.js.LICENSE.txt} +0 -0
  123. /package/dist/chunks/{tabs-drawer.a75dc490.js.LICENSE.txt → dropdown-menu.43f26f9a.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/dropdown-menu.2681372b.js","mappings":";iMAgB8DA,8HAJxDC,GAAcC,EAAAA,EAAAA,WAClB,uBAGI,cAAEC,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,oBAAmBC,EAkB7DJ,EAAc,0BAA2B,CACxCK,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAUCP,EAAS,CACRQ,WAAW,IACXC,EASDT,IAAUU,EASVV,IAAUW,EAOVV,EAAM,CAAEW,KAAM,iBAAiB,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAvClC,MAAAM,UAIUC,EAAAA,iBACqBC,cAAA,SAAAC,YAAAC,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,IAAAC,EAAAC,IAAAC,KAC7BJ,EAAA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AUV,IAAQU,OAAO3F,UAAY,gBAAkBiF,CAC1H,EAAGS,EAAQT,EACb","sources":["webpack:///./src/dropdown-menu/index.tsx","webpack:///../../node_modules/classnames/index.js","webpack:///./src/data-view-variables.shadow.css","webpack:///./src/dropdown-menu/dropdown-menu.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport { EventEmitter, createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./dropdown-menu.shadow.css\";\nimport emptyUrl from \"../asset/images/empty.png\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport classNames from \"classnames\";\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\n \"icons.general-icon\"\n);\n\nconst { defineElement, property, event } = createDecorators();\n\ninterface DropdownMenuProps {\n curElement?: HTMLElement;\n options?: { label: string, value: string }[];\n value?: string;\n placeholder?: string;\n onChange?: (value: string) => void;\n}\n\n/**\n * @id data-view.dropdown-menu\n * @name data-view.dropdown-menu\n * @docKind brick\n * @description 基础下拉菜单\n * @author nlicroshan\n * @noInheritDoc\n */\n@defineElement(\"data-view.dropdown-menu\", {\n styleTexts: [variablesStyleText, styleText],\n})\nclass DropdownMenu\n extends ReactNextElement\n implements DropdownMenuProps {\n /**\n * @kind { label: string, value: string }[]\n * @required false\n * @default\n * @description 候选项\n */\n @property({\n attribute: false,\n })\n accessor options: { label: string, value: string }[];\n\n /**\n * @kind string\n * @required false\n * @default\n * @description 值\n */\n @property()\n accessor value: string;\n\n /**\n * @kind string\n * @required false\n * @default\n * @description 占位符\n */\n @property()\n accessor placeholder: string;\n\n /**\n * @detail\n * @description 值改变\n */\n @event({ type: \"value.change\" })\n accessor #valueChange!: EventEmitter<string>;\n\n #handleValueChange = (value: string) => {\n this.#valueChange.emit(value);\n };\n\n render() {\n return (\n <DropdownMenuElement\n curElement={this}\n options={this.options}\n value={this.value}\n placeholder={this.placeholder}\n onChange={this.#handleValueChange}\n />\n );\n }\n}\n\nfunction DropdownMenuElement(\n props: DropdownMenuProps\n): React.ReactElement {\n const {\n curElement,\n options,\n placeholder,\n onChange,\n } = props;\n\n const [isDropHidden, setIsDropHidden] = React.useState(true);\n\n const inputRef = useRef<HTMLInputElement>();\n const [inputValue, setInputValue] = React.useState(\"\");\n const [isInputFocused, setIsInputFocused] = React.useState(false);\n\n const [value, setValue] = useState(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n useEffect(() => {\n const handleDocumentClick = (e: MouseEvent) => {\n if (!curElement.contains(e.target as HTMLElement)) {\n setIsDropHidden(true);\n setIsInputFocused(() => {\n inputRef.current.blur();\n setInputValue(\"\");\n return false;\n });\n }\n };\n document.addEventListener(\"click\", handleDocumentClick);\n return () => {\n document.removeEventListener(\"click\", handleDocumentClick);\n };\n });\n\n const filteredOptions = useMemo(() => {\n return options.filter(v => {\n const search = inputValue?.trim().toLowerCase() || \"\";\n return v.label.toLowerCase().includes(search) || v.value.toLowerCase().includes(search);\n })\n }, [inputValue, options]);\n\n return (<div className=\"container\">\n <div className={classNames(\"select\", {\n \"select-focused\": isInputFocused,\n })}>\n <div className=\"select-selector\" onClick={() => {\n setIsDropHidden(false);\n setIsInputFocused((pre) => {\n if (!pre) {\n setInputValue(\"\");\n }\n inputRef.current.focus();\n return true;\n });\n }}>\n <div className=\"select-selector-search\">\n <input className=\"select-selector-search-input\"\n type=\"search\" autoComplete=\"off\" ref={inputRef}\n value={inputValue}\n onChange={(e) => {\n setInputValue(e.target.value)\n }}\n />\n </div>\n {value\n ? <div className=\"select-selector-item\" style={{ visibility: inputValue ? \"hidden\" : \"visible\" }}>{value}</div>\n : <div className=\"select-selection-placeholder\" style={{ visibility: inputValue ? \"hidden\" : \"visible\" }}>{placeholder}</div>\n }\n <div className=\"select-arrow\" >\n {isInputFocused\n ? <WrappedIcon className=\"ant-select-suffix search-icon\" lib=\"antd\" theme=\"outlined\" icon=\"search\" />\n : <WrappedIcon className=\"ant-select-suffix down-icon\" lib=\"antd\" theme=\"outlined\" icon=\"down\" />}\n </div>\n <div className=\"select-clear\" style={{ visibility: !value ? \"hidden\" : \"visible\" }}\n onMouseDown={(e) => {\n // 使用onMouseDown使输入框保持聚焦\n e.preventDefault();\n e.stopPropagation();\n setInputValue(\"\");\n setValue(null);\n onChange?.(null);\n }}\n >\n <WrappedIcon className=\"ant-select-suffix clear-icon\" lib=\"antd\" theme=\"filled\" icon=\"close-circle\" />\n </div>\n </div>\n </div>\n <div className=\"select-dropdown\"\n style={{ display: isDropHidden ? \"none\" : \"block\" }}\n >\n {\n filteredOptions.length\n ? <div className=\"dropdown-list\">\n <div className=\"dropdown-list-inner\">\n {filteredOptions.map(v => {\n return <div className={classNames(\"select-item\", {\n selected: value === v.value\n })} key={v.value}\n onClick={() => {\n setValue(v.value);\n setIsDropHidden(true);\n setIsInputFocused(() => {\n inputRef.current.blur();\n setInputValue(\"\");\n return false;\n });\n onChange?.(v.value);\n }}>\n <div className=\"select-item-option-content\">{v.label}</div>\n </div>\n })}\n </div>\n </div>\n : <div className=\"empty-state\">\n <img src={emptyUrl} className=\"empty-image\" />\n <div className=\"empty-description\">暂无数据</div>\n </div>\n }\n </div>\n </div>\n );\n}\n\nexport { DropdownMenu };\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{display:inline-block}:host([hidden]){display:none}*,\\n*::before,\\n*::after{box-sizing:border-box}.container{position:relative}.select{position:relative}.select:hover .select-selector{background:var(--color-brand)}.select-focused .select-selector{background:var(--color-brand-active)!important}.select:hover .select-clear{opacity:1}.select-focused .select-selector-item,\\n.select-focused .select-selection-placeholder{color:var(--color-disabled-text)}.select:hover .select-selector-item~.select-arrow{opacity:0}.select-selector{display:flex;position:relative;width:100%;height:46px;padding:0 12px;border:var(--border-width-base) solid;border-image:linear-gradient(90deg,var(--palette-rgba-white-5),transparent,var(--palette-rgba-white-5)) 1;border-radius:var(--no-border-radius);background:var(--color-fill-bg-base-3);box-shadow:inset 0px 0px 11px 0px #3366ff;transition:all .2s cubic-bezier(.645,.045,.355,1);cursor:text}.select-selector-search{position:absolute;top:0;bottom:0;inset-inline-start:11px;inset-inline-end:29px}.select-selector-search-input{width:100%;height:calc(46px - var(--border-width-base) * 2);color:var(--color-normal-text);margin:0;padding:0;background:none;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto}.select-selector-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none;appearance:none}.select-selection-placeholder,\\n.select-selector-item{flex:1;padding:0;-webkit-padding-end:18px;padding-inline-end:18px;line-height:calc(46px - var(--border-width-base) * 2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-500)}.select-selection-placeholder{color:var(--color-normal-text);transition:color .3s;pointer-events:none}.select-selector-item{color:var(--color-normal-text);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .3s;font-weight:400}.select-arrow,\\n.select-clear{margin-top:-6px;position:absolute;top:50%;inset-inline-start:auto;inset-inline-end:11px;text-align:center;font-size:12px;line-height:1;width:12px;height:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-arrow{pointer-events:none;transition:opacity .3s ease}.select-clear{opacity:0;z-index:1;transition:color .2s ease,opacity .3s ease;cursor:pointer}.ant-select-suffix{display:inline-block;width:100%;height:100%;line-height:1}.search-icon{color:var(--color-disabled-text)}.down-icon,\\n.clear-icon{color:var(--color-auxiliary-text)}.select-dropdown{position:absolute;bottom:50px;width:100%;border-radius:var(--no-border-radius);background:rgba(var(--palette-tech-blue-6-channel),.4);box-shadow:inset 0px 0px 11px 0px #1861D6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dropdown-list{max-height:160px;padding:8px 0;overflow-y:scroll;overflow-anchor:none}.dropdown-inner{display:flex;flex-direction:column;height:36px}.select-item{display:flex;align-items:center;padding:7px;border-radius:var(--no-border-radius);cursor:pointer;transition:background 0.3s ease}.select-item:hover,\\n.select-item.selected{background:var(--color-fill-bg-container-1)}.select-item-option-content{font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);line-height:22px}.empty-state{padding:47px 0;display:flex;flex-direction:column;align-items:center}.empty-image{width:auto;height:39px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.empty-description{margin-top:10px;color:var(--palette-rgba-white-6)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error(\"Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_DropdownMenu","WrappedIcon","wrapBrick","defineElement","property","event","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","attribute","_dec3","_dec4","_dec5","type","_A","WeakMap","_B","_C","_D","_valueChange","_handleValueChange","DropdownMenu","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_valueChange2","set","_set_valueChange2","writable","value","_initProto","_init_options","_init_value","_init_placeholder","_init_valueChange","_classPrivateFieldGet","this","emit","options","v","_classPrivateFieldSet","placeholder","render","React","DropdownMenuElement","curElement","onChange","_set_valueChange","_get_valueChange","props","isDropHidden","setIsDropHidden","inputRef","useRef","inputValue","setInputValue","isInputFocused","setIsInputFocused","setValue","useState","useEffect","handleDocumentClick","e","contains","target","current","blur","document","addEventListener","removeEventListener","filteredOptions","useMemo","filter","search","trim","toLowerCase","label","includes","className","classNames","onClick","pre","focus","autoComplete","ref","style","visibility","lib","theme","icon","onMouseDown","preventDefault","stopPropagation","display","length","map","selected","key","src","emptyUrl","c","_initClass","_applyDecs2203R","hasOwn","hasOwnProperty","classes","i","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","call","join","module","exports","default","___CSS_LOADER_EXPORT___","id","cssWithMappingToString","list","item","content","needLayer","concat","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","name","desc","kind","isStatic","isPrivate","kindStr","ctx","addInitializer","access","fn","hint","TypeError","assertValidReturnValue","init","applyMemberDec","ret","base","decInfo","newValue","decs","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/dropdown-menu.43f26f9a.js","mappings":";iMAgB8DA,+HAJxDC,GAAcC,EAAAA,EAAAA,WAClB,uBAGI,cAAEC,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,oBAAmBC,EAkB7DJ,EAAc,0BAA2B,CACxCK,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAUCP,EAAS,CACRQ,WAAW,IACXC,EASDT,IAAUU,EASVV,IAAUW,EAOVV,EAAM,CAAEW,KAAM,iBAAiB,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAvClC,MAAAM,UAIUC,EAAAA,iBACqBC,cAAA,SAAAC,YAAAC,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,IAAAC,EAAAC,IAAAC,KAC7BJ,EAAAA,EAAAA,GAAA,KAAAX,EAAA,CAAAgB,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,UAWAR,EAAAA,EAAAA,GAAA,KAAAT,EAAA,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js","webpack:///./src/data-view-variables.shadow.css","webpack:///./src/dropdown-menu/dropdown-menu.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport { EventEmitter, createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./dropdown-menu.shadow.css\";\nimport emptyUrl from \"../asset/images/empty.png\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport classNames from \"classnames\";\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\n \"icons.general-icon\"\n);\n\nconst { defineElement, property, event } = createDecorators();\n\ninterface DropdownMenuProps {\n curElement?: HTMLElement;\n options?: { label: string, value: string }[];\n value?: string;\n placeholder?: string;\n onChange?: (value: string) => void;\n}\n\n/**\n * @id data-view.dropdown-menu\n * @name data-view.dropdown-menu\n * @docKind brick\n * @description 基础下拉菜单\n * @author nlicroshan\n * @noInheritDoc\n */\n@defineElement(\"data-view.dropdown-menu\", {\n styleTexts: [variablesStyleText, styleText],\n})\nclass DropdownMenu\n extends ReactNextElement\n implements DropdownMenuProps {\n /**\n * @kind { label: string, value: string }[]\n * @required false\n * @default\n * @description 候选项\n */\n @property({\n attribute: false,\n })\n accessor options: { label: string, value: string }[];\n\n /**\n * @kind string\n * @required false\n * @default\n * @description 值\n */\n @property()\n accessor value: string;\n\n /**\n * @kind string\n * @required false\n * @default\n * @description 占位符\n */\n @property()\n accessor placeholder: string;\n\n /**\n * @detail\n * @description 值改变\n */\n @event({ type: \"value.change\" })\n accessor #valueChange!: EventEmitter<string>;\n\n #handleValueChange = (value: string) => {\n this.#valueChange.emit(value);\n };\n\n render() {\n return (\n <DropdownMenuElement\n curElement={this}\n options={this.options}\n value={this.value}\n placeholder={this.placeholder}\n onChange={this.#handleValueChange}\n />\n );\n }\n}\n\nfunction DropdownMenuElement(\n props: DropdownMenuProps\n): React.ReactElement {\n const {\n curElement,\n options,\n placeholder,\n onChange,\n } = props;\n\n const [isDropHidden, setIsDropHidden] = React.useState(true);\n\n const inputRef = useRef<HTMLInputElement>();\n const [inputValue, setInputValue] = React.useState(\"\");\n const [isInputFocused, setIsInputFocused] = React.useState(false);\n\n const [value, setValue] = useState(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n useEffect(() => {\n const handleDocumentClick = (e: MouseEvent) => {\n if (!curElement.contains(e.target as HTMLElement)) {\n setIsDropHidden(true);\n setIsInputFocused(() => {\n inputRef.current.blur();\n setInputValue(\"\");\n return false;\n });\n }\n };\n document.addEventListener(\"click\", handleDocumentClick);\n return () => {\n document.removeEventListener(\"click\", handleDocumentClick);\n };\n });\n\n const filteredOptions = useMemo(() => {\n return options.filter(v => {\n const search = inputValue?.trim().toLowerCase() || \"\";\n return v.label.toLowerCase().includes(search) || v.value.toLowerCase().includes(search);\n })\n }, [inputValue, options]);\n\n return (<div className=\"container\">\n <div className={classNames(\"select\", {\n \"select-focused\": isInputFocused,\n })}>\n <div className=\"select-selector\" onClick={() => {\n setIsDropHidden(false);\n setIsInputFocused((pre) => {\n if (!pre) {\n setInputValue(\"\");\n }\n inputRef.current.focus();\n return true;\n });\n }}>\n <div className=\"select-selector-search\">\n <input className=\"select-selector-search-input\"\n type=\"search\" autoComplete=\"off\" ref={inputRef}\n value={inputValue}\n onChange={(e) => {\n setInputValue(e.target.value)\n }}\n />\n </div>\n {value\n ? <div className=\"select-selector-item\" style={{ visibility: inputValue ? \"hidden\" : \"visible\" }}>{value}</div>\n : <div className=\"select-selection-placeholder\" style={{ visibility: inputValue ? \"hidden\" : \"visible\" }}>{placeholder}</div>\n }\n <div className=\"select-arrow\" >\n {isInputFocused\n ? <WrappedIcon className=\"ant-select-suffix search-icon\" lib=\"antd\" theme=\"outlined\" icon=\"search\" />\n : <WrappedIcon className=\"ant-select-suffix down-icon\" lib=\"antd\" theme=\"outlined\" icon=\"down\" />}\n </div>\n <div className=\"select-clear\" style={{ visibility: !value ? \"hidden\" : \"visible\" }}\n onMouseDown={(e) => {\n // 使用onMouseDown使输入框保持聚焦\n e.preventDefault();\n e.stopPropagation();\n setInputValue(\"\");\n setValue(null);\n onChange?.(null);\n }}\n >\n <WrappedIcon className=\"ant-select-suffix clear-icon\" lib=\"antd\" theme=\"filled\" icon=\"close-circle\" />\n </div>\n </div>\n </div>\n <div className=\"select-dropdown\"\n style={{ display: isDropHidden ? \"none\" : \"block\" }}\n >\n {\n filteredOptions.length\n ? <div className=\"dropdown-list\">\n <div className=\"dropdown-list-inner\">\n {filteredOptions.map(v => {\n return <div className={classNames(\"select-item\", {\n selected: value === v.value\n })} key={v.value}\n onClick={() => {\n setValue(v.value);\n setIsDropHidden(true);\n setIsInputFocused(() => {\n inputRef.current.blur();\n setInputValue(\"\");\n return false;\n });\n onChange?.(v.value);\n }}>\n <div className=\"select-item-option-content\">{v.label}</div>\n </div>\n })}\n </div>\n </div>\n : <div className=\"empty-state\">\n <img src={emptyUrl} className=\"empty-image\" />\n <div className=\"empty-description\">暂无数据</div>\n </div>\n }\n </div>\n </div>\n );\n}\n\nexport { DropdownMenu };\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{display:inline-block}:host([hidden]){display:none}*,\\n*::before,\\n*::after{box-sizing:border-box}.container{position:relative}.select{position:relative}.select:hover .select-selector{background:var(--color-brand)}.select-focused .select-selector{background:var(--color-brand-active)!important}.select:hover .select-clear{opacity:1}.select-focused .select-selector-item,\\n.select-focused .select-selection-placeholder{color:var(--color-disabled-text)}.select:hover .select-selector-item~.select-arrow{opacity:0}.select-selector{display:flex;position:relative;width:100%;height:46px;padding:0 12px;border:var(--border-width-base) solid;border-image:linear-gradient(90deg,var(--palette-rgba-white-5),transparent,var(--palette-rgba-white-5)) 1;border-radius:var(--no-border-radius);background:var(--color-fill-bg-base-3);box-shadow:inset 0px 0px 11px 0px #3366ff;transition:all .2s cubic-bezier(.645,.045,.355,1);cursor:text}.select-selector-search{position:absolute;top:0;bottom:0;inset-inline-start:11px;inset-inline-end:29px}.select-selector-search-input{width:100%;height:calc(46px - var(--border-width-base) * 2);color:var(--color-normal-text);margin:0;padding:0;background:none;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto}.select-selector-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none;appearance:none}.select-selection-placeholder,\\n.select-selector-item{flex:1;padding:0;-webkit-padding-end:18px;padding-inline-end:18px;line-height:calc(46px - var(--border-width-base) * 2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-500)}.select-selection-placeholder{color:var(--color-normal-text);transition:color .3s;pointer-events:none}.select-selector-item{color:var(--color-normal-text);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .3s;font-weight:400}.select-arrow,\\n.select-clear{margin-top:-6px;position:absolute;top:50%;inset-inline-start:auto;inset-inline-end:11px;text-align:center;font-size:12px;line-height:1;width:12px;height:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-arrow{pointer-events:none;transition:opacity .3s ease}.select-clear{opacity:0;z-index:1;transition:color .2s ease,opacity .3s ease;cursor:pointer}.ant-select-suffix{display:inline-block;width:100%;height:100%;line-height:1}.search-icon{color:var(--color-disabled-text)}.down-icon,\\n.clear-icon{color:var(--color-auxiliary-text)}.select-dropdown{position:absolute;bottom:50px;width:100%;border-radius:var(--no-border-radius);background:rgba(var(--palette-tech-blue-6-channel),.4);box-shadow:inset 0px 0px 11px 0px #1861D6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dropdown-list{max-height:160px;padding:8px 0;overflow-y:scroll;overflow-anchor:none}.dropdown-inner{display:flex;flex-direction:column;height:36px}.select-item{display:flex;align-items:center;padding:7px;border-radius:var(--no-border-radius);cursor:pointer;transition:background 0.3s ease}.select-item:hover,\\n.select-item.selected{background:var(--color-fill-bg-container-1)}.select-item-option-content{font-size:var(--auxiliary-font-size);font-weight:var(--font-weight-400);color:var(--color-normal-text);line-height:22px}.empty-state{padding:47px 0;display:flex;flex-direction:column;align-items:center}.empty-image{width:auto;height:39px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.empty-description{margin-top:10px;color:var(--palette-rgba-white-6)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error(\"Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_DropdownMenu","WrappedIcon","wrapBrick","defineElement","property","event","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","attribute","_dec3","_dec4","_dec5","type","_A","WeakMap","_B","_C","_D","_valueChange","_handleValueChange","DropdownMenu","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_valueChange2","set","_set_valueChange2","writable","value","_initProto","_init_options","_init_value","_init_placeholder","_init_valueChange","_classPrivateFieldGet","this","emit","options","v","_classPrivateFieldSet","placeholder","render","React","DropdownMenuElement","curElement","onChange","_set_valueChange","_get_valueChange","props","isDropHidden","setIsDropHidden","inputRef","useRef","inputValue","setInputValue","isInputFocused","setIsInputFocused","setValue","useState","useEffect","handleDocumentClick","e","contains","target","current","blur","document","addEventListener","removeEventListener","filteredOptions","useMemo","filter","search","trim","toLowerCase","label","includes","className","classNames","onClick","pre","focus","autoComplete","ref","style","visibility","lib","theme","icon","onMouseDown","preventDefault","stopPropagation","display","length","map","selected","key","src","emptyUrl","c","_initClass","_applyDecs2203R","hasOwn","hasOwnProperty","classes","i","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","call","join","module","exports","default","___CSS_LOADER_EXPORT___","id","cssWithMappingToString","list","item","content","needLayer","concat","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","name","desc","kind","isStatic","isPrivate","kindStr","ctx","addInitializer","access","fn","hint","TypeError","assertValidReturnValue","init","applyMemberDec","ret","base","decInfo","newValue","decs","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[2811],{6215:(t,e,r)=>{r.r(e),r.d(e,{GaugeChart:()=>b,GaugeChartComponent:()=>I});var a,n,o,i,l,c,s,p,u,g,h,f,d,b,v=r(3395),y=r(381),w=r(687),x=r(5303),m=r(8657),k=r.n(m),E=r(1785),z=r(4949),Z=r(1043),S=r(7788),{defineElement:M,property:W}=(0,E.createDecorators)();n=M("data-view.gauge-chart",{styleTexts:[Z.Z,S.Z]}),o=W({type:Number}),l=W({type:Number}),s=W(),u=W({type:Number}),h=W({type:Number});var C=new WeakMap,A=new WeakMap,G=new WeakMap,T=new WeakMap,_=new WeakMap;class j extends z.ReactNextElement{constructor(){super(...arguments),(0,v.Z)(this,C,{writable:!0,value:(d(this),i(this))}),(0,v.Z)(this,A,{writable:!0,value:c(this)}),(0,v.Z)(this,G,{writable:!0,value:p(this)}),(0,v.Z)(this,T,{writable:!0,value:g(this)}),(0,v.Z)(this,_,{writable:!0,value:f(this)})}get radius(){return(0,w.Z)(this,C)}set radius(t){(0,y.Z)(this,C,t)}get strokeWidth(){return(0,w.Z)(this,A)}set strokeWidth(t){(0,y.Z)(this,A,t)}get description(){return(0,w.Z)(this,G)}set description(t){(0,y.Z)(this,G,t)}get value(){return(0,w.Z)(this,T)}set value(t){(0,y.Z)(this,T,t)}get fontSize(){return(0,w.Z)(this,_)}set fontSize(t){(0,y.Z)(this,_,t)}render(){return k().createElement(I,{value:this.value,radius:this.radius,strokeWidth:this.strokeWidth,description:this.description,fontSize:this.fontSize})}}function I(t){var{value:e,radius:r,strokeWidth:a=20,description:n,fontSize:o}=t,[i,l]=(0,m.useState)(-r),[c,s]=(0,m.useState)(0);function p(t,e){if(0===t)return{x:e,y:0};if(180===t)return{x:-e,y:0};var r=Math.tan(2*Math.PI*t/360),a=Math.abs(Math.sqrt(1/(r*r+1))*e*r);return{x:a/r,y:a}}var u=(0,m.useMemo)((()=>{for(var t=180-180*e/100,a=180,n=window.setInterval((()=>{a<=t&&window.clearInterval(n);var e=p(a,r);l(e.x),s(e.y),a-=1}),10),o="",i=0;i<8;i++){var c=i*(180/7),u=p(c,r+24),g=p(c,r+30);o+="M".concat(u.x," ").concat(-u.y," L").concat(g.x," ").concat(-g.y," ")}return o}),[e,r]),g=(0,m.useMemo)((()=>{var t=2*(r+30),e=r+30,n=Math.round(a+4)/2;return{x:t/2,y:r+30,height:e,width:t,circleR:n}}),[r]),h=r-a/2;return k().createElement("div",{className:"gaugeChartWrapper"},k().createElement("svg",{width:"".concat(g.width,"px"),height:"".concat(g.height,"px"),version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g.width," ").concat(g.height+g.circleR)},k().createElement("defs",null,k().createElement("linearGradient",{id:"strokeGradient"},k().createElement("stop",{offset:"0%",stopColor:"var(--color-brand)"}),k().createElement("stop",{offset:"100%",stopColor:"var(--color-contrast-1)"})),k().createElement("linearGradient",{id:"wordGradient"},k().createElement("stop",{offset:"0%",stopColor:"#FFCF02"}),k().createElement("stop",{offset:"100%",stopColor:"#FF7352"})),k().createElement("linearGradient",{id:"innerStrokeGradient"},k().createElement("stop",{offset:"0%",stopColor:"var(--color-normal-text)"}),k().createElement("stop",{offset:"100%",stopColor:"transparent"})),k().createElement("filter",{id:"shadow"},k().createElement("feDropShadow",{dx:"0",dy:"1",stdDeviation:"4",floodColor:"#2863ee"}))),k().createElement("path",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),d:"M-".concat(r," 0 A ").concat(r," ").concat(r,", 0, 0, 1, ").concat(r," 0"),strokeWidth:a,stroke:"var(--color-fill-bg-base-4)",fill:"transparent"}),k().createElement("path",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),d:"M-".concat(h," 0 A ").concat(h," ").concat(h,", 0, 0, 1, ").concat(h," 0"),strokeWidth:"1.5",stroke:"url(#innerStrokeGradient)",fill:"transparent"}),k().createElement("path",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),d:"M-".concat(r," 0 A ").concat(r," ").concat(r,", 0, 0, 1, ").concat(i," ").concat(-c),strokeWidth:a,stroke:"url(#strokeGradient)",fill:"transparent"}),k().createElement("circle",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),fill:"#fff",cx:i,cy:-c,r:g.circleR}),k().createElement("circle",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),fill:"#46E0DB",cx:i,cy:-c,r:g.circleR/3}),k().createElement("path",{transform:"translate(".concat(g.x,", ").concat(g.y,")"),d:u,stroke:"#74757A"}),k().createElement("text",{x:"0",y:"-30",transform:"translate(".concat(g.x,", ").concat(g.y,")"),fontSize:null!=o?o:"var(--overview-data-font-size)",textAnchor:"middle",fontWeight:"var(--font-weight-600)",fill:"var(--color-normal-text)",filter:"url(#shadow)"},"".concat(e,"%")),k().createElement("text",{x:"0",y:"-1",transform:"translate(".concat(g.x,", ").concat(g.y,")"),fontSize:"var(--normal-data-font-size)",textAnchor:"middle",fill:"var(--color-secondary-text)",opacity:"0.55"},n)),k().createElement("slot",null))}({e:[i,c,p,g,f,d],c:[b,a]}=(0,x.Z)(j,[[o,1,"radius"],[l,1,"strokeWidth"],[s,1,"description"],[u,1,"value"],[h,1,"fontSize"]],[n])),a()},1043:(t,e,r)=>{r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([t.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}",""]);const l=i.toString()},7788:(t,e,r)=>{r.d(e,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([t.id,".gaugeChartWrapper{text-align:center;background:var(--color-fill-global-bg)}",""]);const l=i.toString()},2609:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",a=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),a&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),a&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,a,n,o){"string"==typeof t&&(t=[[null,t,void 0]]);var i={};if(a)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(i[c]=!0)}for(var s=0;s<t.length;s++){var p=[].concat(t[s]);a&&i[p[0]]||(void 0!==o&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=o),r&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=r):p[2]=r),n&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=n):p[4]="".concat(n)),e.push(p))}},e}},9601:t=>{t.exports=function(t){return t[1]}},5303:(t,e,r)=>{r.d(e,{Z:()=>n});var a=r(6522);function n(t,e,r){return(n=function(){function t(t,e){return function(a){!function(t,e){if(t.v)throw new Error("attempted to call addInitializer after decoration was finished")}(e),r(a,"An initializer"),t.push(a)}}function e(e,r,a,n,o,i,l,c){var s;switch(o){case 1:s="accessor";break;case 2:s="method";break;case 3:s="getter";break;case 4:s="setter";break;default:s="field"}var p,u,g={kind:s,name:l?"#"+r:r,static:i,private:l},h={v:!1};0!==o&&(g.addInitializer=t(n,h)),0===o?l?(p=a.get,u=a.set):(p=function(){return this[r]},u=function(t){this[r]=t}):2===o?p=function(){return a.value}:(1!==o&&3!==o||(p=function(){return a.get.call(this)}),1!==o&&4!==o||(u=function(t){a.set.call(this,t)})),g.access=p&&u?{get:p,set:u}:p?{get:p}:{set:u};try{return e(c,g)}finally{h.v=!0}}function r(t,e){if("function"!=typeof t)throw new TypeError(e+" must be a function")}function n(t,e){var n=(0,a.Z)(e);if(1===t){if("object"!==n||null===e)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==e.get&&r(e.get,"accessor.get"),void 0!==e.set&&r(e.set,"accessor.set"),void 0!==e.init&&r(e.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===t?"field":10===t?"class":"method")+" decorators must return a function or void 0")}function o(t,r,a,o,i,l,c,s){var p,u,g,h,f,d,b=a[0];if(c?p=0===i||1===i?{get:a[3],set:a[4]}:3===i?{get:a[3]}:4===i?{set:a[3]}:{value:a[3]}:0!==i&&(p=Object.getOwnPropertyDescriptor(r,o)),1===i?g={get:p.get,set:p.set}:2===i?g=p.value:3===i?g=p.get:4===i&&(g=p.set),"function"==typeof b)void 0!==(h=e(b,o,p,s,i,l,c,g))&&(n(i,h),0===i?u=h:1===i?(u=h.init,f=h.get||g.get,d=h.set||g.set,g={get:f,set:d}):g=h);else for(var v=b.length-1;v>=0;v--){var y;void 0!==(h=e(b[v],o,p,s,i,l,c,g))&&(n(i,h),0===i?y=h:1===i?(y=h.init,f=h.get||g.get,d=h.set||g.set,g={get:f,set:d}):g=h,void 0!==y&&(void 0===u?u=y:"function"==typeof u?u=[u,y]:u.push(y)))}if(0===i||1===i){if(void 0===u)u=function(t,e){return e};else if("function"!=typeof u){var w=u;u=function(t,e){for(var r=e,a=0;a<w.length;a++)r=w[a].call(t,r);return r}}else{var x=u;u=function(t,e){return x.call(t,e)}}t.push(u)}0!==i&&(1===i?(p.get=g.get,p.set=g.set):2===i?p.value=g:3===i?p.get=g:4===i&&(p.set=g),c?1===i?(t.push((function(t,e){return g.get.call(t,e)})),t.push((function(t,e){return g.set.call(t,e)}))):2===i?t.push(g):t.push((function(t,e){return g.call(t,e)})):Object.defineProperty(r,o,p))}function i(t,e){for(var r,a,n=[],i=new Map,c=new Map,s=0;s<e.length;s++){var p=e[s];if(Array.isArray(p)){var u,g,h=p[1],f=p[2],d=p.length>3,b=h>=5;if(b?(u=t,0!=(h-=5)&&(g=a=a||[])):(u=t.prototype,0!==h&&(g=r=r||[])),0!==h&&!d){var v=b?c:i,y=v.get(f)||0;if(!0===y||3===y&&4!==h||4===y&&3!==h)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+f);!y&&h>2?v.set(f,h):v.set(f,!0)}o(n,u,p,f,h,b,d,g)}}return l(n,r),l(n,a),n}function l(t,e){e&&t.push((function(t){for(var r=0;r<e.length;r++)e[r].call(t);return t}))}return function(e,r,a){return{e:i(e,r),get c(){return function(e,r){if(r.length>0){for(var a=[],o=e,i=e.name,l=r.length-1;l>=0;l--){var c={v:!1};try{var s=r[l](o,{kind:"class",name:i,addInitializer:t(a,c)})}finally{c.v=!0}void 0!==s&&(n(10,s),o=s)}return[o,function(){for(var t=0;t<a.length;t++)a[t].call(o)}]}}(e,a)}}}}())(t,e,r)}},5863:(t,e,r)=>{function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{Z:()=>a})},175:(t,e,r)=>{function a(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}r.d(e,{Z:()=>a})},687:(t,e,r)=>{r.d(e,{Z:()=>n});var a=r(175);function n(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,(0,a.Z)(t,e,"get"))}},3395:(t,e,r)=>{r.d(e,{Z:()=>n});var a=r(5863);function n(t,e,r){(0,a.Z)(t,e),e.set(t,r)}},381:(t,e,r)=>{r.d(e,{Z:()=>n});var a=r(175);function n(t,e,r){return function(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}(t,(0,a.Z)(t,e,"set"),r),r}},6522:(t,e,r)=>{function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}r.d(e,{Z:()=>a})}}]);
2
+ //# sourceMappingURL=gauge-chart.0ae3f129.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/gauge-chart.5c4ba6a4.js","mappings":"uNAKuDA,E,iGAAjD,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAAmBC,EAgBtDH,EAAc,wBAAyB,CACtCI,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAOCN,EAAS,CAAEO,KAAMC,SAASC,EAQ1BT,EAAS,CAAEO,KAAMC,SAASE,EAO1BV,IAAUW,EAQVX,EAAS,CAAEO,KAAMC,SAASI,EAQ1BZ,EAAS,CAAEO,KAAMC,SAAS,IAAAK,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAxC7B,MAAAK,UAGyBC,EAAAA,iBAA4CC,cAAA,SAAAC,YACnEC,EAAAA,EAAAA,GAAA,KAAAV,EAAA,CAAAW,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,UAQAJ,EAAAA,EAAAA,GAAA,KAAAR,EAAA,CAAAS,UAAA,EAAAC,MAAAG,EAAA,SAOAL,EAAAA,EAAAA,GAAA,KAAAP,EAAA,CAAAQ,UAAA,EAAAC,MAAAI,EAAA,SAQAN,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,UAAA,EAAAC,MAAAK,EAAA,SAQAP,EAAAA,EAAAA,GAAA,KAAAL,EAAA,CAAAM,UAA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QT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAIxK,cAAgBkL,QAAUV,IAAQU,OAAOlB,UAAY,gBAAkBQ,CAC1H,EAAGS,EAAQT,EACb,C","sources":["webpack:///./src/gauge-chart/index.tsx","webpack:///./src/data-view-variables.shadow.css","webpack:///./src/gauge-chart/gauge-chart.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React, { useMemo, useState } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./gauge-chart.shadow.css\";\nconst { defineElement, property } = createDecorators();\ninterface GaugeChartProps {\n value: number;\n radius: number;\n strokeWidth?: number;\n description?: string | undefined;\n fontSize?: number;\n}\n/**\n * @id data-view.gauge-chart\n * @name data-view.gauge-chart\n * @docKind brick\n * @description 大屏仪表盘\n * @author astrid\n * @noInheritDoc\n */\n@defineElement(\"data-view.gauge-chart\", {\n styleTexts: [variablesStyleText, styleText],\n})\nclass GaugeChart extends ReactNextElement implements GaugeChartProps {\n /**\n * @default -\n * @required false\n * @description 仪表盘半径\n */\n @property({ type: Number })\n accessor radius: number;\n\n /**\n * @default 20\n * @required false\n * @description 仪表盘的圆弧的宽度设置,这边会通过此变量去计算值终点圆点的大小;\n */\n @property({ type: Number })\n accessor strokeWidth: number;\n /**\n * @default -\n * @required false\n * @description 描述\n */\n @property()\n accessor description: string | undefined;\n\n /**\n * @default -\n * @required false\n * @description 值, 范围在[0-100]\n */\n @property({ type: Number })\n accessor value: number;\n\n /**\n * @default 35\n * @required false\n * @description 值的字体大小,默认35\n */\n @property({ type: Number })\n accessor fontSize: number;\n\n render() {\n return (\n <GaugeChartComponent\n value={this.value}\n radius={this.radius}\n strokeWidth={this.strokeWidth}\n description={this.description}\n fontSize={this.fontSize}\n />\n );\n }\n}\n\nexport function GaugeChartComponent(props: GaugeChartProps) {\n const { value, radius, strokeWidth = 20, description, fontSize } = props;\n const [x, setX] = useState<number>(-radius);\n const [y, setY] = useState<number>(0);\n function calculateXy(deg: number, r: number): { x: number; y: number } {\n if (deg === 0) {\n return { x: r, y: 0 };\n }\n if (deg === 180) {\n return { x: -r, y: 0 };\n }\n const tanQ = Math.tan((2 * Math.PI * deg) / 360), // 倾斜角度的正切值\n y = Math.abs(Math.sqrt(1 / (tanQ * tanQ + 1)) * r * tanQ), // y始终大于0,所以取绝对值。\n x = y / tanQ;\n return { x, y };\n }\n\n const path = useMemo(() => {\n const max = 100, // 总分\n angle = 180 - (value * 180) / max; // 角度\n let initAngle = 180;\n\n // 添加动效\n const timer = window.setInterval(() => {\n if (initAngle <= angle) {\n window.clearInterval(timer);\n }\n const location = calculateXy(initAngle, radius);\n setX(location.x);\n setY(location.y);\n initAngle -= 1;\n }, 10);\n\n let _path = \"\";\n for (let i = 0; i < 8; i++) {\n const deg = i * (180 / 7);\n const location1 = calculateXy(deg, radius + 24); // 刻度线外端\n const location2 = calculateXy(deg, radius + 30); // 刻度线外端\n _path += `M${location1.x} ${-location1.y} L${\n location2.x\n } ${-location2.y} `;\n }\n return _path;\n }, [value, radius]);\n const transform = useMemo(() => {\n //例如半径为 150, 那么最外围的刻度线就是180, 30是上述间隔, 求最小高度和宽度 height、width\n const width = (radius + 30) * 2;\n const height = radius + 30;\n const circleR = Math.round(strokeWidth + 4) / 2;\n return {\n x: width / 2,\n y: radius + 30,\n height: height,\n width,\n circleR\n };\n }, [radius]);\n const innerStrokeRadius = radius - strokeWidth / 2;\n return (\n <div className=\"gaugeChartWrapper\">\n {/* 盒子比例: 视图高度永远要比height高 circleR */}\n <svg\n width={`${transform.width}px`}\n height={`${transform.height}px`}\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={`0 0 ${transform.width} ${transform.height + transform.circleR}`}\n >\n <defs>\n <linearGradient id=\"strokeGradient\">\n <stop offset=\"0%\" stopColor=\"var(--color-brand)\" />\n <stop offset=\"100%\" stopColor=\"var(--color-contrast-1)\" />\n </linearGradient>\n <linearGradient id=\"wordGradient\">\n <stop offset=\"0%\" stopColor=\"#FFCF02\" />\n <stop offset=\"100%\" stopColor=\"#FF7352\" />\n </linearGradient>\n <linearGradient id=\"innerStrokeGradient\">\n <stop offset=\"0%\" stopColor=\"var(--color-normal-text)\" />\n <stop offset=\"100%\" stopColor=\"transparent\" />\n </linearGradient>\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"1\" stdDeviation=\"4\" floodColor=\"#2863ee\" />\n </filter>\n </defs>\n {/* 底部进度 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${radius} 0 A ${radius} ${radius}, 0, 0, 1, ${radius} 0`}\n strokeWidth={strokeWidth}\n stroke=\"var(--color-fill-bg-base-4)\"\n fill=\"transparent\"\n />\n {/* 底部进度白边 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${innerStrokeRadius} 0 A ${innerStrokeRadius} ${innerStrokeRadius}, 0, 0, 1, ${innerStrokeRadius} 0`}\n strokeWidth=\"1.5\"\n stroke=\"url(#innerStrokeGradient)\"\n fill=\"transparent\"\n />\n {/* 值 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${radius} 0 A ${radius} ${radius}, 0, 0, 1, ${x} ${-y}`}\n strokeWidth={strokeWidth}\n stroke=\"url(#strokeGradient)\"\n fill=\"transparent\"\n />\n {/* 进度的圈 两个圆点比例大小 3:1 */}\n <circle\n transform={`translate(${transform.x}, ${transform.y})`}\n fill=\"#fff\"\n cx={x}\n cy={-y}\n r={transform.circleR}\n />\n <circle\n transform={`translate(${transform.x}, ${transform.y})`}\n fill=\"#46E0DB\"\n cx={x}\n cy={-y}\n r={transform.circleR/3}\n />\n {/* 内部刻度的 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={path}\n stroke=\"#74757A\"\n />\n {/* 值的文字展示 */}\n <text\n x=\"0\"\n y=\"-30\"\n transform={`translate(${transform.x}, ${transform.y})`}\n fontSize={fontSize ?? \"var(--overview-data-font-size)\"}\n textAnchor=\"middle\"\n fontWeight=\"var(--font-weight-600)\"\n fill=\"var(--color-normal-text)\"\n filter=\"url(#shadow)\"\n >\n {`${value}%`}\n </text>\n {/* 描述展示 */}\n <text\n x=\"0\"\n y=\"-1\"\n transform={`translate(${transform.x}, ${transform.y})`}\n fontSize=\"var(--normal-data-font-size)\"\n textAnchor=\"middle\"\n fill=\"var(--color-secondary-text)\"\n opacity=\"0.55\"\n >\n {description}\n </text>\n </svg>\n <slot />\n </div>\n );\n}\n\nexport { GaugeChart };\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".gaugeChartWrapper{text-align:center;background:var(--color-fill-global-bg)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error(\"Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_GaugeChart","defineElement","property","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","type","Number","_dec3","_dec4","_dec5","_dec6","_A","WeakMap","_B","_C","_D","_E","GaugeChart","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_radius","_init_strokeWidth","_init_description","_init_value","_init_fontSize","radius","_classPrivateFieldGet","v","_classPrivateFieldSet","strokeWidth","description","fontSize","render","React","GaugeChartComponent","this","props","x","setX","useState","y","setY","calculateXy","deg","r","tanQ","Math","tan","PI","abs","sqrt","path","useMemo","angle","initAngle","timer","window","setInterval","clearInterval","location","_path","i","location1","location2","concat","transform","width","height","circleR","round","innerStrokeRadius","className","version","xmlns","viewBox","id","offset","stopColor","dx","dy","stdDeviation","floodColor","d","stroke","fill","cx","cy","textAnchor","fontWeight","filter","opacity","e","c","_initClass","_applyDecs2203R","___CSS_LOADER_EXPORT___","push","module","toString","exports","cssWithMappingToString","list","map","item","content","needLayer","length","join","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","name","desc","kind","isStatic","isPrivate","kindStr","get","set","ctx","addInitializer","call","access","fn","hint","TypeError","assertValidReturnValue","init","applyMemberDec","ret","base","decInfo","newValue","decs","Object","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","Array","isArray","prototype","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/gauge-chart.0ae3f129.js","mappings":"yNAKuDA,E,kGAAjD,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAAmBC,EAgBtDH,EAAc,wBAAyB,CACtCI,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAOCN,EAAS,CAAEO,KAAMC,SAASC,EAQ1BT,EAAS,CAAEO,KAAMC,SAASE,EAO1BV,IAAUW,EAQVX,EAAS,CAAEO,KAAMC,SAASI,EAQ1BZ,EAAS,CAAEO,KAAMC,SAAS,IAAAK,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAxC7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AA2BsK,EAAKK,EAAYzK,IAClE,OAA0BoK,EAAKK,GAC/BA,EAAWlD,IAAI6C,EAAKpK,EACtB,C,8CCFe,SAASU,EAAsB8J,EAAUC,EAAYzK,GAGlE,OCLa,SAAkCwK,EAAUG,EAAY3K,GACrE,GAAI2K,EAAWpD,IACboD,EAAWpD,IAAIG,KAAK8C,EAAUxK,OACzB,CACL,IAAK2K,EAAW5K,SACd,MAAM,IAAI+H,UAAU,4CAEtB6C,EAAW3K,MAAQA,CACrB,CACF,CDLE,CAAwBwK,GADP,EAAAI,EAAA,GAA4BJ,EAAUC,EAAY,OACrBzK,GACvCA,CACT,C,iBENe,SAAS6K,EAAQT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAIxK,cAAgBkL,QAAUV,IAAQU,OAAOlB,UAAY,gBAAkBQ,CAC1H,EAAGS,EAAQT,EACb,C","sources":["webpack:///./src/gauge-chart/index.tsx","webpack:///./src/data-view-variables.shadow.css","webpack:///./src/gauge-chart/gauge-chart.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["import React, { useMemo, useState } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./gauge-chart.shadow.css\";\nconst { defineElement, property } = createDecorators();\ninterface GaugeChartProps {\n value: number;\n radius: number;\n strokeWidth?: number;\n description?: string | undefined;\n fontSize?: number;\n}\n/**\n * @id data-view.gauge-chart\n * @name data-view.gauge-chart\n * @docKind brick\n * @description 大屏仪表盘\n * @author astrid\n * @noInheritDoc\n */\n@defineElement(\"data-view.gauge-chart\", {\n styleTexts: [variablesStyleText, styleText],\n})\nclass GaugeChart extends ReactNextElement implements GaugeChartProps {\n /**\n * @default -\n * @required false\n * @description 仪表盘半径\n */\n @property({ type: Number })\n accessor radius: number;\n\n /**\n * @default 20\n * @required false\n * @description 仪表盘的圆弧的宽度设置,这边会通过此变量去计算值终点圆点的大小;\n */\n @property({ type: Number })\n accessor strokeWidth: number;\n /**\n * @default -\n * @required false\n * @description 描述\n */\n @property()\n accessor description: string | undefined;\n\n /**\n * @default -\n * @required false\n * @description 值, 范围在[0-100]\n */\n @property({ type: Number })\n accessor value: number;\n\n /**\n * @default 35\n * @required false\n * @description 值的字体大小,默认35\n */\n @property({ type: Number })\n accessor fontSize: number;\n\n render() {\n return (\n <GaugeChartComponent\n value={this.value}\n radius={this.radius}\n strokeWidth={this.strokeWidth}\n description={this.description}\n fontSize={this.fontSize}\n />\n );\n }\n}\n\nexport function GaugeChartComponent(props: GaugeChartProps) {\n const { value, radius, strokeWidth = 20, description, fontSize } = props;\n const [x, setX] = useState<number>(-radius);\n const [y, setY] = useState<number>(0);\n function calculateXy(deg: number, r: number): { x: number; y: number } {\n if (deg === 0) {\n return { x: r, y: 0 };\n }\n if (deg === 180) {\n return { x: -r, y: 0 };\n }\n const tanQ = Math.tan((2 * Math.PI * deg) / 360), // 倾斜角度的正切值\n y = Math.abs(Math.sqrt(1 / (tanQ * tanQ + 1)) * r * tanQ), // y始终大于0,所以取绝对值。\n x = y / tanQ;\n return { x, y };\n }\n\n const path = useMemo(() => {\n const max = 100, // 总分\n angle = 180 - (value * 180) / max; // 角度\n let initAngle = 180;\n\n // 添加动效\n const timer = window.setInterval(() => {\n if (initAngle <= angle) {\n window.clearInterval(timer);\n }\n const location = calculateXy(initAngle, radius);\n setX(location.x);\n setY(location.y);\n initAngle -= 1;\n }, 10);\n\n let _path = \"\";\n for (let i = 0; i < 8; i++) {\n const deg = i * (180 / 7);\n const location1 = calculateXy(deg, radius + 24); // 刻度线外端\n const location2 = calculateXy(deg, radius + 30); // 刻度线外端\n _path += `M${location1.x} ${-location1.y} L${\n location2.x\n } ${-location2.y} `;\n }\n return _path;\n }, [value, radius]);\n const transform = useMemo(() => {\n //例如半径为 150, 那么最外围的刻度线就是180, 30是上述间隔, 求最小高度和宽度 height、width\n const width = (radius + 30) * 2;\n const height = radius + 30;\n const circleR = Math.round(strokeWidth + 4) / 2;\n return {\n x: width / 2,\n y: radius + 30,\n height: height,\n width,\n circleR\n };\n }, [radius]);\n const innerStrokeRadius = radius - strokeWidth / 2;\n return (\n <div className=\"gaugeChartWrapper\">\n {/* 盒子比例: 视图高度永远要比height高 circleR */}\n <svg\n width={`${transform.width}px`}\n height={`${transform.height}px`}\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox={`0 0 ${transform.width} ${transform.height + transform.circleR}`}\n >\n <defs>\n <linearGradient id=\"strokeGradient\">\n <stop offset=\"0%\" stopColor=\"var(--color-brand)\" />\n <stop offset=\"100%\" stopColor=\"var(--color-contrast-1)\" />\n </linearGradient>\n <linearGradient id=\"wordGradient\">\n <stop offset=\"0%\" stopColor=\"#FFCF02\" />\n <stop offset=\"100%\" stopColor=\"#FF7352\" />\n </linearGradient>\n <linearGradient id=\"innerStrokeGradient\">\n <stop offset=\"0%\" stopColor=\"var(--color-normal-text)\" />\n <stop offset=\"100%\" stopColor=\"transparent\" />\n </linearGradient>\n <filter id=\"shadow\">\n <feDropShadow dx=\"0\" dy=\"1\" stdDeviation=\"4\" floodColor=\"#2863ee\" />\n </filter>\n </defs>\n {/* 底部进度 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${radius} 0 A ${radius} ${radius}, 0, 0, 1, ${radius} 0`}\n strokeWidth={strokeWidth}\n stroke=\"var(--color-fill-bg-base-4)\"\n fill=\"transparent\"\n />\n {/* 底部进度白边 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${innerStrokeRadius} 0 A ${innerStrokeRadius} ${innerStrokeRadius}, 0, 0, 1, ${innerStrokeRadius} 0`}\n strokeWidth=\"1.5\"\n stroke=\"url(#innerStrokeGradient)\"\n fill=\"transparent\"\n />\n {/* 值 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={`M-${radius} 0 A ${radius} ${radius}, 0, 0, 1, ${x} ${-y}`}\n strokeWidth={strokeWidth}\n stroke=\"url(#strokeGradient)\"\n fill=\"transparent\"\n />\n {/* 进度的圈 两个圆点比例大小 3:1 */}\n <circle\n transform={`translate(${transform.x}, ${transform.y})`}\n fill=\"#fff\"\n cx={x}\n cy={-y}\n r={transform.circleR}\n />\n <circle\n transform={`translate(${transform.x}, ${transform.y})`}\n fill=\"#46E0DB\"\n cx={x}\n cy={-y}\n r={transform.circleR/3}\n />\n {/* 内部刻度的 */}\n <path\n transform={`translate(${transform.x}, ${transform.y})`}\n d={path}\n stroke=\"#74757A\"\n />\n {/* 值的文字展示 */}\n <text\n x=\"0\"\n y=\"-30\"\n transform={`translate(${transform.x}, ${transform.y})`}\n fontSize={fontSize ?? \"var(--overview-data-font-size)\"}\n textAnchor=\"middle\"\n fontWeight=\"var(--font-weight-600)\"\n fill=\"var(--color-normal-text)\"\n filter=\"url(#shadow)\"\n >\n {`${value}%`}\n </text>\n {/* 描述展示 */}\n <text\n x=\"0\"\n y=\"-1\"\n transform={`translate(${transform.x}, ${transform.y})`}\n fontSize=\"var(--normal-data-font-size)\"\n textAnchor=\"middle\"\n fill=\"var(--color-secondary-text)\"\n opacity=\"0.55\"\n >\n {description}\n </text>\n </svg>\n <slot />\n </div>\n );\n}\n\nexport { GaugeChart };\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".gaugeChartWrapper{text-align:center;background:var(--color-fill-global-bg)}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import _typeof from \"./typeof.js\";\nfunction applyDecs2203RFactory() {\n function createAddInitializerMethod(initializers, decoratorFinishedRef) {\n return function (initializer) {\n !function (decoratorFinishedRef, fnName) {\n if (decoratorFinishedRef.v) throw new Error(\"attempted to call \" + fnName + \" after decoration was finished\");\n }(decoratorFinishedRef, \"addInitializer\"), assertCallable(initializer, \"An initializer\"), initializers.push(initializer);\n };\n }\n function memberDec(dec, name, desc, initializers, kind, isStatic, isPrivate, value) {\n var kindStr;\n switch (kind) {\n case 1:\n kindStr = \"accessor\";\n break;\n case 2:\n kindStr = \"method\";\n break;\n case 3:\n kindStr = \"getter\";\n break;\n case 4:\n kindStr = \"setter\";\n break;\n default:\n kindStr = \"field\";\n }\n var get,\n set,\n ctx = {\n kind: kindStr,\n name: isPrivate ? \"#\" + name : name,\n \"static\": isStatic,\n \"private\": isPrivate\n },\n decoratorFinishedRef = {\n v: !1\n };\n 0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), 0 === kind ? isPrivate ? (get = desc.get, set = desc.set) : (get = function get() {\n return this[name];\n }, set = function set(v) {\n this[name] = v;\n }) : 2 === kind ? get = function get() {\n return desc.value;\n } : (1 !== kind && 3 !== kind || (get = function get() {\n return desc.get.call(this);\n }), 1 !== kind && 4 !== kind || (set = function set(v) {\n desc.set.call(this, v);\n })), ctx.access = get && set ? {\n get: get,\n set: set\n } : get ? {\n get: get\n } : {\n set: set\n };\n try {\n return dec(value, ctx);\n } finally {\n decoratorFinishedRef.v = !0;\n }\n }\n function assertCallable(fn, hint) {\n if (\"function\" != typeof fn) throw new TypeError(hint + \" must be a function\");\n }\n function assertValidReturnValue(kind, value) {\n var type = _typeof(value);\n if (1 === kind) {\n if (\"object\" !== type || null === value) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n void 0 !== value.get && assertCallable(value.get, \"accessor.get\"), void 0 !== value.set && assertCallable(value.set, \"accessor.set\"), void 0 !== value.init && assertCallable(value.init, \"accessor.init\");\n } else if (\"function\" !== type) {\n var hint;\n throw hint = 0 === kind ? \"field\" : 10 === kind ? \"class\" : \"method\", new TypeError(hint + \" decorators must return a function or void 0\");\n }\n }\n function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers) {\n var desc,\n init,\n value,\n newValue,\n get,\n set,\n decs = decInfo[0];\n if (isPrivate ? desc = 0 === kind || 1 === kind ? {\n get: decInfo[3],\n set: decInfo[4]\n } : 3 === kind ? {\n get: decInfo[3]\n } : 4 === kind ? {\n set: decInfo[3]\n } : {\n value: decInfo[3]\n } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {\n get: desc.get,\n set: desc.set\n } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), \"function\" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? init = newValue : 1 === kind ? (init = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {\n var newInit;\n if (void 0 !== (newValue = memberDec(decs[i], name, desc, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = newValue.init, get = newValue.get || value.get, set = newValue.set || value.set, value = {\n get: get,\n set: set\n }) : value = newValue, void 0 !== newInit && (void 0 === init ? init = newInit : \"function\" == typeof init ? init = [init, newInit] : init.push(newInit));\n }\n if (0 === kind || 1 === kind) {\n if (void 0 === init) init = function init(instance, _init) {\n return _init;\n };else if (\"function\" != typeof init) {\n var ownInitializers = init;\n init = function init(instance, _init2) {\n for (var value = _init2, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);\n return value;\n };\n } else {\n var originalInitializer = init;\n init = function init(instance, _init3) {\n return originalInitializer.call(instance, _init3);\n };\n }\n ret.push(init);\n }\n 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {\n return value.get.call(instance, args);\n }), ret.push(function (instance, args) {\n return value.set.call(instance, args);\n })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {\n return value.call(instance, args);\n }) : Object.defineProperty(base, name, desc));\n }\n function applyMemberDecs(Class, decInfos) {\n for (var protoInitializers, staticInitializers, ret = [], existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {\n var decInfo = decInfos[i];\n if (Array.isArray(decInfo)) {\n var base,\n initializers,\n kind = decInfo[1],\n name = decInfo[2],\n isPrivate = decInfo.length > 3,\n isStatic = kind >= 5;\n if (isStatic ? (base = Class, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {\n var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,\n existingKind = existingNonFields.get(name) || 0;\n if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error(\"Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: \" + name);\n !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);\n }\n applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, initializers);\n }\n }\n return pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers), ret;\n }\n function pushInitializers(ret, initializers) {\n initializers && ret.push(function (instance) {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);\n return instance;\n });\n }\n return function (targetClass, memberDecs, classDecs) {\n return {\n e: applyMemberDecs(targetClass, memberDecs),\n get c() {\n return function (targetClass, classDecs) {\n if (classDecs.length > 0) {\n for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {\n var decoratorFinishedRef = {\n v: !1\n };\n try {\n var nextNewClass = classDecs[i](newClass, {\n kind: \"class\",\n name: name,\n addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)\n });\n } finally {\n decoratorFinishedRef.v = !0;\n }\n void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);\n }\n return [newClass, function () {\n for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);\n }];\n }\n }(targetClass, classDecs);\n }\n };\n };\n}\nexport default function applyDecs2203R(targetClass, memberDecs, classDecs) {\n return (applyDecs2203R = applyDecs2203RFactory())(targetClass, memberDecs, classDecs);\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","export default function _classExtractFieldDescriptor(receiver, privateMap, action) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to \" + action + \" private field on non-instance\");\n }\n return privateMap.get(receiver);\n}","import classApplyDescriptorGet from \"./classApplyDescriptorGet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldGet(receiver, privateMap) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"get\");\n return classApplyDescriptorGet(receiver, descriptor);\n}","export default function _classApplyDescriptorGet(receiver, descriptor) {\n if (descriptor.get) {\n return descriptor.get.call(receiver);\n }\n return descriptor.value;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import classApplyDescriptorSet from \"./classApplyDescriptorSet.js\";\nimport classExtractFieldDescriptor from \"./classExtractFieldDescriptor.js\";\nexport default function _classPrivateFieldSet(receiver, privateMap, value) {\n var descriptor = classExtractFieldDescriptor(receiver, privateMap, \"set\");\n classApplyDescriptorSet(receiver, descriptor, value);\n return value;\n}","export default function _classApplyDescriptorSet(receiver, descriptor, value) {\n if (descriptor.set) {\n descriptor.set.call(receiver, value);\n } else {\n if (!descriptor.writable) {\n throw new TypeError(\"attempted to set read only private field\");\n }\n descriptor.value = value;\n }\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_GaugeChart","defineElement","property","createDecorators","_dec","styleTexts","variablesStyleText","styleText","_dec2","type","Number","_dec3","_dec4","_dec5","_dec6","_A","WeakMap","_B","_C","_D","_E","GaugeChart","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_radius","_init_strokeWidth","_init_description","_init_value","_init_fontSize","radius","_classPrivateFieldGet","v","_classPrivateFieldSet","strokeWidth","description","fontSize","render","React","GaugeChartComponent","this","props","x","setX","useState","y","setY","calculateXy","deg","r","tanQ","Math","tan","PI","abs","sqrt","path","useMemo","angle","initAngle","timer","window","setInterval","clearInterval","location","_path","i","location1","location2","concat","transform","width","height","circleR","round","innerStrokeRadius","className","version","xmlns","viewBox","id","offset","stopColor","dx","dy","stdDeviation","floodColor","d","stroke","fill","cx","cy","textAnchor","fontWeight","filter","opacity","e","c","_initClass","_applyDecs2203R","___CSS_LOADER_EXPORT___","push","module","toString","exports","cssWithMappingToString","list","map","item","content","needLayer","length","join","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","name","desc","kind","isStatic","isPrivate","kindStr","get","set","ctx","addInitializer","call","access","fn","hint","TypeError","assertValidReturnValue","init","applyMemberDec","ret","base","decInfo","newValue","decs","Object","getOwnPropertyDescriptor","newInit","instance","_init","ownInitializers","_init2","originalInitializer","_init3","args","defineProperty","applyMemberDecs","Class","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","Map","existingStaticNonFields","Array","isArray","prototype","existingNonFields","existingKind","pushInitializers","newClass","nextNewClass","applyDecs2203RFactory","_checkPrivateRedeclaration","obj","privateCollection","has","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_typeof","Symbol","iterator"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8606],{8143:(e,t,a)=>{a.d(t,{D:()=>c,y:()=>p});var r=a(3028),l=a(8657),i=a(7209),n=new Map,o=new i.Z((e=>{e.forEach((e=>{var t,{target:a}=e;null===(t=n.get(a))||void 0===t||t.forEach((t=>t(e)))}))})),s=(e,t)=>{n.has(e)||(n.set(e,new Set),o.observe(e)),n.get(e).add(t)},g=(e,t)=>{n.has(e)&&(n.get(e).delete(t),0===n.get(e).size&&(o.unobserve(e),n.delete(e)))};function p(e){var{targetRef:t,onResize:a}=e||{},i=(0,l.useRef)(),n=null!=t?t:i,[o,p]=(0,l.useState)({clientWidth:0,clientHeight:0}),c=(0,l.useCallback)((e=>{var{target:t}=e,{clientWidth:r=0,clientHeight:l=0}=t;p((t=>t.clientWidth===r&&t.clientHeight===l?t:(null==a||a(e),{clientWidth:r,clientHeight:l})))}),[a]);return(0,l.useEffect)((()=>{if("object"!=typeof n||null===n||!(n.current instanceof Element))throw new Error("ResizeObserver must observe an Element");var e=n.current;return s(e,c),()=>{g(e,c)}}),[c,n]),[n,(0,r.Z)({},o)]}function c(e){var t=(0,l.useRef)();return(0,l.useEffect)((()=>{t.current=e})),t.current}},9805:(e,t,a)=>{a.r(t),a.d(t,{LoadingPanel:()=>m,LoadingPanelComponent:()=>G});var r,l,i,n,o,s,g,p,c,b,h,u,d,v,f,w,x,m,y=a(6666),Z=a(3395),z=a(381),E=a(687),k=a(5303),T=a(8657),R=a.n(T),W=a(1785),M=a(4949),N=a(1043),P=a(4818),_=a(8143),{defineElement:S,property:C,event:H}=(0,W.createDecorators)();l=S("data-view.loading-panel",{styleTexts:[N.Z,P.Z]}),i=C(),o=C({type:Boolean}),g=C({type:Boolean}),c=C({type:Number}),h=C({type:Number}),d=H({type:"end"});var D=new WeakMap,I=new WeakMap,L=new WeakMap,j=new WeakMap,B=new WeakMap,F=new WeakMap,V=new WeakMap;class O extends M.ReactNextElement{constructor(){super(...arguments),(0,Z.Z)(this,V,{get:A,set:q}),(0,Z.Z)(this,D,{writable:!0,value:(x(this),n(this))}),(0,Z.Z)(this,I,{writable:!0,value:s(this)}),(0,Z.Z)(this,L,{writable:!0,value:p(this,!1)}),(0,Z.Z)(this,j,{writable:!0,value:b(this)}),(0,Z.Z)(this,B,{writable:!0,value:u(this)}),(0,Z.Z)(this,F,{writable:!0,value:v(this)}),(0,y.Z)(this,"onEnd",(()=>{(0,E.Z)(this,V).emit()}))}get customTitle(){return(0,E.Z)(this,D)}set customTitle(e){(0,z.Z)(this,D,e)}get loading(){return(0,E.Z)(this,I)}set loading(e){(0,z.Z)(this,I,e)}get useRealTimeProgress(){return(0,E.Z)(this,L)}set useRealTimeProgress(e){(0,z.Z)(this,L,e)}get progress(){return(0,E.Z)(this,j)}set progress(e){(0,z.Z)(this,j,e)}get intervalTime(){return(0,E.Z)(this,B)}set intervalTime(e){(0,z.Z)(this,B,e)}render(){return R().createElement(G,{loading:this.loading,customTitle:this.customTitle,progress:this.progress,useRealTimeProgress:this.useRealTimeProgress,intervalTime:this.intervalTime,onEnd:this.onEnd})}}function q(e){w(this,e)}function A(){return f(this)}function G(e){var{customTitle:t,loading:a,progress:r,useRealTimeProgress:l,intervalTime:i=100,onEnd:n}=e,[o,s]=(0,T.useState)(0),g=(0,T.useRef)(null),p=(0,_.D)(r),c=(e,t,a)=>e>=t?1:Math.ceil((a-e)/10);return(0,T.useEffect)((()=>{var e=1;return l||a||(e=c(o,80,100)),l&&(e=c(o,p,r)),(e=>{var t,{curVal:i,step:n,time:o}=e,p=i;t=l?r:a?80:100,g.current=window.setInterval((()=>{p>=t&&(window.clearInterval(g.current),p=t),s(p),p+=n}),o)})({step:e,curVal:null!=o?o:0,time:i}),()=>{window.clearInterval(g.current)}}),[a,r,l,i]),(0,T.useEffect)((()=>{100===o&&(null==n||n())}),[o]),R().createElement("div",{className:"wrapper"},R().createElement("div",{className:"titleWrapper"},R().createElement("div",{className:"title"},null!=t?t:"Tarsier"),R().createElement("div",{className:"description"},"Loading...")),R().createElement("div",{className:"progress"},"".concat(o,"%")))}({e:[n,s,p,b,u,v,f,w,x],c:[m,r]}=(0,k.Z)(O,[[i,1,"customTitle"],[o,1,"loading"],[g,1,"useRealTimeProgress"],[c,1,"progress"],[h,1,"intervalTime"],[d,1,"onEndEvent",function(){return(0,E.Z)(this,F)},function(e){(0,z.Z)(this,F,e)}]],[l])),r()},1043:(e,t,a)=>{a.d(t,{Z:()=>o});var r=a(9601),l=a.n(r),i=a(2609),n=a.n(i)()(l());n.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px}",""]);const o=n.toString()},4818:(e,t,a)=>{a.d(t,{Z:()=>o});var r=a(9601),l=a.n(r),i=a(2609),n=a.n(i)()(l());n.push([e.id,'.wrapper{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:1001;background:var(--color-fill-global-bg);display:flex;justify-content:center;align-items:center}.wrapper:before{content:"";position:absolute;width:100%;height:100%;display:block;opacity:0.35;background:radial-gradient(#3366FF 0%,rgba(51,102,255,0) 100%)}.titleWrapper{transform:translate(-50px,0)}.title{color:var(--color-normal-text);font-size:46px}.description{color:var(--color-secondary-text);font-size:16px;letter-spacing:3px}.progress{font-size:100px;color:rgba(51,102,255,0.5);position:absolute;z-index:-1;left:calc(50% - 80px)}',""]);const o=n.toString()}}]);
2
+ //# sourceMappingURL=loading-panel.c495be3f.js.map