{"version":3,"sources":["webpack:///./src/custom-component/component-list.js"],"names":["commonStyle","rotate","opacity","zIndex","commonAttr","events","groupStyle","isLock","list","component","label","propValue","icon","style","width","height","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","color","i","len","length","item"],"mappings":"gNAiCA,I,gBAhCaA,EAAc,CACvBC,OAAQ,EACRC,QAAS,EACTC,OAAQ,GAGCC,EAAa,CAEtBC,OAAQ,GACRC,WAAY,GACZC,QAAQ,GAKNC,EAAO,CAAC,CACVC,UAAW,SACXC,MAAO,OACPC,UAAW,SACXC,KAAM,SACNC,MAAO,CACHC,MAAO,IACPC,OAAQ,GACRC,SAAU,GACVC,WAAY,IACZC,WAAY,GACZC,cAAe,EACfC,UAAW,GACXC,MAAO,MAINC,EAAI,EAAGC,EAAMf,EAAKgB,OAAQF,EAAIC,EAAKD,IAAK,CAC7C,IAAMG,EAAOjB,EAAKc,GAClBG,EAAKZ,MAAL,iCAAiBb,GAAgByB,EAAKZ,OACtCL,EAAKc,GAAL,iCAAclB,GAAeqB,GAGlBjB","file":"js/chunk-2d0cc628.db33d88a.js","sourcesContent":["// 公共样式\nexport const commonStyle = {\n rotate: 0,\n opacity: 1,\n zIndex: 1\n}\n\nexport const commonAttr = {\n\n events: {},\n groupStyle: {}, // 当一个组件成为 Group 的子组件时使用\n isLock: false, // 是否锁定组件\n}\n\n\n// 编辑器左侧组件列表\nconst list = [{\n component: 'v-text',\n label: '插入文字',\n propValue: '双击编辑文字',\n icon: 'wenben',\n style: {\n width: 200,\n height: 22,\n fontSize: 14,\n fontWeight: 500,\n lineHeight: '',\n letterSpacing: 0,\n textAlign: '',\n color: '',\n },\n}, ]\n\nfor (let i = 0, len = list.length; i < len; i++) {\n const item = list[i]\n item.style = {...commonStyle, ...item.style }\n list[i] = {...commonAttr, ...item }\n}\n\nexport default list"],"sourceRoot":""}