@next-bricks/presentational 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +18 -18
- package/dist/chunks/{1646.f77492f4.js → 1646.383d58f3.js} +2 -2
- package/dist/chunks/{1646.f77492f4.js.map → 1646.383d58f3.js.map} +1 -1
- package/dist/chunks/1761.f18783a9.js +2 -0
- package/dist/chunks/1761.f18783a9.js.map +1 -0
- package/dist/chunks/3458.32473731.js +2 -0
- package/dist/chunks/{8691.abf65ae5.js.map → 3458.32473731.js.map} +1 -1
- package/dist/chunks/{4049.e6665260.js → 4049.7398836a.js} +2 -2
- package/dist/chunks/{4049.e6665260.js.map → 4049.7398836a.js.map} +1 -1
- package/dist/chunks/4100.9c927ba9.js +3 -0
- package/dist/chunks/4100.9c927ba9.js.map +1 -0
- package/dist/chunks/4504.296be3a0.js +2 -0
- package/dist/chunks/{4504.52732897.js.map → 4504.296be3a0.js.map} +1 -1
- package/dist/chunks/{5381.d1e001cc.js → 5381.3af2ae55.js} +2 -2
- package/dist/chunks/{5381.d1e001cc.js.map → 5381.3af2ae55.js.map} +1 -1
- package/dist/chunks/{5636.5c572690.js → 5636.1bfb65e6.js} +2 -2
- package/dist/chunks/{5636.5c572690.js.map → 5636.1bfb65e6.js.map} +1 -1
- package/dist/chunks/{5725.741f9172.js → 5725.f746ea91.js} +2 -2
- package/dist/chunks/{5725.741f9172.js.map → 5725.f746ea91.js.map} +1 -1
- package/dist/chunks/{6205.39aeaaf9.js → 6205.b48a7c7e.js} +2 -2
- package/dist/chunks/{6205.39aeaaf9.js.map → 6205.b48a7c7e.js.map} +1 -1
- package/dist/chunks/{6473.4af95c43.js → 6473.1ee8efe4.js} +2 -2
- package/dist/chunks/{6473.4af95c43.js.map → 6473.1ee8efe4.js.map} +1 -1
- package/dist/chunks/{6660.fb4dd439.js → 6660.1a28914e.js} +2 -2
- package/dist/chunks/{6660.fb4dd439.js.map → 6660.1a28914e.js.map} +1 -1
- package/dist/chunks/{7164.6b8c2736.js → 7164.a9501666.js} +2 -2
- package/dist/chunks/{7164.6b8c2736.js.map → 7164.a9501666.js.map} +1 -1
- package/dist/chunks/{7672.d50c360d.js → 7672.c4f14bb7.js} +2 -2
- package/dist/chunks/{7672.d50c360d.js.map → 7672.c4f14bb7.js.map} +1 -1
- package/dist/chunks/{7746.dbe4cafd.js → 7746.0533129e.js} +2 -2
- package/dist/chunks/{7746.dbe4cafd.js.map → 7746.0533129e.js.map} +1 -1
- package/dist/chunks/8691.9e321e19.js +2 -0
- package/dist/chunks/{3458.21b3aac9.js.map → 8691.9e321e19.js.map} +1 -1
- package/dist/chunks/{8904.a1d96a26.js → 8904.a04e563e.js} +3 -3
- package/dist/chunks/8904.a04e563e.js.map +1 -0
- package/dist/chunks/eo-alert.73d76cf9.js +3 -0
- package/dist/chunks/eo-alert.73d76cf9.js.map +1 -0
- package/dist/chunks/eo-card-item.20f8f539.js +2 -0
- package/dist/chunks/eo-card-item.20f8f539.js.map +1 -0
- package/dist/chunks/eo-code-display.8b53f43b.js +2 -0
- package/dist/chunks/{eo-code-display.b204d6c1.js.map → eo-code-display.8b53f43b.js.map} +1 -1
- package/dist/chunks/eo-descriptions.77a53624.js +3 -0
- package/dist/chunks/eo-descriptions.77a53624.js.map +1 -0
- package/dist/chunks/eo-divider.e862795f.js +3 -0
- package/dist/chunks/eo-divider.e862795f.js.map +1 -0
- package/dist/chunks/eo-humanize-time.4e3d799d.js +2 -0
- package/dist/chunks/eo-humanize-time.4e3d799d.js.map +1 -0
- package/dist/chunks/eo-info-card-item.4c27a529.js +3 -0
- package/dist/chunks/eo-info-card-item.4c27a529.js.map +1 -0
- package/dist/chunks/eo-pagination.f64926a3.js +3 -0
- package/dist/chunks/eo-pagination.f64926a3.js.map +1 -0
- package/dist/chunks/eo-statistics-card.7ab8f46b.js +2 -0
- package/dist/chunks/eo-statistics-card.7ab8f46b.js.map +1 -0
- package/dist/chunks/main.6bf1d4c4.js +2 -0
- package/dist/chunks/main.6bf1d4c4.js.map +1 -0
- package/dist/chunks/prismjs/languages/{prism-zig-min-js.b75ae209.js → prism-zig-min-js.92fc2b52.js} +2 -2
- package/dist/chunks/prismjs/languages/{prism-zig-min-js.b75ae209.js.map → prism-zig-min-js.92fc2b52.js.map} +1 -1
- package/dist/examples.json +5 -5
- package/dist/index.2b5b865d.js +2 -0
- package/dist/index.2b5b865d.js.map +1 -0
- package/dist/manifest.json +86 -86
- package/dist/types.json +62 -62
- package/dist-types/card-item/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/chunks/3458.21b3aac9.js +0 -2
- package/dist/chunks/4504.52732897.js +0 -2
- package/dist/chunks/8691.abf65ae5.js +0 -2
- package/dist/chunks/8904.a1d96a26.js.map +0 -1
- package/dist/chunks/9359.43ec9aeb.js +0 -2
- package/dist/chunks/9359.43ec9aeb.js.map +0 -1
- package/dist/chunks/eo-alert.e52d9b59.js +0 -3
- package/dist/chunks/eo-alert.e52d9b59.js.map +0 -1
- package/dist/chunks/eo-card-item.bf736e1d.js +0 -3
- package/dist/chunks/eo-card-item.bf736e1d.js.map +0 -1
- package/dist/chunks/eo-code-display.b204d6c1.js +0 -2
- package/dist/chunks/eo-descriptions.ceb266f0.js +0 -3
- package/dist/chunks/eo-descriptions.ceb266f0.js.map +0 -1
- package/dist/chunks/eo-divider.ddcea17b.js +0 -3
- package/dist/chunks/eo-divider.ddcea17b.js.map +0 -1
- package/dist/chunks/eo-humanize-time.95c64318.js +0 -2
- package/dist/chunks/eo-humanize-time.95c64318.js.map +0 -1
- package/dist/chunks/eo-info-card-item.ec6f117e.js +0 -3
- package/dist/chunks/eo-info-card-item.ec6f117e.js.map +0 -1
- package/dist/chunks/eo-pagination.1022d4c8.js +0 -3
- package/dist/chunks/eo-pagination.1022d4c8.js.map +0 -1
- package/dist/chunks/eo-statistics-card.2f1a86a9.js +0 -2
- package/dist/chunks/eo-statistics-card.2f1a86a9.js.map +0 -1
- package/dist/chunks/main.b16e5451.js +0 -2
- package/dist/chunks/main.b16e5451.js.map +0 -1
- package/dist/index.7ac5a5c2.js +0 -2
- package/dist/index.7ac5a5c2.js.map +0 -1
- /package/dist/chunks/{eo-alert.e52d9b59.js.LICENSE.txt → 4100.9c927ba9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8904.a1d96a26.js.LICENSE.txt → 8904.a04e563e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.bf736e1d.js.LICENSE.txt → eo-alert.73d76cf9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.ceb266f0.js.LICENSE.txt → eo-descriptions.77a53624.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-divider.ddcea17b.js.LICENSE.txt → eo-divider.e862795f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.ec6f117e.js.LICENSE.txt → eo-info-card-item.4c27a529.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.1022d4c8.js.LICENSE.txt → eo-pagination.f64926a3.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/eo-info-card-item.4c27a529.js","mappings":";qQA0FIA,sLApEE,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAC9BC,GAAcC,EAAAA,EAAAA,WAAyC,WACvDC,GAAiBD,EAAAA,EAAAA,WAAmC,cAE1DE,EAMCN,EAAc,oBAAqB,CAClCO,WAAY,CAACC,EAAAA,KACbC,EAKCR,IAAUS,EAMVT,IAAUU,EAMVV,IAAUW,EAMVX,EAAS,CACRY,WAAW,IACXC,EAMDb,EAAS,CACRY,WAAW,IACXE,EAMDd,IAAUe,EAMVf,EAAS,CACRgB,KAAMC,UACNC,EAODlB,EAAS,CACRgB,KAAMC,UACN,IAAAE,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ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/classnames/index.js","webpack:///./src/info-card-item/styles.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/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2305.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.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/classPrivateMethodGet.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.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":["import React, { Ref } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactUseBrick } from \"@next-core/react-runtime\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport { UseSingleBrickConf } from \"@next-core/types\";\n\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport type { LinkProps } from \"@next-bricks/basic/link\";\nimport type { EoTooltip, ToolTipProps } from \"@next-bricks/basic/tooltip\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport classNames from \"classnames\";\nimport { getHistory } from \"@next-core/runtime\";\n\n// --- NOTE: uncomment these lines below to enable i18n for your brick ---\n// import { useTranslation, initializeReactI18n } from \"@next-core/i18n/react\";\n// import { K, NS, locales } from \"./i18n.js\";\n// initializeReactI18n(NS, locales);\n\nconst { defineElement, property } = createDecorators();\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\nconst WrappedTooltip = wrapBrick<EoTooltip, ToolTipProps>(\"eo-tooltip\");\n\n/**\n * 信息卡片\n * @author dophijing\n * @category card-info\n */\nexport\n@defineElement(\"eo-info-card-item\", {\n styleTexts: [styleText],\n})\nclass EoInfoCardItem extends ReactNextElement {\n /**\n * title\n */\n @property()\n accessor cardTitle: string;\n\n /**\n * description\n */\n @property()\n accessor description: string;\n\n /**\n * 链接地址\n */\n @property()\n accessor url: string | undefined;\n\n /**\n * 图标\n */\n @property({\n attribute: false,\n })\n accessor cardIcon: IconAvatar | undefined;\n\n /**\n * 详细列表\n */\n @property({\n attribute: false,\n })\n accessor detailList: InfoCardDetail[];\n\n /**\n * 链接跳转目标\n */\n @property() accessor target: LinkProps[\"target\"] | undefined;\n\n /**\n * 是否有Icon\n * @internal\n */\n @property({\n type: Boolean,\n })\n accessor hasIcon: boolean | undefined;\n\n /**\n * 是否hoverable\n * @internal\n */\n @property({\n type: Boolean,\n })\n accessor hoverable: boolean | undefined;\n\n #getSlotBySelector(selector: string): HTMLSlotElement {\n return this.shadowRoot?.querySelector(selector) as HTMLSlotElement;\n }\n\n #renderCallback = () => {\n const iconSlot = this.#getSlotBySelector(\"slot[name='icon']\");\n const actionSlot = this.#getSlotBySelector(\"slot[name='action']\");\n\n this.hasIcon = iconSlot.childNodes.length > 0;\n iconSlot?.addEventListener(\"slotchange\", () => {\n this.hasIcon = iconSlot.assignedElements().length > 0;\n });\n\n actionSlot?.addEventListener(\"click\", (e) => {\n e.stopImmediatePropagation();\n });\n };\n\n render() {\n return (\n <EoInfoCardItemComponent\n url={this.url}\n target={this.target}\n cardTitle={this.cardTitle}\n description={this.description}\n cardIcon={this.cardIcon}\n detailList={this.detailList}\n callback={this.#renderCallback}\n hoverable={this.hoverable}\n />\n );\n }\n}\n\ninterface IconAvatar {\n icon: GeneralIconProps;\n color?: string;\n size?: number;\n shape?: \"circle\" | \"square\" | \"round-square\";\n bgColor?: string;\n}\n\ninterface InfoCardDetail {\n title?: string;\n desc?: string;\n useBrick?: UseSingleBrickConf;\n}\n\ninterface EoInfoCardItemComponentProps {\n url?: string;\n target?: LinkProps[\"target\"];\n cardTitle: string;\n description?: string;\n cardIcon?: IconAvatar | undefined;\n detailList?: InfoCardDetail[];\n callback?: Ref<HTMLDivElement>;\n hoverable?: boolean;\n}\n\nexport function EoInfoCardItemComponent({\n url,\n target,\n cardTitle,\n description,\n cardIcon,\n detailList,\n callback,\n hoverable = true,\n}: EoInfoCardItemComponentProps) {\n // const { t } = useTranslation(NS);\n // const hello = t(K.HELLO);\n\n const getDetailItem = (detail: InfoCardDetail, index: number) => (\n <div\n className=\"card-detail-wrapper\"\n key={index}\n onClick={(e) => e.stopPropagation()}\n >\n {detail.title && <h5>{detail.title}</h5>}\n\n {detail.useBrick && (\n <ReactUseBrick useBrick={detail.useBrick} data={detail} />\n )}\n {!detail.useBrick && detail.desc && (\n <WrappedTooltip content={detail.desc} hoist placement=\"top\">\n <div className=\"card-detail-desc\">{detail.desc}</div>\n </WrappedTooltip>\n )}\n </div>\n );\n\n const handleCardClick = () => {\n if (url) {\n const history = getHistory();\n target ? window.open(url, target) : history.push(url);\n }\n };\n\n return (\n <div\n className={classNames(\"card-wrapper\", { hoverable })}\n ref={callback}\n onClick={handleCardClick}\n >\n <div className=\"card-content\">\n <div className=\"card-icon\">\n <slot name=\"icon\">\n {cardIcon && (\n <div\n className={classNames(\n \"card-avatar\",\n cardIcon.shape &&\n `card-avatar-${cardIcon.shape ?? \"round-square\"}`\n )}\n style={{\n background:\n cardIcon.bgColor ?? \"var(--theme-blue-background)\",\n }}\n >\n <WrappedIcon\n {...cardIcon.icon}\n style={{\n color: cardIcon.color ?? \"var(--theme-blue-color)\",\n fontSize: cardIcon.size ?? \"20px\",\n }}\n />\n </div>\n )}\n </slot>\n </div>\n <div className=\"card-content-container\">\n <div className=\"card-title\">\n <span>{cardTitle}</span> <slot name=\"title\" />\n </div>\n <div className=\"card-description\">{description}</div>\n </div>\n </div>\n <div className=\"card-right-section\">\n <div\n className=\"card-detail-list-wrapper\"\n style={\n detailList?.length >= 4\n ? {\n gridTemplateColumns: `repeat(${detailList?.length}, minmax(0, 1fr))`,\n }\n : { display: \"flex\", justifyContent: \"flex-end\" }\n }\n >\n {detailList?.map(getDetailItem)}\n </div>\n\n <div className=\"card-action-wrapper\">\n <slot name=\"action\" />\n </div>\n </div>\n </div>\n );\n}\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{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-icon{line-height:0.25em}.card-wrapper{background:var(--card-item-bg);border:1px solid var(--card-item-border-color);border-radius:var(--larger-border-radius);transition:var(--card-transition);overflow:hidden;cursor:pointer;width:100%;padding:20px;display:grid;align-items:center;color:var(--text-color-secondary);box-sizing:border-box;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.card-wrapper.hoverable:hover{box-shadow:var(--card-item-hover-shadow);background:var(--card-item-hover-bg);border-color:transparent}.card-header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 16px;height:32px}.auxiliary-text{font-size:11px;color:var(--text-color-disabled);line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-content{display:flex;align-items:center;height:40px;max-width:90%}.card-description{text-overflow:ellipsis;word-break:break-word;overflow:hidden;white-space:nowrap;margin:0;padding:0}.card-avatar{display:flex;justify-content:center;align-items:center;width:40px;height:40px;overflow:hidden}.card-avatar-circle{border-radius:50%}.card-avatar-round-square{border-radius:var(--larger-border-radius)}.card-content-container{min-width:0;flex:1}.card-title{display:flex;align-items:flex-end;margin-bottom:3px;gap:10px}.card-title > span{display:inline-block;font-size:14px;font-weight:var(--font-weight-500);color:var(--text-color-title);line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-wrapper.hoverable:hover .card-title > span{color:var(--color-brand)}.card-description{font-size:12px;color:var(--text-color-secondary);line-height:17px;overflow:hidden;text-overflow:ellipsis}.card-right-section{display:flex;align-items:center;margin-left:20px;height:40px;justify-content:flex-end}.card-detail-list-wrapper{display:grid;align-items:center;width:90%;grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content}.card-detail-wrapper{display:flex;flex-direction:column;max-width:80%;white-space:nowrap}.card-detail-wrapper .infoCardRightSection--2L-mnxFa > div:first-child div{max-width:80%;white-space:nowrap}.card-detail-wrapper > h5{color:var(--text-color-disabled);font-size:14px;font-weight:400;margin:0;padding:0}.card-detail-wrapper .card-detail-desc{color:var(--text-color-default);font-size:18px;font-weight:400;text-align:left;min-height:28px;overflow:hidden;text-overflow:ellipsis}:host([has-icon]) .card-content-container{margin-left:20px}`, \"\"]);\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\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2305(e, t, r, n, o, a) {\n function i(e, t, r) {\n return function (n, o) {\n return r && r(n), e[t].call(n, o);\n };\n }\n function c(e, t) {\n for (var r = 0; r < e.length; r++) e[r].call(t);\n return t;\n }\n function s(e, t, r, n) {\n if (\"function\" != typeof e && (n || void 0 !== e)) throw new TypeError(t + \" must \" + (r || \"be\") + \" a function\" + (n ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) {\n function m(e) {\n if (!h(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var y,\n v,\n g = t[0],\n b = t[3],\n w = !u;\n if (!w) {\n r || Array.isArray(g) || (g = [g]);\n var S = {},\n A = [],\n P = 3 === o ? \"get\" : 4 === o || d ? \"set\" : \"value\";\n f ? (p || d ? S = {\n get: setFunctionName(function () {\n return b(this);\n }, n, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : S[P] = b, p || setFunctionName(S[P], n, 2 === o ? \"\" : P)) : p || (S = Object.getOwnPropertyDescriptor(e, n));\n }\n for (var j = g.length - 1; j >= 0; j -= r ? 2 : 1) {\n var D = g[j],\n E = r ? g[j - 1] : void 0,\n I = {},\n O = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: n,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw new Error(\"attempted to call addInitializer after decoration was finished\");\n s(t, \"An initializer\", \"be\", !0), c.push(t);\n }.bind(null, I)\n };\n try {\n if (w) v = D.call(E, e, O);else {\n var k, F;\n O[\"static\"] = l, O[\"private\"] = f, f || !p && 2 !== o ? 2 === o ? k = function k(e) {\n return m(e), S.value;\n } : ((o < 2 || 3 === o) && (k = i(S, \"get\", f && m)), (o < 2 || 4 === o) && (F = i(S, \"set\", f && m))) : (k = function k(e) {\n return e[n];\n }, p && (F = function F(e, t) {\n e[n] = t;\n }));\n var N = O.access = {\n has: f ? h.bind() : function (e) {\n return n in e;\n }\n };\n if (k && (N.get = k), F && (N.set = F), v = D.call(E, d ? {\n get: S.get,\n set: S.set\n } : S[P], O), d) {\n if (\"object\" == _typeof(v) && v) (y = s(v.get, \"accessor.get\")) && (S.get = y), (y = s(v.set, \"accessor.set\")) && (S.set = y), (y = s(v.init, \"accessor.init\")) && A.push(y);else if (void 0 !== v) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n } else s(v, (p ? \"field\" : \"method\") + \" decorators\", \"return\") && (p ? A.push(v) : S[P] = v);\n }\n } finally {\n I.v = !0;\n }\n }\n return (p || d) && u.push(function (e, t) {\n for (var r = A.length - 1; r >= 0; r--) t = A[r].call(e, t);\n return t;\n }), p || w || (f ? d ? u.push(i(S, \"get\"), i(S, \"set\")) : u.push(2 === o ? S[P] : i.call.bind(S[P])) : Object.defineProperty(e, n, S)), v;\n }\n function u(e, t) {\n return Object.defineProperty(e, Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"), {\n configurable: !0,\n enumerable: !0,\n value: t\n });\n }\n if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\")];\n var f = Object.create(null == l ? null : l),\n p = function (e, t, r, n) {\n var o,\n a,\n i = [],\n s = function s(t) {\n return checkInRHS(t) === e;\n },\n u = new Map();\n function l(e) {\n e && i.push(c.bind(null, e));\n }\n for (var f = 0; f < t.length; f++) {\n var p = t[f];\n if (Array.isArray(p)) {\n var d = p[1],\n h = p[2],\n m = p.length > 3,\n y = 16 & d,\n v = !!(8 & d),\n g = 0 == (d &= 7),\n b = h + \"/\" + v;\n if (!g && !m) {\n var w = u.get(b);\n if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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);\n u.set(b, !(d > 2) || d);\n }\n applyDec(v ? e : e.prototype, p, y, m ? \"#\" + h : toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r);\n }\n }\n return l(o), l(a), i;\n }(e, t, o, f);\n return r.length || u(e, f), {\n e: p,\n get c() {\n var t = [];\n return r.length && [u(s(applyDec(e, [r], n, e.name, 5, f, t), \"class decorators\", \"return\") || e, f), c.bind(null, t, e)];\n }\n };\n}","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\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 _classPrivateMethodGet(receiver, privateSet, fn) {\n if (!privateSet.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return fn;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(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(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["_EoInfoCardItem","defineElement","property","createDecorators","WrappedIcon","wrapBrick","WrappedTooltip","_dec","styleTexts","styleText","_dec2","_dec3","_dec4","_dec5","attribute","_dec6","_dec7","_dec8","type","Boolean","_dec9","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_getSlotBySelector","WeakSet","_renderCallback","EoInfoCardItem","ReactNextElement","constructor","arguments","_classPrivateMethodInitSpec","_classPrivateFieldInitSpec","writable","value","_initProto","_init_cardTitle","_init_description","_init_url","_init_cardIcon","_init_detailList","_init_target","_init_hasIcon","_init_hoverable","iconSlot","_classPrivateMethodGet","this","_getSlotBySelector2","call","actionSlot","hasIcon","childNodes","length","addEventListener","assignedElements","e","stopImmediatePropagation","cardTitle","_classPrivateFieldGet","v","_classPrivateFieldSet","description","url","cardIcon","detailList","target","hoverable","render","React","EoInfoCardItemComponent","callback","selector","_this$shadowRoot","shadowRoot","querySelector","_ref","_cardIcon$shape","_cardIcon$bgColor","_cardIcon$color","_cardIcon$size","className","classNames","ref","onClick","handleCardClick","history","getHistory","window","open","push","name","shape","concat","style","background","bgColor","_extends","icon","color","fontSize","size","gridTemplateColumns","display","justifyContent","map","getDetailItem","detail","index","key","stopPropagation","title","useBrick","ReactUseBrick","data","desc","content","hoist","placement","_class","c","_initClass","_applyDecs","hasOwn","hasOwnProperty","classes","i","arg","argType","Array","isArray","inner","apply","toString","Object","prototype","includes","join","module","exports","default","___CSS_LOADER_EXPORT___","id","cssWithMappingToString","list","item","needLayer","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","setFunctionName","t","n","defineProperty","configurable","applyDecs2305","r","o","a","s","TypeError","applyDec","u","l","f","p","d","h","m","y","g","b","w","S","A","P","get","set","getOwnPropertyDescriptor","j","D","E","I","O","kind","metadata","addInitializer","Error","bind","F","N","access","has","init","Symbol","enumerable","create","checkInRHS","Map","toPropertyKey","_checkInRHS","_checkPrivateRedeclaration","obj","privateCollection","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","privateSet","fn","add","assign","source","toPrimitive","String","_typeof","iterator"],"sourceRoot":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see eo-pagination.f64926a3.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[6731,5628,3685],{32402:(e,t,a)=>{"use strict";a.d(t,{K:()=>n,NS:()=>r,k:()=>i});var n=function(e){return e.TOTAL="TOTAL",e.PAGE_SIZE="PAGE_SIZE",e.NEXT_PAGE_one="NEXT_PAGE_one",e.NEXT_PAGE_other="NEXT_PAGE_other",e.PREVIOUS_PAGE_one="PREVIOUS_PAGE_one",e.PREVIOUS_PAGE_other="PREVIOUS_PAGE_other",e}({}),r="bricks/presentational/eo-pagination",i={en:{TOTAL:"Total <total>{{ total }}</total> Items",PAGE_SIZE:"{{ count }} / page",NEXT_PAGE_one:"Next Page",NEXT_PAGE_other:"Next {{ count }} Pages",PREVIOUS_PAGE_one:"Previous Page",PREVIOUS_PAGE_other:"Previous {{ count }} Pages"},zh:{TOTAL:"共 <total>{{ total }}</total> 条",PAGE_SIZE:"{{ count }} / 页",NEXT_PAGE_one:"下一页",NEXT_PAGE_other:"向后 {{ count }} 页",PREVIOUS_PAGE_one:"上一页",PREVIOUS_PAGE_other:"向前 {{ count }} 页"}}},76820:(e,t,a)=>{"use strict";a.r(t),a.d(t,{EoPagination:()=>U,EoPaginationComponent:()=>re});var n,r,i,o,s,p,c,l,u,g,d,m,h,f,v,b,y,w,E=a(7896),S=a(33028),Z=a(53395),z=a(31815),P=a(40381),x=a(70687),O=a(75066),j=a(48657),_=a.n(j),k=a(85727),A=a(305),N=(a(31800),a(37995)),T=a(52068),C=a(61487),G=a(32402),I=a(72779),M=a.n(I),R=a(81211);a(39287),(0,C.initializeReactI18n)(G.NS,G.k);var U,{defineElement:V,property:X,event:K}=(0,k.createDecorators)(),L=(0,A.wrapBrick)("eo-icon"),W=(0,A.wrapBrick)("eo-popover"),D=(0,A.wrapBrick)("eo-menu"),B=(0,A.wrapBrick)("eo-menu-item");r=V("eo-pagination",{styleTexts:[N.Z]}),i=X({type:Number}),s=X({type:Number}),c=X({type:Number}),u=X({attribute:!1}),d=X({type:Boolean}),h=K({type:"change"});var F=new WeakMap,H=new WeakMap,q=new WeakMap,J=new WeakMap,Q=new WeakMap,Y=new WeakMap,$=new WeakMap,ee=new WeakMap;class te extends A.ReactNextElement{constructor(){super(...arguments),(0,Z.Z)(this,$,{get:ne,set:ae}),(0,Z.Z)(this,F,{writable:!0,value:(y(this),o(this,0))}),(0,Z.Z)(this,H,{writable:!0,value:p(this,1)}),(0,Z.Z)(this,q,{writable:!0,value:l(this,20)}),(0,Z.Z)(this,J,{writable:!0,value:g(this,[10,20,50,100])}),(0,Z.Z)(this,Q,{writable:!0,value:m(this)}),(0,Z.Z)(this,Y,{writable:!0,value:f(this)}),(0,Z.Z)(this,ee,{writable:!0,value:e=>{this.page=e.page,this.pageSize=e.pageSize,(0,x.Z)(this,$).emit(e)}})}get total(){return(0,x.Z)(this,F)}set total(e){(0,P.Z)(this,F,e)}get page(){return(0,x.Z)(this,H)}set page(e){(0,P.Z)(this,H,e)}get pageSize(){return(0,x.Z)(this,q)}set pageSize(e){(0,P.Z)(this,q,e)}get pageSizeOptions(){return(0,x.Z)(this,J)}set pageSizeOptions(e){(0,P.Z)(this,J,e)}get showSizeChanger(){return(0,x.Z)(this,Q)}set showSizeChanger(e){(0,P.Z)(this,Q,e)}render(){return _().createElement(re,{total:this.total,page:this.page,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,onChange:(0,x.Z)(this,ee),showSizeChanger:this.showSizeChanger})}}function ae(e){b(this,e)}function ne(){return v(this)}function re(e){var{t}=(0,C.useTranslation)(G.NS),{onChange:a,showSizeChanger:n=!0}=e,[r,i]=(0,j.useState)({});(0,j.useEffect)((()=>{var t=pe(e.total,0),a=pe(e.page,0),n=pe(e.pageSize,0);i({total:t,page:a,pageSize:n})}),[e.page,e.pageSize,e.total]);var o=(0,j.useMemo)((()=>{var t=[r.pageSize].concat(e.pageSizeOptions||[]).map((e=>Number(e))).filter((e=>!Number.isNaN(e)));return(0,R.sortBy)([...new Set(t)],(e=>e))}),[r.pageSize,e.pageSizeOptions]),s=(0,j.useMemo)((()=>pe(Math.ceil(r.total/r.pageSize),0)),[r.pageSize,r.total]),p=(0,j.useMemo)((()=>{var e=[],t={type:"prev-arrow",disabled:1===r.page||0===s},a={type:"next-arrow",disabled:r.page===s||0===s},n=function(e,t,a){var n,r;if(e<=5)n=1,r=e;else{var i=Math.floor(2),o=4-i;t-i<1&&(o+=i-t+1),t+o>e&&(i+=t+o-e),n=t-i<1?1:t-i,r=t+o>e?e:t+o}return Array.from(new Array(r+1).keys()).slice(n)}(s,r.page).map((e=>({type:"page",page:e,active:e===r.page})));return e.push(t),n.length&&n[0].page>1&&(e.push({type:"page",page:1}),n[0].page>2&&e.push({type:"prev-jump",span:5})),n.forEach((t=>e.push(t))),n.length&&n[n.length-1].page<s&&(n[n.length-1].page<s-1&&e.push({type:"next-jump",span:5}),e.push({type:"page",page:s})),e.push(a),e}),[s,r.page]),c=e=>{switch(e.type){case"prev-arrow":e.disabled||(i((e=>(0,S.Z)((0,S.Z)({},e),{},{page:r.page-1}))),null==a||a({page:r.page-1,pageSize:r.pageSize}));break;case"next-arrow":e.disabled||(i((e=>(0,S.Z)((0,S.Z)({},e),{},{page:r.page+1}))),null==a||a({page:r.page+1,pageSize:r.pageSize}));break;case"prev-jump":var t=r.page-e.span<1?1:r.page-e.span;i((e=>(0,S.Z)((0,S.Z)({},e),{},{page:t}))),null==a||a({page:t,pageSize:r.pageSize});break;case"next-jump":var n=r.page+e.span>s?s:r.page+e.span;i((e=>(0,S.Z)((0,S.Z)({},e),{},{page:n}))),null==a||a({page:n,pageSize:r.pageSize});break;case"page":i((t=>(0,S.Z)((0,S.Z)({},t),{},{page:e.page}))),null==a||a({page:e.page,pageSize:r.pageSize})}};return _().createElement("div",{className:"pagination-wrapper"},_().createElement("div",{className:"pagination-total"},_().createElement(T.Trans,{i18nKey:t(G.K.TOTAL),values:{total:r.total},components:{total:_().createElement("span",{className:"pagination-total-number"})}})),n&&_().createElement("div",{className:"pagination-size-changer"},_().createElement(W,{placement:"bottom",arrow:!1,distance:4},_().createElement("div",{className:"pagination-size-selection",slot:"anchor"},t(G.K.PAGE_SIZE,{count:r.pageSize}),_().createElement(L,{lib:"antd",theme:"filled",icon:"caret-down"})),_().createElement(D,{className:"pagination-size-selector-menu"},o.map((e=>{var n=e===r.pageSize;return _().createElement(B,{className:M()("pagination-size-selector-item",n?"pagination-size-selector-active":null),key:e,onClick:()=>(e=>{i((t=>(0,S.Z)((0,S.Z)({},t),{},{page:1,pageSize:e}))),null==a||a({page:1,pageSize:e})})(e)},t(G.K.PAGE_SIZE,{count:e}))}))))),_().createElement("div",{className:"pagination-page"},p.map((e=>{switch(e.type){case"prev-arrow":case"next-arrow":return _().createElement(oe,(0,E.Z)({key:e.type},e,{onClick:()=>c(e)}));case"prev-jump":case"next-jump":return _().createElement(se,(0,E.Z)({key:e.type},e,{onClick:()=>c(e)}));case"page":return _().createElement(ie,(0,E.Z)({key:e.page},e,{onClick:()=>c(e)}))}}))))}function ie(e){var{active:t,page:a,onClick:n}=e;return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-number",t?"pagination-page-item-active":null),title:String(a),onClick:n},a)}function oe(e){var{t}=(0,C.useTranslation)(G.NS),{type:a,disabled:n,onClick:r}=e,i="prev-arrow"===a?"left":"right",o=t("prev-arrow"===a?G.K.PREVIOUS_PAGE_one:G.K.NEXT_PAGE_one);return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-arrow",n?"pagination-page-item-disabled":null),title:o,onClick:r},_().createElement(L,{lib:"antd",theme:"outlined",icon:i}))}function se(e){var{t}=(0,C.useTranslation)(G.NS),{type:a,span:n,onClick:r}=e,i="prev-jump"===a?"double-left":"double-right",o=t("prev-jump"===a?G.K.PREVIOUS_PAGE_other:G.K.NEXT_PAGE_other,{count:n});return _().createElement("div",{className:M()("pagination-page-item","pagination-page-item-jump"),title:o,onClick:r},_().createElement(L,{className:"pagination-page-item-jump-arrow",lib:"antd",theme:"outlined",icon:i}),_().createElement("span",{className:"pagination-page-item-jump-ellipsis"},"•••"))}function pe(e,t){var a=Number(e);return Number.isNaN(a)?t:a}w=te,({e:[o,p,l,g,m,f,v,b,y],c:[U,n]}=(0,O.Z)(w,[[i,1,"total"],[s,1,"page"],[c,1,"pageSize"],[u,1,"pageSizeOptions"],[d,1,"showSizeChanger"],[h,1,"changeEvent",e=>(0,x.Z)(e,Y),(e,t)=>(0,P.Z)(e,Y,t)]],[r],0,(e=>ee.has((0,z.Z)(e))),A.ReactNextElement)),n()},72779:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)){if(a.length){var o=r.apply(null,a);o&&e.push(o)}}else if("object"===i){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var s in a)n.call(a,s)&&a[s]&&e.push(s)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},78461:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(39601),r=a.n(n),i=a(82609),o=a.n(i)()(r());o.push([e.id,':root{--pagination-size-selection-icon-color:#bfbfbf}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--pagination-size-selection-icon-color:rgba(255,255,255,0.3)}',""]);const s=o},37995:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(39601),r=a.n(n),i=a(82609),o=a.n(i)()(r());o.push([e.id,":host{display:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.pagination-wrapper{display:flex;align-items:center;justify-content:flex-end}.pagination-total{margin-right:auto;font-size:14px;color:var(--antd-pagination-total-text);line-height:20px}.pagination-total .pagination-total-number{color:var(--antd-pagination-total-strong-text)}.pagination-size-changer{margin-right:20px;color:var(--antd-text-color)}.pagination-size-selection{font-size:14px;line-height:30px;cursor:pointer;display:flex;align-items:center;gap:8px}.pagination-size-selection eo-icon{color:var(--pagination-size-selection-icon-color)}.pagination-size-selector-menu{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;padding:2px;border:none;border-radius:var(--medius-border-radius);background:var(--antd-select-dropdown-bg);box-shadow:var(--antd-box-shadow-base)}.pagination-size-selector-item{padding:6px;border-radius:var(--medius-border-radius);cursor:pointer}.pagination-size-selector-active{font-weight:var(--font-weight-600);background-color:var(--antd-select-item-selected-bg)!important}.pagination-size-selector-item:hover{background-color:var(--antd-select-item-active-bg)}.pagination-page{display:flex;gap:10px;color:var(--antd-text-color);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pagination-page-item{display:flex;justify-content:center;align-items:center;padding:0 6px;height:28px;border-radius:4px;min-width:28px;cursor:pointer;font-weight:500}.pagination-page-item:hover{transition:all 0.3s}.pagination-page-item-number{border:1px solid transparent}.pagination-page-item:not(.pagination-page-item-disabled):hover{color:var(--antd-pagination-item-hover)}.pagination-page-item-active{color:var(--color-brand);border-color:var(--color-brand-hover)}.pagination-page-item-active:not(.pagination-page-item-disabled):hover{color:var(--color-brand)}.pagination-page-item-disabled{color:var(--text-color-disabled);border-color:transparent;cursor:not-allowed}.pagination-page-item-jump{position:relative}.pagination-page-item-jump:hover .pagination-page-item-jump-arrow{opacity:1}.pagination-page-item-jump:hover .pagination-page-item-jump-ellipsis{opacity:0}.pagination-page-item-jump-arrow{position:absolute;color:var(--antd-pagination-item-hover);opacity:0;transition:opacity 0.2s}.pagination-page-item-jump-ellipsis{color:var(--text-color-disabled);opacity:1;transition:opacity 0.2s}",""]);const s=o.toString()},82609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",n=void 0!==t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),n&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),n&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var p=this[s][0];null!=p&&(o[p]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);n&&o[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),a&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=a):l[2]=a),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},39601:e=>{"use strict";e.exports=function(e){return e[1]}},39287:(e,t,a)=>{"use strict";var n=a(46062),r=a.n(n),i=a(44036),o=a.n(i),s=a(96793),p=a.n(s),c=a(17892),l=a.n(c),u=a(11173),g=a.n(u),d=a(42464),m=a.n(d),h=a(78461),f={};f.styleTagTransform=m(),f.setAttributes=l(),f.insert=p().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=g(),r()(h.Z,f),h.Z&&h.Z.locals&&h.Z.locals},46062:e=>{"use strict";var t=[];function a(e){for(var a=-1,n=0;n<t.length;n++)if(t[n].identifier===e){a=n;break}return a}function n(e,n){for(var i={},o=[],s=0;s<e.length;s++){var p=e[s],c=n.base?p[0]+n.base:p[0],l=i[c]||0,u="".concat(c," ").concat(l);i[c]=l+1;var g=a(u),d={css:p[1],media:p[2],sourceMap:p[3],supports:p[4],layer:p[5]};if(-1!==g)t[g].references++,t[g].updater(d);else{var m=r(d,n);n.byIndex=s,t.splice(s,0,{identifier:u,updater:m,references:1})}o.push(u)}return o}function r(e,t){var a=t.domAPI(t);return a.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;a.update(e=t)}else a.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=a(i[o]);t[s].references--}for(var p=n(e,r),c=0;c<i.length;c++){var l=a(i[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}i=p}}},96793:e=>{"use strict";var t={};e.exports=function(e,a){var n=function(e){if(void 0===t[e]){var a=document.querySelector(e);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}t[e]=a}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(a)}},11173:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},17892:(e,t,a)=>{"use strict";e.exports=function(e){var t=a.nc;t&&e.setAttribute("nonce",t)}},44036:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(a){!function(e,t,a){var n="";a.supports&&(n+="@supports (".concat(a.supports,") {")),a.media&&(n+="@media ".concat(a.media," {"));var r=void 0!==a.layer;r&&(n+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),n+=a.css,r&&(n+="}"),a.media&&(n+="}"),a.supports&&(n+="}");var i=a.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,a)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},42464:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},75066:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=a(86522),r=a(31815);function i(e,t,a){"symbol"==(0,n.Z)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:a?a+" "+t:t})}catch(e){}return e}var o=a(45850);function s(e,t,a,s,p,c){function l(e,t,a){return function(n,r){return a&&a(n),e[t].call(n,r)}}function u(e,t){for(var a=0;a<e.length;a++)e[a].call(t);return t}function g(e,t,a,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(a||"be")+" a function"+(n?"":" or undefined"));return e}function d(e,t,a,r,o,s,p,c,u,d,m,h,f){function v(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var b,y,w=t[0],E=t[3],S=!c;if(!S){a||Array.isArray(w)||(w=[w]);var Z={},z=[],P=3===o?"get":4===o||h?"set":"value";d?(m||h?Z={get:i((function(){return E(this)}),r,"get"),set:function(e){t[4](this,e)}}:Z[P]=E,m||i(Z[P],r,2===o?"":P)):m||(Z=Object.getOwnPropertyDescriptor(e,r))}for(var x=w.length-1;x>=0;x-=a?2:1){var O=w[x],j=a?w[x-1]:void 0,_={},k={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:s,addInitializer:function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished");g(t,"An initializer","be",!0),p.push(t)}.bind(null,_)};try{if(S)y=O.call(j,e,k);else{var A,N;k.static=u,k.private=d,d||!m&&2!==o?2===o?A=function(e){return v(e),Z.value}:((o<2||3===o)&&(A=l(Z,"get",d&&v)),(o<2||4===o)&&(N=l(Z,"set",d&&v))):(A=function(e){return e[r]},m&&(N=function(e,t){e[r]=t}));var T=k.access={has:d?f.bind():function(e){return r in e}};if(A&&(T.get=A),N&&(T.set=N),y=O.call(j,h?{get:Z.get,set:Z.set}:Z[P],k),h){if("object"==(0,n.Z)(y)&&y)(b=g(y.get,"accessor.get"))&&(Z.get=b),(b=g(y.set,"accessor.set"))&&(Z.set=b),(b=g(y.init,"accessor.init"))&&z.push(b);else if(void 0!==y)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else g(y,(m?"field":"method")+" decorators","return")&&(m?z.push(y):Z[P]=y)}}finally{_.v=!0}}return(m||h)&&c.push((function(e,t){for(var a=z.length-1;a>=0;a--)t=z[a].call(e,t);return t})),m||S||(d?h?c.push(l(Z,"get"),l(Z,"set")):c.push(2===o?Z[P]:l.call.bind(Z[P])):Object.defineProperty(e,r,Z)),y}function m(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var h=c[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==h?null:h),v=function(e,t,a,n){var i,s,p=[],c=function(t){return(0,r.Z)(t)===e},l=new Map;function g(e){e&&p.push(u.bind(null,e))}for(var m=0;m<t.length;m++){var h=t[m];if(Array.isArray(h)){var f=h[1],v=h[2],b=h.length>3,y=16&f,w=!!(8&f),E=0==(f&=7),S=v+"/"+w;if(!E&&!b){var Z=l.get(S);if(!0===Z||3===Z&&4!==f||4===Z&&3!==f)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: "+v);l.set(S,!(f>2)||f)}d(w?e:e.prototype,h,y,b?"#"+v:(0,o.Z)(v),f,n,w?s=s||[]:i=i||[],p,w,b,E,1===f,w&&b?c:a)}}return g(i),g(s),p}(e,t,p,f);return a.length||m(e,f),{e:v,get c(){var t=[];return a.length&&[m(g(d(e,[a],s,e.name,5,f,t),"class decorators","return")||e,f),u.bind(null,t,e)]}}}},31815:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(86522);function r(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.Z)(e):"null"));return e}},85863:(e,t,a)=>{"use strict";function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}a.d(t,{Z:()=>n})},70175:(e,t,a)=>{"use strict";function n(e,t,a){if(!t.has(e))throw new TypeError("attempted to "+a+" private field on non-instance");return t.get(e)}a.d(t,{Z:()=>n})},70687:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(70175);function r(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,n.Z)(e,t,"get"))}},53395:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(85863);function r(e,t,a){(0,n.Z)(e,t),t.set(e,a)}},40381:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(70175);function r(e,t,a){return function(e,t,a){if(t.set)t.set.call(e,a);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=a}}(e,(0,n.Z)(e,t,"set"),a),a}},56666:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(45850);function r(e,t,a){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},7896:(e,t,a)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},n.apply(this,arguments)}a.d(t,{Z:()=>n})},33028:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(56666);function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}},45850:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(86522);function r(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,"string");if("object"!=(0,n.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.Z)(t)?t:String(t)}},86522:(e,t,a)=>{"use strict";function n(e){return n="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},n(e)}a.d(t,{Z:()=>n})}}]);
|
|
3
|
+
//# sourceMappingURL=eo-pagination.f64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IxI,EAAI,MAAQlF,UAAU0N,GAAK1N,UAAU0N,GAAK,CAAC,EAC/CA,EAAI,EAAIkD,EAAQhJ,OAAO1C,IAAI,GAAIR,SAAQ,SAAUgJ,IAC/C,OAAehH,EAAGgH,EAAGxI,EAAEwI,GACzB,IAAK9F,OAAOmJ,0BAA4BnJ,OAAOoJ,iBAAiBtK,EAAGkB,OAAOmJ,0BAA0B7L,IAAM0L,EAAQhJ,OAAO1C,IAAIR,SAAQ,SAAUgJ,GAC7I9F,OAAO2F,eAAe7G,EAAGgH,EAAG9F,OAAOgH,yBAAyB1J,EAAGwI,GACjE,GACF,CACA,OAAOhH,CACT,gECnBe,SAASsJ,EAAc9K,GACpC,IAAImC,ECFS,SAAqBnC,EAAGwI,GACrC,GAAI,WAAY,OAAQxI,KAAOA,EAAG,OAAOA,EACzC,IAAIwB,EAAIxB,EAAEyK,OAAOsB,aACjB,QAAI,IAAWvK,EAAG,CAChB,IAAIW,EAAIX,EAAEqB,KAAK7C,EAAGwI,UAClB,GAAI,WAAY,OAAQrG,GAAI,OAAOA,EACnC,MAAM,IAAIwG,UAAU,+CACtB,CACA,OAAyBvH,OAAiBpB,EAC5C,CDPU+L,CAAY/L,GACpB,MAAO,WAAY,OAAQmC,GAAKA,EAAIf,OAAOe,EAC7C,gCELe,SAAS6J,EAAQpK,GAG9B,OAAOoK,EAAU,mBAAqBvB,QAAU,iBAAmBA,OAAOwB,SAAW,SAAUrK,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqB6I,QAAU7I,EAAE/G,cAAgB4P,QAAU7I,IAAM6I,OAAO9H,UAAY,gBAAkBf,CACpH,EAAGoK,EAAQpK,EACb","sources":["webpack:///./src/pagination/i18n.ts","webpack:///./src/pagination/index.tsx","webpack:///../../node_modules/classnames/index.js","webpack:///./src/pagination/host-context.css","webpack:///./src/pagination/styles.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///./src/pagination/host-context.css?aa3e","webpack:///../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack:///../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack:///../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack:///../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack:///../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2305.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.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/objectSpread2.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 TOTAL = \"TOTAL\",\n PAGE_SIZE = \"PAGE_SIZE\",\n NEXT_PAGE_one = \"NEXT_PAGE_one\",\n NEXT_PAGE_other = \"NEXT_PAGE_other\",\n PREVIOUS_PAGE_one = \"PREVIOUS_PAGE_one\",\n PREVIOUS_PAGE_other = \"PREVIOUS_PAGE_other\",\n}\n\nconst en: Locale = {\n TOTAL: \"Total <total>{{ total }}</total> Items\",\n PAGE_SIZE: \"{{ count }} / page\",\n NEXT_PAGE_one: \"Next Page\",\n NEXT_PAGE_other: \"Next {{ count }} Pages\",\n PREVIOUS_PAGE_one: \"Previous Page\",\n PREVIOUS_PAGE_other: \"Previous {{ count }} Pages\",\n};\n\nconst zh: Locale = {\n TOTAL: \"共 <total>{{ total }}</total> 条\",\n PAGE_SIZE: \"{{ count }} / 页\",\n NEXT_PAGE_one: \"下一页\",\n NEXT_PAGE_other: \"向后 {{ count }} 页\",\n PREVIOUS_PAGE_one: \"上一页\",\n PREVIOUS_PAGE_other: \"向前 {{ count }} 页\",\n};\n\nexport const NS = \"bricks/presentational/eo-pagination\";\n\nexport const locales = { en, zh };\n\ntype Locale = { [key in K]: string };\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { EventEmitter, createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport type { Popover, PopoverProps } from \"@next-bricks/basic/popover\";\nimport type { Menu } from \"@next-bricks/basic/menu\";\nimport type { MenuItem } from \"@next-bricks/basic/menu-item\";\nimport { Trans } from \"react-i18next\";\nimport { useTranslation, initializeReactI18n } from \"@next-core/i18n/react\";\nimport { K, NS, locales } from \"./i18n.js\";\nimport classNames from \"classnames\";\nimport { sortBy } from \"lodash\";\nimport \"./host-context.css\";\n\ninitializeReactI18n(NS, locales);\n\nconst { defineElement, property, event } = createDecorators();\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\nconst WrappedPopover = wrapBrick<Popover, PopoverProps>(\"eo-popover\");\nconst WrappedMenu = wrapBrick<Menu, any>(\"eo-menu\");\nconst WrappedMenuItem = wrapBrick<MenuItem, any>(\"eo-menu-item\");\n\ninterface EoPaginationProps {\n total: number;\n page: number;\n pageSize: number;\n pageSizeOptions?: number[];\n showSizeChanger?: boolean;\n}\n\n/**\n * 分页\n * @author nlicro\n * @category navigation\n */\nexport\n@defineElement(\"eo-pagination\", {\n styleTexts: [styleText],\n})\nclass EoPagination extends ReactNextElement {\n /**\n * 数据总数\n */\n @property({\n type: Number,\n })\n accessor total: number = 0;\n\n /**\n * 当前页数\n */\n @property({\n type: Number,\n })\n accessor page: number = 1;\n\n /**\n * 每页条数\n */\n @property({\n type: Number,\n })\n accessor pageSize: number = 20;\n\n /**\n * 指定每页可以显示多少条\n */\n @property({\n attribute: false,\n })\n accessor pageSizeOptions: number[] = [10, 20, 50, 100];\n\n /**\n * 是否展示`pageSize`分页器\n * @default true\n */\n @property({\n type: Boolean,\n })\n accessor showSizeChanger: boolean | undefined;\n\n /**\n * 页码及每页条数改变事件\n */\n @event({ type: \"change\" })\n accessor #changeEvent!: EventEmitter<{ page: number; pageSize: number }>;\n #handleChange = (data: { page: number; pageSize: number }) => {\n this.page = data.page;\n this.pageSize = data.pageSize;\n this.#changeEvent.emit(data);\n };\n\n render() {\n return (\n <EoPaginationComponent\n total={this.total}\n page={this.page}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onChange={this.#handleChange}\n showSizeChanger={this.showSizeChanger}\n />\n );\n }\n}\n\ninterface PageArrowData {\n type: \"prev-arrow\" | \"next-arrow\";\n disabled?: boolean;\n}\n\ninterface PageJumpData {\n type: \"prev-jump\" | \"next-jump\";\n span: number;\n}\n\ninterface PageItemData {\n type: \"page\";\n page: number;\n active?: boolean;\n}\n\ntype PagerData = PageArrowData | PageJumpData | PageItemData;\n\ninterface EoPaginationComponentProps extends EoPaginationProps {\n onChange?: (data: { page: number; pageSize: number }) => void;\n}\n\nexport function EoPaginationComponent(props: EoPaginationComponentProps) {\n const { t } = useTranslation(NS);\n const { onChange, showSizeChanger = true } = props;\n\n const [paginationData, setPaginationData] = useState<{\n page?: number;\n pageSize?: number;\n total?: number;\n }>({});\n\n useEffect(() => {\n const _total = formatValue(props.total, 0);\n const _page = formatValue(props.page, 0);\n const _pageSize = formatValue(props.pageSize, 0);\n setPaginationData({ total: _total, page: _page, pageSize: _pageSize });\n }, [props.page, props.pageSize, props.total]);\n\n const pageSizeOptions = useMemo(() => {\n const options = [paginationData.pageSize]\n .concat(props.pageSizeOptions || [])\n .map((v) => Number(v))\n .filter((v) => !Number.isNaN(v));\n return sortBy([...new Set(options)], (value) => value);\n }, [paginationData.pageSize, props.pageSizeOptions]);\n\n const allPages = useMemo(\n () =>\n formatValue(Math.ceil(paginationData.total / paginationData.pageSize), 0),\n [paginationData.pageSize, paginationData.total]\n );\n\n const pagerDataSource = useMemo(() => {\n const data: PagerData[] = [];\n\n const prevArrow = {\n type: \"prev-arrow\",\n disabled: paginationData.page === 1 || allPages === 0,\n } as const;\n const nextArrow = {\n type: \"next-arrow\",\n disabled: paginationData.page === allPages || allPages === 0,\n } as const;\n const prevJump = { type: \"prev-jump\", span: 5 } as const;\n const nextJump = { type: \"next-jump\", span: 5 } as const;\n\n const pageList = getPageWindow(allPages, paginationData.page, 5).map(\n (p) => {\n return {\n type: \"page\",\n page: p,\n active: p === paginationData.page,\n } as const;\n }\n );\n\n data.push(prevArrow);\n\n if (pageList.length && pageList[0].page > 1) {\n data.push({ type: \"page\", page: 1 });\n if (pageList[0].page > 2) {\n data.push(prevJump);\n }\n }\n\n pageList.forEach((p) => data.push(p));\n\n if (pageList.length && pageList[pageList.length - 1].page < allPages) {\n if (pageList[pageList.length - 1].page < allPages - 1) {\n data.push(nextJump);\n }\n data.push({ type: \"page\", page: allPages });\n }\n\n data.push(nextArrow);\n\n return data;\n }, [allPages, paginationData.page]);\n\n const handlePageSizeChange = (value: number) => {\n setPaginationData((pre) => ({ ...pre, page: 1, pageSize: value }));\n onChange?.({ page: 1, pageSize: value });\n };\n\n const handlePagerClick = (pagerData: PagerData) => {\n switch (pagerData.type) {\n case \"prev-arrow\": {\n if (!pagerData.disabled) {\n setPaginationData((pre) => ({\n ...pre,\n page: paginationData.page - 1,\n }));\n onChange?.({\n page: paginationData.page - 1,\n pageSize: paginationData.pageSize,\n });\n }\n break;\n }\n case \"next-arrow\": {\n if (!pagerData.disabled) {\n setPaginationData((pre) => ({\n ...pre,\n page: paginationData.page + 1,\n }));\n onChange?.({\n page: paginationData.page + 1,\n pageSize: paginationData.pageSize,\n });\n }\n break;\n }\n case \"prev-jump\": {\n const _page =\n paginationData.page - pagerData.span < 1\n ? 1\n : paginationData.page - pagerData.span;\n setPaginationData((pre) => ({ ...pre, page: _page }));\n onChange?.({ page: _page, pageSize: paginationData.pageSize });\n break;\n }\n case \"next-jump\": {\n const _page =\n paginationData.page + pagerData.span > allPages\n ? allPages\n : paginationData.page + pagerData.span;\n setPaginationData((pre) => ({ ...pre, page: _page }));\n onChange?.({ page: _page, pageSize: paginationData.pageSize });\n break;\n }\n case \"page\": {\n setPaginationData((pre) => ({ ...pre, page: pagerData.page }));\n onChange?.({ page: pagerData.page, pageSize: paginationData.pageSize });\n }\n }\n };\n\n return (\n <div className=\"pagination-wrapper\">\n <div className=\"pagination-total\">\n <Trans\n i18nKey={t(K.TOTAL)}\n values={{ total: paginationData.total }}\n components={{\n total: <span className=\"pagination-total-number\" />,\n }}\n />\n </div>\n {showSizeChanger && (\n <div className=\"pagination-size-changer\">\n <WrappedPopover placement=\"bottom\" arrow={false} distance={4}>\n <div className=\"pagination-size-selection\" slot=\"anchor\">\n {t(K.PAGE_SIZE, { count: paginationData.pageSize })}\n <WrappedIcon lib=\"antd\" theme=\"filled\" icon=\"caret-down\" />\n </div>\n <WrappedMenu className=\"pagination-size-selector-menu\">\n {pageSizeOptions.map((value) => {\n const active = value === paginationData.pageSize;\n return (\n <WrappedMenuItem\n className={classNames(\n \"pagination-size-selector-item\",\n active ? \"pagination-size-selector-active\" : null\n )}\n key={value}\n onClick={() => handlePageSizeChange(value)}\n >\n {t(K.PAGE_SIZE, { count: value })}\n </WrappedMenuItem>\n );\n })}\n </WrappedMenu>\n </WrappedPopover>\n </div>\n )}\n <div className=\"pagination-page\">\n {pagerDataSource.map((pagerData) => {\n switch (pagerData.type) {\n case \"prev-arrow\":\n case \"next-arrow\": {\n return (\n <PageArrow\n key={pagerData.type}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n case \"prev-jump\":\n case \"next-jump\": {\n return (\n <PageJump\n key={pagerData.type}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n case \"page\": {\n return (\n <PageItem\n key={pagerData.page}\n {...pagerData}\n onClick={() => handlePagerClick(pagerData)}\n />\n );\n }\n }\n })}\n </div>\n </div>\n );\n}\n\nfunction PageItem(props: PageItemData & { onClick?: () => void }) {\n const { active, page, onClick } = props;\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-number\",\n active ? \"pagination-page-item-active\" : null\n )}\n title={String(page)}\n onClick={onClick}\n >\n {page}\n </div>\n );\n}\n\nfunction PageArrow(props: PageArrowData & { onClick?: () => void }) {\n const { t } = useTranslation(NS);\n const { type, disabled, onClick } = props;\n const icon = type === \"prev-arrow\" ? \"left\" : \"right\";\n const title =\n type === \"prev-arrow\" ? t(K.PREVIOUS_PAGE_one) : t(K.NEXT_PAGE_one);\n\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-arrow\",\n disabled ? \"pagination-page-item-disabled\" : null\n )}\n title={title}\n onClick={onClick}\n >\n <WrappedIcon lib=\"antd\" theme=\"outlined\" icon={icon} />\n </div>\n );\n}\n\nfunction PageJump(props: PageJumpData & { onClick?: () => void }) {\n const { t } = useTranslation(NS);\n const { type, span, onClick } = props;\n const icon = type === \"prev-jump\" ? \"double-left\" : \"double-right\";\n const title =\n type === \"prev-jump\"\n ? t(K.PREVIOUS_PAGE_other, { count: span })\n : t(K.NEXT_PAGE_other, { count: span });\n\n return (\n <div\n className={classNames(\n \"pagination-page-item\",\n \"pagination-page-item-jump\"\n )}\n title={title}\n onClick={onClick}\n >\n <WrappedIcon\n className=\"pagination-page-item-jump-arrow\"\n lib=\"antd\"\n theme=\"outlined\"\n icon={icon}\n />\n <span className=\"pagination-page-item-jump-ellipsis\">•••</span>\n </div>\n );\n}\n\nfunction formatValue(value: number, defaultValue: number): number {\n const _value = Number(value);\n\n return Number.isNaN(_value) ? defaultValue : _value;\n}\n\nfunction getPageWindow(allPages: number, page: number, size: number) {\n let leftPage, rightPage;\n if (allPages <= size) {\n leftPage = 1;\n rightPage = allPages;\n } else {\n let leftSize = Math.floor((size - 1) / 2);\n let rightSize = size - 1 - leftSize;\n\n if (page - leftSize < 1) {\n rightSize += leftSize - page + 1;\n }\n if (page + rightSize > allPages) {\n leftSize += page + rightSize - allPages;\n }\n leftPage = page - leftSize < 1 ? 1 : page - leftSize;\n rightPage = page + rightSize > allPages ? allPages : page + rightSize;\n }\n return Array.from(new Array(rightPage + 1).keys()).slice(leftPage);\n}\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, `:root{--pagination-size-selection-icon-color:#bfbfbf}html[data-theme=\"dark\"],\nhtml[data-theme=\"dark-v2\"]{--pagination-size-selection-icon-color:rgba(255,255,255,0.3)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\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:block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.pagination-wrapper{display:flex;align-items:center;justify-content:flex-end}.pagination-total{margin-right:auto;font-size:14px;color:var(--antd-pagination-total-text);line-height:20px}.pagination-total .pagination-total-number{color:var(--antd-pagination-total-strong-text)}.pagination-size-changer{margin-right:20px;color:var(--antd-text-color)}.pagination-size-selection{font-size:14px;line-height:30px;cursor:pointer;display:flex;align-items:center;gap:8px}.pagination-size-selection eo-icon{color:var(--pagination-size-selection-icon-color)}.pagination-size-selector-menu{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;padding:2px;border:none;border-radius:var(--medius-border-radius);background:var(--antd-select-dropdown-bg);box-shadow:var(--antd-box-shadow-base)}.pagination-size-selector-item{padding:6px;border-radius:var(--medius-border-radius);cursor:pointer}.pagination-size-selector-active{font-weight:var(--font-weight-600);background-color:var(--antd-select-item-selected-bg)!important}.pagination-size-selector-item:hover{background-color:var(--antd-select-item-active-bg)}.pagination-page{display:flex;gap:10px;color:var(--antd-text-color);-webkit-user-select:none;-moz-user-select:none;user-select:none}.pagination-page-item{display:flex;justify-content:center;align-items:center;padding:0 6px;height:28px;border-radius:4px;min-width:28px;cursor:pointer;font-weight:500}.pagination-page-item:hover{transition:all 0.3s}.pagination-page-item-number{border:1px solid transparent}.pagination-page-item:not(.pagination-page-item-disabled):hover{color:var(--antd-pagination-item-hover)}.pagination-page-item-active{color:var(--color-brand);border-color:var(--color-brand-hover)}.pagination-page-item-active:not(.pagination-page-item-disabled):hover{color:var(--color-brand)}.pagination-page-item-disabled{color:var(--text-color-disabled);border-color:transparent;cursor:not-allowed}.pagination-page-item-jump{position:relative}.pagination-page-item-jump:hover .pagination-page-item-jump-arrow{opacity:1}.pagination-page-item-jump:hover .pagination-page-item-jump-ellipsis{opacity:0}.pagination-page-item-jump-arrow{position:absolute;color:var(--antd-pagination-item-hover);opacity:0;transition:opacity 0.2s}.pagination-page-item-jump-ellipsis{color:var(--text-color-disabled);opacity:1;transition:opacity 0.2s}`, \"\"]);\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};","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./host-context.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./host-context.css\";\n export default content && content.locals ? content.locals : undefined;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","import _typeof from \"./typeof.js\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2305(e, t, r, n, o, a) {\n function i(e, t, r) {\n return function (n, o) {\n return r && r(n), e[t].call(n, o);\n };\n }\n function c(e, t) {\n for (var r = 0; r < e.length; r++) e[r].call(t);\n return t;\n }\n function s(e, t, r, n) {\n if (\"function\" != typeof e && (n || void 0 !== e)) throw new TypeError(t + \" must \" + (r || \"be\") + \" a function\" + (n ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) {\n function m(e) {\n if (!h(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var y,\n v,\n g = t[0],\n b = t[3],\n w = !u;\n if (!w) {\n r || Array.isArray(g) || (g = [g]);\n var S = {},\n A = [],\n P = 3 === o ? \"get\" : 4 === o || d ? \"set\" : \"value\";\n f ? (p || d ? S = {\n get: setFunctionName(function () {\n return b(this);\n }, n, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : S[P] = b, p || setFunctionName(S[P], n, 2 === o ? \"\" : P)) : p || (S = Object.getOwnPropertyDescriptor(e, n));\n }\n for (var j = g.length - 1; j >= 0; j -= r ? 2 : 1) {\n var D = g[j],\n E = r ? g[j - 1] : void 0,\n I = {},\n O = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: n,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw new Error(\"attempted to call addInitializer after decoration was finished\");\n s(t, \"An initializer\", \"be\", !0), c.push(t);\n }.bind(null, I)\n };\n try {\n if (w) v = D.call(E, e, O);else {\n var k, F;\n O[\"static\"] = l, O[\"private\"] = f, f || !p && 2 !== o ? 2 === o ? k = function k(e) {\n return m(e), S.value;\n } : ((o < 2 || 3 === o) && (k = i(S, \"get\", f && m)), (o < 2 || 4 === o) && (F = i(S, \"set\", f && m))) : (k = function k(e) {\n return e[n];\n }, p && (F = function F(e, t) {\n e[n] = t;\n }));\n var N = O.access = {\n has: f ? h.bind() : function (e) {\n return n in e;\n }\n };\n if (k && (N.get = k), F && (N.set = F), v = D.call(E, d ? {\n get: S.get,\n set: S.set\n } : S[P], O), d) {\n if (\"object\" == _typeof(v) && v) (y = s(v.get, \"accessor.get\")) && (S.get = y), (y = s(v.set, \"accessor.set\")) && (S.set = y), (y = s(v.init, \"accessor.init\")) && A.push(y);else if (void 0 !== v) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n } else s(v, (p ? \"field\" : \"method\") + \" decorators\", \"return\") && (p ? A.push(v) : S[P] = v);\n }\n } finally {\n I.v = !0;\n }\n }\n return (p || d) && u.push(function (e, t) {\n for (var r = A.length - 1; r >= 0; r--) t = A[r].call(e, t);\n return t;\n }), p || w || (f ? d ? u.push(i(S, \"get\"), i(S, \"set\")) : u.push(2 === o ? S[P] : i.call.bind(S[P])) : Object.defineProperty(e, n, S)), v;\n }\n function u(e, t) {\n return Object.defineProperty(e, Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"), {\n configurable: !0,\n enumerable: !0,\n value: t\n });\n }\n if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\")];\n var f = Object.create(null == l ? null : l),\n p = function (e, t, r, n) {\n var o,\n a,\n i = [],\n s = function s(t) {\n return checkInRHS(t) === e;\n },\n u = new Map();\n function l(e) {\n e && i.push(c.bind(null, e));\n }\n for (var f = 0; f < t.length; f++) {\n var p = t[f];\n if (Array.isArray(p)) {\n var d = p[1],\n h = p[2],\n m = p.length > 3,\n y = 16 & d,\n v = !!(8 & d),\n g = 0 == (d &= 7),\n b = h + \"/\" + v;\n if (!g && !m) {\n var w = u.get(b);\n if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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);\n u.set(b, !(d > 2) || d);\n }\n applyDec(v ? e : e.prototype, p, y, m ? \"#\" + h : toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r);\n }\n }\n return l(o), l(a), i;\n }(e, t, o, f);\n return r.length || u(e, f), {\n e: p,\n get c() {\n var t = [];\n return r.length && [u(s(applyDec(e, [r], n, e.name, 5, f, t), \"class decorators\", \"return\") || e, f), c.bind(null, t, e)];\n }\n };\n}","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\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 defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["K","NS","locales","en","TOTAL","PAGE_SIZE","NEXT_PAGE_one","NEXT_PAGE_other","PREVIOUS_PAGE_one","PREVIOUS_PAGE_other","zh","initializeReactI18n","_EoPagination","defineElement","property","event","createDecorators","WrappedIcon","wrapBrick","WrappedPopover","WrappedMenu","WrappedMenuItem","_dec","styleTexts","styleText","_dec2","type","Number","_dec3","_dec4","_dec5","attribute","_dec6","Boolean","_dec7","_A","WeakMap","_B","_C","_D","_E","_F","_changeEvent","_handleChange","EoPagination","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_changeEvent2","set","_set_changeEvent2","writable","value","_initProto","_init_total","_init_page","_init_pageSize","_init_pageSizeOptions","_init_showSizeChanger","_init_changeEvent","data","this","page","pageSize","_classPrivateFieldGet","emit","total","v","_classPrivateFieldSet","pageSizeOptions","showSizeChanger","render","React","EoPaginationComponent","onChange","_set_changeEvent","_get_changeEvent","props","useTranslation","paginationData","setPaginationData","useState","useEffect","_total","formatValue","_page","_pageSize","useMemo","options","concat","map","filter","isNaN","sortBy","Set","allPages","Math","ceil","pagerDataSource","prevArrow","disabled","nextArrow","pageList","size","leftPage","rightPage","leftSize","floor","rightSize","Array","from","keys","slice","getPageWindow","p","active","push","length","span","forEach","handlePagerClick","pagerData","pre","_objectSpread","className","Trans","i18nKey","t","values","components","placement","arrow","distance","slot","count","lib","theme","icon","classNames","key","onClick","handlePageSizeChange","PageArrow","_extends","PageJump","PageItem","title","String","defaultValue","_value","_class","e","c","_initClass","_applyDecs","o","_","has","_checkInRHS","hasOwn","hasOwnProperty","classes","i","arg","argType","isArray","inner","apply","toString","Object","prototype","includes","call","join","module","exports","default","___CSS_LOADER_EXPORT___","id","cssWithMappingToString","list","item","content","needLayer","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","element","createElement","attributes","styleElement","nonce","setAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","setFunctionName","n","description","defineProperty","configurable","applyDecs2305","r","a","s","TypeError","applyDec","u","l","f","d","h","m","y","g","b","w","S","A","P","getOwnPropertyDescriptor","j","D","E","I","O","kind","name","metadata","addInitializer","bind","F","N","access","init","Symbol","enumerable","create","checkInRHS","Map","toPropertyKey","_checkPrivateRedeclaration","privateCollection","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_defineProperty","assign","source","ownKeys","getOwnPropertySymbols","_objectSpread2","getOwnPropertyDescriptors","defineProperties","toPrimitive","_typeof","iterator"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[6495,5628,3685],{75687:(e,t,r)=>{r.r(t),r.d(t,{EoStatisticsCard:()=>O,EoStatisticsCardComponent:()=>$});var n,i,a,o,c,s,l,d,u,p,h,v,f,b,g,m,y,w,x,Z,k,z,E,j,O,S=r(33028),P=r(7896),T=r(53395),N=r(40381),M=r(70687),C=r(75066),W=r(48657),A=r.n(W),D=r(85727),_=r(305),B=(r(31800),r(76200)),{defineElement:I,property:R}=(0,D.createDecorators)(),q=(0,_.wrapBrick)("eo-icon");i=I("eo-statistics-card",{styleTexts:[B.Z]}),a=R(),c=R(),l=R(),u=R({attribute:!1}),h=R(),f=R(),g=R(),y=R(),x=R({attribute:!1}),k=R({type:Boolean});var F=new WeakMap,G=new WeakMap,H=new WeakMap,J=new WeakMap,K=new WeakMap,L=new WeakMap,Q=new WeakMap,U=new WeakMap,V=new WeakMap,X=new WeakMap;class Y extends _.ReactNextElement{constructor(){super(...arguments),(0,T.Z)(this,F,{writable:!0,value:(E(this),o(this))}),(0,T.Z)(this,G,{writable:!0,value:s(this)}),(0,T.Z)(this,H,{writable:!0,value:d(this)}),(0,T.Z)(this,J,{writable:!0,value:p(this)}),(0,T.Z)(this,K,{writable:!0,value:v(this,"medium")}),(0,T.Z)(this,L,{writable:!0,value:b(this,"border")}),(0,T.Z)(this,Q,{writable:!0,value:m(this)}),(0,T.Z)(this,U,{writable:!0,value:w(this,"bottom")}),(0,T.Z)(this,V,{writable:!0,value:Z(this)}),(0,T.Z)(this,X,{writable:!0,value:z(this)})}get cardTitle(){return(0,M.Z)(this,F)}set cardTitle(e){(0,N.Z)(this,F,e)}get value(){return(0,M.Z)(this,G)}set value(e){(0,N.Z)(this,G,e)}get unit(){return(0,M.Z)(this,H)}set unit(e){(0,N.Z)(this,H,e)}get icon(){return(0,M.Z)(this,J)}set icon(e){(0,N.Z)(this,J,e)}get size(){return(0,M.Z)(this,K)}set size(e){(0,N.Z)(this,K,e)}get outline(){return(0,M.Z)(this,L)}set outline(e){(0,N.Z)(this,L,e)}get background(){return(0,M.Z)(this,Q)}set background(e){(0,N.Z)(this,Q,e)}get descriptionPosition(){return(0,M.Z)(this,U)}set descriptionPosition(e){(0,N.Z)(this,U,e)}get valueStyle(){return(0,M.Z)(this,V)}set valueStyle(e){(0,N.Z)(this,V,e)}get interactable(){return(0,M.Z)(this,X)}set interactable(e){(0,N.Z)(this,X,e)}render(){return A().createElement($,{cardTitle:this.cardTitle,value:this.value,unit:this.unit,icon:this.icon,background:this.background,descriptionPosition:this.descriptionPosition,valueStyle:this.valueStyle})}}function $(e){var{cardTitle:t,value:r,unit:n,icon:i,background:a,descriptionPosition:o,valueStyle:c}=e,s=(0,W.useMemo)((()=>i?A().createElement("div",{className:"icon-container",style:{backgroundColor:i.bgColor}},A().createElement(q,(0,P.Z)({},i,{className:"icon",style:{color:i.color}}))):null),[i]);return A().createElement("div",{className:"card",style:(0,S.Z)({},a?{background:a}:{})},A().createElement("div",{className:"operator"},A().createElement("slot",{name:"operator"})),A().createElement("div",{className:"basic-container"},s,A().createElement("div",{className:"basic-info"},A().createElement("div",{className:"title-container"},A().createElement("slot",{name:"titlePrefix"}),A().createElement("div",{className:"card-title"},t),A().createElement("slot",{name:"titleSuffix"})),A().createElement("div",{className:"value-container"},A().createElement("span",{className:"value",title:r,style:c},r),n&&A().createElement("span",{className:"unit"},n),"right"===o&&A().createElement("slot",{name:"description"})),"bottom"===o&&A().createElement("slot",{name:"description"})),A().createElement("slot",{name:"basicContent"})),A().createElement("slot",{name:"extraContent"}))}j=Y,({e:[o,s,d,p,v,b,m,w,Z,z,E],c:[O,n]}=(0,C.Z)(j,[[a,1,"cardTitle"],[c,1,"value"],[l,1,"unit"],[u,1,"icon"],[h,1,"size"],[f,1,"outline"],[g,1,"background"],[y,1,"descriptionPosition"],[x,1,"valueStyle"],[k,1,"interactable"]],[i],0,void 0,_.ReactNextElement)),n()},76200:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(39601),i=r.n(n),a=r(82609),o=r.n(a)()(i());o.push([e.id,':host{display:inline-block;--card-padding:0;--card-border:none;--card-border-radius:0;--card-background:none}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}:host([size="large"]){--card-padding:20px 24px;--icon-container-size:54px;--icon-size:22px;--card-content-gap:16px;--card-title-font-size:14px;--card-title-line-height:20px;--value-font-size:28px;--value-line-height:40px;--unit-font-size:18px}:host([size="medium"]){--card-padding:16px;--icon-container-size:48px;--icon-size:20px;--card-content-gap:16px;--card-title-font-size:14px;--card-title-line-height:20px;--value-font-size:24px;--value-line-height:34px;--unit-font-size:16px}:host([size="small"]){--card-padding:12px;--icon-container-size:42px;--icon-size:18px;--card-content-gap:12px;--card-title-font-size:12px;--card-title-line-height:18px;--value-font-size:18px;--value-line-height:28px;--unit-font-size:12px}:host([outline="border"]){--card-border:1px solid var(--color-text-divider-line);--card-hovered-border:1px solid transparent;--card-hovered-box-shadow:var(--connected-overlay-shadow);--card-background:var(--antd-card-background);--card-border-radius:6px}:host([outline="background"]){--card-hovered-border:none;--card-hovered-box-shadow:var(--connected-overlay-shadow);--card-background:var(--antd-card-background);--card-border-radius:6px}:host([outline="none"]){--card-padding:0}.card{position:relative;height:100%;padding:var(--card-padding);border:var(--card-border);border-radius:var(--card-border-radius);background:var(--card-background)}.operator{position:absolute;top:6px;right:8px}.basic-container{display:flex;align-items:center;gap:var(--card-content-gap)}.icon-container{flex-shrink:0;width:var(--icon-container-size);height:var(--icon-container-size);display:flex;align-items:center;justify-content:center;border-radius:50%}.icon{font-size:var(--icon-size)}.basic-info{min-width:0;display:flex;flex-direction:column;justify-content:space-around}.title-container{display:flex;align-items:center;gap:5px;font-size:var(--card-title-font-size);line-height:var(--card-title-line-height);color:var(--text-color-default)}.value-container{display:flex;align-items:baseline}.value{font-size:var(--value-font-size);line-height:var(--value-line-height);color:var(--text-color-title);font-weight:var(--font-weight-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit{margin-left:5px;font-size:var(--unit-font-size);color:var(--text-color-title);font-weight:var(--font-weight-500)}slot[name="description"]{font-size:12px;color:var(--text-color-secondary);line-height:17px}:host([description-position="bottom"]) slot[name="description"]::slotted(*){margin-top:5px}:host([description-position="right"]) slot[name="description"]::slotted(*){display:inline-block;margin-left:5px}slot[name="extraContent"]::slotted(*){margin-top:10px}:host([interactable]) .card{cursor:pointer}:host([interactable][outline="border"]) .card:hover,\n:host([interactable][outline="background"]) .card:hover{border:var(--card-hovered-border);box-shadow:var(--card-hovered-box-shadow)}:host([interactable][outline="none"]) .card:hover .card-title,\n:host([interactable][outline="none"]) .card:hover .value,\n:host([interactable][outline="none"]) .card:hover .unit{color:var(--color-brand)}',""]);const c=o.toString()},82609:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(o[s]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);n&&o[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},39601:e=>{e.exports=function(e){return e[1]}},75066:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(86522),i=r(31815);function a(e,t,r){"symbol"==(0,n.Z)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}var o=r(45850);function c(e,t,r,c,s,l){function d(e,t,r){return function(n,i){return r&&r(n),e[t].call(n,i)}}function u(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function p(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function h(e,t,r,i,o,c,s,l,u,h,v,f,b){function g(e){if(!b(e))throw new TypeError("Attempted to access private element on non-instance")}var m,y,w=t[0],x=t[3],Z=!l;if(!Z){r||Array.isArray(w)||(w=[w]);var k={},z=[],E=3===o?"get":4===o||f?"set":"value";h?(v||f?k={get:a((function(){return x(this)}),i,"get"),set:function(e){t[4](this,e)}}:k[E]=x,v||a(k[E],i,2===o?"":E)):v||(k=Object.getOwnPropertyDescriptor(e,i))}for(var j=w.length-1;j>=0;j-=r?2:1){var O=w[j],S=r?w[j-1]:void 0,P={},T={kind:["field","accessor","method","getter","setter","class"][o],name:i,metadata:c,addInitializer:function(e,t){if(e.v)throw new Error("attempted to call addInitializer after decoration was finished");p(t,"An initializer","be",!0),s.push(t)}.bind(null,P)};try{if(Z)y=O.call(S,e,T);else{var N,M;T.static=u,T.private=h,h||!v&&2!==o?2===o?N=function(e){return g(e),k.value}:((o<2||3===o)&&(N=d(k,"get",h&&g)),(o<2||4===o)&&(M=d(k,"set",h&&g))):(N=function(e){return e[i]},v&&(M=function(e,t){e[i]=t}));var C=T.access={has:h?b.bind():function(e){return i in e}};if(N&&(C.get=N),M&&(C.set=M),y=O.call(S,f?{get:k.get,set:k.set}:k[E],T),f){if("object"==(0,n.Z)(y)&&y)(m=p(y.get,"accessor.get"))&&(k.get=m),(m=p(y.set,"accessor.set"))&&(k.set=m),(m=p(y.init,"accessor.init"))&&z.push(m);else if(void 0!==y)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else p(y,(v?"field":"method")+" decorators","return")&&(v?z.push(y):k[E]=y)}}finally{P.v=!0}}return(v||f)&&l.push((function(e,t){for(var r=z.length-1;r>=0;r--)t=z[r].call(e,t);return t})),v||Z||(h?f?l.push(d(k,"get"),d(k,"set")):l.push(2===o?k[E]:d.call.bind(k[E])):Object.defineProperty(e,i,k)),y}function v(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var f=l[Symbol.metadata||Symbol.for("Symbol.metadata")];var b=Object.create(null==f?null:f),g=function(e,t,r,n){var a,c,s=[],l=function(t){return(0,i.Z)(t)===e},d=new Map;function p(e){e&&s.push(u.bind(null,e))}for(var v=0;v<t.length;v++){var f=t[v];if(Array.isArray(f)){var b=f[1],g=f[2],m=f.length>3,y=16&b,w=!!(8&b),x=0==(b&=7),Z=g+"/"+w;if(!x&&!m){var k=d.get(Z);if(!0===k||3===k&&4!==b||4===k&&3!==b)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: "+g);d.set(Z,!(b>2)||b)}h(w?e:e.prototype,f,y,m?"#"+g:(0,o.Z)(g),b,n,w?c=c||[]:a=a||[],s,w,m,x,1===b,w&&m?l:r)}}return p(a),p(c),s}(e,t,s,b);return r.length||v(e,b),{e:g,get c(){var t=[];return r.length&&[v(p(h(e,[r],c,e.name,5,b,t),"class decorators","return")||e,b),u.bind(null,t,e)]}}}},31815:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,n.Z)(e):"null"));return e}},85863:(e,t,r)=>{function n(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(t,{Z:()=>n})},70175:(e,t,r)=>{function n(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:()=>n})},70687:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(70175);function i(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,(0,n.Z)(e,t,"get"))}},53395:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(85863);function i(e,t,r){(0,n.Z)(e,t),t.set(e,r)}},40381:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(70175);function i(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,n.Z)(e,t,"set"),r),r}},56666:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(45850);function i(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},7896:(e,t,r)=>{function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},33028:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(56666);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},45850:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,"string");if("object"!=(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.Z)(t)?t:String(t)}},86522:(e,t,r)=>{function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})}}]);
|
|
2
|
+
//# sourceMappingURL=eo-statistics-card.7ab8f46b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/eo-statistics-card.7ab8f46b.js","mappings":"gRAuGIA,E,gIAhGE,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAE9BC,GAAcC,EAAAA,EAAAA,WAAyC,WAAWC,EA2BvEL,EAAc,qBAAsB,CACnCM,WAAY,CAACC,EAAAA,KACbC,EAKCP,IAAUQ,EAMVR,IAAUS,EAMVT,IAAUU,EAMVV,EAAS,CACRW,WAAW,IACXC,EAMDZ,IAAUa,EAMVb,IAAUc,EAMVd,IAAUe,EAMVf,IAAUgB,EAMVhB,EAAS,CACRW,WAAW,IACXM,EAMDjB,EAAS,CACRkB,KAAMC,UACN,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAAAM,EAAA,IAAAN,QAAAO,EAAA,IAAAP,QAAAQ,EAAA,IAAAR,QAAAS,EAAA,IAAAT,QAnEJ,MAAAU,UAG+BC,EAAAA,iBAAiBC,cAAA,SAAAC,YAC9CC,EAAAA,EAAAA,GAAA,KAAAf,EAAA,CAAAgB,UAAA,EAAAC,OAAAC,EAAA,MAAAC,EAAA,UAMAJ,EAAAA,EAAAA,GAAA,KAAAb,EAAA,CAAAc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S4E,EAAe1G,GACrC,IAAK,IAAIqC,EAAI,EAAGA,EAAIjF,UAAU6D,OAAQoB,IAAK,CACzC,IAAIP,EAAI,MAAQ1E,UAAUiF,GAAKjF,UAAUiF,GAAK,CAAC,EAC/CA,EAAI,EAAIiE,EAAQrE,OAAOH,IAAI,GAAI6E,SAAQ,SAAUtE,IAC/C,OAAerC,EAAGqC,EAAGP,EAAEO,GACzB,IAAKJ,OAAO2E,0BAA4B3E,OAAO4E,iBAAiB7G,EAAGiC,OAAO2E,0BAA0B9E,IAAMwE,EAAQrE,OAAOH,IAAI6E,SAAQ,SAAUtE,GAC7IJ,OAAOC,eAAelC,EAAGqC,EAAGJ,OAAO6B,yBAAyBhC,EAAGO,GACjE,GACF,CACA,OAAOrC,CACT,C,kDCnBe,SAASoF,EAActD,GACpC,IAAIX,ECFS,SAAqBW,EAAGO,GACrC,GAAI,WAAY,OAAQP,KAAOA,EAAG,OAAOA,EACzC,IAAI9B,EAAI8B,EAAEgD,OAAOgC,aACjB,QAAI,IAAW9G,EAAG,CAChB,IAAImB,EAAInB,EAAEwC,KAAKV,EAAGO,UAClB,GAAI,WAAY,OAAQlB,GAAI,OAAOA,EACnC,MAAM,IAAIuB,UAAU,+CACtB,CACA,OAAyBqE,OAAiBjF,EAC5C,CDPUgF,CAAYhF,GACpB,MAAO,WAAY,OAAQX,GAAKA,EAAI4F,OAAO5F,EAC7C,C,kBELe,SAAS6F,EAAQ1E,GAG9B,OAAO0E,EAAU,mBAAqBlC,QAAU,iBAAmBA,OAAOmC,SAAW,SAAU3E,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBwC,QAAUxC,EAAEnF,cAAgB2H,QAAUxC,IAAMwC,OAAOK,UAAY,gBAAkB7C,CACpH,EAAG0E,EAAQ1E,EACb,C","sources":["webpack:///./src/statistics-card/index.tsx","webpack:///./src/statistics-card/styles.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/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2305.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkInRHS.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/objectSpread2.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":["import React, { useMemo } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport \"@next-core/theme\";\nimport styleText from \"./styles.shadow.css\";\nimport { GeneralIcon, GeneralIconProps } from \"@next-bricks/icons/general-icon\";\n\nconst { defineElement, property } = createDecorators();\n\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\n\nexport interface EoStatisticsCardProps {\n cardTitle?: string;\n value?: string;\n unit?: string;\n icon?: GeneralIconProps & { color?: string; bgColor?: string };\n size?: \"large\" | \"medium\" | \"small\";\n outline?: \"border\" | \"background\" | \"none\";\n background?: string;\n descriptionPosition?: \"bottom\" | \"right\";\n valueStyle?: React.CSSProperties;\n interactable?: boolean;\n}\n\n/**\n * 统计卡片\n *\n * @slot titlePrefix - 标题前缀,放置辅助信息\n * @slot titleSuffix - 标题前缀,放置辅助信息\n * @slot description - 描述信息,通常是对于统计值的描述\n * @slot basicContent - 卡片右侧内容区,适合放置迷你图表,常用于小卡片\n * @slot extraContent - 卡片下方内容区,适合放置图表,用于展示更多信息的场景\n * @slot operator - 右上角操作区\n *\n */\nexport\n@defineElement(\"eo-statistics-card\", {\n styleTexts: [styleText],\n})\nclass EoStatisticsCard extends ReactNextElement {\n /**\n * 卡片标题\n */\n @property()\n accessor cardTitle: string | undefined;\n\n /**\n * 值\n */\n @property()\n accessor value: string | undefined;\n\n /**\n * 单位\n */\n @property()\n accessor unit: string | undefined;\n\n /**\n * 图标\n */\n @property({\n attribute: false,\n })\n accessor icon: EoStatisticsCardProps[\"icon\"] | undefined;\n\n /**\n * 尺寸\n */\n @property()\n accessor size: \"large\" | \"medium\" | \"small\" = \"medium\";\n\n /**\n * 卡片轮廓\n */\n @property()\n accessor outline: \"border\" | \"background\" | \"none\" = \"border\";\n\n /**\n * 背景\n */\n @property()\n accessor background: string | undefined;\n\n /**\n * 描述位置\n */\n @property()\n accessor descriptionPosition: \"bottom\" | \"right\" = \"bottom\";\n\n /**\n * 值样式\n */\n @property({\n attribute: false,\n })\n accessor valueStyle: React.CSSProperties | undefined;\n\n /**\n * 是否可互动\n */\n @property({\n type: Boolean,\n })\n accessor interactable: boolean | undefined;\n\n render() {\n return (\n <EoStatisticsCardComponent\n cardTitle={this.cardTitle}\n value={this.value}\n unit={this.unit}\n icon={this.icon}\n background={this.background}\n descriptionPosition={this.descriptionPosition}\n valueStyle={this.valueStyle}\n />\n );\n }\n}\n\nexport function EoStatisticsCardComponent(props: EoStatisticsCardProps) {\n const {\n cardTitle,\n value,\n unit,\n icon,\n background,\n descriptionPosition,\n valueStyle,\n } = props;\n\n const iconNode = useMemo(() => {\n if (!icon) return null;\n return (\n <div className=\"icon-container\" style={{ backgroundColor: icon.bgColor }}>\n <WrappedIcon {...icon} className=\"icon\" style={{ color: icon.color }} />\n </div>\n );\n }, [icon]);\n\n return (\n <div className=\"card\" style={{ ...(background ? { background } : {}) }}>\n <div className=\"operator\">\n <slot name=\"operator\" />\n </div>\n <div className=\"basic-container\">\n {iconNode}\n <div className=\"basic-info\">\n <div className=\"title-container\">\n <slot name=\"titlePrefix\" />\n <div className=\"card-title\">{cardTitle}</div>\n <slot name=\"titleSuffix\" />\n </div>\n <div className=\"value-container\">\n <span className=\"value\" title={value} style={valueStyle}>\n {value}\n </span>\n {unit && <span className=\"unit\">{unit}</span>}\n {descriptionPosition === \"right\" && <slot name=\"description\" />}\n </div>\n {descriptionPosition === \"bottom\" && <slot name=\"description\" />}\n </div>\n <slot name=\"basicContent\" />\n </div>\n <slot name=\"extraContent\" />\n </div>\n );\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{display:inline-block;--card-padding:0;--card-border:none;--card-border-radius:0;--card-background:none}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}:host([size=\"large\"]){--card-padding:20px 24px;--icon-container-size:54px;--icon-size:22px;--card-content-gap:16px;--card-title-font-size:14px;--card-title-line-height:20px;--value-font-size:28px;--value-line-height:40px;--unit-font-size:18px}:host([size=\"medium\"]){--card-padding:16px;--icon-container-size:48px;--icon-size:20px;--card-content-gap:16px;--card-title-font-size:14px;--card-title-line-height:20px;--value-font-size:24px;--value-line-height:34px;--unit-font-size:16px}:host([size=\"small\"]){--card-padding:12px;--icon-container-size:42px;--icon-size:18px;--card-content-gap:12px;--card-title-font-size:12px;--card-title-line-height:18px;--value-font-size:18px;--value-line-height:28px;--unit-font-size:12px}:host([outline=\"border\"]){--card-border:1px solid var(--color-text-divider-line);--card-hovered-border:1px solid transparent;--card-hovered-box-shadow:var(--connected-overlay-shadow);--card-background:var(--antd-card-background);--card-border-radius:6px}:host([outline=\"background\"]){--card-hovered-border:none;--card-hovered-box-shadow:var(--connected-overlay-shadow);--card-background:var(--antd-card-background);--card-border-radius:6px}:host([outline=\"none\"]){--card-padding:0}.card{position:relative;height:100%;padding:var(--card-padding);border:var(--card-border);border-radius:var(--card-border-radius);background:var(--card-background)}.operator{position:absolute;top:6px;right:8px}.basic-container{display:flex;align-items:center;gap:var(--card-content-gap)}.icon-container{flex-shrink:0;width:var(--icon-container-size);height:var(--icon-container-size);display:flex;align-items:center;justify-content:center;border-radius:50%}.icon{font-size:var(--icon-size)}.basic-info{min-width:0;display:flex;flex-direction:column;justify-content:space-around}.title-container{display:flex;align-items:center;gap:5px;font-size:var(--card-title-font-size);line-height:var(--card-title-line-height);color:var(--text-color-default)}.value-container{display:flex;align-items:baseline}.value{font-size:var(--value-font-size);line-height:var(--value-line-height);color:var(--text-color-title);font-weight:var(--font-weight-500);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unit{margin-left:5px;font-size:var(--unit-font-size);color:var(--text-color-title);font-weight:var(--font-weight-500)}slot[name=\"description\"]{font-size:12px;color:var(--text-color-secondary);line-height:17px}:host([description-position=\"bottom\"]) slot[name=\"description\"]::slotted(*){margin-top:5px}:host([description-position=\"right\"]) slot[name=\"description\"]::slotted(*){display:inline-block;margin-left:5px}slot[name=\"extraContent\"]::slotted(*){margin-top:10px}:host([interactable]) .card{cursor:pointer}:host([interactable][outline=\"border\"]) .card:hover,\n:host([interactable][outline=\"background\"]) .card:hover{border:var(--card-hovered-border);box-shadow:var(--card-hovered-box-shadow)}:host([interactable][outline=\"none\"]) .card:hover .card-title,\n:host([interactable][outline=\"none\"]) .card:hover .value,\n:host([interactable][outline=\"none\"]) .card:hover .unit{color:var(--color-brand)}`, \"\"]);\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\";\nexport default function setFunctionName(e, t, n) {\n \"symbol\" == _typeof(t) && (t = (t = t.description) ? \"[\" + t + \"]\" : \"\");\n try {\n Object.defineProperty(e, \"name\", {\n configurable: !0,\n value: n ? n + \" \" + t : t\n });\n } catch (e) {}\n return e;\n}","import _typeof from \"./typeof.js\";\nimport checkInRHS from \"./checkInRHS.js\";\nimport setFunctionName from \"./setFunctionName.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nexport default function applyDecs2305(e, t, r, n, o, a) {\n function i(e, t, r) {\n return function (n, o) {\n return r && r(n), e[t].call(n, o);\n };\n }\n function c(e, t) {\n for (var r = 0; r < e.length; r++) e[r].call(t);\n return t;\n }\n function s(e, t, r, n) {\n if (\"function\" != typeof e && (n || void 0 !== e)) throw new TypeError(t + \" must \" + (r || \"be\") + \" a function\" + (n ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) {\n function m(e) {\n if (!h(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var y,\n v,\n g = t[0],\n b = t[3],\n w = !u;\n if (!w) {\n r || Array.isArray(g) || (g = [g]);\n var S = {},\n A = [],\n P = 3 === o ? \"get\" : 4 === o || d ? \"set\" : \"value\";\n f ? (p || d ? S = {\n get: setFunctionName(function () {\n return b(this);\n }, n, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : S[P] = b, p || setFunctionName(S[P], n, 2 === o ? \"\" : P)) : p || (S = Object.getOwnPropertyDescriptor(e, n));\n }\n for (var j = g.length - 1; j >= 0; j -= r ? 2 : 1) {\n var D = g[j],\n E = r ? g[j - 1] : void 0,\n I = {},\n O = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: n,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw new Error(\"attempted to call addInitializer after decoration was finished\");\n s(t, \"An initializer\", \"be\", !0), c.push(t);\n }.bind(null, I)\n };\n try {\n if (w) v = D.call(E, e, O);else {\n var k, F;\n O[\"static\"] = l, O[\"private\"] = f, f || !p && 2 !== o ? 2 === o ? k = function k(e) {\n return m(e), S.value;\n } : ((o < 2 || 3 === o) && (k = i(S, \"get\", f && m)), (o < 2 || 4 === o) && (F = i(S, \"set\", f && m))) : (k = function k(e) {\n return e[n];\n }, p && (F = function F(e, t) {\n e[n] = t;\n }));\n var N = O.access = {\n has: f ? h.bind() : function (e) {\n return n in e;\n }\n };\n if (k && (N.get = k), F && (N.set = F), v = D.call(E, d ? {\n get: S.get,\n set: S.set\n } : S[P], O), d) {\n if (\"object\" == _typeof(v) && v) (y = s(v.get, \"accessor.get\")) && (S.get = y), (y = s(v.set, \"accessor.set\")) && (S.set = y), (y = s(v.init, \"accessor.init\")) && A.push(y);else if (void 0 !== v) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or void 0\");\n } else s(v, (p ? \"field\" : \"method\") + \" decorators\", \"return\") && (p ? A.push(v) : S[P] = v);\n }\n } finally {\n I.v = !0;\n }\n }\n return (p || d) && u.push(function (e, t) {\n for (var r = A.length - 1; r >= 0; r--) t = A[r].call(e, t);\n return t;\n }), p || w || (f ? d ? u.push(i(S, \"get\"), i(S, \"set\")) : u.push(2 === o ? S[P] : i.call.bind(S[P])) : Object.defineProperty(e, n, S)), v;\n }\n function u(e, t) {\n return Object.defineProperty(e, Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"), {\n configurable: !0,\n enumerable: !0,\n value: t\n });\n }\n if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\")];\n var f = Object.create(null == l ? null : l),\n p = function (e, t, r, n) {\n var o,\n a,\n i = [],\n s = function s(t) {\n return checkInRHS(t) === e;\n },\n u = new Map();\n function l(e) {\n e && i.push(c.bind(null, e));\n }\n for (var f = 0; f < t.length; f++) {\n var p = t[f];\n if (Array.isArray(p)) {\n var d = p[1],\n h = p[2],\n m = p.length > 3,\n y = 16 & d,\n v = !!(8 & d),\n g = 0 == (d &= 7),\n b = h + \"/\" + v;\n if (!g && !m) {\n var w = u.get(b);\n if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) 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);\n u.set(b, !(d > 2) || d);\n }\n applyDec(v ? e : e.prototype, p, y, m ? \"#\" + h : toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r);\n }\n }\n return l(o), l(a), i;\n }(e, t, o, f);\n return r.length || u(e, f), {\n e: p,\n get c() {\n var t = [];\n return r.length && [u(s(applyDec(e, [r], n, e.name, 5, f, t), \"class decorators\", \"return\") || e, f), c.bind(null, t, e)];\n }\n };\n}","import _typeof from \"./typeof.js\";\nexport default function _checkInRHS(e) {\n if (Object(e) !== e) throw TypeError(\"right-hand side of 'in' should be an object, got \" + (null !== e ? _typeof(e) : \"null\"));\n return e;\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 defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nexport default function _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["_EoStatisticsCard","defineElement","property","createDecorators","WrappedIcon","wrapBrick","_dec","styleTexts","styleText","_dec2","_dec3","_dec4","_dec5","attribute","_dec6","_dec7","_dec8","_dec9","_dec10","_dec11","type","Boolean","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_I","_J","EoStatisticsCard","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","writable","value","_initProto","_init_cardTitle","_init_value","_init_unit","_init_icon","_init_size","_init_outline","_init_background","_init_descriptionPosition","_init_valueStyle","_init_interactable","cardTitle","_classPrivateFieldGet","v","_classPrivateFieldSet","unit","icon","size","outline","background","descriptionPosition","valueStyle","interactable","render","React","EoStatisticsCardComponent","this","props","iconNode","useMemo","className","style","backgroundColor","bgColor","_extends","color","_objectSpread","name","title","_class","e","c","_initClass","_applyDecs","___CSS_LOADER_EXPORT___","push","module","id","toString","exports","cssWithMappingToString","list","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","setFunctionName","t","n","description","Object","defineProperty","configurable","applyDecs2305","r","o","a","call","s","TypeError","applyDec","u","l","f","p","d","h","m","y","g","b","w","Array","isArray","S","A","P","get","set","getOwnPropertyDescriptor","j","D","E","I","O","kind","metadata","addInitializer","Error","bind","F","N","access","has","init","Symbol","enumerable","create","checkInRHS","Map","prototype","toPropertyKey","_checkInRHS","_checkPrivateRedeclaration","obj","privateCollection","_classExtractFieldDescriptor","receiver","privateMap","action","descriptor","classExtractFieldDescriptor","_defineProperty","key","assign","target","source","hasOwnProperty","apply","ownKeys","keys","getOwnPropertySymbols","filter","_objectSpread2","forEach","getOwnPropertyDescriptors","defineProperties","toPrimitive","String","_typeof","iterator"],"sourceRoot":""}
|