1 line
7.7 KiB
Plaintext

{"version":3,"file":"config.js","sources":["../../../../packages/ui/src/page/src/formConfig.ts","../../../../packages/ui/src/container/src/formConfig.ts","../../../../packages/ui/src/button/src/formConfig.ts","../../../../packages/ui/src/text/src/formConfig.ts","../../../../packages/ui/src/img/src/formConfig.ts","../../../../packages/ui/src/qrcode/src/formConfig.ts","../../../../packages/ui/src/overlay/src/formConfig.ts","../../src/config-entry.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n text: '页面标识',\n name: 'name',\n disabled: true,\n extra: '在多页面的情况下用来指定要打开的页面',\n },\n {\n text: '页面标题',\n name: 'title',\n },\n {\n name: 'layout',\n text: '容器布局',\n type: 'select',\n defaultValue: 'absolute',\n options: [\n { value: 'absolute', text: '绝对定位' },\n { value: 'relative', text: '流式布局' },\n ],\n },\n];\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n name: 'layout',\n text: '容器布局',\n type: 'select',\n defaultValue: 'absolute',\n options: [\n { value: 'absolute', text: '绝对定位' },\n { value: 'relative', text: '流式布局' },\n ],\n },\n];\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n text: '文本',\n name: 'text',\n },\n];\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n name: 'text',\n text: '文本',\n },\n {\n name: 'multiple',\n text: '多行文本',\n type: 'switch',\n },\n];\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n text: '图片',\n name: 'src',\n },\n {\n text: '链接',\n name: 'url',\n },\n];\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport default [\n {\n text: '链接',\n name: 'url',\n },\n];\n","export default [];\n","import page from '/data/magic/tmagic-editor/packages/ui/src/page/src/formConfig';\nimport container from '/data/magic/tmagic-editor/packages/ui/src/container/src/formConfig';\nimport button from '/data/magic/tmagic-editor/packages/ui/src/button/src/formConfig';\nimport text from '/data/magic/tmagic-editor/packages/ui/src/text/src/formConfig';\nimport img from '/data/magic/tmagic-editor/packages/ui/src/img/src/formConfig';\nimport qrcode from '/data/magic/tmagic-editor/packages/ui/src/qrcode/src/formConfig';\nimport overlay from '/data/magic/tmagic-editor/packages/ui/src/overlay/src/formConfig';\n\n(function() {\n const configs: Record<string, any> = {\n 'page': page,\n 'container': container,\n 'button': button,\n 'text': text,\n 'img': img,\n 'qrcode': qrcode,\n 'overlay': overlay,\n };\n\n window.magicPresetConfigs = configs;\n})();"],"names":[],"mappings":"AAkBA,GAAe,GAAA,CACb,CACE,KAAM,2BACN,KAAM,OACN,SAAU,GACV,MAAO,8GACT,EACA,CACE,KAAM,2BACN,KAAM,OACR,EACA,CACE,KAAM,SACN,KAAM,2BACN,KAAM,SACN,aAAc,WACd,QAAS,CACP,CAAE,MAAO,WAAY,KAAM,0BAAO,EAClC,CAAE,MAAO,WAAY,KAAM,0BAAO,CACpC,CACF,CACF,ECrBe,EAAA,CACb,CACE,KAAM,SACN,KAAM,2BACN,KAAM,SACN,aAAc,WACd,QAAS,CACP,CAAE,MAAO,WAAY,KAAM,0BAAO,EAClC,CAAE,MAAO,WAAY,KAAM,0BAAO,CACpC,CACF,CACF,ECXe,EAAA,CACb,CACE,KAAM,eACN,KAAM,MACR,CACF,ECLe,EAAA,CACb,CACE,KAAM,OACN,KAAM,cACR,EACA,CACE,KAAM,WACN,KAAM,2BACN,KAAM,QACR,CACF,ECVe,EAAA,CACb,CACE,KAAM,eACN,KAAM,KACR,EACA,CACE,KAAM,eACN,KAAM,KACR,CACF,ECTe,EAAA,CACb,CACE,KAAM,eACN,KAAM,KACR,CACF,ECvBA,EAAe,CAAC,ECQf,AAAW,WAAA,CACV,KAAM,GAA+B,CACnC,KAAQ,EACR,UAAa,EACb,OAAU,EACV,KAAQ,EACR,IAAO,EACP,OAAU,EACV,QAAW,CAAA,EAGb,OAAO,mBAAqB,CAC9B,GAAG"}