@next-bricks/data-view 0.10.0 → 0.11.0
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.
- package/dist/bricks.json +3 -2
- package/dist/chunks/1646.e05a2000.js +2 -0
- package/dist/chunks/1646.e05a2000.js.map +1 -0
- package/dist/chunks/{2916.2736a1c2.js → 2916.a50c63cb.js} +2 -2
- package/dist/chunks/2916.a50c63cb.js.map +1 -0
- package/dist/chunks/4131.2914a18d.js +2 -0
- package/dist/chunks/{4131.fcd6b8c6.js.map → 4131.2914a18d.js.map} +1 -1
- package/dist/chunks/{4770.cea61a27.js → 4770.570722fa.js} +2 -2
- package/dist/chunks/4770.570722fa.js.map +1 -0
- package/dist/chunks/5202.3225e09f.js +2 -0
- package/dist/chunks/{5202.3b49eff5.js.map → 5202.3225e09f.js.map} +1 -1
- package/dist/chunks/6622.6f1e539b.js +2 -0
- package/dist/chunks/6622.6f1e539b.js.map +1 -0
- package/dist/chunks/7746.abcc7ffd.js +2 -0
- package/dist/chunks/{7746.2258edd2.js.map → 7746.abcc7ffd.js.map} +1 -1
- package/dist/chunks/9549.7e545750.js +2 -0
- package/dist/chunks/{9549.bcd85093.js.map → 9549.7e545750.js.map} +1 -1
- package/dist/chunks/{app-wall-card-item.d09f409d.js → app-wall-card-item.52bfd72b.js} +3 -3
- package/dist/chunks/{app-wall-card-item.d09f409d.js.map → app-wall-card-item.52bfd72b.js.map} +1 -1
- package/dist/chunks/{app-wall-relation-line.cf984b68.js → app-wall-relation-line.d12ab574.js} +3 -3
- package/dist/chunks/{app-wall-relation-line.cf984b68.js.map → app-wall-relation-line.d12ab574.js.map} +1 -1
- package/dist/chunks/{battery-chart.7834ebd7.js → battery-chart.de6dbc15.js} +2 -2
- package/dist/chunks/battery-chart.de6dbc15.js.map +1 -0
- package/dist/chunks/{brick-notification.57cebbcd.js → brick-notification.3fa76af0.js} +2 -2
- package/dist/chunks/brick-notification.3fa76af0.js.map +1 -0
- package/dist/chunks/{cabinet-app-layer.4518a41a.js → cabinet-app-layer.263dc258.js} +3 -3
- package/dist/chunks/{cabinet-app-layer.4518a41a.js.map → cabinet-app-layer.263dc258.js.map} +1 -1
- package/dist/chunks/{cabinet-button.5972f394.js → cabinet-button.b31f664b.js} +2 -2
- package/dist/chunks/cabinet-button.b31f664b.js.map +1 -0
- package/dist/chunks/{cabinet-graph.36b6c2f4.js → cabinet-graph.e8dfa2f5.js} +2 -2
- package/dist/chunks/cabinet-graph.e8dfa2f5.js.map +1 -0
- package/dist/chunks/{cabinet-node.1912eed1.js → cabinet-node.4a9b5457.js} +3 -3
- package/dist/chunks/{cabinet-node.1912eed1.js.map → cabinet-node.4a9b5457.js.map} +1 -1
- package/dist/chunks/{complex-search.03ec304a.js → complex-search.131739bd.js} +2 -2
- package/dist/chunks/complex-search.131739bd.js.map +1 -0
- package/dist/chunks/{dropdown-menu.e91db9d9.js → dropdown-menu.f7a23665.js} +3 -3
- package/dist/chunks/{dropdown-menu.e91db9d9.js.map → dropdown-menu.f7a23665.js.map} +1 -1
- package/dist/chunks/{gauge-chart.b1479a20.js → gauge-chart.b3d54688.js} +2 -2
- package/dist/chunks/gauge-chart.b3d54688.js.map +1 -0
- package/dist/chunks/{gear-background.beb13aa3.js → gear-background.5961b01f.js} +2 -2
- package/dist/chunks/gear-background.5961b01f.js.map +1 -0
- package/dist/chunks/{graph-layout-grid.cbeb684e.js → graph-layout-grid.e57ec367.js} +2 -2
- package/dist/chunks/graph-layout-grid.e57ec367.js.map +1 -0
- package/dist/chunks/{graph-node.8b2281d9.js → graph-node.9ef5f1e2.js} +2 -2
- package/dist/chunks/graph-node.9ef5f1e2.js.map +1 -0
- package/dist/chunks/{graph-text.2c83169a.js → graph-text.7c41b025.js} +2 -2
- package/dist/chunks/graph-text.7c41b025.js.map +1 -0
- package/dist/chunks/{grid-background.fff1cb85.js → grid-background.4f194b65.js} +2 -2
- package/dist/chunks/grid-background.4f194b65.js.map +1 -0
- package/dist/chunks/lights-component-title.075a8e4f.js +2 -0
- package/dist/chunks/lights-component-title.075a8e4f.js.map +1 -0
- package/dist/chunks/main.c4d65463.js +2 -0
- package/dist/chunks/{main.290321e7.js.map → main.c4d65463.js.map} +1 -1
- package/dist/chunks/{modern-style-component-title.d0ce0aca.js → modern-style-component-title.bc2ee704.js} +2 -2
- package/dist/chunks/modern-style-component-title.bc2ee704.js.map +1 -0
- package/dist/chunks/{modern-style-page-title.937bdf28.js → modern-style-page-title.63ce36d4.js} +2 -2
- package/dist/chunks/modern-style-page-title.63ce36d4.js.map +1 -0
- package/dist/chunks/{particle-animation.15ca8501.js → particle-animation.96787333.js} +2 -2
- package/dist/chunks/particle-animation.96787333.js.map +1 -0
- package/dist/chunks/{radar-chart.bd05eee2.js → radar-chart.1b7e91a4.js} +2 -2
- package/dist/chunks/radar-chart.1b7e91a4.js.map +1 -0
- package/dist/chunks/{tabs-drawer.9359109f.js → tabs-drawer.5070d5a0.js} +3 -3
- package/dist/chunks/{tabs-drawer.9359109f.js.map → tabs-drawer.5070d5a0.js.map} +1 -1
- package/dist/chunks/{tabs-page-title.f7045fe6.js → tabs-page-title.34271921.js} +3 -3
- package/dist/chunks/{tabs-page-title.f7045fe6.js.map → tabs-page-title.34271921.js.map} +1 -1
- package/dist/chunks/{title-text.c17c00d3.js → title-text.9b21db4c.js} +2 -2
- package/dist/chunks/title-text.9b21db4c.js.map +1 -0
- package/dist/chunks/{top-title-bar.0cacfc75.js → top-title-bar.7745b624.js} +2 -2
- package/dist/chunks/top-title-bar.7745b624.js.map +1 -0
- package/dist/index.958cbcba.js +2 -0
- package/dist/index.958cbcba.js.map +1 -0
- package/dist/manifest.json +31 -16
- package/dist/types.json +94 -81
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/lights-component-title/index.d.ts +19 -0
- package/dist-types/lights-component-title/index.spec.d.ts +1 -0
- package/docs/lights-component-title.md +21 -0
- package/package.json +3 -3
- package/dist/chunks/1646.7595d32c.js +0 -2
- package/dist/chunks/1646.7595d32c.js.map +0 -1
- package/dist/chunks/2916.2736a1c2.js.map +0 -1
- package/dist/chunks/395.8404a7fc.js +0 -2
- package/dist/chunks/395.8404a7fc.js.map +0 -1
- package/dist/chunks/4131.fcd6b8c6.js +0 -2
- package/dist/chunks/4770.cea61a27.js.map +0 -1
- package/dist/chunks/5202.3b49eff5.js +0 -2
- package/dist/chunks/7746.2258edd2.js +0 -2
- package/dist/chunks/9549.bcd85093.js +0 -2
- package/dist/chunks/battery-chart.7834ebd7.js.map +0 -1
- package/dist/chunks/brick-notification.57cebbcd.js.map +0 -1
- package/dist/chunks/cabinet-button.5972f394.js.map +0 -1
- package/dist/chunks/cabinet-graph.36b6c2f4.js.map +0 -1
- package/dist/chunks/complex-search.03ec304a.js.map +0 -1
- package/dist/chunks/gauge-chart.b1479a20.js.map +0 -1
- package/dist/chunks/gear-background.beb13aa3.js.map +0 -1
- package/dist/chunks/graph-layout-grid.cbeb684e.js.map +0 -1
- package/dist/chunks/graph-node.8b2281d9.js.map +0 -1
- package/dist/chunks/graph-text.2c83169a.js.map +0 -1
- package/dist/chunks/grid-background.fff1cb85.js.map +0 -1
- package/dist/chunks/main.290321e7.js +0 -2
- package/dist/chunks/modern-style-component-title.d0ce0aca.js.map +0 -1
- package/dist/chunks/modern-style-page-title.937bdf28.js.map +0 -1
- package/dist/chunks/particle-animation.15ca8501.js.map +0 -1
- package/dist/chunks/radar-chart.bd05eee2.js.map +0 -1
- package/dist/chunks/title-text.c17c00d3.js.map +0 -1
- package/dist/chunks/top-title-bar.0cacfc75.js.map +0 -1
- package/dist/index.864b177a.js +0 -2
- package/dist/index.864b177a.js.map +0 -1
- /package/dist/chunks/{app-wall-card-item.d09f409d.js.LICENSE.txt → app-wall-card-item.52bfd72b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{app-wall-relation-line.cf984b68.js.LICENSE.txt → app-wall-relation-line.d12ab574.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-app-layer.4518a41a.js.LICENSE.txt → cabinet-app-layer.263dc258.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-node.1912eed1.js.LICENSE.txt → cabinet-node.4a9b5457.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{dropdown-menu.e91db9d9.js.LICENSE.txt → dropdown-menu.f7a23665.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-drawer.9359109f.js.LICENSE.txt → tabs-drawer.5070d5a0.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{tabs-page-title.f7045fe6.js.LICENSE.txt → tabs-page-title.34271921.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/complex-search.131739bd.js","mappings":"iKAAO,IAAKA,EAAC,SAADA,GAAC,OAADA,EAAC,wBAADA,CAAC,MAYAC,EAAK,kCAELC,EAAU,CAAEC,GAVN,CACfC,WAAY,cASaC,GANV,CACfD,WAAY,O,kTCOV,cAAEE,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,qBAC3CC,EAAAA,EAAAA,qBAAoBT,EAAAA,GAAIC,EAAAA,GACxB,IAEES,EAFIC,IAAcC,EAAAA,EAAAA,WAClB,sBACAC,EA4BDR,EAAc,2BAA4B,CACzCS,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAUCX,IAAUY,EAUVZ,IAAUa,EAWVb,EAAS,CAAEc,WAAW,IAAQC,EAS9Bf,EAAS,CACRc,WAAW,IACXE,EAODf,EAAM,CAAEgB,KAAM,WAAWC,EAOzBjB,EAAM,CAAEgB,KAAM,WAAWE,EAOzBlB,EAAM,CAAEgB,KAAM,WAAWG,EAOzBnB,EAAM,CAAEgB,KAAM,UAAUI,EAOxBpB,EAAM,CAAEgB,KAAM,SAAS,IAAAK,GAAA,IAAAC,QAAAC,GAAA,IAAAD,QAAAE,GAAA,IAAAF,QAAAG,GAAA,IAAAH,QAAAI,GAAA,IAAAJ,QAAAK,GAAA,IAAAL,QAA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,EAAOD,EAAME,OAAOC,aACxB,QAAavF,IAATqF,EAAoB,CACtB,IAAIG,EAAMH,EAAK7D,KAAK4D,EAAOzD,UAC3B,GAAqB,YAAjB,OAAQ6D,GAAmB,OAAOA,EACtC,MAAM,IAAI5D,UAAU,+CACtB,CACA,OAA4B6D,OAAiBL,EAC/C,CDPY,CAAYD,GACtB,MAAwB,YAAjB,OAAQ1H,GAAoBA,EAAMgI,OAAOhI,EAClD,C,iBELe,SAASiI,EAAQxB,GAG9B,OAAOwB,EAAU,mBAAqBJ,QAAU,iBAAmBA,OAAOK,SAAW,SAAUzB,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBoB,QAAUpB,EAAIjN,cAAgBqO,QAAUpB,IAAQoB,OAAO5B,UAAY,gBAAkBQ,CAC1H,EAAGwB,EAAQxB,EACb,C","sources":["webpack:///./src/complex-search/i18n.ts","webpack:///./src/complex-search/index.tsx","webpack:///./src/complex-search/complex-search.shadow.css","webpack:///./src/data-view-variables.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/defineProperty.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export enum K {\n EMPTY_DATA = \"EMPTY_DATA\",\n}\n\nconst en: Locale = {\n EMPTY_DATA: \"Empty data\",\n};\n\nconst zh: Locale = {\n EMPTY_DATA: \"空数据\",\n};\n\nexport const NS = \"bricks/data-view/complex-search\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [key in K]: string };\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport { createDecorators, EventEmitter } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport variablesStyleText from \"../data-view-variables.shadow.css\";\nimport styleText from \"./complex-search.shadow.css\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport {\n ReactUseMultipleBricks,\n ReactUseMultipleBricksProps,\n} from \"@next-core/react-runtime\";\nimport { useTranslation, initializeReactI18n } from \"@next-core/i18n/react\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport empty from \"../asset/images/empty.png\";\nconst { defineElement, property, event } = createDecorators();\ninitializeReactI18n(NS, locales);\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\n \"icons.general-icon\"\n);\n\nexport interface OptionItem {\n icon: GeneralIconProps;\n name: string;\n [propName: string]: unknown;\n}\n\ninterface ComplexSearchProps {\n options?: OptionItem[];\n value?: string;\n placeholder?: string;\n onInputChange?: (value: string) => void;\n onSearch?: (value: string) => void;\n onFocus?: () => void;\n onBlur?: () => void;\n tooltipUseBrick?: ReactUseMultipleBricksProps;\n onSelect?: (data: OptionItem) => void;\n}\n\n/**\n * @id data-view.complex-search\n * @name data-view.complex-search\n * @docKind brick\n * @description 大屏搜索构件\n * @author astrid\n * @noInheritDoc\n */\n@defineElement(\"data-view.complex-search\", {\n styleTexts: [variablesStyleText, styleText],\n})\nclass ComplexSearch extends ReactNextElement implements ComplexSearchProps {\n /**\n * @kind string\n * @required false\n * @default default\n * @description 初始值\n * @enums\n * @group basic\n */\n @property()\n accessor value: string | undefined;\n /**\n * @kind string\n * @required false\n * @default default\n * @description 占位符\n * @enums\n * @group basic\n */\n @property()\n accessor placeholder: string | undefined;\n\n /**\n * @kind OptionItem[]\n * @required false\n * @default default\n * @description 下拉选项\n * @enums\n * @group basic\n */\n @property({ attribute: false })\n accessor options: OptionItem[];\n\n /**\n * @kind ReactUseMultipleBricksProps\n * @required false\n * @default -\n * @description tooltip useBrick\n */\n @property({\n attribute: false,\n })\n accessor tooltipUseBrick: ReactUseMultipleBricksProps;\n\n /**\n * @detail\n * @description input值改变事件\n */\n @event({ type: \"change\" })\n accessor #inputChangeEvent!: EventEmitter<string>;\n\n /**\n * @detail\n * @description input值搜索事件\n */\n @event({ type: \"search\" })\n accessor #onSearchEvent!: EventEmitter<string>;\n\n /**\n * @detail\n * @description 下拉选择事件\n */\n @event({ type: \"select\" })\n accessor #onSelectEvent!: EventEmitter<OptionItem>;\n\n /**\n * @detail\n * @description 聚焦事件\n */\n @event({ type: \"focus\" })\n accessor #onFocusEvent!: EventEmitter<void>;\n\n /**\n * @detail\n * @description 失焦事件\n */\n @event({ type: \"blur\" })\n accessor #onBlurEvent!: EventEmitter<void>;\n\n handleInputChange = (value: string) => {\n this.#inputChangeEvent.emit(value);\n };\n handleSearch = (value: string) => {\n this.#onSearchEvent.emit(value);\n };\n handleFocus = () => {\n this.#onFocusEvent.emit();\n };\n handleBlur = () => {\n this.#onBlurEvent.emit();\n };\n handleSelect = (data: OptionItem) => {\n this.#onSelectEvent.emit(data);\n };\n\n render(): React.ReactNode {\n return (\n <ComplexSearchComponent\n value={this.value}\n onInputChange={this.handleInputChange}\n onSearch={this.handleSearch}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n tooltipUseBrick={this.tooltipUseBrick}\n placeholder={this.placeholder}\n onSelect={this.handleSelect}\n options={this.options}\n />\n );\n }\n}\n\nexport function ComplexSearchComponent(\n props: ComplexSearchProps\n): React.ReactElement {\n const {\n onInputChange,\n onSearch,\n onBlur,\n onFocus,\n tooltipUseBrick,\n placeholder,\n onSelect,\n options = [],\n } = props;\n const { t } = useTranslation(NS);\n const [allowClear, setAllowClear] = useState<boolean>(false);\n const contentRef = useRef<HTMLDivElement>(null);\n const [visible, setVisible] = useState(false);\n const [currentData, setCurrentData] = useState<OptionItem>();\n const [positionTop, setPositionTop] = useState<number>(0);\n const [tooltipVisible, setTooltipVisible] = useState<boolean>(false);\n const [value, setValue] = useState(props.value);\n const handleFocus = () => {\n //聚焦, 下拉框出现\n setVisible(true);\n onFocus();\n };\n const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {\n if (e.key === \"Enter\") {\n setVisible(false);\n setValue((e.target as HTMLInputElement).value);\n onSearch((e.target as HTMLInputElement).value);\n }\n };\n const handleSelect = (data: OptionItem) => {\n setValue(data.name);\n onSelect(data);\n setVisible(false);\n };\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n useEffect(() => {\n setAllowClear(!!value);\n }, [value]);\n\n const handleClick = (event: MouseEvent) => {\n const targetElement = event\n .composedPath()\n .some((ele) => ele === contentRef.current);\n if (!targetElement) {\n setVisible(false);\n }\n };\n const handleMouseEnter = (\n e: React.MouseEvent<HTMLDivElement>,\n data: OptionItem\n ) => {\n setCurrentData(data);\n setTooltipVisible(true);\n const top =\n (e.target as HTMLDivElement).getBoundingClientRect().top -\n contentRef.current.getBoundingClientRect().top;\n setPositionTop(top);\n };\n const handleValueChange = (val: string) => {\n setValue(val);\n onInputChange(val);\n setVisible(true);\n };\n const onClearValue = () => {\n setValue(null);\n onInputChange(\"\");\n setVisible(false);\n };\n const TooltipBrick = useMemo(() => {\n if (!tooltipUseBrick?.useBrick) {\n return;\n } else {\n return (\n <div\n className=\"dropdownMenuItemTooltip\"\n style={{\n top: positionTop,\n visibility: tooltipVisible ? \"visible\" : \"hidden\",\n opacity: tooltipVisible ? 1 : 0,\n }}\n onMouseEnter={() => setTooltipVisible(true)}\n onMouseLeave={() => setTooltipVisible(false)}\n >\n <div className=\"useBrickWrapper\">\n <ReactUseMultipleBricks\n useBrick={tooltipUseBrick.useBrick}\n data={currentData || {}}\n />\n </div>\n </div>\n );\n }\n }, [currentData, tooltipUseBrick, positionTop, tooltipVisible]);\n useEffect(() => {\n document.addEventListener(\"click\", handleClick);\n return () => document.removeEventListener(\"click\", handleClick);\n }, []);\n\n return (\n <div className=\"wrapper\" ref={contentRef}>\n <div className=\"inputWrapper\">\n <input\n placeholder={placeholder}\n value={value ?? \"\"}\n type=\"text\"\n onChange={(e: React.ChangeEvent<HTMLInputElement>) =>\n handleValueChange(e.target.value)\n }\n onFocus={handleFocus}\n onBlur={onBlur}\n onKeyDown={handleKeyDown}\n />\n <WrappedIcon\n className=\"searchIcon icon\"\n lib=\"antd\"\n icon=\"search\"\n theme=\"outlined\"\n />\n {allowClear && (\n <WrappedIcon\n className=\"clearIcon icon\"\n onClick={onClearValue}\n lib=\"antd\"\n icon=\"close-circle\"\n theme=\"filled\"\n />\n )}\n </div>\n <div\n className=\"dropdownWrapper\"\n style={{\n visibility: visible ? \"visible\" : \"hidden\",\n }}\n >\n {options.length ? (\n <div className=\"dropdownMenu\">\n {options.map((option, index) => (\n <div\n className=\"dropdownMenuItem\"\n key={index}\n onMouseEnter={(e) => handleMouseEnter(e, option)}\n onMouseLeave={() => setTooltipVisible(false)}\n onClick={() => handleSelect(option)}\n >\n <WrappedIcon {...option.icon} className=\"menuIcon\" />\n <span className=\"menuTitle\">{option.name}</span>\n </div>\n ))}\n </div>\n ) : (\n <div className=\"emptyData\">\n <img src={empty} alt={t(K.EMPTY_DATA)} />\n <span>{t(K.EMPTY_DATA)}</span>\n </div>\n )}\n </div>\n {TooltipBrick}\n </div>\n );\n}\n\nexport { ComplexSearch };\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, \".wrapper{width:100%;position:relative}.inputWrapper{width:100%;height:32px;position:relative}input{height:100%;line-height:32px;border:none;width:100%;box-sizing:border-box;padding:0 32px;background:var(--color-fill-bg-base-1);border-radius:var(--medius-border-radius);font-size:var(--auxiliary-font-size-small);font-weight:var(--font-weight-400);color:var(--color-normal-text)}input::placeholder{color:var(--color-disabled-text);font-size:var(--auxiliary-font-size-small);font-weight:var(--font-weight-400)}input:not(:disabled):focus{border:none;outline:0}.icon{position:absolute;color:var(--color-normal-text);opacity:0.6}.searchIcon{left:10px;top:6px;font-size:16px}.clearIcon{right:10px;top:7px;font-size:14px}.dropdownWrapper{width:100%;height:336px;margin:5px 0;padding:8px 0;box-sizing:border-box;position:absolute;z-index:900;overflow:auto;background:var(--color-fill-bg-base-1);border-radius:var(--medius-border-radius);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.emptyData{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:var(--color-disabled-text);gap:20px}.emptyData img{width:62px}.dropdownMenu{overflow-y:auto}.dropdownMenuItem{padding:6px 18px;color:var(--color-normal-text);font-size:var(--auxiliary-font-size-small);font-weight:var(--font-weight-400);display:flex;align-items:center;gap:6px;height:32px;line-height:20px;box-sizing:border-box;cursor:pointer}.menuTitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.menuIcon{font-size:20px}.dropdownMenuItem:hover{border-radius:var(--no-border-radius);background:var(--color-fill-bg-container-1)}.dropdownMenuItemTooltip{position:absolute;width:324px;left:-325px;top:0;background:var(--color-fill-bg-base-4);border-radius:var(--medius-border-radius)}.dropdownMenuItemTooltip:before{content:\\\"\\\";position:absolute;top:0;width:100%;height:100%;left:0;background:#282e3a linear-gradient(186deg,rgba(51,102,255,0.3) 0%,rgba(51,102,255,0) 100%);border-radius:4px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.useBrickWrapper{position:relative;min-height:100px;max-height:465px;overflow:auto}\", \"\"]);\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{--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","\"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}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\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":["K","NS","locales","en","EMPTY_DATA","zh","defineElement","property","event","createDecorators","initializeReactI18n","_ComplexSearch","WrappedIcon","wrapBrick","_dec","styleTexts","variablesStyleText","styleText","_dec2","_dec3","_dec4","attribute","_dec5","_dec6","type","_dec7","_dec8","_dec9","_dec10","_A","WeakMap","_B","_C","_D","_E","_inputChangeEvent","_F","_onSearchEvent","_G","_onSelectEvent","_H","_onFocusEvent","_I","_onBlurEvent","ComplexSearch","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_onBlurEvent2","set","_set_onBlurEvent2","_get_onFocusEvent2","_set_onFocusEvent2","_get_onSelectEvent2","_set_onSelectEvent2","_get_onSearchEvent2","_set_onSearchEvent2","_get_inputChangeEvent2","_set_inputChangeEvent2","writable","value","_initProto","_init_value","_init_placeholder","_init_options","_init_tooltipUseBrick","_init_inputChangeEvent","_init_onSearchEvent","_init_onSelectEvent","_init_onFocusEvent","_init_onBlurEvent","_defineProperty","_classPrivateFieldGet","this","emit","data","v","_classPrivateFieldSet","placeholder","options","tooltipUseBrick","render","React","ComplexSearchComponent","onInputChange","handleInputChange","onSearch","handleSearch","onBlur","handleBlur","onFocus","handleFocus","onSelect","handleSelect","_set_inputChangeEvent","_get_inputChangeEvent","_set_onSearchEvent","_get_onSearchEvent","_set_onSelectEvent","_get_onSelectEvent","_set_onFocusEvent","_get_onFocusEvent","_set_onBlurEvent","_get_onBlurEvent","props","t","useTranslation","allowClear","setAllowClear","useState","contentRef","useRef","visible","setVisible","currentData","setCurrentData","positionTop","setPositionTop","tooltipVisible","setTooltipVisible","setValue","useEffect","handleClick","composedPath","some","ele","current","TooltipBrick","useMemo","useBrick","className","style","top","visibility","opacity","onMouseEnter","onMouseLeave","ReactUseMultipleBricks","document","addEventListener","removeEventListener","ref","onChange","e","handleValueChange","val","target","onKeyDown","key","lib","icon","theme","onClick","onClearValue","length","map","option","index","handleMouseEnter","getBoundingClientRect","name","_extends","src","empty","alt","c","_initClass","_applyDecs2203R","___CSS_LOADER_EXPORT___","push","module","id","toString","exports","cssWithMappingToString","list","item","content","needLayer","concat","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","applyDecs2203R","targetClass","memberDecs","classDecs","createAddInitializerMethod","initializers","decoratorFinishedRef","initializer","fnName","Error","assertCallable","memberDec","dec","desc","kind","isStatic","isPrivate","kindStr","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","enumerable","configurable","assign","bind","source","hasOwnProperty","apply","_toPropertyKey","arg","input","prim","Symbol","toPrimitive","res","String","_typeof","iterator"],"sourceRoot":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! For license information please see dropdown-menu.
|
|
2
|
-
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7926],{4842:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownMenu:()=>m});var a,n,l,o,i,s,c,p,u,d,g,h,b,v,f,m,w=r(3395),x=r(381),y=r(687),k=r(5303),E=r(8657),Z=r.n(E),z=r(4558),N=r(817),C=r(1043),S=r(567),M=r(8214),j=r(2779),T=r.n(j),_=r(1211),W=(0,N.wrapBrick)("icons.general-icon"),{defineElement:A,property:D,event:L}=(0,z.createDecorators)();n=A("data-view.dropdown-menu",{styleTexts:[C.Z,S.Z]}),l=D({attribute:!1}),i=D(),c=D(),u=D(),g=L({type:"value.change"});var O=new WeakMap,P=new WeakMap,I=new WeakMap,B=new WeakMap,R=new WeakMap,q=new WeakMap,F=new WeakMap;class G extends N.ReactNextElement{constructor(){super(...arguments),(0,w.Z)(this,q,{get:J,set:H}),(0,w.Z)(this,O,{writable:!0,value:(f(this),o(this))}),(0,w.Z)(this,P,{writable:!0,value:s(this)}),(0,w.Z)(this,I,{writable:!0,value:p(this)}),(0,w.Z)(this,B,{writable:!0,value:d(this)}),(0,w.Z)(this,R,{writable:!0,value:h(this)}),(0,w.Z)(this,F,{writable:!0,value:e=>{(0,y.Z)(this,q).emit(e)}})}get options(){return(0,y.Z)(this,O)}set options(e){(0,x.Z)(this,O,e)}get value(){return(0,y.Z)(this,P)}set value(e){(0,x.Z)(this,P,e)}get placeholder(){return(0,y.Z)(this,I)}set placeholder(e){(0,x.Z)(this,I,e)}get allowClear(){return(0,y.Z)(this,B)}set allowClear(e){(0,x.Z)(this,B,e)}render(){return Z().createElement(K,{curElement:this,options:this.options,value:this.value,placeholder:this.placeholder,onChange:(0,y.Z)(this,F),allowClear:this.allowClear})}}function H(e){v(this,e)}function J(){return b(this)}function K(e){var{curElement:t,options:r,placeholder:a,onChange:n,allowClear:l}=e,[o,i]=Z().useState(!0),s=(0,E.useRef)(),[c,p]=Z().useState(""),[u,d]=Z().useState(!1),[g,h]=(0,E.useState)(e.value),b=(0,E.useMemo)((()=>(0,_.keyBy)(r,"value")),[r]);(0,E.useEffect)((()=>{h(e.value)}),[e.value]),(0,E.useEffect)((()=>{var e=e=>{t.contains(e.target)||(i(!0),d((()=>(s.current.blur(),p(""),!1))))};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}));var v=(0,E.useMemo)((()=>r.filter((e=>{var t=(null==c?void 0:c.trim().toLowerCase())||"";return e.label.toLowerCase().includes(t)||e.value.toLowerCase().includes(t)}))),[c,r]);return Z().createElement("div",{className:"container"},Z().createElement("div",{className:T()("select",{"select-focused":u,"select-allow-clear":!!l})},Z().createElement("div",{className:"select-selector",onClick:()=>{i(!1),d((e=>(e||p(""),s.current.focus(),!0)))}},Z().createElement("div",{className:"select-selector-search"},Z().createElement("input",{className:"select-selector-search-input",type:"search",autoComplete:"off",ref:s,value:c,onChange:e=>{p(e.target.value)}})),g?Z().createElement("div",{className:"select-selector-item",style:{visibility:c?"hidden":"visible"}},b[g]?b[g].label:g):Z().createElement("div",{className:"select-selection-placeholder",style:{visibility:c?"hidden":"visible"}},a),Z().createElement("div",{className:"select-arrow"},u?Z().createElement(W,{className:"ant-select-suffix search-icon",lib:"antd",theme:"outlined",icon:"search"}):Z().createElement(W,{className:"ant-select-suffix down-icon",lib:"antd",theme:"outlined",icon:"down"})),l&&Z().createElement("div",{className:"select-clear",style:{visibility:g?"visible":"hidden"},onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),p(""),h(null),null==n||n(null)}},Z().createElement(W,{className:"ant-select-suffix clear-icon",lib:"antd",theme:"filled",icon:"close-circle"})))),Z().createElement("div",{className:"select-dropdown",style:{display:o?"none":"block"}},v.length?Z().createElement("div",{className:"dropdown-list"},Z().createElement("div",{className:"dropdown-list-inner"},v.map((e=>Z().createElement("div",{className:T()("select-item",{selected:g===e.value}),key:e.value,onClick:()=>{h(e.value),i(!0),d((()=>(s.current.blur(),p(""),!1))),null==n||n(e.value)}},Z().createElement("div",{className:"select-item-option-content"},e.label)))))):Z().createElement("div",{className:"empty-state"},Z().createElement("img",{src:M,className:"empty-image"}),Z().createElement("div",{className:"empty-description"},"暂无数据"))))}({e:[o,s,p,d,h,b,v,f],c:[m,a]}=(0,k.Z)(G,[[l,1,"options"],[i,1,"value"],[c,1,"placeholder"],[u,1,"allowClear"],[g,1,"valueChange",function(){return(0,y.Z)(this,R)},function(e){(0,x.Z)(this,R,e)}]],[n])),a()},2779:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&e.push(o)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},1043:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),l=r(2609),o=r.n(l)()(n());o.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 i=o.toString()},567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),l=r(2609),o=r.n(l)()(n());o.push([e.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.select-allow-clear: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)}",""]);const i=o.toString()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,l){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);a&&o[p[0]]||(void 0!==l&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=l),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)),t.push(p))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},8214:(e,t,r)=>{"use strict";e.exports=r.p+"images/6d954a25.png"},5303:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e,t,r){return(n=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,n,l,o,i,s){var c;switch(l){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var p,u,d={kind:c,name:i?"#"+r:r,static:o,private:i},g={v:!1};0!==l&&(d.addInitializer=e(n,g)),0===l?i?(p=a.get,u=a.set):(p=function(){return this[r]},u=function(e){this[r]=e}):2===l?p=function(){return a.value}:(1!==l&&3!==l||(p=function(){return a.get.call(this)}),1!==l&&4!==l||(u=function(e){a.set.call(this,e)})),d.access=p&&u?{get:p,set:u}:p?{get:p}:{set:u};try{return t(s,d)}finally{g.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,a.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function l(e,r,a,l,o,i,s,c){var p,u,d,g,h,b,v=a[0];if(s?p=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(p=Object.getOwnPropertyDescriptor(r,l)),1===o?d={get:p.get,set:p.set}:2===o?d=p.value:3===o?d=p.get:4===o&&(d=p.set),"function"==typeof v)void 0!==(g=t(v,l,p,c,o,i,s,d))&&(n(o,g),0===o?u=g:1===o?(u=g.init,h=g.get||d.get,b=g.set||d.set,d={get:h,set:b}):d=g);else for(var f=v.length-1;f>=0;f--){var m;void 0!==(g=t(v[f],l,p,c,o,i,s,d))&&(n(o,g),0===o?m=g:1===o?(m=g.init,h=g.get||d.get,b=g.set||d.set,d={get:h,set:b}):d=g,void 0!==m&&(void 0===u?u=m:"function"==typeof u?u=[u,m]:u.push(m)))}if(0===o||1===o){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var w=u;u=function(e,t){for(var r=t,a=0;a<w.length;a++)r=w[a].call(e,r);return r}}else{var x=u;u=function(e,t){return x.call(e,t)}}e.push(u)}0!==o&&(1===o?(p.get=d.get,p.set=d.set):2===o?p.value=d:3===o?p.get=d:4===o&&(p.set=d),s?1===o?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===o?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(r,l,p))}function o(e,t){for(var r,a,n=[],o=new Map,s=new Map,c=0;c<t.length;c++){var p=t[c];if(Array.isArray(p)){var u,d,g=p[1],h=p[2],b=p.length>3,v=g>=5;if(v?(u=e,0!=(g-=5)&&(d=a=a||[])):(u=e.prototype,0!==g&&(d=r=r||[])),0!==g&&!b){var f=v?s:o,m=f.get(h)||0;if(!0===m||3===m&&4!==g||4===m&&3!==g)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: "+h);!m&&g>2?f.set(h,g):f.set(h,!0)}l(n,u,p,h,g,v,b,d)}}return i(n,r),i(n,a),n}function i(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:o(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],l=t,o=t.name,i=r.length-1;i>=0;i--){var s={v:!1};try{var c=r[i](l,{kind:"class",name:o,addInitializer:e(a,s)})}finally{s.v=!0}void 0!==c&&(n(10,c),l=c)}return[l,function(){for(var e=0;e<a.length;e++)a[e].call(l)}]}}(t,a)}}}}())(e,t,r)}},90:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(90);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
3
|
-
//# sourceMappingURL=dropdown-menu.
|
|
1
|
+
/*! For license information please see dropdown-menu.f7a23665.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[7926],{4842:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownMenu:()=>m});var a,n,l,o,i,s,c,p,u,d,g,h,b,v,f,m,w=r(3395),x=r(381),y=r(687),k=r(5303),E=r(8657),Z=r.n(E),z=r(4558),N=r(817),C=r(1043),S=r(567),M=r(8214),j=r(2779),T=r.n(j),_=r(1211),W=(0,N.wrapBrick)("icons.general-icon"),{defineElement:A,property:D,event:L}=(0,z.createDecorators)();n=A("data-view.dropdown-menu",{styleTexts:[C.Z,S.Z]}),l=D({attribute:!1}),i=D(),c=D(),u=D(),g=L({type:"value.change"});var O=new WeakMap,P=new WeakMap,I=new WeakMap,B=new WeakMap,R=new WeakMap,q=new WeakMap,F=new WeakMap;class G extends N.ReactNextElement{constructor(){super(...arguments),(0,w.Z)(this,q,{get:J,set:H}),(0,w.Z)(this,O,{writable:!0,value:(f(this),o(this))}),(0,w.Z)(this,P,{writable:!0,value:s(this)}),(0,w.Z)(this,I,{writable:!0,value:p(this)}),(0,w.Z)(this,B,{writable:!0,value:d(this)}),(0,w.Z)(this,R,{writable:!0,value:h(this)}),(0,w.Z)(this,F,{writable:!0,value:e=>{(0,y.Z)(this,q).emit(e)}})}get options(){return(0,y.Z)(this,O)}set options(e){(0,x.Z)(this,O,e)}get value(){return(0,y.Z)(this,P)}set value(e){(0,x.Z)(this,P,e)}get placeholder(){return(0,y.Z)(this,I)}set placeholder(e){(0,x.Z)(this,I,e)}get allowClear(){return(0,y.Z)(this,B)}set allowClear(e){(0,x.Z)(this,B,e)}render(){return Z().createElement(K,{curElement:this,options:this.options,value:this.value,placeholder:this.placeholder,onChange:(0,y.Z)(this,F),allowClear:this.allowClear})}}function H(e){v(this,e)}function J(){return b(this)}function K(e){var{curElement:t,options:r,placeholder:a,onChange:n,allowClear:l}=e,[o,i]=Z().useState(!0),s=(0,E.useRef)(),[c,p]=Z().useState(""),[u,d]=Z().useState(!1),[g,h]=(0,E.useState)(e.value),b=(0,E.useMemo)((()=>(0,_.keyBy)(r,"value")),[r]);(0,E.useEffect)((()=>{h(e.value)}),[e.value]),(0,E.useEffect)((()=>{var e=e=>{t.contains(e.target)||(i(!0),d((()=>(s.current.blur(),p(""),!1))))};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}));var v=(0,E.useMemo)((()=>r.filter((e=>{var t=(null==c?void 0:c.trim().toLowerCase())||"";return e.label.toLowerCase().includes(t)||e.value.toLowerCase().includes(t)}))),[c,r]);return Z().createElement("div",{className:"container"},Z().createElement("div",{className:T()("select",{"select-focused":u,"select-allow-clear":!!l})},Z().createElement("div",{className:"select-selector",onClick:()=>{i(!1),d((e=>(e||p(""),s.current.focus(),!0)))}},Z().createElement("div",{className:"select-selector-search"},Z().createElement("input",{className:"select-selector-search-input",type:"search",autoComplete:"off",ref:s,value:c,onChange:e=>{p(e.target.value)}})),g?Z().createElement("div",{className:"select-selector-item",style:{visibility:c?"hidden":"visible"}},b[g]?b[g].label:g):Z().createElement("div",{className:"select-selection-placeholder",style:{visibility:c?"hidden":"visible"}},a),Z().createElement("div",{className:"select-arrow"},u?Z().createElement(W,{className:"ant-select-suffix search-icon",lib:"antd",theme:"outlined",icon:"search"}):Z().createElement(W,{className:"ant-select-suffix down-icon",lib:"antd",theme:"outlined",icon:"down"})),l&&Z().createElement("div",{className:"select-clear",style:{visibility:g?"visible":"hidden"},onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),p(""),h(null),null==n||n(null)}},Z().createElement(W,{className:"ant-select-suffix clear-icon",lib:"antd",theme:"filled",icon:"close-circle"})))),Z().createElement("div",{className:"select-dropdown",style:{display:o?"none":"block"}},v.length?Z().createElement("div",{className:"dropdown-list"},Z().createElement("div",{className:"dropdown-list-inner"},v.map((e=>Z().createElement("div",{className:T()("select-item",{selected:g===e.value}),key:e.value,onClick:()=>{h(e.value),i(!0),d((()=>(s.current.blur(),p(""),!1))),null==n||n(e.value)}},Z().createElement("div",{className:"select-item-option-content"},e.label)))))):Z().createElement("div",{className:"empty-state"},Z().createElement("img",{src:M,className:"empty-image"}),Z().createElement("div",{className:"empty-description"},"暂无数据"))))}({e:[o,s,p,d,h,b,v,f],c:[m,a]}=(0,k.Z)(G,[[l,1,"options"],[i,1,"value"],[c,1,"placeholder"],[u,1,"allowClear"],[g,1,"valueChange",function(){return(0,y.Z)(this,R)},function(e){(0,x.Z)(this,R,e)}]],[n])),a()},2779:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&e.push(o)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},1043:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),l=r(2609),o=r.n(l)()(n());o.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 i=o.toString()},567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9601),n=r.n(a),l=r(2609),o=r.n(l)()(n());o.push([e.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.select-allow-clear: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)}",""]);const i=o.toString()},2609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,l){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);a&&o[p[0]]||(void 0!==l&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=l),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)),t.push(p))}},t}},9601:e=>{"use strict";e.exports=function(e){return e[1]}},8214:(e,t,r)=>{"use strict";e.exports=r.p+"images/6d954a25.png"},5303:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6522);function n(e,t,r){return(n=function(){function e(e,t){return function(a){!function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished")}(t),r(a,"An initializer"),e.push(a)}}function t(t,r,a,n,l,o,i,s){var c;switch(l){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var p,u,d={kind:c,name:i?"#"+r:r,static:o,private:i},g={v:!1};0!==l&&(d.addInitializer=e(n,g)),0===l?i?(p=a.get,u=a.set):(p=function(){return this[r]},u=function(e){this[r]=e}):2===l?p=function(){return a.value}:(1!==l&&3!==l||(p=function(){return a.get.call(this)}),1!==l&&4!==l||(u=function(e){a.set.call(this,e)})),d.access=p&&u?{get:p,set:u}:p?{get:p}:{set:u};try{return t(s,d)}finally{g.v=!0}}function r(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function n(e,t){var n=(0,a.Z)(t);if(1===e){if("object"!==n||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&r(t.get,"accessor.get"),void 0!==t.set&&r(t.set,"accessor.set"),void 0!==t.init&&r(t.init,"accessor.init")}else if("function"!==n)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function l(e,r,a,l,o,i,s,c){var p,u,d,g,h,b,v=a[0];if(s?p=0===o||1===o?{get:a[3],set:a[4]}:3===o?{get:a[3]}:4===o?{set:a[3]}:{value:a[3]}:0!==o&&(p=Object.getOwnPropertyDescriptor(r,l)),1===o?d={get:p.get,set:p.set}:2===o?d=p.value:3===o?d=p.get:4===o&&(d=p.set),"function"==typeof v)void 0!==(g=t(v,l,p,c,o,i,s,d))&&(n(o,g),0===o?u=g:1===o?(u=g.init,h=g.get||d.get,b=g.set||d.set,d={get:h,set:b}):d=g);else for(var f=v.length-1;f>=0;f--){var m;void 0!==(g=t(v[f],l,p,c,o,i,s,d))&&(n(o,g),0===o?m=g:1===o?(m=g.init,h=g.get||d.get,b=g.set||d.set,d={get:h,set:b}):d=g,void 0!==m&&(void 0===u?u=m:"function"==typeof u?u=[u,m]:u.push(m)))}if(0===o||1===o){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var w=u;u=function(e,t){for(var r=t,a=0;a<w.length;a++)r=w[a].call(e,r);return r}}else{var x=u;u=function(e,t){return x.call(e,t)}}e.push(u)}0!==o&&(1===o?(p.get=d.get,p.set=d.set):2===o?p.value=d:3===o?p.get=d:4===o&&(p.set=d),s?1===o?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===o?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(r,l,p))}function o(e,t){for(var r,a,n=[],o=new Map,s=new Map,c=0;c<t.length;c++){var p=t[c];if(Array.isArray(p)){var u,d,g=p[1],h=p[2],b=p.length>3,v=g>=5;if(v?(u=e,0!=(g-=5)&&(d=a=a||[])):(u=e.prototype,0!==g&&(d=r=r||[])),0!==g&&!b){var f=v?s:o,m=f.get(h)||0;if(!0===m||3===m&&4!==g||4===m&&3!==g)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: "+h);!m&&g>2?f.set(h,g):f.set(h,!0)}l(n,u,p,h,g,v,b,d)}}return i(n,r),i(n,a),n}function i(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(t,r,a){return{e:o(t,r),get c(){return function(t,r){if(r.length>0){for(var a=[],l=t,o=t.name,i=r.length-1;i>=0;i--){var s={v:!1};try{var c=r[i](l,{kind:"class",name:o,addInitializer:e(a,s)})}finally{s.v=!0}void 0!==c&&(n(10,c),l=c)}return[l,function(){for(var e=0;e<a.length;e++)a[e].call(l)}]}}(t,a)}}}}())(e,t,r)}},5863:(e,t,r)=>{"use strict";function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>a})},175:(e,t,r)=>{"use strict";function a(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{Z:()=>a})},687:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,a.Z)(e,t,"get"))}},3395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(5863);function n(e,t,r){(0,a.Z)(e,t),t.set(e,r)}},381:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(175);function n(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,(0,a.Z)(e,t,"set"),r),r}},6522:(e,t,r)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r.d(t,{Z:()=>a})}}]);
|
|
3
|
+
//# sourceMappingURL=dropdown-menu.f7a23665.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/dropdown-menu.e91db9d9.js","mappings":";qMAiB8DA,wIAJxDC,GAAcC,EAAAA,EAAAA,WAClB,uBAGI,cAAEC,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,oBAAmB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,EAAWH,IAAIE,GAClB,MAAM,IAAItC,UAAU,gBAAkBwC,EAAS,kCAEjD,OAAOD,EAAWtL,IAAIqL,EACxB,4ECHe,SAASzK,EAAsByK,EAAUC,GAEtD,OCJa,SAAkCD,EAAUG,GACzD,OAAIA,EAAWxL,IACNwL,EAAWxL,IAAIiG,KAAKoF,GAEtBG,EAAWnL,KACpB,CDDS,CAAwBgL,GADd,EAAAI,EAAA,GAA4BJ,EAAUC,EAAY,OAErE,4DEJe,SAASvL,EAA2BkL,EAAKK,EAAYjL,IAClE,OAA0B4K,EAAKK,GAC/BA,EAAWpL,IAAI+K,EAAK5K,EACtB,4DCFe,SAASY,EAAsBoK,EAAUC,EAAYjL,GAGlE,OCLa,SAAkCgL,EAAUG,EAAYnL,GACrE,GAAImL,EAAWtL,IACbsL,EAAWtL,IAAI+F,KAAKoF,EAAUhL,OACzB,CACL,IAAKmL,EAAWpL,SACd,MAAM,IAAI2I,UAAU,4CAEtByC,EAAWnL,MAAQA,CACrB,CACF,CDLE,CAAwBgL,GADP,EAAAI,EAAA,GAA4BJ,EAAUC,EAAY,OACrBjL,GACvCA,CACT,+BENe,SAASqL,EAAQT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAIpL,cAAgB8L,QAAUV,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\";\nimport { keyBy } from \"lodash\";\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 allowClear?: boolean;\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 * @kind boolean\n * @required false\n * @default\n * @description 是否允许清除\n */\n @property()\n accessor allowClear: boolean;\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 allowClear={this.allowClear}\n />\n );\n }\n}\n\nfunction DropdownMenuElement(\n props: DropdownMenuProps\n): React.ReactElement {\n const {\n curElement,\n options,\n placeholder,\n onChange,\n allowClear,\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 const optionsMap = useMemo(() => {\n return keyBy(options, \"value\");\n }, [options]);\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 \"select-allow-clear\": !!allowClear,\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\" }}>{optionsMap[value] ? optionsMap[value].label : 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 {allowClear && <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.select-allow-clear: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","_dec6","type","_A","WeakMap","_B","_C","_D","_E","_valueChange","_handleValueChange","DropdownMenu","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_valueChange2","set","_set_valueChange2","writable","value","_initProto","_init_options","_init_value","_init_placeholder","_init_allowClear","_init_valueChange","_classPrivateFieldGet","this","emit","options","v","_classPrivateFieldSet","placeholder","allowClear","render","React","DropdownMenuElement","curElement","onChange","_set_valueChange","_get_valueChange","props","isDropHidden","setIsDropHidden","inputRef","useRef","inputValue","setInputValue","isInputFocused","setIsInputFocused","setValue","useState","optionsMap","useMemo","keyBy","useEffect","handleDocumentClick","e","contains","target","current","blur","document","addEventListener","removeEventListener","filteredOptions","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.f7a23665.js","mappings":";qMAiB8DA,wIAJxDC,GAAcC,EAAAA,EAAAA,WAClB,uBAGI,cAAEC,EAAa,SAAEC,EAAQ,MAAEC,IAAUC,EAAAA,EAAAA,oBAAmBC,EAmB7DJ,EAAc,0BAA2B,CACxCK,WAAY,CAACC,EAAAA,EAAoBC,EAAAA,KACjCC,EAUCP,EAAS,CACRQ,WAAW,IACXC,EASDT,IAAUU,EASVV,IAAUW,EASVX,IAAUY,EAOVX,EAAM,CAAEY,KAAM,iBAAiB,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAAAM,EAAA,IAAAN,QAhDlC,MAAAO,UAIUC,EAAAA,iBACqBC,cAAA,SAAAC,YAAAC,EAAAA,EAAAA,GAAA,KAAAN,EAAA,CAAAO,IAAAC,EAAAC,IAAAC,KAC7BJ,EAAAA,EAAAA,GAAA,KAAAZ,EAAA,CAAAiB,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,UAWAR,EAAAA,EAAAA,GAAA,KAAAV,EAAA,CAAAe,U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AEtByC,EAAWnL,MAAQA,CACrB,CACF,CDLE,CAAwBgL,GADP,EAAAI,EAAA,GAA4BJ,EAAUC,EAAY,OACrBjL,GACvCA,CACT,+BENe,SAASqL,EAAQT,GAG9B,OAAOS,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUX,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBU,QAAUV,EAAIpL,cAAgB8L,QAAUV,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\";\nimport { keyBy } from \"lodash\";\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 allowClear?: boolean;\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 * @kind boolean\n * @required false\n * @default\n * @description 是否允许清除\n */\n @property()\n accessor allowClear: boolean;\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 allowClear={this.allowClear}\n />\n );\n }\n}\n\nfunction DropdownMenuElement(\n props: DropdownMenuProps\n): React.ReactElement {\n const {\n curElement,\n options,\n placeholder,\n onChange,\n allowClear,\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 const optionsMap = useMemo(() => {\n return keyBy(options, \"value\");\n }, [options]);\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 \"select-allow-clear\": !!allowClear,\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\" }}>{optionsMap[value] ? optionsMap[value].label : 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 {allowClear && <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.select-allow-clear: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","_dec6","type","_A","WeakMap","_B","_C","_D","_E","_valueChange","_handleValueChange","DropdownMenu","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_valueChange2","set","_set_valueChange2","writable","value","_initProto","_init_options","_init_value","_init_placeholder","_init_allowClear","_init_valueChange","_classPrivateFieldGet","this","emit","options","v","_classPrivateFieldSet","placeholder","allowClear","render","React","DropdownMenuElement","curElement","onChange","_set_valueChange","_get_valueChange","props","isDropHidden","setIsDropHidden","inputRef","useRef","inputValue","setInputValue","isInputFocused","setIsInputFocused","setValue","useState","optionsMap","useMemo","keyBy","useEffect","handleDocumentClick","e","contains","target","current","blur","document","addEventListener","removeEventListener","filteredOptions","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,2 +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(4558),z=r(817),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)}},90:(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(90);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.
|
|
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(4558),z=r(817),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.b3d54688.js.map
|