2026-07-07 11:52:18 +00:00

1 line
29 KiB
Plaintext

{"version":3,"file":"index.umd.cjs","names":[],"sources":["../../../../../node_modules/.pnpm/@tmagic+form-schema@1.7.2_typescript@6.0.3/node_modules/@tmagic/form-schema/dist/tmagic-form-schema.js","../../../../../node_modules/.pnpm/@tmagic+vue-button@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runti_1f5ce6a90210b06030883f9c6c9f0df4/node_modules/@tmagic/vue-button/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+schema@1.8.0-beta.11_typescript@6.0.3/node_modules/@tmagic/schema/dist/es/index.js","../../../../../node_modules/.pnpm/@tmagic+utils@1.8.0-beta.11_@tmagic+schema@1.8.0-beta.11_typescript@6.0.3__typescript@6.0.3/node_modules/@tmagic/utils/dist/es/const.js","../../../../../node_modules/.pnpm/@tmagic+utils@1.8.0-beta.11_@tmagic+schema@1.8.0-beta.11_typescript@6.0.3__typescript@6.0.3/node_modules/@tmagic/utils/dist/es/dom.js","../../../../../node_modules/.pnpm/@tmagic+vue-container@2.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-ru_05751fd8d4c0dbbe9428dfd6c82c0181/node_modules/@tmagic/vue-container/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-img@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runtime-_749d26d51520b97b897bd458e1442039/node_modules/@tmagic/vue-img/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-iterator-container@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmag_2f1306e9af1e6ab1978d027a7826c879/node_modules/@tmagic/vue-iterator-container/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-overlay@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runt_2558b3a812c34b4eea77667bd3ccd343/node_modules/@tmagic/vue-overlay/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-page@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runtime_966ff5a130f3ad68577a5c070926ff49/node_modules/@tmagic/vue-page/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-page-fragment@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vu_0242b859f296f223b83ff1000bf67c07/node_modules/@tmagic/vue-page-fragment/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-page-fragment-container@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3___4407c4656ea7d2f7b3776cafc8853a73/node_modules/@tmagic/vue-page-fragment-container/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-qrcode@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runti_8fcc580441eb89dc5cd46066241fc28b/node_modules/@tmagic/vue-qrcode/src/formConfig.ts","../../../../../node_modules/.pnpm/@tmagic+vue-text@1.0.0_@tmagic+core@1.8.0-beta.11_typescript@6.0.3__@tmagic+vue-runtime_591e544c3e34497d592aeec91c4096d9/node_modules/@tmagic/vue-text/src/formConfig.ts","../../../.tmagic/config-entry.ts"],"sourcesContent":["const defineFormConfig = (config) => config;\n\nexport { defineFormConfig };\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n text: '文本',\n name: 'text',\n type: 'data-source-input',\n },\n]);\n","//#region packages/schema/src/index.ts\nvar NodeType = /* @__PURE__ */ function(NodeType) {\n\t/** 容器 */\n\tNodeType[\"CONTAINER\"] = \"container\";\n\t/** 页面 */\n\tNodeType[\"PAGE\"] = \"page\";\n\t/** 根类型 */\n\tNodeType[\"ROOT\"] = \"app\";\n\t/** 页面片 */\n\tNodeType[\"PAGE_FRAGMENT\"] = \"page-fragment\";\n\treturn NodeType;\n}({});\nvar NODE_CONDS_KEY = \"displayConds\";\nvar NODE_CONDS_RESULT_KEY = \"displayCondsResultReverse\";\nvar NODE_DISABLE_DATA_SOURCE_KEY = \"_tmagic_node_disabled_data_source\";\nvar NODE_DISABLE_CODE_BLOCK_KEY = \"_tmagic_node_disabled_code_block\";\nvar ActionType = /* @__PURE__ */ function(ActionType) {\n\t/** 联动组件 */\n\tActionType[\"COMP\"] = \"comp\";\n\t/** 联动代码 */\n\tActionType[\"CODE\"] = \"code\";\n\t/** 数据源 */\n\tActionType[\"DATA_SOURCE\"] = \"data-source\";\n\treturn ActionType;\n}({});\nvar HookType = /* @__PURE__ */ function(HookType) {\n\t/** 代码块钩子标识 */\n\tHookType[\"CODE\"] = \"code\";\n\treturn HookType;\n}({});\nvar HookCodeType = /* @__PURE__ */ function(HookCodeType) {\n\t/** 代码块 */\n\tHookCodeType[\"CODE\"] = \"code\";\n\t/** 数据源方法 */\n\tHookCodeType[\"DATA_SOURCE_METHOD\"] = \"data-source-method\";\n\treturn HookCodeType;\n}({});\n//#endregion\nexport { ActionType, HookCodeType, HookType, NODE_CONDS_KEY, NODE_CONDS_RESULT_KEY, NODE_DISABLE_CODE_BLOCK_KEY, NODE_DISABLE_DATA_SOURCE_KEY, NodeType };\n","//#region packages/utils/src/const.ts\nvar DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX = \"ds-field::\";\nvar DATA_SOURCE_FIELDS_CHANGE_EVENT_PREFIX = \"ds-field-changed\";\nvar DATA_SOURCE_SET_DATA_METHOD_NAME = \"setDataFromEvent\";\n//#endregion\nexport { DATA_SOURCE_FIELDS_CHANGE_EVENT_PREFIX, DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX, DATA_SOURCE_SET_DATA_METHOD_NAME };\n","//#region packages/utils/src/dom.ts\nvar asyncLoadJs = (() => {\n\tconst documentMap = /* @__PURE__ */ new Map();\n\treturn (url, crossOrigin, document = globalThis.document) => {\n\t\tlet loaded = documentMap.get(document);\n\t\tif (!loaded) {\n\t\t\tloaded = /* @__PURE__ */ new Map();\n\t\t\tdocumentMap.set(document, loaded);\n\t\t}\n\t\tif (loaded.get(url)) return loaded.get(url);\n\t\tconst load = new Promise((resolve, reject) => {\n\t\t\tconst script = document.createElement(\"script\");\n\t\t\tscript.type = \"text/javascript\";\n\t\t\tif (crossOrigin) script.crossOrigin = crossOrigin;\n\t\t\tscript.src = url;\n\t\t\tdocument.body.appendChild(script);\n\t\t\tscript.onload = () => {\n\t\t\t\tresolve();\n\t\t\t};\n\t\t\tscript.onerror = () => {\n\t\t\t\treject(/* @__PURE__ */ new Error(\"加载失败\"));\n\t\t\t};\n\t\t\tsetTimeout(() => {\n\t\t\t\treject(/* @__PURE__ */ new Error(\"timeout\"));\n\t\t\t}, 60 * 1e3);\n\t\t}).catch((err) => {\n\t\t\tloaded.delete(url);\n\t\t\tthrow err;\n\t\t});\n\t\tloaded.set(url, load);\n\t\treturn loaded.get(url);\n\t};\n})();\nvar asyncLoadCss = (() => {\n\tconst documentMap = /* @__PURE__ */ new Map();\n\treturn (url, document = globalThis.document) => {\n\t\tlet loaded = documentMap.get(document);\n\t\tif (!loaded) {\n\t\t\tloaded = /* @__PURE__ */ new Map();\n\t\t\tdocumentMap.set(document, loaded);\n\t\t}\n\t\tif (loaded.get(url)) return loaded.get(url);\n\t\tconst load = new Promise((resolve, reject) => {\n\t\t\tconst node = document.createElement(\"link\");\n\t\t\tnode.rel = \"stylesheet\";\n\t\t\tnode.href = url;\n\t\t\tdocument.head.appendChild(node);\n\t\t\tnode.onload = () => {\n\t\t\t\tresolve();\n\t\t\t};\n\t\t\tnode.onerror = () => {\n\t\t\t\treject(/* @__PURE__ */ new Error(\"加载失败\"));\n\t\t\t};\n\t\t\tsetTimeout(() => {\n\t\t\t\treject(/* @__PURE__ */ new Error(\"timeout\"));\n\t\t\t}, 60 * 1e3);\n\t\t}).catch((err) => {\n\t\t\tloaded.delete(url);\n\t\t\tthrow err;\n\t\t});\n\t\tloaded.set(url, load);\n\t\treturn loaded.get(url);\n\t};\n})();\nvar addClassName = (el, doc, className) => {\n\tconst oldEl = doc.querySelector(`.${className}`);\n\tif (oldEl && oldEl !== el) removeClassName(oldEl, className);\n\tif (!el.classList.contains(className)) el.classList.add(className);\n};\nvar removeClassName = (el, ...className) => {\n\tel.classList.remove(...className);\n};\nvar removeClassNameByClassName = (doc, className) => {\n\tconst el = doc.querySelector(`.${className}`);\n\tel?.classList.remove(className);\n\treturn el;\n};\nvar injectStyle = (doc, style) => {\n\tconst styleEl = doc.createElement(\"style\");\n\tstyleEl.innerHTML = style;\n\tdoc.head.appendChild(styleEl);\n\treturn styleEl;\n};\nvar createDiv = ({ className, cssText }) => {\n\tconst el = globalThis.document.createElement(\"div\");\n\tel.className = className;\n\tel.style.cssText = cssText;\n\treturn el;\n};\nvar getDocument = () => globalThis.document;\nvar calcValueByFontsize = (doc, value) => {\n\tif (!doc) return value;\n\tconst { fontSize } = doc.documentElement.style;\n\tif (fontSize) {\n\t\tconst times = globalThis.parseFloat(fontSize) / 100;\n\t\treturn Number((value / times).toFixed(2));\n\t}\n\treturn value;\n};\nvar dslDomRelateConfig = {\n\tgetIdFromEl: (el) => el?.dataset?.tmagicId,\n\tgetElById: (doc, id) => doc?.querySelector(`[data-tmagic-id=\"${id}\"]`),\n\tsetIdToEl: (el, id) => {\n\t\tel.dataset.tmagicId = `${id}`;\n\t}\n};\nvar setDslDomRelateConfig = (name, value) => {\n\tdslDomRelateConfig[name] = value;\n};\nvar getIdFromEl = () => dslDomRelateConfig.getIdFromEl;\nvar getElById = () => dslDomRelateConfig.getElById;\nvar setIdToEl = () => dslDomRelateConfig.setIdToEl;\n//#endregion\nexport { addClassName, asyncLoadCss, asyncLoadJs, calcValueByFontsize, createDiv, getDocument, getElById, getIdFromEl, injectStyle, removeClassName, removeClassNameByClassName, setDslDomRelateConfig, setIdToEl };\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { getElById } from '@tmagic/core';\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\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 onChange: (formState: any, v: string, { model, setModel }: any) => {\n if (!model.style) return v;\n if (v === 'relative') {\n setModel('style.height', 'auto');\n } else {\n const el = getElById()(formState.stage?.renderer?.contentWindow.document, model.id);\n if (el) {\n setModel('style.height', el.getBoundingClientRect().height);\n }\n }\n },\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n type: 'data-source-field-select',\n name: 'src',\n text: '图片',\n checkStrictly: false,\n dataSourceFieldType: ['string'],\n fieldConfig: {\n type: 'img-upload',\n },\n },\n {\n text: '链接',\n name: 'url',\n type: 'data-source-input',\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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 */\nimport { DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX, NODE_CONDS_KEY } from '@tmagic/core';\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n name: 'iteratorData',\n text: '数据源数据',\n value: 'value',\n dataSourceFieldType: ['array'],\n checkStrictly: true,\n type: 'data-source-field-select',\n onChange: (_vm: any, v: string[] = [], { setModel }: any) => {\n if (Array.isArray(v) && v.length > 1) {\n const [dsId, ...keys] = v;\n setModel('dsField', [dsId.replace(DATA_SOURCE_FIELDS_SELECT_VALUE_PREFIX, ''), ...keys]);\n } else {\n setModel('dsField', []);\n }\n },\n },\n {\n name: 'dsField',\n type: 'hidden',\n },\n {\n type: 'panel',\n title: '子项配置',\n name: 'itemConfig',\n items: [\n {\n type: 'display-conds',\n name: NODE_CONDS_KEY,\n titlePrefix: '条件组',\n defaultValue: [],\n },\n {\n name: 'layout',\n text: '容器布局',\n type: 'select',\n defaultValue: 'absolute',\n options: [\n { value: 'absolute', text: '绝对定位' },\n { value: 'relative', text: '流式布局', disabled: true },\n ],\n },\n {\n type: 'fieldset',\n legend: '样式',\n name: 'style',\n items: [\n {\n name: 'width',\n text: '宽度',\n },\n {\n name: 'height',\n text: '高度',\n },\n {\n text: 'overflow',\n name: 'overflow',\n type: 'select',\n options: [\n { text: 'visible', value: 'visible' },\n { text: 'hidden', value: 'hidden' },\n { text: 'clip', value: 'clip' },\n { text: 'scroll', value: 'scroll' },\n { text: 'auto', value: 'auto' },\n { text: 'overlay', value: 'overlay' },\n ],\n },\n {\n name: 'backgroundImage',\n text: '背景图',\n },\n {\n name: 'backgroundColor',\n text: '背景颜色',\n type: 'colorPicker',\n },\n {\n name: 'backgroundRepeat',\n text: '背景图重复',\n type: 'select',\n defaultValue: 'no-repeat',\n options: [\n { text: 'repeat', value: 'repeat' },\n { text: 'repeat-x', value: 'repeat-x' },\n { text: 'repeat-y', value: 'repeat-y' },\n { text: 'no-repeat', value: 'no-repeat' },\n { text: 'inherit', value: 'inherit' },\n ],\n },\n {\n name: 'backgroundSize',\n text: '背景图大小',\n defaultValue: '100% 100%',\n },\n ],\n },\n ],\n },\n]);\n","import { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { getElById } from '@tmagic/core';\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\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 onChange: (formState: any, v: string, { model, setModel }: any) => {\n if (!model.style) return v;\n if (v === 'relative') {\n setModel('style.height', 'auto');\n } else {\n const el = getElById()(formState.stage?.renderer?.contentWindow.document, model.id);\n if (el) {\n setModel('style.height', el.getBoundingClientRect().height);\n }\n }\n },\n },\n {\n name: 'jsFiles',\n text: 'js',\n type: 'table',\n items: [\n {\n name: 'url',\n label: '链接',\n },\n ],\n },\n {\n name: 'cssFiles',\n text: 'css',\n type: 'table',\n items: [\n {\n name: 'url',\n label: '链接',\n },\n ],\n },\n {\n text: 'css',\n name: 'css',\n type: 'vs-code',\n language: 'css',\n autosize: {\n minRows: 3,\n maxRows: 20,\n },\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { getElById } from '@tmagic/core';\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n text: '页面片标识',\n name: 'name',\n disabled: true,\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 onChange: (formState: any, v: string, { model, setModel }: any) => {\n if (!model.style) return v;\n if (v === 'relative') {\n setModel('style.height', 'auto');\n } else {\n const el = getElById()(formState.stage?.renderer?.contentWindow.document, model.id);\n if (el) {\n setModel('style.height', el.getBoundingClientRect().height);\n }\n }\n },\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n name: 'pageFragmentId',\n text: '页面片ID',\n type: 'page-fragment-select',\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n text: '链接',\n name: 'url',\n type: 'data-source-input',\n },\n]);\n","/*\n * Tencent is pleased to support the open source community by making TMagicEditor available.\n *\n * Copyright (C) 2025 Tencent. 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\nimport { defineFormConfig } from '@tmagic/form-schema';\n\nexport default defineFormConfig([\n {\n name: 'className',\n type: 'data-source-input',\n text: 'class',\n },\n {\n name: 'text',\n text: '文本',\n type: 'data-source-input',\n },\n {\n name: 'multiple',\n text: '多行文本',\n type: 'switch',\n },\n]);\n","import button from '@tmagic/vue-button/src/formConfig';\nimport container from '@tmagic/vue-container/src/formConfig';\nimport img from '@tmagic/vue-img/src/formConfig';\nimport iteratorContainer from '@tmagic/vue-iterator-container/src/formConfig';\nimport overlay from '@tmagic/vue-overlay/src/formConfig';\nimport page from '@tmagic/vue-page/src/formConfig';\nimport pageFragment from '@tmagic/vue-page-fragment/src/formConfig';\nimport pageFragmentContainer from '@tmagic/vue-page-fragment-container/src/formConfig';\nimport qrcode from '@tmagic/vue-qrcode/src/formConfig';\nimport text from '@tmagic/vue-text/src/formConfig';\n\nconst configs: Record<string, any> = {\n 'button': button,\n 'container': container,\n 'img': img,\n 'iterator-container': iteratorContainer,\n 'overlay': overlay,\n 'page': page,\n 'page-fragment': pageFragment,\n 'page-fragment-container': pageFragmentContainer,\n 'qrcode': qrcode,\n 'text': text,\n};\n\nexport default configs;"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],"mappings":";;;;CAAA,IAAM,oBAAoB,WAAW;;;CCoBrC,IAAA,uBAAe,iBAAiB,CAC9B;EACE,MAAM;EACN,MAAM;EACN,MAAM;CACR,GACA;EACE,MAAM;EACN,MAAM;EACN,MAAM;CACR,CACF,CAAC;;;CCnBD,IAAI,iBAAiB;;;CCXrB,IAAI,yCAAyC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