@next-bricks/visual-builder 1.36.3 → 1.36.5
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 +20 -19
- package/dist/chunks/1722.a3a496a1.js +1 -0
- package/dist/chunks/5832.b82af898.js +3 -0
- package/dist/chunks/5832.b82af898.js.map +1 -0
- package/dist/chunks/get-raw-data-system-prompts.3b2d4429.js +2 -0
- package/dist/chunks/get-raw-data-system-prompts.3b2d4429.js.map +1 -0
- package/dist/chunks/main.85bd7468.js +2 -0
- package/dist/chunks/main.85bd7468.js.map +1 -0
- package/dist/chunks/raw-data-preview.ee326da1.js +3 -0
- package/dist/chunks/raw-data-preview.ee326da1.js.map +1 -0
- package/dist/chunks/workbench-action-list.d112a973.js +2 -0
- package/dist/chunks/workbench-action-list.d112a973.js.map +1 -0
- package/dist/chunks/workbench-action.81fda224.js +3 -0
- package/dist/chunks/workbench-action.81fda224.js.map +1 -0
- package/dist/examples.json +3 -0
- package/dist/index.58f4987e.js +2 -0
- package/dist/index.58f4987e.js.map +1 -0
- package/dist/manifest.json +114 -106
- package/dist/types.json +52 -0
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/data-providers/get-raw-data-system-prompts.d.ts +1 -0
- package/dist-types/raw-data-preview/index.d.ts +3 -1
- package/dist-types/raw-data-preview/raw-data-interfaces.d.ts +14 -1
- package/dist-types/workbench-action/index.d.ts +1 -0
- package/dist-types/workbench-action-list/index.d.ts +1 -0
- package/docs/raw-data-preview.md +1714 -0
- package/package.json +2 -2
- package/dist/chunks/5656.5d531c50.js +0 -3
- package/dist/chunks/5656.5d531c50.js.map +0 -1
- package/dist/chunks/main.d7d072ac.js +0 -2
- package/dist/chunks/main.d7d072ac.js.map +0 -1
- package/dist/chunks/raw-data-preview.28ca39b5.js +0 -3
- package/dist/chunks/raw-data-preview.28ca39b5.js.map +0 -1
- package/dist/chunks/workbench-action-list.4d784167.js +0 -2
- package/dist/chunks/workbench-action-list.4d784167.js.map +0 -1
- package/dist/chunks/workbench-action.fecc0cc7.js +0 -3
- package/dist/chunks/workbench-action.fecc0cc7.js.map +0 -1
- package/dist/index.fc1cf387.js +0 -2
- package/dist/index.fc1cf387.js.map +0 -1
- /package/dist/chunks/{5656.5d531c50.js.LICENSE.txt → 5832.b82af898.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{raw-data-preview.28ca39b5.js.LICENSE.txt → raw-data-preview.ee326da1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-action.fecc0cc7.js.LICENSE.txt → workbench-action.81fda224.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/workbench-action-list.d112a973.js","mappings":"+WAuBA,MAAMA,GAAyBC,EAAAA,EAAAA,WAC7B,oCAGI,cAAEC,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAAmB,IAAAC,EAAA,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAUvD,MAAAE,UAGkCC,EAAAA,iBAAiBC,WAAAA,GAAA,SAAAC,YAAAC,EAAAA,EAAAA,GAAA,KAAAP,EAAAQ,EAAA,QAAAD,EAAAA,EAAAA,GAAA,KAAAL,GAAAO,EAAA,MAAAC,EAAA,QAAAC,EAAA,eAC5BC,GAAK,OAAAC,EAAAA,EAAAA,GAAAb,EAAA,eAALY,CAAKE,IAAAC,EAAAA,EAAAA,GAAAf,EAAA,KAAAc,EAAA,SAKjBE,GAAI,OAAAH,EAAAA,EAAAA,GAAAX,EAAA,cAAJc,CAAIF,IAAAC,EAAAA,EAAAA,GAAAb,EAAA,KAAAY,EAAA,CAEbG,MAAAA,GACE,OAAOC,IAAAA,cAACC,EAA4B,CAACP,MAAOQ,KAAKR,MAAOI,KAAMI,KAAKJ,MACrE,EAGF,IAAIK,EAFHC,EAAAnB,IAAAoB,GAAAf,EAAAC,EAAAC,EAAAC,GAAAa,GAAAzB,EAAA0B,KAAAC,EAAAA,EAA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,GAAU,CAAC,IAEXrL,EAAamC,QAA2B,KAAjB+I,GACzBC,EAAW1J,KAAKyJ,GAEX,CACLlL,aAAcA,EACdmL,WAAYA,EACZC,YAAaA,EAEjB,CAEA,SAASiB,EACPgB,EACAC,GAEA,MAAMC,EAAU,IAAIC,gBAAgBH,GAC9B1M,EAAK,IAAI6M,gBAAgBF,GAC/B,IAAK,MAAOxM,EAAKyG,KAAU5G,EAAG8M,UAE5B,IAAKF,EAAQ1M,IAAIC,IAAQ,MAAQyG,EAC/B,OAAO,EAGX,OAAO,CACT,C","sources":["webpack:///./src/workbench-action-list/index.tsx","webpack:///./src/workbench-action-list/host-context.css","webpack:///./src/workbench-action-list/workbench-action-list.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///./src/workbench-action-list/host-context.css?28ab","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/applyDecs2311.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.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/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.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","webpack:///../../src/menu.ts"],"sourcesContent":["import React, { useState, useEffect } from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport { getHistory } from \"@next-core/runtime\";\nimport {\n WorkbenchAction,\n WorkbenchActionProps,\n} from \"../workbench-action/index.js\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport { initMenuItemAndMatchCurrentPathKeys } from \"@next-shared/general/menu\";\nimport {\n SidebarMenuSimpleItem,\n SidebarMenuItem,\n} from \"@next-shared/general/types\";\nimport { GeneralIconProps } from \"@next-bricks/icons/general-icon\";\nimport \"./host-context.css\";\nimport styleText from \"./workbench-action-list.shadow.css\";\n\nexport interface SidebarMenu {\n title?: string;\n icon?: GeneralIconProps;\n menuItems?: SidebarMenuItem[];\n}\n\nconst WrapperWorkbenchAction = wrapBrick<WorkbenchAction, WorkbenchActionProps>(\n \"visual-builder.workbench-action\"\n);\n\nconst { defineElement, property } = createDecorators();\n\ninterface WorkbenchActionListProps {\n appId?: string;\n menu: SidebarMenu;\n}\n\n/**\n * @insider\n */\n@defineElement(\"visual-builder.workbench-action-list\", {\n styleTexts: [styleText],\n})\nclass WorkbenchActionList extends ReactNextElement {\n @property() accessor appId: string | undefined;\n\n @property({\n attribute: false,\n })\n accessor menu!: SidebarMenu;\n\n render(): React.ReactNode {\n return <WorkbenchActionListComponent appId={this.appId} menu={this.menu} />;\n }\n}\n\nlet currentAppId: string;\nconst historyMap = new Map<number, string>();\n\nexport function WorkbenchActionListComponent({\n appId,\n menu,\n}: WorkbenchActionListProps) {\n const history = getHistory();\n const [activeIndex, setActiveIndex] = useState<number>();\n const [location, setLocation] = useState(history.location);\n\n useEffect(() => {\n const unlisten = history.listen((location) => {\n setLocation(location);\n });\n return unlisten;\n }, [history]);\n\n useEffect(() => {\n if (!currentAppId) currentAppId = appId;\n if (currentAppId !== appId) {\n historyMap.clear();\n currentAppId = appId;\n }\n }, [appId]);\n\n useEffect(() => {\n const { pathname, search } = location;\n\n const { selectedKeys } = initMenuItemAndMatchCurrentPathKeys(\n menu?.menuItems ?? [],\n pathname,\n search,\n \"\"\n );\n setActiveIndex(Number(selectedKeys[0]));\n }, [menu, location]);\n\n const handleLinkClick = (item: SidebarMenuItem): void => {\n if ((item as SidebarMenuSimpleItem).href) return;\n historyMap.set(activeIndex, `${location.pathname}${location.search}`);\n };\n\n const isSimpleMenuItem = (\n item: SidebarMenuItem\n ): item is SidebarMenuSimpleItem => {\n return item.type === \"default\" || !item.type;\n };\n\n return (\n <div className=\"workBenchActionList\">\n {menu?.menuItems\n ?.map((item, index) => {\n if (isSimpleMenuItem(item)) {\n let url = item.to;\n if (activeIndex !== index && historyMap.has(index)) {\n url = historyMap.get(index);\n }\n return (\n <WrapperWorkbenchAction\n key={index}\n icon={item.icon}\n to={url as string}\n href={item.href}\n target={item.target}\n active={activeIndex === index}\n onClick={() => handleLinkClick(item)}\n />\n );\n }\n })\n .filter(Boolean)}\n </div>\n );\n}\n\nexport { WorkbenchActionList };\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{--vb-workbench-action-list-background:#f8f8f8}html[data-theme=\"dark\"],\nhtml[data-theme=\"dark-v2\"]{--vb-workbench-action-list-background:#323237}`, \"\"]);\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, `.workBenchActionList{display:flex;flex-direction:column;width:min-content;height:100%;background-color:var(--vb-workbench-action-list-background)}`, \"\"]);\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;\noptions.insert = insertFn.bind(null, \"head\");\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 applyDecs2311(e, t, n, r, o, i) {\n var a,\n c,\n u,\n s,\n f,\n l,\n p,\n d = Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"),\n m = Object.defineProperty,\n h = Object.create,\n y = [h(null), h(null)],\n v = t.length;\n function g(t, n, r) {\n return function (o, i) {\n n && (i = o, o = e);\n for (var a = 0; a < t.length; a++) i = t[a].apply(o, r ? [i] : []);\n return r ? i : o;\n };\n }\n function b(e, t, n, r) {\n if (\"function\" != typeof e && (r || void 0 !== e)) throw new TypeError(t + \" must \" + (n || \"be\") + \" a function\" + (r ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, n, r, o, i, u, s, f, l, p) {\n function d(e) {\n if (!p(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var h = [].concat(t[0]),\n v = t[3],\n w = !u,\n D = 1 === o,\n S = 3 === o,\n j = 4 === o,\n E = 2 === o;\n function I(t, n, r) {\n return function (o, i) {\n return n && (i = o, o = e), r && r(o), P[t].call(o, i);\n };\n }\n if (!w) {\n var P = {},\n k = [],\n F = S ? \"get\" : j || D ? \"set\" : \"value\";\n if (f ? (l || D ? P = {\n get: setFunctionName(function () {\n return v(this);\n }, r, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : P[F] = v, l || setFunctionName(P[F], r, E ? \"\" : F)) : l || (P = Object.getOwnPropertyDescriptor(e, r)), !l && !f) {\n if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error(\"Decorating two elements with the same name (\" + P[F].name + \") is not supported yet\");\n y[+s][r] = o < 3 ? 1 : o;\n }\n }\n for (var N = e, O = h.length - 1; O >= 0; O -= n ? 2 : 1) {\n var z = b(h[O], \"A decorator\", \"be\", !0),\n A = n ? h[O - 1] : void 0,\n H = {},\n K = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: r,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw Error(\"attempted to call addInitializer after decoration was finished\");\n b(t, \"An initializer\", \"be\", !0), i.push(t);\n }.bind(null, H)\n };\n if (w) c = z.call(A, N, K), H.v = 1, b(c, \"class decorators\", \"return\") && (N = c);else if (K[\"static\"] = s, K[\"private\"] = f, c = K.access = {\n has: f ? p.bind() : function (e) {\n return r in e;\n }\n }, j || (c.get = f ? E ? function (e) {\n return d(e), P.value;\n } : I(\"get\", 0, d) : function (e) {\n return e[r];\n }), E || S || (c.set = f ? I(\"set\", 0, d) : function (e, t) {\n e[r] = t;\n }), N = z.call(A, D ? {\n get: P.get,\n set: P.set\n } : P[F], K), H.v = 1, D) {\n if (\"object\" == _typeof(N) && N) (c = b(N.get, \"accessor.get\")) && (P.get = c), (c = b(N.set, \"accessor.set\")) && (P.set = c), (c = b(N.init, \"accessor.init\")) && k.unshift(c);else if (void 0 !== N) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or undefined\");\n } else b(N, (l ? \"field\" : \"method\") + \" decorators\", \"return\") && (l ? k.unshift(N) : P[F] = N);\n }\n return o < 2 && u.push(g(k, s, 1), g(i, s, 0)), l || w || (f ? D ? u.splice(-1, 0, I(\"get\", s), I(\"set\", s)) : u.push(E ? P[F] : b.call.bind(P[F])) : m(e, r, P)), N;\n }\n function w(e) {\n return m(e, d, {\n configurable: !0,\n enumerable: !0,\n value: a\n });\n }\n return void 0 !== i && (a = i[d]), a = h(null == a ? null : a), f = [], l = function l(e) {\n e && f.push(g(e));\n }, p = function p(t, r) {\n for (var i = 0; i < n.length; i++) {\n var a = n[i],\n c = a[1],\n l = 7 & c;\n if ((8 & c) == t && !l == r) {\n var p = a[2],\n d = !!a[3],\n m = 16 & c;\n applyDec(t ? e : e.prototype, a, m, d ? \"#\" + p : toPropertyKey(p), l, l < 2 ? [] : t ? s = s || [] : u = u || [], f, !!t, d, r, t && d ? function (t) {\n return checkInRHS(t) === e;\n } : o);\n }\n }\n }, p(8, 0), p(0, 0), p(8, 1), p(0, 1), l(u), l(s), c = f, v || w(e), {\n e: c,\n get c() {\n var n = [];\n return v && [w(e = applyDec(e, [t], r, e.name, 5, n)), g(n, 1)];\n }\n };\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\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}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\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 : 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}","import { Location, parsePath } from \"history\";\nimport { matchPath } from \"@next-core/runtime\";\nimport type {\n SidebarMenuSimpleItem,\n SidebarMenuItem,\n SidebarMenuGroup,\n} from \"./types.js\";\nimport { isObject } from \"lodash\";\n\nexport function isGroup(item: SidebarMenuItem): item is SidebarMenuGroup {\n return item.type === \"group\";\n}\n\nexport function isSubMenu(\n item: SidebarMenuItem,\n groupAsSubMenu?: boolean\n): item is SidebarMenuGroup {\n return Boolean(\n item.type === \"subMenu\" || (groupAsSubMenu && item.type === \"group\")\n );\n}\n\nexport function initMenuItemAndMatchCurrentPathKeys(\n menuItems: SidebarMenuItem[],\n pathname: string,\n search: string,\n parentCursor: string\n): {\n selectedKeys: string[];\n openedKeys: string[];\n matchedKeys: string[];\n} {\n const selectedKeys: string[] = [];\n const openedKeys: string[] = [];\n const matchedKeys: string[] = [];\n\n let cursor = 0;\n menuItems &&\n menuItems.forEach((item) => {\n // key的格式最终为0,1,2,0.1,0.2,0.1.1,0.1.2\n item.key =\n parentCursor === \"\" ? `${cursor}` : `${parentCursor}.${cursor}`;\n if (isGroup(item) || isSubMenu(item)) {\n const tmp = initMenuItemAndMatchCurrentPathKeys(\n item.items,\n pathname,\n search,\n item.key\n );\n selectedKeys.push(...tmp.selectedKeys);\n if (tmp.selectedKeys.length || item.defaultExpanded) {\n openedKeys.push(item.key);\n }\n openedKeys.push(...tmp.openedKeys);\n matchedKeys.push(...tmp.matchedKeys);\n } else {\n if (matchMenuItem(item, pathname, search)) {\n selectedKeys.push(String(item.key));\n\n const keyPath = item.key.split(\".\");\n\n for (let i = 0; i < keyPath.length; i++) {\n matchedKeys.push(keyPath.slice(0, i + 1).join(\".\"));\n }\n }\n }\n cursor += 1;\n });\n if (selectedKeys.length && parentCursor !== \"\") {\n openedKeys.push(parentCursor);\n }\n return {\n selectedKeys: selectedKeys,\n openedKeys: openedKeys,\n matchedKeys: matchedKeys,\n };\n}\n\nfunction getMatchOfSearch(\n currentSearch: string,\n toSearch: string | undefined\n): boolean {\n const current = new URLSearchParams(currentSearch);\n const to = new URLSearchParams(toSearch);\n for (const [key, value] of to.entries()) {\n // Allow `?k=` to match `?` (when `k` doesn't exist)\n if ((current.get(key) ?? \"\") !== value) {\n return false;\n }\n }\n return true;\n}\n\nexport function matchMenuItem(\n item: SidebarMenuSimpleItem,\n pathname: string,\n search: string\n): boolean {\n if (!item.to) return false;\n const to = typeof item.to === \"object\" ? item.to : parsePath(item.to);\n\n // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202\n const escapedPath = to.pathname!.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n\n let match = !!matchPath(pathname, {\n path: escapedPath,\n exact: item.exact,\n });\n\n if (match && item.activeMatchSearch) {\n match = getMatchOfSearch(search, to.search);\n }\n\n if (!match && Array.isArray(item.activeIncludes)) {\n for (const include of item.activeIncludes) {\n let paths: string[];\n let exact: boolean | undefined = true;\n\n if (isObject(include)) {\n paths = Array.isArray(include.path) ? include.path : [include.path];\n exact = include.exact;\n } else {\n paths = [include];\n }\n\n for (const path of paths) {\n let parsedPath: Location | undefined;\n const hasSearch = path.includes(\"?\");\n\n if (hasSearch) {\n parsedPath = parsePath(path);\n }\n match = !!matchPath(pathname, {\n path: hasSearch ? parsedPath!.pathname : path,\n exact,\n });\n\n if (match && parsedPath?.search) {\n match = getMatchOfSearch(search, parsedPath.search);\n }\n\n if (match) {\n break;\n }\n }\n\n if (match) {\n break;\n }\n }\n }\n\n if (match && Array.isArray(item.activeExcludes)) {\n for (const include of item.activeExcludes) {\n let paths: string[];\n let exact: boolean | undefined = true;\n\n if (isObject(include)) {\n paths = Array.isArray(include.path) ? include.path : [include.path];\n exact = include.exact;\n } else {\n paths = [include];\n }\n\n for (const path of paths) {\n match = !matchPath(pathname, {\n path,\n exact,\n });\n\n if (!match) {\n break;\n }\n }\n\n if (!match) {\n break;\n }\n }\n }\n\n return match;\n}\n"],"names":["WrapperWorkbenchAction","wrapBrick","defineElement","property","createDecorators","_WorkbenchActionList","_A","WeakMap","_B","WorkbenchActionList","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","_init_appId","_init_extra_appId","_init_menu","_init_extra_menu","appId","_classPrivateFieldGet","v","_classPrivateFieldSet","menu","render","React","WorkbenchActionListComponent","this","currentAppId","_WorkbenchActionList2","e","c","_initClass","_applyDecs","styleTexts","styleText","attribute","historyMap","Map","_ref","_menu$menuItems","history","getHistory","activeIndex","setActiveIndex","useState","location","setLocation","useEffect","unlisten","listen","clear","pathname","search","selectedKeys","initMenuItemAndMatchCurrentPathKeys","menuItems","Number","className","map","item","index","type","isSimpleMenuItem","url","to","has","get","key","icon","href","target","active","onClick","set","handleLinkClick","filter","Boolean","___CSS_LOADER_EXPORT___","push","module","id","toString","exports","cssWithMappingToString","list","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","_k","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","newLastIdentifiers","_i","_index","memo","style","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","element","createElement","attributes","styleElement","nonce","setAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","setFunctionName","t","n","description","Object","defineProperty","configurable","value","applyDecs2311","r","o","a","u","s","f","l","p","d","Symbol","metadata","m","h","create","y","g","b","TypeError","applyDec","w","D","S","j","E","I","P","call","F","getOwnPropertyDescriptor","name","N","O","z","A","H","K","kind","addInitializer","bind","access","init","unshift","enumerable","prototype","toPropertyKey","checkInRHS","_assertClassBrand","_checkInRHS","_checkPrivateRedeclaration","privateCollection","_classPrivateFieldGet2","privateMap","_classPrivateFieldSet2","toPrimitive","String","_typeof","iterator","parentCursor","openedKeys","matchedKeys","cursor","forEach","isGroup","groupAsSubMenu","isSubMenu","tmp","items","defaultExpanded","parsePath","escapedPath","replace","match","matchPath","path","exact","activeMatchSearch","getMatchOfSearch","Array","isArray","activeIncludes","include","paths","isObject","_parsedPath","parsedPath","hasSearch","includes","activeExcludes","matchMenuItem","keyPath","split","slice","currentSearch","toSearch","current","URLSearchParams","entries"],"sourceRoot":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see workbench-action.81fda224.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunk_next_bricks_visual_builder=globalThis.webpackChunk_next_bricks_visual_builder||[]).push([[5425,2052],{1959:(t,e,r)=>{"use strict";r.r(e),r.d(e,{WorkbenchAction:()=>O});var n,o=r(918),i=r(6121),a=r(829),c=r(2740),s=r(8769),u=r.n(s),l=r(4782),f=r(1389),p=r(3373),h=r.n(p),d=(r(1754),r(5292));let v,b,m,y,g,A,w,k,x,S,E;const{defineElement:T,property:j}=(0,l.createDecorators)(),M=(0,f.wrapBrick)("eo-link"),C=(0,f.wrapBrick)("eo-icon");let O;var P=new WeakMap,I=new WeakMap,_=new WeakMap,N=new WeakMap,W=new WeakMap;class z extends f.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,P,b(this)),(0,o.A)(this,I,(m(this),y(this))),(0,o.A)(this,_,(g(this),A(this))),(0,o.A)(this,N,(w(this),k(this))),(0,o.A)(this,W,(x(this),S(this))),E(this)}get icon(){return(0,a.A)(P,this)}set icon(t){(0,i.A)(P,this,t)}get to(){return(0,a.A)(I,this)}set to(t){(0,i.A)(I,this,t)}get active(){return(0,a.A)(_,this)}set active(t){(0,i.A)(_,this,t)}get href(){return(0,a.A)(N,this)}set href(t){(0,i.A)(N,this,t)}get target(){return(0,a.A)(W,this)}set target(t){(0,i.A)(W,this,t)}render(){return u().createElement(D,{to:this.to,icon:this.icon,active:this.active,href:this.href,target:this.target})}}function D(t){let{icon:e,to:r,active:n,href:o,target:i}=t;return u().createElement(M,{className:h()("action",{active:n}),url:r,href:o,target:i},u().createElement(C,e))}n=z,({e:[b,m,y,g,A,w,k,x,S,E],c:[O,v]}=(0,c.A)(n,[T("visual-builder.workbench-action",{styleTexts:[d.A]})],[[j({attribute:!1}),1,"icon"],[j(),1,"to"],[j({type:Boolean}),1,"active"],[j(),1,"href"],[j(),1,"target"]],0,void 0,f.ReactNextElement)),v()},2984:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([t.id,':root{--vb-workbench-action-color:#616161;--vb-workbench-action-active-color:#1f1f1f;--vb-workbench-action-active-border-color:#005fb8}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--vb-workbench-action-color:rgba(255,255,255,0.4);--vb-workbench-action-active-color:#fff;--vb-workbench-action-active-border-color:#fff}',""]);const c=a},5292:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(6758),o=r.n(n),i=r(935),a=r.n(i)()(o());a.push([t.id,'.action::part(link){display:flex;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;color:var(--vb-workbench-action-color);position:relative;transition:none}.action.active::part(link)::before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:var(--vb-workbench-action-active-border-color)}.action.active::part(link),\n.action::part(link):hover{color:var(--vb-workbench-active-color)}',""]);const c=a.toString()},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&a[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),r&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=r):l[2]=r),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),e.push(l))}},e}},6758:t=>{"use strict";t.exports=function(t){return t[1]}},1754:(t,e,r)=>{"use strict";var n=r(2591),o=r.n(n),i=r(1740),a=r.n(i),c=r(8128),s=r.n(c),u=r(855),l=r.n(u),f=r(3051),p=r.n(f),h=r(3656),d=r.n(h),v=r(2984),b={};b.styleTagTransform=d(),b.setAttributes=l(),b.insert=s().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=p(),o()(v.A,b),v.A&&v.A.locals&&v.A.locals},2591:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var i={},a=[],c=0;c<t.length;c++){var s=t[c],u=n.base?s[0]+n.base:s[0],l=i[u]||0,f="".concat(u," ").concat(l);i[u]=l+1;var p=r(f),h={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)e[p].references++,e[p].updater(h);else{var d=o(h,n);n.byIndex=c,e.splice(c,0,{identifier:f,updater:d,references:1})}a.push(f)}return a}function o(t,e){var r=e.domAPI(e);return r.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var i=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var c=r(i[a]);e[c].references--}for(var s=n(t,o),u=0;u<i.length;u++){var l=r(i[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}i=s}}},8128:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);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(r)}},3051:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},855:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},1740:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var i=r.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},3656:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},3373:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=a(t,i(r)))}return t}function i(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=a(e,r));return e}function a(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},2740:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(7545),o=r(6902);function i(t,e,r){"symbol"==(0,n.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:r?r+" "+e:e})}catch(t){}return t}var a=r(1369);function c(t,e,r,c,s,u){var l,f,p,h,d,v,b,m=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,A=[g(null),g(null)],w=e.length;function k(e,r,n){return function(o,i){r&&(i=o,o=t);for(var a=0;a<e.length;a++)i=e[a].apply(o,n?[i]:[]);return n?i:o}}function x(t,e,r,n){if("function"!=typeof t&&(n||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return t}function S(t,e,r,o,a,c,s,u,p,h,d){function v(t){if(!d(t))throw new TypeError("Attempted to access private element on non-instance")}var b=[].concat(e[0]),m=e[3],g=!s,w=1===a,S=3===a,E=4===a,T=2===a;function j(e,r,n){return function(o,i){return r&&(i=o,o=t),n&&n(o),M[e].call(o,i)}}if(!g){var M={},C=[],O=S?"get":E||w?"set":"value";if(p?(h||w?M={get:i((function(){return m(this)}),o,"get"),set:function(t){e[4](this,t)}}:M[O]=m,h||i(M[O],o,T?"":O)):h||(M=Object.getOwnPropertyDescriptor(t,o)),!h&&!p){if((f=A[+u][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+M[O].name+") is not supported yet");A[+u][o]=a<3?1:a}}for(var P=t,I=b.length-1;I>=0;I-=r?2:1){var _=x(b[I],"A decorator","be",!0),N=r?b[I-1]:void 0,W={},z={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");x(e,"An initializer","be",!0),c.push(e)}.bind(null,W)};if(g)f=_.call(N,P,z),W.v=1,x(f,"class decorators","return")&&(P=f);else if(z.static=u,z.private=p,f=z.access={has:p?d.bind():function(t){return o in t}},E||(f.get=p?T?function(t){return v(t),M.value}:j("get",0,v):function(t){return t[o]}),T||S||(f.set=p?j("set",0,v):function(t,e){t[o]=e}),P=_.call(N,w?{get:M.get,set:M.set}:M[O],z),W.v=1,w){if("object"==(0,n.A)(P)&&P)(f=x(P.get,"accessor.get"))&&(M.get=f),(f=x(P.set,"accessor.set"))&&(M.set=f),(f=x(P.init,"accessor.init"))&&C.unshift(f);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(P,(h?"field":"method")+" decorators","return")&&(h?C.unshift(P):M[O]=P)}return a<2&&s.push(k(C,u,1),k(c,u,0)),h||g||(p?w?s.splice(-1,0,j("get",u),j("set",u)):s.push(T?M[O]:x.call.bind(M[O])):y(t,o,M)),P}function E(t){return y(t,m,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[m]),l=g(null==l?null:l),d=[],v=function(t){t&&d.push(k(t))},b=function(e,n){for(var i=0;i<r.length;i++){var c=r[i],u=c[1],l=7&u;if((8&u)==e&&!l==n){var f=c[2],v=!!c[3],b=16&u;S(e?t:t.prototype,c,b,v?"#"+f:(0,a.A)(f),l,l<2?[]:e?h=h||[]:p=p||[],d,!!e,v,n,e&&v?function(e){return(0,o.A)(e)===t}:s)}}},b(8,0),b(0,0),b(8,1),b(0,1),v(p),v(h),f=d,w||E(t),{e:f,get c(){var r=[];return w&&[E(t=S(t,[e],c,t.name,5,r)),k(r,1)]}}}},2559:(t,e,r)=>{"use strict";function n(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r.d(e,{A:()=>n})},6902:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(7545);function o(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,n.A)(t):"null"));return t}},2016:(t,e,r)=>{"use strict";function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}r.d(e,{A:()=>n})},829:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2559);function o(t,e){return t.get((0,n.A)(t,e))}},918:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2016);function o(t,e,r){(0,n.A)(t,e),e.set(t,r)}},6121:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(2559);function o(t,e,r){return t.set((0,n.A)(t,e),r),r}},1369:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(7545);function o(t){var e=function(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,"string");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,n.A)(e)?e:e+""}},7545:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})}}]);
|
|
3
|
+
//# sourceMappingURL=workbench-action.81fda224.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunks/workbench-action.81fda224.js","mappings":";qVAYA,MAAM,cAAEA,EAAa,SAAEC,IAAaC,EAAAA,EAAAA,oBAE9BC,GAAWC,EAAAA,EAAAA,WAA2B,WACtCC,GAAcD,EAAAA,EAAAA,WAAyC,WAAW,IAAAE,EAAA,IAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAcxE,MAAAK,UAG8BC,EAAAA,iBAAiBC,WAAAA,GAAA,SAAAC,YAAAC,EAAAA,EAAAA,GAAA,KAAAV,EAAAW,EAAA,QAAAD,EAAAA,EAAAA,GAAA,KAAAR,GAAAU,EAAA,MAAAC,EAAA,SAAAH,EAAAA,EAAAA,GAAA,KAAAP,GAAAW,EAAA,MAAAC,EAAA,SAAAL,EAAAA,EAAAA,GAAA,KAAAN,GAAAY,EAAA,MAAAC,EAAA,SAAAP,EAAAA,EAAAA,GAAA,KAAAL,GAAAa,EAAA,MAAAC,EAAA,QAAAC,EAAA,cAIpCC,GAAI,OAAAC,EAAAA,EAAAA,GAAAtB,EAAA,cAAJqB,CAAIE,IAAAC,EAAAA,EAAAA,GAAAxB,EAAA,KAAAuB,EAAA,OAEQE,GAAE,OAAAH,EAAAA,EAAAA,GAAApB,EAAA,YAAFuB,CAAEF,IAAAC,EAAAA,EAAAA,GAAAtB,EAAA,KAAAqB,EAAA,WAKdG,GAAM,OAAAJ,EAAAA,EAAAA,G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AAO6C,aACjB,QAAI,IAAWjL,EAAG,CAChB,IAAIwB,EAAIxB,EAAEgH,KAAKK,EAAGM,UAClB,GAAI,WAAY,OAAQnG,GAAI,OAAOA,EACnC,MAAM,IAAIoH,UAAU,+CACtB,CACA,OAAyBsC,OAAiB7D,EAC5C,CDPU4D,CAAY5D,GACpB,MAAO,WAAY,OAAQ7F,GAAKA,EAAIA,EAAI,EAC1C,+BELe,SAAS2J,EAAQvD,GAG9B,OAAOuD,EAAU,mBAAqB/C,QAAU,iBAAmBA,OAAOgD,SAAW,SAAUxD,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBQ,QAAUR,EAAE1J,cAAgBkK,QAAUR,IAAMQ,OAAOvB,UAAY,gBAAkBe,CACpH,EAAGuD,EAAQvD,EACb","sources":["webpack:///./src/workbench-action/index.tsx","webpack:///./src/workbench-action/host-context.css","webpack:///./src/workbench-action/workbench-action.shadow.css","webpack:///../../node_modules/css-loader/dist/runtime/api.js","webpack:///../../node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack:///./src/workbench-action/host-context.css?4509","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/classnames/index.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/setFunctionName.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/applyDecs2311.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.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/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.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 from \"react\";\nimport { createDecorators } from \"@next-core/element\";\nimport type { Link, LinkProps } from \"@next-bricks/basic/link\";\nimport type {\n GeneralIcon,\n GeneralIconProps,\n} from \"@next-bricks/icons/general-icon\";\nimport { ReactNextElement, wrapBrick } from \"@next-core/react-element\";\nimport classNames from \"classnames\";\nimport \"./host-context.css\";\nimport styleText from \"./workbench-action.shadow.css\";\n\nconst { defineElement, property } = createDecorators();\n\nconst WrapLink = wrapBrick<Link, LinkProps>(\"eo-link\");\nconst WrappedIcon = wrapBrick<GeneralIcon, GeneralIconProps>(\"eo-icon\");\n\nexport interface WorkbenchActionProps {\n icon?: GeneralIconProps;\n to?: string;\n target?: string;\n active?: boolean;\n href?: string;\n}\n\n/**\n * @insider\n */\nexport\n@defineElement(\"visual-builder.workbench-action\", {\n styleTexts: [styleText],\n})\nclass WorkbenchAction extends ReactNextElement {\n @property({\n attribute: false,\n })\n accessor icon: GeneralIconProps | undefined;\n\n @property() accessor to: string | undefined;\n\n @property({\n type: Boolean,\n })\n accessor active: boolean | undefined;\n\n @property() accessor href: string | undefined;\n\n @property() accessor target: string | undefined;\n\n render(): React.ReactNode {\n return (\n <WorkbenchActionComponent\n to={this.to}\n icon={this.icon}\n active={this.active}\n href={this.href}\n target={this.target}\n />\n );\n }\n}\n\nfunction WorkbenchActionComponent({\n icon,\n to,\n active,\n href,\n target,\n}: WorkbenchActionProps) {\n return (\n <WrapLink\n className={classNames(\"action\", { active })}\n url={to}\n href={href}\n target={target as LinkProps[\"target\"]}\n >\n <WrappedIcon {...icon} />\n </WrapLink>\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, `:root{--vb-workbench-action-color:#616161;--vb-workbench-action-active-color:#1f1f1f;--vb-workbench-action-active-border-color:#005fb8}html[data-theme=\"dark\"],\nhtml[data-theme=\"dark-v2\"]{--vb-workbench-action-color:rgba(255,255,255,0.4);--vb-workbench-action-active-color:#fff;--vb-workbench-action-active-border-color:#fff}`, \"\"]);\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, `.action::part(link){display:flex;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;color:var(--vb-workbench-action-color);position:relative;transition:none}.action.active::part(link)::before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:var(--vb-workbench-action-active-border-color)}.action.active::part(link),\n.action::part(link):hover{color:var(--vb-workbench-active-color)}`, \"\"]);\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;\noptions.insert = insertFn.bind(null, \"head\");\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;","/*!\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\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) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\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","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 applyDecs2311(e, t, n, r, o, i) {\n var a,\n c,\n u,\n s,\n f,\n l,\n p,\n d = Symbol.metadata || Symbol[\"for\"](\"Symbol.metadata\"),\n m = Object.defineProperty,\n h = Object.create,\n y = [h(null), h(null)],\n v = t.length;\n function g(t, n, r) {\n return function (o, i) {\n n && (i = o, o = e);\n for (var a = 0; a < t.length; a++) i = t[a].apply(o, r ? [i] : []);\n return r ? i : o;\n };\n }\n function b(e, t, n, r) {\n if (\"function\" != typeof e && (r || void 0 !== e)) throw new TypeError(t + \" must \" + (n || \"be\") + \" a function\" + (r ? \"\" : \" or undefined\"));\n return e;\n }\n function applyDec(e, t, n, r, o, i, u, s, f, l, p) {\n function d(e) {\n if (!p(e)) throw new TypeError(\"Attempted to access private element on non-instance\");\n }\n var h = [].concat(t[0]),\n v = t[3],\n w = !u,\n D = 1 === o,\n S = 3 === o,\n j = 4 === o,\n E = 2 === o;\n function I(t, n, r) {\n return function (o, i) {\n return n && (i = o, o = e), r && r(o), P[t].call(o, i);\n };\n }\n if (!w) {\n var P = {},\n k = [],\n F = S ? \"get\" : j || D ? \"set\" : \"value\";\n if (f ? (l || D ? P = {\n get: setFunctionName(function () {\n return v(this);\n }, r, \"get\"),\n set: function set(e) {\n t[4](this, e);\n }\n } : P[F] = v, l || setFunctionName(P[F], r, E ? \"\" : F)) : l || (P = Object.getOwnPropertyDescriptor(e, r)), !l && !f) {\n if ((c = y[+s][r]) && 7 != (c ^ o)) throw Error(\"Decorating two elements with the same name (\" + P[F].name + \") is not supported yet\");\n y[+s][r] = o < 3 ? 1 : o;\n }\n }\n for (var N = e, O = h.length - 1; O >= 0; O -= n ? 2 : 1) {\n var z = b(h[O], \"A decorator\", \"be\", !0),\n A = n ? h[O - 1] : void 0,\n H = {},\n K = {\n kind: [\"field\", \"accessor\", \"method\", \"getter\", \"setter\", \"class\"][o],\n name: r,\n metadata: a,\n addInitializer: function (e, t) {\n if (e.v) throw Error(\"attempted to call addInitializer after decoration was finished\");\n b(t, \"An initializer\", \"be\", !0), i.push(t);\n }.bind(null, H)\n };\n if (w) c = z.call(A, N, K), H.v = 1, b(c, \"class decorators\", \"return\") && (N = c);else if (K[\"static\"] = s, K[\"private\"] = f, c = K.access = {\n has: f ? p.bind() : function (e) {\n return r in e;\n }\n }, j || (c.get = f ? E ? function (e) {\n return d(e), P.value;\n } : I(\"get\", 0, d) : function (e) {\n return e[r];\n }), E || S || (c.set = f ? I(\"set\", 0, d) : function (e, t) {\n e[r] = t;\n }), N = z.call(A, D ? {\n get: P.get,\n set: P.set\n } : P[F], K), H.v = 1, D) {\n if (\"object\" == _typeof(N) && N) (c = b(N.get, \"accessor.get\")) && (P.get = c), (c = b(N.set, \"accessor.set\")) && (P.set = c), (c = b(N.init, \"accessor.init\")) && k.unshift(c);else if (void 0 !== N) throw new TypeError(\"accessor decorators must return an object with get, set, or init properties or undefined\");\n } else b(N, (l ? \"field\" : \"method\") + \" decorators\", \"return\") && (l ? k.unshift(N) : P[F] = N);\n }\n return o < 2 && u.push(g(k, s, 1), g(i, s, 0)), l || w || (f ? D ? u.splice(-1, 0, I(\"get\", s), I(\"set\", s)) : u.push(E ? P[F] : b.call.bind(P[F])) : m(e, r, P)), N;\n }\n function w(e) {\n return m(e, d, {\n configurable: !0,\n enumerable: !0,\n value: a\n });\n }\n return void 0 !== i && (a = i[d]), a = h(null == a ? null : a), f = [], l = function l(e) {\n e && f.push(g(e));\n }, p = function p(t, r) {\n for (var i = 0; i < n.length; i++) {\n var a = n[i],\n c = a[1],\n l = 7 & c;\n if ((8 & c) == t && !l == r) {\n var p = a[2],\n d = !!a[3],\n m = 16 & c;\n applyDec(t ? e : e.prototype, a, m, d ? \"#\" + p : toPropertyKey(p), l, l < 2 ? [] : t ? s = s || [] : u = u || [], f, !!t, d, r, t && d ? function (t) {\n return checkInRHS(t) === e;\n } : o);\n }\n }\n }, p(8, 0), p(0, 0), p(8, 1), p(0, 1), l(u), l(s), c = f, v || w(e), {\n e: c,\n get c() {\n var n = [];\n return v && [w(e = applyDec(e, [t], r, e.name, 5, n)), g(n, 1)];\n }\n };\n}","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\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}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\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 : 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":["defineElement","property","createDecorators","WrapLink","wrapBrick","WrappedIcon","_WorkbenchAction","_A","WeakMap","_B","_C","_D","_E","WorkbenchAction","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","_init_icon","_init_extra_icon","_init_to","_init_extra_to","_init_active","_init_extra_active","_init_href","_init_extra_href","_init_target","_init_extra_target","icon","_classPrivateFieldGet","v","_classPrivateFieldSet","to","active","href","target","render","React","WorkbenchActionComponent","this","_ref","className","classNames","url","_WorkbenchAction2","e","c","_initClass","_applyDecs","styleTexts","styleText","attribute","type","Boolean","___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","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","style","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","element","createElement","attributes","styleElement","nonce","setAttribute","btoa","unescape","encodeURIComponent","JSON","stringify","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","hasOwn","hasOwnProperty","classes","arg","appendClass","parseValue","Array","isArray","Object","prototype","includes","key","call","value","newClass","default","setFunctionName","t","n","description","defineProperty","configurable","applyDecs2311","r","o","a","u","s","f","l","p","d","Symbol","metadata","m","h","create","y","g","b","TypeError","applyDec","w","D","S","j","E","I","P","F","get","set","getOwnPropertyDescriptor","name","N","O","z","A","H","K","kind","addInitializer","bind","access","has","init","unshift","enumerable","toPropertyKey","checkInRHS","_assertClassBrand","_checkInRHS","_checkPrivateRedeclaration","privateCollection","_classPrivateFieldGet2","privateMap","_classPrivateFieldSet2","toPrimitive","String","_typeof","iterator"],"sourceRoot":""}
|
package/dist/examples.json
CHANGED
|
@@ -10,5 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"visual-builder.property-editor": {
|
|
12
12
|
"doc": "构件 `visual-builder.property-editor`\n\n## Examples\n\n### Basic\n\n```yaml preview\n- brick: eo-select\n properties:\n label: 选择一个构件\n value: eo-button\n options: <% MISC.local_editors %>\n style:\n display: block\n marginBottom: 2em\n events:\n change:\n target: \"#editor\"\n properties:\n editorName: <% EVENT.detail.value %>\n- brick: visual-builder.property-editor\n properties:\n id: editor\n editorName: eo-button\n advancedMode: <%= CTX.isAdvanced %>\n events:\n validate.success:\n - action: console.log\n validate.error:\n - action: console.log\n- brick: eo-search-bar\n context:\n - name: isAdvanced\n value: false\n children:\n - brick: eo-button\n slot: start\n properties:\n textContent: Submit\n events:\n click:\n - target: \"#editor\"\n method: validate\n - brick: eo-link\n slot: end\n properties:\n textContent: |\n <%= `切换到${CTX.isAdvanced ? \"普通\" : \"高级\"}模式` %>\n events:\n click:\n - action: context.replace\n args:\n - isAdvanced\n - <% !CTX.isAdvanced %>\n# -- YAML DELIMITER (1nbbm8) --\n# <eo-select\n# label=\"选择一个构件\"\n# value=\"eo-button\"\n# options=\"<% MISC.local_editors %>\"\n# style=\"display: block; margin-bottom: 2em\"\n# id=\"brick-1\"\n# ></eo-select>\n# <visual-builder.property-editor\n# editor-name=\"eo-button\"\n# advanced-mode\n# id=\"editor\"\n# ></visual-builder.property-editor>\n# <eo-search-bar>\n# <eo-button slot=\"start\" id=\"brick-2\">Submit</eo-button>\n# <eo-link slot=\"end\" id=\"brick-3\">\n# <%= `切换到${CTX.isAdvanced ? \"普通\" : \"高级\"}模式` %>\n# </eo-link>\n# </eo-search-bar>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.addEventListener(\"change\", (e) => {\n# const brick = document.querySelector(\"#editor\");\n# brick.editorName = \"<% EVENT.detail.value %>\";\n# });\n# \n# const editor = document.getElementById(\"editor\");\n# editor.addEventListener(\"validate.success\", (e) => {\n# console.log(e.detail);\n# });\n# editor.addEventListener(\"validate.error\", (e) => {\n# console.log(e.detail);\n# });\n# \n# const brick_2 = document.getElementById(\"brick-2\");\n# brick_2.addEventListener(\"click\", (e) => {\n# const brick = document.querySelector(\"#editor\");\n# brick.validate();\n# });\n# \n# const brick_3 = document.getElementById(\"brick-3\");\n# brick_3.addEventListener(\"click\", (e) => {\n# // WARN: encountered incompatible event handlers in HTML mode, please try YAML.\n# });\n# </script>\n# \n```\n"
|
|
13
|
+
},
|
|
14
|
+
"visual-builder.raw-data-preview": {
|
|
15
|
+
"doc": "构件 `visual-builder.raw-data-preview`\n\n```yaml preview minHeight=\"500px\"\nbrick: visual-builder.raw-data-preview\nproperties:\n previewUrl: /preview/\n theme: <% THEME.getTheme() %>\n uiVersion: \"8.2\"\n style:\n height: calc(100vh - 4em)\n generations:\n - generationId: 6202dcb92c165\n objectId: IDEA\n objectName: 想法\n propertyId: predictDeliveryTime\n propertyName: 预计交付时间\n propertyInstanceId: 61df43df88cc1\n instanceId: 6202dcb92c165\n candidates:\n - display: text\n formatter:\n format: relative\n type: date-time\n type: date-time\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date-time\n type: date-time\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 2\n - generationId: 6202d9c17c601\n objectId: IDEA\n objectName: 想法\n propertyId: gradeInfo\n propertyName: 评价信息\n propertyInstanceId: 61df43df88d25\n instanceId: 6202d9c17c601\n candidates:\n - display: text\n field: grade\n type: struct\n visualWeight: 0\n - display: link\n field: memo\n type: struct\n visualWeight: 1\n - display: tag\n field: gradeTime\n type: struct\n visualWeight: 2\n - generationId: 6202d9c1824ed\n objectId: IDEA\n objectName: 想法\n propertyId: createRole\n propertyName: 创建idea的用户角色\n propertyInstanceId: 61df43df88d89\n instanceId: 6202d9c1824ed\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c17d9ed\n objectId: IDEA\n objectName: 想法\n propertyId: pmoReviewComment\n propertyName: PMO评审意见\n propertyInstanceId: 61df43df88ded\n instanceId: 6202d9c17d9ed\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c17d8c1\n objectId: IDEA\n objectName: 想法\n propertyId: value\n propertyName: 想法价值\n propertyInstanceId: 61df43df88e51\n instanceId: 6202d9c17d8c1\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202dcb90ef61\n objectId: IDEA\n objectName: 想法\n propertyId: planStartDate\n propertyName: 计划开始日期\n propertyInstanceId: 61df43df88eb5\n instanceId: 6202dcb90ef61\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n - generationId: 6202dcb90c081\n objectId: IDEA\n objectName: 想法\n propertyId: planStartTime\n propertyName: 计划开始时间\n propertyInstanceId: 61df43df88f19\n instanceId: 6202dcb90c081\n candidates:\n - display: text\n formatter:\n format: relative\n type: date-time\n type: date-time\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date-time\n type: date-time\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 2\n - generationId: 6202d9c198f09\n objectId: IDEA\n objectName: 想法\n propertyId: stage\n propertyName: 项目阶段\n propertyInstanceId: 61df43df88f7d\n instanceId: 6202d9c198f09\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202dcb94428d\n objectId: IDEA\n objectName: 想法\n propertyId: pmoReviewTime\n propertyName: PMO评审时间\n propertyInstanceId: 61df43df88fe1\n instanceId: 6202dcb94428d\n candidates:\n - display: text\n formatter:\n format: relative\n type: date-time\n type: date-time\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date-time\n type: date-time\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 2\n - generationId: 6202d9c19ac55\n objectId: IDEA\n objectName: 想法\n propertyId: customerConfirm\n propertyName: 客户确认情况\n propertyInstanceId: 61df43df89045\n instanceId: 6202d9c19ac55\n candidates:\n - display: text\n field: confirm\n type: struct\n visualWeight: 0\n - display: link\n field: confirmTime\n type: struct\n visualWeight: 1\n - display: tag\n field: rejectReason\n type: struct\n visualWeight: 2\n - display: text\n field: confirmTime\n type: struct\n visualWeight: -1\n - generationId: 6202d9c1a1825\n objectId: IDEA\n objectName: 想法\n propertyId: finishTime\n propertyName: 结束时间\n propertyInstanceId: 61df43df890a9\n instanceId: 6202d9c1a1825\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202dcb90eefd\n objectId: IDEA\n objectName: 想法\n propertyId: pdReviewDate\n propertyName: PD评审日期\n propertyInstanceId: 61df43df8910d\n instanceId: 6202dcb90eefd\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n - generationId: 6202d9c1b5e51\n objectId: IDEA\n objectName: 想法\n propertyId: realStoryPoint\n propertyName: 实际消耗人天\n propertyInstanceId: 61df43df89171\n instanceId: 6202d9c1b5e51\n candidates:\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-secondary)\n size: medium\n type: float\n visualWeight: -1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n size: medium\n type: float\n visualWeight: 0\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: float\n visualWeight: 1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: float\n visualWeight: 2\n - generationId: 6202d9c1b7369\n objectId: IDEA\n objectName: 想法\n propertyId: document\n propertyName: 文档链接\n propertyInstanceId: 61df43df891d5\n instanceId: 6202d9c1b7369\n candidates:\n - display: text\n field: developUrl\n type: struct\n visualWeight: 0\n - display: link\n field: developUrl\n type: struct\n visualWeight: 1\n - display: link\n field: requirementUrl\n type: struct\n visualWeight: 2\n - generationId: 6202d9c1bcc79\n objectId: IDEA\n objectName: 想法\n propertyId: op_plan_month\n propertyName: 是否是运营每月10个需求\n propertyInstanceId: 61df43df89239\n instanceId: 6202d9c1bcc79\n candidates:\n - display: text\n \"false\":\n style:\n color: var(--text-color-default)\n text: N\n \"true\":\n style:\n color: var(--text-color-default)\n text: Y\n type: boolean\n visualWeight: -1\n - display: icon\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n type: boolean\n visualWeight: 0\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n text: 否\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n text: 是\n type: boolean\n visualWeight: 1\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n fontWeight: bold\n text: 非运营每月10个需求\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n fontWeight: bold\n text: 是运营每月10个需求\n type: boolean\n visualWeight: 2\n - generationId: 6202d9c1c0905\n objectId: IDEA\n objectName: 想法\n propertyId: pmoReviewResult\n propertyName: PMO评审结果\n propertyInstanceId: 61df43df8929d\n instanceId: 6202d9c1c0905\n candidates:\n - display: text\n \"false\":\n style:\n color: var(--text-color-default)\n text: 未通过\n \"true\":\n style:\n color: var(--text-color-default)\n text: 通过\n type: boolean\n visualWeight: -1\n - display: icon\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n type: boolean\n visualWeight: 0\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n text: 未通过\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n text: 通过\n type: boolean\n visualWeight: 1\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n fontWeight: bold\n text: PMO评审未通过\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n fontWeight: bold\n text: PMO评审已通过\n type: boolean\n visualWeight: 2\n - generationId: 6202d9c1bd8f9\n objectId: IDEA\n objectName: 想法\n propertyId: score\n propertyName: 需求得分\n propertyInstanceId: 61df43df89301\n instanceId: 6202d9c1bd8f9\n candidates:\n - display: text\n formatter:\n decimals: 1\n format: decimal\n type: number\n style:\n color: var(--text-color-secondary)\n size: medium\n type: float\n visualWeight: -1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n size: medium\n type: float\n visualWeight: 0\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: float\n visualWeight: 1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: float\n visualWeight: 2\n - generationId: 6202d9c1c6085\n objectId: IDEA\n objectName: 想法\n propertyId: description\n propertyName: 面临/希望解决的问题\n propertyInstanceId: 61df43df89365\n instanceId: 6202d9c1c6085\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c1ccc55\n objectId: IDEA\n objectName: 想法\n propertyId: number\n propertyName: 序号\n propertyInstanceId: 61df43df893c9\n instanceId: 6202d9c1ccc55\n candidates:\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c1d631d\n objectId: IDEA\n objectName: 想法\n propertyId: source\n propertyName: 客户来源(微信端传参)\n propertyInstanceId: 61df43df8942d\n instanceId: 6202d9c1d631d\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c1d7a8d\n objectId: IDEA\n objectName: 想法\n propertyId: category\n propertyName: 想法分类\n propertyInstanceId: 61df43df89491\n instanceId: 6202d9c1d7a8d\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: enum\n visualWeight: -1\n - display: tag\n style:\n palette:\n displaceRequirements: green\n functionalRequirements: blue\n instructionsRequirementsDefinition: orange\n optimizedRequirements: purple\n performance: red\n sowClearRequirementsDefinition: gray\n variant: default\n type: enum\n visualWeight: 0\n - display: tag\n style:\n palette:\n displaceRequirements: green\n functionalRequirements: blue\n instructionsRequirementsDefinition: orange\n optimizedRequirements: purple\n performance: red\n sowClearRequirementsDefinition: gray\n variant: outline\n type: enum\n visualWeight: 1\n - display: tag\n style:\n palette:\n displaceRequirements: green\n functionalRequirements: blue\n instructionsRequirementsDefinition: orange\n optimizedRequirements: purple\n performance: red\n sowClearRequirementsDefinition: gray\n variant: background\n type: enum\n visualWeight: 2\n - generationId: 6202d9c1db1a1\n objectId: IDEA\n objectName: 想法\n propertyId: deliveryStatus\n propertyName: 交付验收状态\n propertyInstanceId: 61df43df894f5\n instanceId: 6202d9c1db1a1\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: enum\n visualWeight: -1\n - display: tag\n style:\n palette:\n passed: green\n unconfirmed: gray\n unpassed: red\n variant: default\n type: enum\n visualWeight: 0\n - display: tag\n style:\n palette:\n passed: green\n unconfirmed: gray\n unpassed: red\n variant: outline\n type: enum\n visualWeight: 1\n - display: tag\n style:\n palette:\n passed: green\n unconfirmed: gray\n unpassed: red\n variant: background\n type: enum\n visualWeight: 2\n - generationId: 6202dcb90e40d\n objectId: IDEA\n objectName: 想法\n propertyId: startDate\n propertyName: 开始时间\n propertyInstanceId: 61df43df89559\n instanceId: 6202dcb90e40d\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n - generationId: 6202d9c1dd8b1\n objectId: IDEA\n objectName: 想法\n propertyId: resolveTime\n propertyName: 解决时间\n propertyInstanceId: 61df43df895bd\n instanceId: 6202d9c1dd8b1\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c1ea9ad\n objectId: IDEA\n objectName: 想法\n propertyId: classification\n propertyName: 想法类型\n propertyInstanceId: 61df43df89621\n instanceId: 6202d9c1ea9ad\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: enum\n visualWeight: -1\n - display: tag\n style:\n palette:\n deliveryCustomization: purple\n feature: blue\n optimization: green\n requirement: orange\n variant: default\n type: enum\n visualWeight: 0\n - display: tag\n style:\n palette:\n deliveryCustomization: purple\n feature: blue\n optimization: green\n requirement: orange\n variant: outline\n type: enum\n visualWeight: 1\n - display: tag\n style:\n palette:\n deliveryCustomization: purple\n feature: blue\n optimization: green\n requirement: orange\n variant: background\n type: enum\n visualWeight: 2\n - generationId: 6202d9c1f6e8d\n objectId: IDEA\n objectName: 想法\n propertyId: pdReviewResult\n propertyName: PD评审结果\n propertyInstanceId: 61df43df89685\n instanceId: 6202d9c1f6e8d\n candidates:\n - display: text\n \"false\":\n style:\n color: var(--text-color-default)\n text: 未通过\n \"true\":\n style:\n color: var(--text-color-default)\n text: 通过\n type: boolean\n visualWeight: -1\n - display: icon\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n type: boolean\n visualWeight: 0\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n text: 未通过\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n text: 通过\n type: boolean\n visualWeight: 1\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n fontWeight: bold\n size: large\n text: 未通过\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n fontWeight: bold\n size: large\n text: 通过\n type: boolean\n visualWeight: 2\n - generationId: 6202d9c200cc1\n objectId: IDEA\n objectName: 想法\n propertyId: closeReason\n propertyName: 关闭原因\n propertyInstanceId: 61df43df896e9\n instanceId: 6202d9c200cc1\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c1f7bd5\n objectId: IDEA\n objectName: 想法\n propertyId: confirmUrl\n propertyName: 验收链接\n propertyInstanceId: 61df43df8974d\n instanceId: 6202d9c1f7bd5\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c200d89\n objectId: IDEA\n objectName: 想法\n propertyId: deliveryConfirm\n propertyName: 交付确认\n propertyInstanceId: 61df43df897b1\n instanceId: 6202d9c200d89\n candidates:\n - display: text\n \"false\":\n style:\n color: var(--text-color-default)\n text: N\n \"true\":\n style:\n color: var(--text-color-default)\n text: Y\n type: boolean\n visualWeight: -1\n - display: icon\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n type: boolean\n visualWeight: 0\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n text: Not Confirmed\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n text: Confirmed\n type: boolean\n visualWeight: 1\n - display: icon+text\n \"false\":\n icon: xmark\n style:\n color: var(--color-error)\n fontWeight: bold\n size: large\n text: Not Confirmed\n \"true\":\n icon: check\n style:\n color: var(--color-success)\n fontWeight: bold\n size: large\n text: Confirmed\n type: boolean\n visualWeight: 2\n - generationId: 6202d9c2066fd\n objectId: IDEA\n objectName: 想法\n propertyId: humanCost\n propertyName: 人力评估\n propertyInstanceId: 61df43df89815\n instanceId: 6202d9c2066fd\n candidates:\n - display: text\n field: frontend\n type: struct\n visualWeight: 0\n - display: link\n field: frontend\n type: struct\n visualWeight: 1\n - display: tag\n field: backend\n type: struct\n visualWeight: 2\n - generationId: 6202dcb979eb5\n objectId: IDEA\n objectName: 想法\n propertyId: expectReleaseDate\n propertyName: 期望最迟交付的日期\n propertyInstanceId: 61df43df89879\n instanceId: 6202dcb979eb5\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n - generationId: 6202dcb97aeb9\n objectId: IDEA\n objectName: 想法\n propertyId: pdReviewTime\n propertyName: pd评审时间\n propertyInstanceId: 61df43df898dd\n instanceId: 6202dcb97aeb9\n candidates:\n - display: text\n formatter:\n format: relative\n type: date-time\n type: date-time\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date-time\n type: date-time\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 2\n - generationId: 6202d9c221705\n objectId: IDEA\n objectName: 想法\n propertyId: status\n propertyName: 状态\n propertyInstanceId: 61df43df89941\n instanceId: 6202d9c221705\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: enum\n visualWeight: -1\n - display: tag\n style:\n palette:\n closed: gray\n pointEstimation: gray\n producerReview: gray\n ready: orange\n refused: red\n released: green\n techReview: gray\n waitAssess: gray\n waitInitialScore: gray\n waitIterate: gray\n waitPlan: gray\n waitProducerDesigned: gray\n waitRelease: gray\n waitTechDesigned: gray\n variant: default\n type: enum\n visualWeight: 0\n - display: tag\n style:\n palette:\n closed: gray\n pointEstimation: gray\n producerReview: gray\n ready: orange\n refused: red\n released: green\n techReview: gray\n waitAssess: gray\n waitInitialScore: gray\n waitIterate: gray\n waitPlan: gray\n waitProducerDesigned: gray\n waitRelease: gray\n waitTechDesigned: gray\n variant: outline\n type: enum\n visualWeight: 1\n - display: tag\n style:\n palette:\n closed: gray\n pointEstimation: gray\n producerReview: gray\n ready: orange\n refused: red\n released: green\n techReview: gray\n waitAssess: gray\n waitInitialScore: gray\n waitIterate: gray\n waitPlan: gray\n waitProducerDesigned: gray\n waitRelease: gray\n waitTechDesigned: gray\n variant: background\n type: enum\n visualWeight: 2\n - generationId: 6202d9c222385\n objectId: IDEA\n objectName: 想法\n propertyId: speedUp\n propertyName: 加速标志\n propertyInstanceId: 61df43df899a5\n instanceId: 6202d9c222385\n candidates:\n - countOnly: true\n display: text\n type: struct-list\n visualWeight: -1\n - countOnly: true\n display: link\n type: struct-list\n visualWeight: 0\n - display: tag\n field: reason\n maxItems: 2\n style:\n variant: default\n type: struct-list\n visualWeight: 1\n - display: tag\n field: mark\n maxItems: 2\n style:\n variant: outline\n type: struct-list\n visualWeight: 2\n - generationId: 6202d9c225909\n objectId: IDEA\n objectName: 想法\n propertyId: initialScore\n propertyName: PMO初评分\n propertyInstanceId: 61df43df89a09\n instanceId: 6202d9c225909\n candidates:\n - display: text\n formatter:\n decimals: 1\n format: decimal\n type: number\n style:\n color: var(--text-color-secondary)\n size: medium\n type: float\n visualWeight: -1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n size: medium\n type: float\n visualWeight: 0\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: float\n visualWeight: 1\n - display: text\n formatter:\n decimals: 2\n format: decimal\n type: number\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: float\n visualWeight: 2\n - generationId: 6202dcb981ce1\n objectId: IDEA\n objectName: 想法\n propertyId: pmoReviewDate\n propertyName: PMO初评日期\n propertyInstanceId: 61df43df89a6d\n instanceId: 6202dcb981ce1\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n - generationId: 6202d9c227141\n objectId: IDEA\n objectName: 想法\n propertyId: ratingDetails\n propertyName: 评分详情\n propertyInstanceId: 61df43df89ad1\n instanceId: 6202d9c227141\n candidates:\n - countOnly: true\n display: text\n type: struct-list\n visualWeight: -1\n - countOnly: true\n display: link\n type: struct-list\n visualWeight: 0\n - display: tag\n field: type\n maxItems: 2\n style:\n variant: default\n type: struct-list\n visualWeight: 1\n - display: tag\n field: type\n maxItems: 2\n style:\n variant: outline\n type: struct-list\n visualWeight: 2\n - generationId: 6202d9c23969d\n objectId: IDEA\n objectName: 想法\n propertyId: enterpriseVersion\n propertyName: 发行版版本\n propertyInstanceId: 61df43df89b35\n instanceId: 6202d9c23969d\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c24265d\n objectId: IDEA\n objectName: 想法\n propertyId: pdReviewComment\n propertyName: PD评审意见\n propertyInstanceId: 61df43df89b99\n instanceId: 6202d9c24265d\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202d9c240f51\n objectId: IDEA\n objectName: 想法\n propertyId: productLine\n propertyName: 产品线\n propertyInstanceId: 61df43df89bfd\n instanceId: 6202d9c240f51\n candidates:\n - display: text\n style:\n color: var(--text-color-secondary)\n size: medium\n type: string\n visualWeight: -1\n - display: text\n style:\n color: var(--text-color-default)\n size: medium\n type: string\n visualWeight: 0\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: medium\n type: string\n visualWeight: 1\n - display: text\n style:\n color: var(--text-color-default)\n fontWeight: bold\n size: large\n type: string\n visualWeight: 2\n - generationId: 6202dcb97a365\n objectId: IDEA\n objectName: 想法\n propertyId: confirmDeliveryTime\n propertyName: 确认交付时间\n propertyInstanceId: 61df43df89c61\n instanceId: 6202dcb97a365\n candidates:\n - display: text\n formatter:\n format: relative\n type: date-time\n type: date-time\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date-time\n type: date-time\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date-time\n type: date-time\n visualWeight: 2\n - generationId: 6202db84cacc9\n objectId: IDEA\n objectName: 想法\n propertyId: endDate\n propertyName: 完成时间\n propertyInstanceId: 61df43df89cc5\n instanceId: 6202db84cacc9\n candidates:\n - display: text\n formatter:\n format: relative\n type: date\n type: date\n visualWeight: -1\n - display: text\n formatter:\n format: accurate\n type: date\n type: date\n visualWeight: 0\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 1\n - display: text\n formatter:\n format: full\n type: date\n type: date\n visualWeight: 2\n mocks:\n - category: performance\n classification: optimization\n closeReason: \"\"\n confirmDeliveryTime: \"2024-08-25 14:30:00\"\n confirmUrl: https://example.com/verify/001\n createRole: Product Manager\n customerConfirm:\n confirm: 1\n confirmTime: \"2024-08-16 16:00:00\"\n rejectReason: \"\"\n deliveryConfirm: false\n deliveryStatus: passed\n description: 提升用户界面的响应速度,减少加载时间。\n document:\n developUrl: https://example.com/develop/1234\n requirementUrl: https://example.com/requirement/5678\n endDate: \"2024-10-20\"\n enterpriseVersion: v2.1.0\n expectReleaseDate: \"2024-10-15\"\n finishTime: \"2024-08-31 17:00:00\"\n gradeInfo:\n grade: 4\n gradeTime: \"2024-08-15 14:30:00\"\n memo: 高质量交付,客户满意。\n humanCost:\n backend: 180.3\n frontend: 120.5\n initialScore: 75\n number: \"001\"\n op_plan_month: false\n pdReviewComment: 需要进一步评估市场反馈。\n pdReviewDate: \"2024-08-18\"\n pdReviewResult: true\n pdReviewTime: \"2024-08-20 10:00:00\"\n planStartDate: \"2024-08-20\"\n planStartTime: \"2024-08-20 09:00:00\"\n pmoReviewComment: 项目计划清晰,资源分配合理。\n pmoReviewDate: \"2024-08-22\"\n pmoReviewResult: true\n pmoReviewTime: \"2024-08-17 10:00:00\"\n predictDeliveryTime: \"2024-09-01 18:00:00\"\n productLine: Enterprise\n ratingDetails:\n - effort: 6\n frequency: 9\n reach: 7\n type: user\n urgent: 5\n value: 8\n - effort: 5\n frequency: 8\n reach: 6\n type: tech\n urgent: 4\n value: 7\n realStoryPoint: 12.5\n resolveTime: \"2024-07-15 10:30:00\"\n score: 8.5\n source: 微信端\n speedUp:\n - mark: true\n reason: 市场竞争力提升\n score: 1.5\n - mark: false\n reason: 内部需求调整\n score: 0\n stage: Development\n startDate: \"2024-07-01\"\n status: waitInitialScore\n value: High\n - category: functionalRequirements\n classification: feature\n closeReason: 需求范围不明确,需重新定义。\n confirmDeliveryTime: \"2024-08-26 15:00:00\"\n confirmUrl: https://example.com/verify/002\n createRole: Project Coordinator\n customerConfirm:\n confirm: 0\n confirmTime: \"\"\n rejectReason: 功能未完全满足需求。\n deliveryConfirm: true\n deliveryStatus: unconfirmed\n description: 增加新功能,允许用户自定义报告模板。\n document:\n developUrl: https://example.com/develop/4321\n requirementUrl: https://example.com/requirement/8765\n endDate: \"2024-11-10\"\n enterpriseVersion: v2.2.0\n expectReleaseDate: \"2024-11-01\"\n finishTime: \"2024-09-14 15:00:00\"\n gradeInfo:\n grade: 3\n gradeTime: \"2024-08-10 10:00:00\"\n memo: 交付质量一般,需改进。\n humanCost:\n backend: 150\n frontend: 90.2\n initialScore: 80\n number: \"002\"\n op_plan_month: true\n pdReviewComment: 优先级较高,需尽快安排资源。\n pdReviewDate: \"2024-08-20\"\n pdReviewResult: false\n pdReviewTime: \"2024-08-21 11:00:00\"\n planStartDate: \"2024-08-25\"\n planStartTime: \"2024-08-25 09:30:00\"\n pmoReviewComment: 项目计划需细化,资源分配需优化。\n pmoReviewDate: \"2024-08-23\"\n pmoReviewResult: false\n pmoReviewTime: \"2024-08-16 11:00:00\"\n predictDeliveryTime: \"2024-09-15 16:00:00\"\n productLine: Consumer\n ratingDetails:\n - effort: 5\n frequency: 10\n reach: 8\n type: user\n urgent: 6\n value: 9\n - effort: 4\n frequency: 9\n reach: 7\n type: tech\n urgent: 5\n value: 8\n realStoryPoint: 10.2\n resolveTime: \"2024-08-20 14:45:00\"\n score: 7.2\n source: 客户反馈\n speedUp:\n - mark: false\n reason: 无特殊加速需求\n score: 0\n - mark: true\n reason: 客户紧急需求\n score: 2\n stage: Planning\n startDate: \"2024-08-01\"\n status: waitAssess\n value: Medium\n# -- YAML DELIMITER (1nbbm8) --\n# <visual-builder.raw-data-preview\n# preview-url=\"/preview/\"\n# theme=\"<% THEME.getTheme() %>\"\n# ui-version=\"8.2\"\n# style=\"height: calc(100vh - 4em)\"\n# id=\"brick-1\"\n# ></visual-builder.raw-data-preview>\n# \n# <script>\n# const brick_1 = document.getElementById(\"brick-1\");\n# brick_1.generations = [\n# {\n# generationId: \"6202dcb92c165\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"predictDeliveryTime\",\n# propertyName: \"预计交付时间\",\n# propertyInstanceId: \"61df43df88cc1\",\n# instanceId: \"6202dcb92c165\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c17c601\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"gradeInfo\",\n# propertyName: \"评价信息\",\n# propertyInstanceId: \"61df43df88d25\",\n# instanceId: \"6202d9c17c601\",\n# candidates: [\n# {\n# display: \"text\",\n# field: \"grade\",\n# type: \"struct\",\n# visualWeight: 0,\n# },\n# {\n# display: \"link\",\n# field: \"memo\",\n# type: \"struct\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# field: \"gradeTime\",\n# type: \"struct\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1824ed\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"createRole\",\n# propertyName: \"创建idea的用户角色\",\n# propertyInstanceId: \"61df43df88d89\",\n# instanceId: \"6202d9c1824ed\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c17d9ed\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pmoReviewComment\",\n# propertyName: \"PMO评审意见\",\n# propertyInstanceId: \"61df43df88ded\",\n# instanceId: \"6202d9c17d9ed\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c17d8c1\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"value\",\n# propertyName: \"想法价值\",\n# propertyInstanceId: \"61df43df88e51\",\n# instanceId: \"6202d9c17d8c1\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb90ef61\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"planStartDate\",\n# propertyName: \"计划开始日期\",\n# propertyInstanceId: \"61df43df88eb5\",\n# instanceId: \"6202dcb90ef61\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb90c081\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"planStartTime\",\n# propertyName: \"计划开始时间\",\n# propertyInstanceId: \"61df43df88f19\",\n# instanceId: \"6202dcb90c081\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c198f09\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"stage\",\n# propertyName: \"项目阶段\",\n# propertyInstanceId: \"61df43df88f7d\",\n# instanceId: \"6202d9c198f09\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb94428d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pmoReviewTime\",\n# propertyName: \"PMO评审时间\",\n# propertyInstanceId: \"61df43df88fe1\",\n# instanceId: \"6202dcb94428d\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c19ac55\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"customerConfirm\",\n# propertyName: \"客户确认情况\",\n# propertyInstanceId: \"61df43df89045\",\n# instanceId: \"6202d9c19ac55\",\n# candidates: [\n# {\n# display: \"text\",\n# field: \"confirm\",\n# type: \"struct\",\n# visualWeight: 0,\n# },\n# {\n# display: \"link\",\n# field: \"confirmTime\",\n# type: \"struct\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# field: \"rejectReason\",\n# type: \"struct\",\n# visualWeight: 2,\n# },\n# {\n# display: \"text\",\n# field: \"confirmTime\",\n# type: \"struct\",\n# visualWeight: -1,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1a1825\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"finishTime\",\n# propertyName: \"结束时间\",\n# propertyInstanceId: \"61df43df890a9\",\n# instanceId: \"6202d9c1a1825\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb90eefd\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pdReviewDate\",\n# propertyName: \"PD评审日期\",\n# propertyInstanceId: \"61df43df8910d\",\n# instanceId: \"6202dcb90eefd\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1b5e51\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"realStoryPoint\",\n# propertyName: \"实际消耗人天\",\n# propertyInstanceId: \"61df43df89171\",\n# instanceId: \"6202d9c1b5e51\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"float\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1b7369\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"document\",\n# propertyName: \"文档链接\",\n# propertyInstanceId: \"61df43df891d5\",\n# instanceId: \"6202d9c1b7369\",\n# candidates: [\n# {\n# display: \"text\",\n# field: \"developUrl\",\n# type: \"struct\",\n# visualWeight: 0,\n# },\n# {\n# display: \"link\",\n# field: \"developUrl\",\n# type: \"struct\",\n# visualWeight: 1,\n# },\n# {\n# display: \"link\",\n# field: \"requirementUrl\",\n# type: \"struct\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1bcc79\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"op_plan_month\",\n# propertyName: \"是否是运营每月10个需求\",\n# propertyInstanceId: \"61df43df89239\",\n# instanceId: \"6202d9c1bcc79\",\n# candidates: [\n# {\n# display: \"text\",\n# false: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"N\",\n# },\n# true: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"Y\",\n# },\n# type: \"boolean\",\n# visualWeight: -1,\n# },\n# {\n# display: \"icon\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# },\n# type: \"boolean\",\n# visualWeight: 0,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# text: \"否\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# text: \"是\",\n# },\n# type: \"boolean\",\n# visualWeight: 1,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# fontWeight: \"bold\",\n# },\n# text: \"非运营每月10个需求\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# fontWeight: \"bold\",\n# },\n# text: \"是运营每月10个需求\",\n# },\n# type: \"boolean\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1c0905\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pmoReviewResult\",\n# propertyName: \"PMO评审结果\",\n# propertyInstanceId: \"61df43df8929d\",\n# instanceId: \"6202d9c1c0905\",\n# candidates: [\n# {\n# display: \"text\",\n# false: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"未通过\",\n# },\n# true: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"通过\",\n# },\n# type: \"boolean\",\n# visualWeight: -1,\n# },\n# {\n# display: \"icon\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# },\n# type: \"boolean\",\n# visualWeight: 0,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# text: \"未通过\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# text: \"通过\",\n# },\n# type: \"boolean\",\n# visualWeight: 1,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# fontWeight: \"bold\",\n# },\n# text: \"PMO评审未通过\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# fontWeight: \"bold\",\n# },\n# text: \"PMO评审已通过\",\n# },\n# type: \"boolean\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1bd8f9\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"score\",\n# propertyName: \"需求得分\",\n# propertyInstanceId: \"61df43df89301\",\n# instanceId: \"6202d9c1bd8f9\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 1,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"float\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1c6085\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"description\",\n# propertyName: \"面临/希望解决的问题\",\n# propertyInstanceId: \"61df43df89365\",\n# instanceId: \"6202d9c1c6085\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1ccc55\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"number\",\n# propertyName: \"序号\",\n# propertyInstanceId: \"61df43df893c9\",\n# instanceId: \"6202d9c1ccc55\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1d631d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"source\",\n# propertyName: \"客户来源(微信端传参)\",\n# propertyInstanceId: \"61df43df8942d\",\n# instanceId: \"6202d9c1d631d\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1d7a8d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"category\",\n# propertyName: \"想法分类\",\n# propertyInstanceId: \"61df43df89491\",\n# instanceId: \"6202d9c1d7a8d\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"enum\",\n# visualWeight: -1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# displaceRequirements: \"green\",\n# functionalRequirements: \"blue\",\n# instructionsRequirementsDefinition: \"orange\",\n# optimizedRequirements: \"purple\",\n# performance: \"red\",\n# sowClearRequirementsDefinition: \"gray\",\n# },\n# variant: \"default\",\n# },\n# type: \"enum\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# displaceRequirements: \"green\",\n# functionalRequirements: \"blue\",\n# instructionsRequirementsDefinition: \"orange\",\n# optimizedRequirements: \"purple\",\n# performance: \"red\",\n# sowClearRequirementsDefinition: \"gray\",\n# },\n# variant: \"outline\",\n# },\n# type: \"enum\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# displaceRequirements: \"green\",\n# functionalRequirements: \"blue\",\n# instructionsRequirementsDefinition: \"orange\",\n# optimizedRequirements: \"purple\",\n# performance: \"red\",\n# sowClearRequirementsDefinition: \"gray\",\n# },\n# variant: \"background\",\n# },\n# type: \"enum\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1db1a1\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"deliveryStatus\",\n# propertyName: \"交付验收状态\",\n# propertyInstanceId: \"61df43df894f5\",\n# instanceId: \"6202d9c1db1a1\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"enum\",\n# visualWeight: -1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# passed: \"green\",\n# unconfirmed: \"gray\",\n# unpassed: \"red\",\n# },\n# variant: \"default\",\n# },\n# type: \"enum\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# passed: \"green\",\n# unconfirmed: \"gray\",\n# unpassed: \"red\",\n# },\n# variant: \"outline\",\n# },\n# type: \"enum\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# passed: \"green\",\n# unconfirmed: \"gray\",\n# unpassed: \"red\",\n# },\n# variant: \"background\",\n# },\n# type: \"enum\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb90e40d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"startDate\",\n# propertyName: \"开始时间\",\n# propertyInstanceId: \"61df43df89559\",\n# instanceId: \"6202dcb90e40d\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1dd8b1\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"resolveTime\",\n# propertyName: \"解决时间\",\n# propertyInstanceId: \"61df43df895bd\",\n# instanceId: \"6202d9c1dd8b1\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1ea9ad\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"classification\",\n# propertyName: \"想法类型\",\n# propertyInstanceId: \"61df43df89621\",\n# instanceId: \"6202d9c1ea9ad\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"enum\",\n# visualWeight: -1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# deliveryCustomization: \"purple\",\n# feature: \"blue\",\n# optimization: \"green\",\n# requirement: \"orange\",\n# },\n# variant: \"default\",\n# },\n# type: \"enum\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# deliveryCustomization: \"purple\",\n# feature: \"blue\",\n# optimization: \"green\",\n# requirement: \"orange\",\n# },\n# variant: \"outline\",\n# },\n# type: \"enum\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# deliveryCustomization: \"purple\",\n# feature: \"blue\",\n# optimization: \"green\",\n# requirement: \"orange\",\n# },\n# variant: \"background\",\n# },\n# type: \"enum\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1f6e8d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pdReviewResult\",\n# propertyName: \"PD评审结果\",\n# propertyInstanceId: \"61df43df89685\",\n# instanceId: \"6202d9c1f6e8d\",\n# candidates: [\n# {\n# display: \"text\",\n# false: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"未通过\",\n# },\n# true: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"通过\",\n# },\n# type: \"boolean\",\n# visualWeight: -1,\n# },\n# {\n# display: \"icon\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# },\n# type: \"boolean\",\n# visualWeight: 0,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# text: \"未通过\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# text: \"通过\",\n# },\n# type: \"boolean\",\n# visualWeight: 1,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# text: \"未通过\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# text: \"通过\",\n# },\n# type: \"boolean\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c200cc1\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"closeReason\",\n# propertyName: \"关闭原因\",\n# propertyInstanceId: \"61df43df896e9\",\n# instanceId: \"6202d9c200cc1\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c1f7bd5\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"confirmUrl\",\n# propertyName: \"验收链接\",\n# propertyInstanceId: \"61df43df8974d\",\n# instanceId: \"6202d9c1f7bd5\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c200d89\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"deliveryConfirm\",\n# propertyName: \"交付确认\",\n# propertyInstanceId: \"61df43df897b1\",\n# instanceId: \"6202d9c200d89\",\n# candidates: [\n# {\n# display: \"text\",\n# false: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"N\",\n# },\n# true: {\n# style: {\n# color: \"var(--text-color-default)\",\n# },\n# text: \"Y\",\n# },\n# type: \"boolean\",\n# visualWeight: -1,\n# },\n# {\n# display: \"icon\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# },\n# type: \"boolean\",\n# visualWeight: 0,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# },\n# text: \"Not Confirmed\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# },\n# text: \"Confirmed\",\n# },\n# type: \"boolean\",\n# visualWeight: 1,\n# },\n# {\n# display: \"icon+text\",\n# false: {\n# icon: \"xmark\",\n# style: {\n# color: \"var(--color-error)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# text: \"Not Confirmed\",\n# },\n# true: {\n# icon: \"check\",\n# style: {\n# color: \"var(--color-success)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# text: \"Confirmed\",\n# },\n# type: \"boolean\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c2066fd\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"humanCost\",\n# propertyName: \"人力评估\",\n# propertyInstanceId: \"61df43df89815\",\n# instanceId: \"6202d9c2066fd\",\n# candidates: [\n# {\n# display: \"text\",\n# field: \"frontend\",\n# type: \"struct\",\n# visualWeight: 0,\n# },\n# {\n# display: \"link\",\n# field: \"frontend\",\n# type: \"struct\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# field: \"backend\",\n# type: \"struct\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb979eb5\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"expectReleaseDate\",\n# propertyName: \"期望最迟交付的日期\",\n# propertyInstanceId: \"61df43df89879\",\n# instanceId: \"6202dcb979eb5\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb97aeb9\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pdReviewTime\",\n# propertyName: \"pd评审时间\",\n# propertyInstanceId: \"61df43df898dd\",\n# instanceId: \"6202dcb97aeb9\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c221705\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"status\",\n# propertyName: \"状态\",\n# propertyInstanceId: \"61df43df89941\",\n# instanceId: \"6202d9c221705\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"enum\",\n# visualWeight: -1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# closed: \"gray\",\n# pointEstimation: \"gray\",\n# producerReview: \"gray\",\n# ready: \"orange\",\n# refused: \"red\",\n# released: \"green\",\n# techReview: \"gray\",\n# waitAssess: \"gray\",\n# waitInitialScore: \"gray\",\n# waitIterate: \"gray\",\n# waitPlan: \"gray\",\n# waitProducerDesigned: \"gray\",\n# waitRelease: \"gray\",\n# waitTechDesigned: \"gray\",\n# },\n# variant: \"default\",\n# },\n# type: \"enum\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# closed: \"gray\",\n# pointEstimation: \"gray\",\n# producerReview: \"gray\",\n# ready: \"orange\",\n# refused: \"red\",\n# released: \"green\",\n# techReview: \"gray\",\n# waitAssess: \"gray\",\n# waitInitialScore: \"gray\",\n# waitIterate: \"gray\",\n# waitPlan: \"gray\",\n# waitProducerDesigned: \"gray\",\n# waitRelease: \"gray\",\n# waitTechDesigned: \"gray\",\n# },\n# variant: \"outline\",\n# },\n# type: \"enum\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# style: {\n# palette: {\n# closed: \"gray\",\n# pointEstimation: \"gray\",\n# producerReview: \"gray\",\n# ready: \"orange\",\n# refused: \"red\",\n# released: \"green\",\n# techReview: \"gray\",\n# waitAssess: \"gray\",\n# waitInitialScore: \"gray\",\n# waitIterate: \"gray\",\n# waitPlan: \"gray\",\n# waitProducerDesigned: \"gray\",\n# waitRelease: \"gray\",\n# waitTechDesigned: \"gray\",\n# },\n# variant: \"background\",\n# },\n# type: \"enum\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c222385\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"speedUp\",\n# propertyName: \"加速标志\",\n# propertyInstanceId: \"61df43df899a5\",\n# instanceId: \"6202d9c222385\",\n# candidates: [\n# {\n# countOnly: true,\n# display: \"text\",\n# type: \"struct-list\",\n# visualWeight: -1,\n# },\n# {\n# countOnly: true,\n# display: \"link\",\n# type: \"struct-list\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# field: \"reason\",\n# maxItems: 2,\n# style: {\n# variant: \"default\",\n# },\n# type: \"struct-list\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# field: \"mark\",\n# maxItems: 2,\n# style: {\n# variant: \"outline\",\n# },\n# type: \"struct-list\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c225909\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"initialScore\",\n# propertyName: \"PMO初评分\",\n# propertyInstanceId: \"61df43df89a09\",\n# instanceId: \"6202d9c225909\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 1,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"float\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# decimals: 2,\n# format: \"decimal\",\n# type: \"number\",\n# },\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"float\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb981ce1\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pmoReviewDate\",\n# propertyName: \"PMO初评日期\",\n# propertyInstanceId: \"61df43df89a6d\",\n# instanceId: \"6202dcb981ce1\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c227141\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"ratingDetails\",\n# propertyName: \"评分详情\",\n# propertyInstanceId: \"61df43df89ad1\",\n# instanceId: \"6202d9c227141\",\n# candidates: [\n# {\n# countOnly: true,\n# display: \"text\",\n# type: \"struct-list\",\n# visualWeight: -1,\n# },\n# {\n# countOnly: true,\n# display: \"link\",\n# type: \"struct-list\",\n# visualWeight: 0,\n# },\n# {\n# display: \"tag\",\n# field: \"type\",\n# maxItems: 2,\n# style: {\n# variant: \"default\",\n# },\n# type: \"struct-list\",\n# visualWeight: 1,\n# },\n# {\n# display: \"tag\",\n# field: \"type\",\n# maxItems: 2,\n# style: {\n# variant: \"outline\",\n# },\n# type: \"struct-list\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c23969d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"enterpriseVersion\",\n# propertyName: \"发行版版本\",\n# propertyInstanceId: \"61df43df89b35\",\n# instanceId: \"6202d9c23969d\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c24265d\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"pdReviewComment\",\n# propertyName: \"PD评审意见\",\n# propertyInstanceId: \"61df43df89b99\",\n# instanceId: \"6202d9c24265d\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202d9c240f51\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"productLine\",\n# propertyName: \"产品线\",\n# propertyInstanceId: \"61df43df89bfd\",\n# instanceId: \"6202d9c240f51\",\n# candidates: [\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-secondary)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"medium\",\n# },\n# type: \"string\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# style: {\n# color: \"var(--text-color-default)\",\n# fontWeight: \"bold\",\n# size: \"large\",\n# },\n# type: \"string\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202dcb97a365\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"confirmDeliveryTime\",\n# propertyName: \"确认交付时间\",\n# propertyInstanceId: \"61df43df89c61\",\n# instanceId: \"6202dcb97a365\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date-time\",\n# },\n# type: \"date-time\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# {\n# generationId: \"6202db84cacc9\",\n# objectId: \"IDEA\",\n# objectName: \"想法\",\n# propertyId: \"endDate\",\n# propertyName: \"完成时间\",\n# propertyInstanceId: \"61df43df89cc5\",\n# instanceId: \"6202db84cacc9\",\n# candidates: [\n# {\n# display: \"text\",\n# formatter: {\n# format: \"relative\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: -1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"accurate\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 0,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 1,\n# },\n# {\n# display: \"text\",\n# formatter: {\n# format: \"full\",\n# type: \"date\",\n# },\n# type: \"date\",\n# visualWeight: 2,\n# },\n# ],\n# },\n# ];\n# brick_1.mocks = [\n# {\n# category: \"performance\",\n# classification: \"optimization\",\n# closeReason: \"\",\n# confirmDeliveryTime: \"2024-08-25 14:30:00\",\n# confirmUrl: \"https://example.com/verify/001\",\n# createRole: \"Product Manager\",\n# customerConfirm: {\n# confirm: 1,\n# confirmTime: \"2024-08-16 16:00:00\",\n# rejectReason: \"\",\n# },\n# deliveryConfirm: false,\n# deliveryStatus: \"passed\",\n# description: \"提升用户界面的响应速度,减少加载时间。\",\n# document: {\n# developUrl: \"https://example.com/develop/1234\",\n# requirementUrl: \"https://example.com/requirement/5678\",\n# },\n# endDate: \"2024-10-20\",\n# enterpriseVersion: \"v2.1.0\",\n# expectReleaseDate: \"2024-10-15\",\n# finishTime: \"2024-08-31 17:00:00\",\n# gradeInfo: {\n# grade: 4,\n# gradeTime: \"2024-08-15 14:30:00\",\n# memo: \"高质量交付,客户满意。\",\n# },\n# humanCost: {\n# backend: 180.3,\n# frontend: 120.5,\n# },\n# initialScore: 75,\n# number: \"001\",\n# op_plan_month: false,\n# pdReviewComment: \"需要进一步评估市场反馈。\",\n# pdReviewDate: \"2024-08-18\",\n# pdReviewResult: true,\n# pdReviewTime: \"2024-08-20 10:00:00\",\n# planStartDate: \"2024-08-20\",\n# planStartTime: \"2024-08-20 09:00:00\",\n# pmoReviewComment: \"项目计划清晰,资源分配合理。\",\n# pmoReviewDate: \"2024-08-22\",\n# pmoReviewResult: true,\n# pmoReviewTime: \"2024-08-17 10:00:00\",\n# predictDeliveryTime: \"2024-09-01 18:00:00\",\n# productLine: \"Enterprise\",\n# ratingDetails: [\n# {\n# effort: 6,\n# frequency: 9,\n# reach: 7,\n# type: \"user\",\n# urgent: 5,\n# value: 8,\n# },\n# {\n# effort: 5,\n# frequency: 8,\n# reach: 6,\n# type: \"tech\",\n# urgent: 4,\n# value: 7,\n# },\n# ],\n# realStoryPoint: 12.5,\n# resolveTime: \"2024-07-15 10:30:00\",\n# score: 8.5,\n# source: \"微信端\",\n# speedUp: [\n# {\n# mark: true,\n# reason: \"市场竞争力提升\",\n# score: 1.5,\n# },\n# {\n# mark: false,\n# reason: \"内部需求调整\",\n# score: 0,\n# },\n# ],\n# stage: \"Development\",\n# startDate: \"2024-07-01\",\n# status: \"waitInitialScore\",\n# value: \"High\",\n# },\n# {\n# category: \"functionalRequirements\",\n# classification: \"feature\",\n# closeReason: \"需求范围不明确,需重新定义。\",\n# confirmDeliveryTime: \"2024-08-26 15:00:00\",\n# confirmUrl: \"https://example.com/verify/002\",\n# createRole: \"Project Coordinator\",\n# customerConfirm: {\n# confirm: 0,\n# confirmTime: \"\",\n# rejectReason: \"功能未完全满足需求。\",\n# },\n# deliveryConfirm: true,\n# deliveryStatus: \"unconfirmed\",\n# description: \"增加新功能,允许用户自定义报告模板。\",\n# document: {\n# developUrl: \"https://example.com/develop/4321\",\n# requirementUrl: \"https://example.com/requirement/8765\",\n# },\n# endDate: \"2024-11-10\",\n# enterpriseVersion: \"v2.2.0\",\n# expectReleaseDate: \"2024-11-01\",\n# finishTime: \"2024-09-14 15:00:00\",\n# gradeInfo: {\n# grade: 3,\n# gradeTime: \"2024-08-10 10:00:00\",\n# memo: \"交付质量一般,需改进。\",\n# },\n# humanCost: {\n# backend: 150,\n# frontend: 90.2,\n# },\n# initialScore: 80,\n# number: \"002\",\n# op_plan_month: true,\n# pdReviewComment: \"优先级较高,需尽快安排资源。\",\n# pdReviewDate: \"2024-08-20\",\n# pdReviewResult: false,\n# pdReviewTime: \"2024-08-21 11:00:00\",\n# planStartDate: \"2024-08-25\",\n# planStartTime: \"2024-08-25 09:30:00\",\n# pmoReviewComment: \"项目计划需细化,资源分配需优化。\",\n# pmoReviewDate: \"2024-08-23\",\n# pmoReviewResult: false,\n# pmoReviewTime: \"2024-08-16 11:00:00\",\n# predictDeliveryTime: \"2024-09-15 16:00:00\",\n# productLine: \"Consumer\",\n# ratingDetails: [\n# {\n# effort: 5,\n# frequency: 10,\n# reach: 8,\n# type: \"user\",\n# urgent: 6,\n# value: 9,\n# },\n# {\n# effort: 4,\n# frequency: 9,\n# reach: 7,\n# type: \"tech\",\n# urgent: 5,\n# value: 8,\n# },\n# ],\n# realStoryPoint: 10.2,\n# resolveTime: \"2024-08-20 14:45:00\",\n# score: 7.2,\n# source: \"客户反馈\",\n# speedUp: [\n# {\n# mark: false,\n# reason: \"无特殊加速需求\",\n# score: 0,\n# },\n# {\n# mark: true,\n# reason: \"客户紧急需求\",\n# score: 2,\n# },\n# ],\n# stage: \"Planning\",\n# startDate: \"2024-08-01\",\n# status: \"waitAssess\",\n# value: \"Medium\",\n# },\n# ];\n# </script>\n# \n```\n"
|
|
13
16
|
}
|
|
14
17
|
}
|