sohelp-eleplus 1.1.1-8.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/cache/DictCache.js +58 -0
- package/cache/ModuleCache.js +322 -0
- package/components.js +46 -0
- package/core-export.js +4 -0
- package/http/CrudHttp.js +115 -0
- package/http/DictHttp.js +12 -0
- package/http/ModuleHttp.js +68 -0
- package/http/SohelpHttp.js +125 -0
- package/index.js +6 -0
- package/installer.js +8 -0
- package/lang/en_US.js +4 -0
- package/lang/zh_CN.js +4 -0
- package/lang/zh_TW.js +4 -0
- package/package.json +9 -0
- package/sohelp-ace-editor/index.vue +198 -0
- package/sohelp-application-select/index.vue +15 -0
- package/sohelp-autocode/index.vue +53 -0
- package/sohelp-calendar-view/index.vue +11 -0
- package/sohelp-card-view/index.vue +11 -0
- package/sohelp-condition/index.vue +210 -0
- package/sohelp-cry-input/index.vue +64 -0
- package/sohelp-date/index.vue +27 -0
- package/sohelp-datetime/index.vue +44 -0
- package/sohelp-datetime-picker/index.vue +86 -0
- package/sohelp-datetime-range/index.vue +59 -0
- package/sohelp-dict/index.vue +206 -0
- package/sohelp-dict/props.js +68 -0
- package/sohelp-drawer/index.vue +50 -0
- package/sohelp-drop-card/index.vue +94 -0
- package/sohelp-drop-card/props.js +68 -0
- package/sohelp-dyn-select/index.vue +99 -0
- package/sohelp-dyn-select/props.js +67 -0
- package/sohelp-dyn-tree/index.vue +82 -0
- package/sohelp-dyn-tree-select/index.vue +114 -0
- package/sohelp-entity-form/index.vue +524 -0
- package/sohelp-entity-grid/index.vue +30 -0
- package/sohelp-file-upload/index.vue +218 -0
- package/sohelp-filter-scheme/components/condition.vue +102 -0
- package/sohelp-filter-scheme/components/filter.vue +45 -0
- package/sohelp-filter-scheme/components/keywords.vue +15 -0
- package/sohelp-filter-scheme/components/scheme.vue +49 -0
- package/sohelp-filter-scheme/index.vue +113 -0
- package/sohelp-grid/SohelpGridConfig.js~ +408 -0
- package/sohelp-grid/components/filter-condition-item.vue +298 -0
- package/sohelp-grid/index.vue +1965 -0
- package/sohelp-grid/js/ConditionType.js +101 -0
- package/sohelp-grid/js/DefaultGridOptions.js +145 -0
- package/sohelp-grid/js/DefaultProps.js +27 -0
- package/sohelp-grid/js/SohelpConfigFunction.js +0 -0
- package/sohelp-grid/js/SohelpGridConfig.js +101 -0
- package/sohelp-grid/js/useSohelpGridConfig.js +525 -0
- package/sohelp-grid-select/index.vue +245 -0
- package/sohelp-grid-view/filter/config/grid-filter-condition.vue +221 -0
- package/sohelp-grid-view/filter/config/grid-filter-config.vue +27 -0
- package/sohelp-grid-view/filter/config/grid-filter-field.vue +378 -0
- package/sohelp-grid-view/filter/config/grid-filter-keywords.vue +310 -0
- package/sohelp-grid-view/filter/config/grid-filter-list.vue +313 -0
- package/sohelp-grid-view/filter/config/grid-filter-scheme.vue +264 -0
- package/sohelp-grid-view/filter/config/grid-filter-sort.vue +310 -0
- package/sohelp-grid-view/filter/config/index.vue +206 -0
- package/sohelp-grid-view/filter/filter-form.vue +446 -0
- package/sohelp-grid-view/filter/filter-toolbar.vue +110 -0
- package/sohelp-grid-view/filter/index.vue +160 -0
- package/sohelp-grid-view/index.vue +379 -0
- package/sohelp-grid-view-select/index.vue +141 -0
- package/sohelp-group-view/index.vue +11 -0
- package/sohelp-icon-select/icons/AnalysisOutlined.vue +22 -0
- package/sohelp-icon-select/icons/ApplicationOutlined.vue +21 -0
- package/sohelp-icon-select/icons/AppstoreAddOutlined.vue +28 -0
- package/sohelp-icon-select/icons/AppstoreOutlined.vue +30 -0
- package/sohelp-icon-select/icons/ArrowDown.vue +21 -0
- package/sohelp-icon-select/icons/ArrowDownOutlined.vue +20 -0
- package/sohelp-icon-select/icons/ArrowLeft.vue +21 -0
- package/sohelp-icon-select/icons/ArrowLeftOutlined.vue +20 -0
- package/sohelp-icon-select/icons/ArrowRight.vue +21 -0
- package/sohelp-icon-select/icons/ArrowRightOutlined.vue +20 -0
- package/sohelp-icon-select/icons/ArrowUp.vue +21 -0
- package/sohelp-icon-select/icons/ArrowUpOutlined.vue +20 -0
- package/sohelp-icon-select/icons/BellOutlined.vue +21 -0
- package/sohelp-icon-select/icons/BookOutlined.vue +21 -0
- package/sohelp-icon-select/icons/CalendarOutlined.vue +19 -0
- package/sohelp-icon-select/icons/CaretDownFilled.vue +13 -0
- package/sohelp-icon-select/icons/CaretUpFilled.vue +13 -0
- package/sohelp-icon-select/icons/CheckCircleFilled.vue +15 -0
- package/sohelp-icon-select/icons/CheckCircleOutlined.vue +23 -0
- package/sohelp-icon-select/icons/CheckOutlined.vue +20 -0
- package/sohelp-icon-select/icons/CityOutlined.vue +22 -0
- package/sohelp-icon-select/icons/ClockCircleOutlined.vue +23 -0
- package/sohelp-icon-select/icons/CloseCircleFilled.vue +15 -0
- package/sohelp-icon-select/icons/CloseCircleOutlined.vue +22 -0
- package/sohelp-icon-select/icons/CloseOutlined.vue +20 -0
- package/sohelp-icon-select/icons/CloudUploadOutlined.vue +23 -0
- package/sohelp-icon-select/icons/ClusterOutlined.vue +21 -0
- package/sohelp-icon-select/icons/CodeOutlined.vue +22 -0
- package/sohelp-icon-select/icons/ColumnHeightOutlined.vue +18 -0
- package/sohelp-icon-select/icons/CompassOutlined.vue +22 -0
- package/sohelp-icon-select/icons/CompressOutlined.vue +23 -0
- package/sohelp-icon-select/icons/ConnectionOutlined.vue +24 -0
- package/sohelp-icon-select/icons/ControlOutlined.vue +27 -0
- package/sohelp-icon-select/icons/CopyOutlined.vue +22 -0
- package/sohelp-icon-select/icons/CpuOutlined.vue +22 -0
- package/sohelp-icon-select/icons/DashboardOutlined.vue +26 -0
- package/sohelp-icon-select/icons/DatabaseOutlined.vue +22 -0
- package/sohelp-icon-select/icons/DeleteOutlined.vue +22 -0
- package/sohelp-icon-select/icons/DesktopOutlined.vue +19 -0
- package/sohelp-icon-select/icons/DownloadOutlined.vue +21 -0
- package/sohelp-icon-select/icons/DragOutlined.vue +22 -0
- package/sohelp-icon-select/icons/EditOutlined.vue +21 -0
- package/sohelp-icon-select/icons/EllipsisOutlined.vue +15 -0
- package/sohelp-icon-select/icons/EnvironmentOutlined.vue +22 -0
- package/sohelp-icon-select/icons/ExclamationCircleFilled.vue +15 -0
- package/sohelp-icon-select/icons/ExpandOutlined.vue +23 -0
- package/sohelp-icon-select/icons/FileOutlined.vue +22 -0
- package/sohelp-icon-select/icons/FilterFilled.vue +15 -0
- package/sohelp-icon-select/icons/FolderAddOutlined.vue +20 -0
- package/sohelp-icon-select/icons/FolderOutlined.vue +19 -0
- package/sohelp-icon-select/icons/FormOutlined.vue +20 -0
- package/sohelp-icon-select/icons/FullscreenExitOutlined.vue +16 -0
- package/sohelp-icon-select/icons/FullscreenOutlined.vue +16 -0
- package/sohelp-icon-select/icons/FundOutlined.vue +20 -0
- package/sohelp-icon-select/icons/GlobalOutlined.vue +15 -0
- package/sohelp-icon-select/icons/HolderOutlined.vue +18 -0
- package/sohelp-icon-select/icons/HomeOutlined.vue +19 -0
- package/sohelp-icon-select/icons/IdcardOutlined.vue +25 -0
- package/sohelp-icon-select/icons/InfoCircleFilled.vue +15 -0
- package/sohelp-icon-select/icons/LinkOutlined.vue +15 -0
- package/sohelp-icon-select/icons/LoadingDotOutlined.vue +21 -0
- package/sohelp-icon-select/icons/LoadingOutlined.vue +19 -0
- package/sohelp-icon-select/icons/LockOutlined.vue +21 -0
- package/sohelp-icon-select/icons/LogOutlined.vue +22 -0
- package/sohelp-icon-select/icons/LogoutOutlined.vue +22 -0
- package/sohelp-icon-select/icons/MailOutlined.vue +19 -0
- package/sohelp-icon-select/icons/MenuFoldOutlined.vue +17 -0
- package/sohelp-icon-select/icons/MenuUnfoldOutlined.vue +17 -0
- package/sohelp-icon-select/icons/MessageOutlined.vue +22 -0
- package/sohelp-icon-select/icons/MinusCircleOutlined.vue +22 -0
- package/sohelp-icon-select/icons/MobileOutlined.vue +20 -0
- package/sohelp-icon-select/icons/MoonOutlined.vue +21 -0
- package/sohelp-icon-select/icons/MoreOutlined.vue +15 -0
- package/sohelp-icon-select/icons/PauseFilled.vue +14 -0
- package/sohelp-icon-select/icons/PieChartOutlined.vue +20 -0
- package/sohelp-icon-select/icons/PlayFilled.vue +13 -0
- package/sohelp-icon-select/icons/PlusCircleOutlined.vue +22 -0
- package/sohelp-icon-select/icons/PlusOutlined.vue +19 -0
- package/sohelp-icon-select/icons/ProtectOutlined.vue +21 -0
- package/sohelp-icon-select/icons/QuestionCircleFilled.vue +15 -0
- package/sohelp-icon-select/icons/QuestionCircleOutlined.vue +25 -0
- package/sohelp-icon-select/icons/ReloadOutlined.vue +22 -0
- package/sohelp-icon-select/icons/SearchOutlined.vue +21 -0
- package/sohelp-icon-select/icons/SettingOutlined.vue +24 -0
- package/sohelp-icon-select/icons/ShoppingOutlined.vue +19 -0
- package/sohelp-icon-select/icons/SortOutlined.vue +21 -0
- package/sohelp-icon-select/icons/StarFilled.vue +15 -0
- package/sohelp-icon-select/icons/StepBackwardFilled.vue +17 -0
- package/sohelp-icon-select/icons/StepForwardFilled.vue +17 -0
- package/sohelp-icon-select/icons/SuitcaseOutlined.vue +19 -0
- package/sohelp-icon-select/icons/SunOutlined.vue +29 -0
- package/sohelp-icon-select/icons/SwapOutlined.vue +21 -0
- package/sohelp-icon-select/icons/SyncOutlined.vue +21 -0
- package/sohelp-icon-select/icons/TableOutlined.vue +19 -0
- package/sohelp-icon-select/icons/TagOutlined.vue +20 -0
- package/sohelp-icon-select/icons/TimerOutlined.vue +22 -0
- package/sohelp-icon-select/icons/UndoOutlined.vue +22 -0
- package/sohelp-icon-select/icons/UnlockOutlined.vue +21 -0
- package/sohelp-icon-select/icons/UploadOutlined.vue +21 -0
- package/sohelp-icon-select/icons/UserOutlined.vue +21 -0
- package/sohelp-icon-select/icons/VerticalAlignMiddleOutlined.vue +15 -0
- package/sohelp-icon-select/icons/VerticalLeftOutlined.vue +13 -0
- package/sohelp-icon-select/icons/VerticalRightOutlined.vue +13 -0
- package/sohelp-icon-select/icons/WarningOutlined.vue +21 -0
- package/sohelp-icon-select/icons/ZoomInOutlined.vue +22 -0
- package/sohelp-icon-select/icons/ZoomOutOutlined.vue +22 -0
- package/sohelp-icon-select/icons/index.js +106 -0
- package/sohelp-icon-select/icons/index.ts +106 -0
- package/sohelp-icon-select/index.vue +95 -0
- package/sohelp-icon-select/vxeui-icon.js +90 -0
- package/sohelp-image-upload/index.vue +286 -0
- package/sohelp-input/index.vue +39 -0
- package/sohelp-modal/index.vue +72 -0
- package/sohelp-module/index.vue +54 -0
- package/sohelp-module/useModalManager.js +89 -0
- package/sohelp-module/useSohelpModule.js +64 -0
- package/sohelp-number-input/index.vue +32 -0
- package/sohelp-number-range/index.vue +135 -0
- package/sohelp-org-select/index.vue +30 -0
- package/sohelp-org-tree/index.vue +18 -0
- package/sohelp-org-tree-select/index.vue +93 -0
- package/sohelp-org-user-tree/index.vue +26 -0
- package/sohelp-org-user-tree-select/index.vue +11 -0
- package/sohelp-pagination/index.vue +11 -0
- package/sohelp-power/index.vue +105 -0
- package/sohelp-pro-form/components/pro-form-footer.vue +44 -0
- package/sohelp-pro-form/components/pro-form-item.vue +1133 -0
- package/sohelp-pro-form/index.vue +257 -0
- package/sohelp-pro-form/util.js +140 -0
- package/sohelp-pro-layout/index.vue +11 -0
- package/sohelp-pro-table/index.vue +14 -0
- package/sohelp-process/index.vue +216 -0
- package/sohelp-rate/index.vue +56 -0
- package/sohelp-rate/props.js +71 -0
- package/sohelp-relation/index.vue +11 -0
- package/sohelp-rich-text/index.vue +242 -0
- package/sohelp-rich-text/util.js +231 -0
- package/sohelp-richtext/index.vue +10 -0
- package/sohelp-role-select/index.vue +33 -0
- package/sohelp-search/components/search-config.vue +0 -0
- package/sohelp-search/index.vue +49 -0
- package/sohelp-search-pro-form/index.vue +11 -0
- package/sohelp-select/index.vue +120 -0
- package/sohelp-split-panel/index.vue +15 -0
- package/sohelp-switch/index.vue +56 -0
- package/sohelp-table/index.vue +151 -0
- package/sohelp-tenant-select/index.vue +128 -0
- package/sohelp-text/index.vue +14 -0
- package/sohelp-textarea-input/index.vue +36 -0
- package/sohelp-time/index.vue +10 -0
- package/sohelp-tree/index.vue +37 -0
- package/sohelp-tree-select/index.vue +18 -0
- package/sohelp-user-select/index.vue +44 -0
- package/sohelp-user-select/index.vue~ +53 -0
- package/sohelp-user-select/props.js +71 -0
- package/sohelp-user-tag/index.vue +12 -0
- package/sohelp-user-tree/index.vue +11 -0
- package/sohelp-vform-drawer/index.vue +40 -0
- package/sohelp-vform-eleplus/favicon.ico +0 -0
- package/sohelp-vform-eleplus/index.vue +297 -0
- package/sohelp-vform-eleplus/preview.html +91 -0
- package/sohelp-vform-eleplus/render.es.js +72433 -0
- package/sohelp-vform-eleplus/render.style.css +16 -0
- package/sohelp-vform-eleplus/render.umd.js +57 -0
- package/sohelp-vform-eleplus/tinymce/langs/zh_CN.js +462 -0
- package/sohelp-vform-eleplus/tinymce/langs/zh_TW.js +419 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/dark/content.css +72 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/dark/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/default/content.css +67 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/default/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/document/content.css +72 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/document/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/writer/content.css +68 -0
- package/sohelp-vform-eleplus/tinymce/skins/content/writer/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.css +732 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.inline.css +726 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.mobile.css +29 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.css +3047 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.mobile.css +673 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.shadowdom.css +37 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.css +714 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.inline.css +726 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.mobile.css +29 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.css +3047 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.mobile.css +673 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +37 -0
- package/sohelp-vform-eleplus/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
- package/sohelp-vform-modal/index.vue +41 -0
- package/sohelp-vform-select/index.vue +11 -0
- package/sohelp-vform-vant/favicon.ico +0 -0
- package/sohelp-vform-vant/render.es.js +14608 -0
- package/sohelp-vform-vant/render.style.css +1 -0
- package/sohelp-vform-vant/render.umd.js +22 -0
- package/sohelp-vxe-grid/DefaultGridOptions.js +90 -0
- package/sohelp-vxe-grid/DefaultProps.js +27 -0
- package/sohelp-vxe-grid/SohelpGridConfig.js +143 -0
- package/sohelp-vxe-grid/index.vue +475 -0
- package/sohelp-vxe-grid-select/index.vue +148 -0
- package/sohelp-vxe-table/index.vue +184 -0
- package/sohelp-workflow/index.vue +495 -0
- package/sohelp-workflow/nodeWrap.vue +53 -0
- package/sohelp-workflow/nodes/addNode.vue +27 -0
- package/sohelp-workflow/nodes/approver.vue +125 -0
- package/sohelp-workflow/nodes/branch.vue +434 -0
- package/sohelp-workflow/nodes/promoter.vue +80 -0
- package/sohelp-workflow/nodes/send.vue +95 -0
- package/sohelp-workflow-drawer/components/approval-modal.vue +182 -0
- package/sohelp-workflow-drawer/components/draw-box.vue +141 -0
- package/sohelp-workflow-drawer/components/form.vue +78 -0
- package/sohelp-workflow-drawer/components/table.vue +153 -0
- package/sohelp-workflow-drawer/components/timeline.vue +189 -0
- package/sohelp-workflow-drawer/components/workflow.vue +68 -0
- package/sohelp-workflow-drawer/index.vue +311 -0
- package/sohelp-workflow-drawer/js/index.js +119 -0
- package/utils/ProFormConvertUtil.js +76 -0
- package/utils/core.js +310 -0
- package/utils/use-form-data.js +48 -0
- package/utils/use-mobile.js +43 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
(function(t,Ve){typeof exports=="object"&&typeof module!="undefined"?module.exports=Ve(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Ve):(t=typeof globalThis!="undefined"?globalThis:t||self,t.VmFormRender=Ve(t.Vue))})(this,function(t){"use strict";var Ve=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Dt={exports:{}},an=function(o,n){return function(){for(var l=new Array(arguments.length),r=0;r<l.length;r++)l[r]=arguments[r];return o.apply(n,l)}},qo=an,Oe=Object.prototype.toString;function Lt(e){return Oe.call(e)==="[object Array]"}function vt(e){return typeof e=="undefined"}function Yo(e){return e!==null&&!vt(e)&&e.constructor!==null&&!vt(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function $o(e){return Oe.call(e)==="[object ArrayBuffer]"}function Jo(e){return typeof FormData!="undefined"&&e instanceof FormData}function Ko(e){var o;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?o=ArrayBuffer.isView(e):o=e&&e.buffer&&e.buffer instanceof ArrayBuffer,o}function Go(e){return typeof e=="string"}function Zo(e){return typeof e=="number"}function rn(e){return e!==null&&typeof e=="object"}function it(e){if(Oe.call(e)!=="[object Object]")return!1;var o=Object.getPrototypeOf(e);return o===null||o===Object.prototype}function Xo(e){return Oe.call(e)==="[object Date]"}function Qo(e){return Oe.call(e)==="[object File]"}function ei(e){return Oe.call(e)==="[object Blob]"}function dn(e){return Oe.call(e)==="[object Function]"}function ti(e){return rn(e)&&dn(e.pipe)}function ni(e){return typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams}function oi(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ii(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function kt(e,o){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),Lt(e))for(var n=0,i=e.length;n<i;n++)o.call(null,e[n],n,e);else for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&o.call(null,e[l],l,e)}function Bt(){var e={};function o(l,r){it(e[r])&&it(l)?e[r]=Bt(e[r],l):it(l)?e[r]=Bt({},l):Lt(l)?e[r]=l.slice():e[r]=l}for(var n=0,i=arguments.length;n<i;n++)kt(arguments[n],o);return e}function li(e,o,n){return kt(o,function(l,r){n&&typeof l=="function"?e[r]=qo(l,n):e[r]=l}),e}function ai(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var fe={isArray:Lt,isArrayBuffer:$o,isBuffer:Yo,isFormData:Jo,isArrayBufferView:Ko,isString:Go,isNumber:Zo,isObject:rn,isPlainObject:it,isUndefined:vt,isDate:Xo,isFile:Qo,isBlob:ei,isFunction:dn,isStream:ti,isURLSearchParams:ni,isStandardBrowserEnv:ii,forEach:kt,merge:Bt,extend:li,trim:oi,stripBOM:ai},Pe=fe;function sn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var cn=function(o,n,i){if(!n)return o;var l;if(i)l=i(n);else if(Pe.isURLSearchParams(n))l=n.toString();else{var r=[];Pe.forEach(n,function(c,f){c===null||typeof c=="undefined"||(Pe.isArray(c)?f=f+"[]":c=[c],Pe.forEach(c,function(m){Pe.isDate(m)?m=m.toISOString():Pe.isObject(m)&&(m=JSON.stringify(m)),r.push(sn(f)+"="+sn(m))}))}),l=r.join("&")}if(l){var a=o.indexOf("#");a!==-1&&(o=o.slice(0,a)),o+=(o.indexOf("?")===-1?"?":"&")+l}return o},ri=fe;function lt(){this.handlers=[]}lt.prototype.use=function(o,n,i){return this.handlers.push({fulfilled:o,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1},lt.prototype.eject=function(o){this.handlers[o]&&(this.handlers[o]=null)},lt.prototype.forEach=function(o){ri.forEach(this.handlers,function(i){i!==null&&o(i)})};var di=lt,si=fe,ci=function(o,n){si.forEach(o,function(l,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(o[n]=l,delete o[r])})},fn=function(o,n,i,l,r){return o.config=n,i&&(o.code=i),o.request=l,o.response=r,o.isAxiosError=!0,o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},o},fi=fn,mn=function(o,n,i,l,r){var a=new Error(o);return fi(a,n,i,l,r)},mi=mn,ui=function(o,n,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?o(i):n(mi("Request failed with status code "+i.status,i.config,null,i.request,i))},at=fe,pi=at.isStandardBrowserEnv()?function(){return{write:function(n,i,l,r,a,s){var c=[];c.push(n+"="+encodeURIComponent(i)),at.isNumber(l)&&c.push("expires="+new Date(l).toGMTString()),at.isString(r)&&c.push("path="+r),at.isString(a)&&c.push("domain="+a),s===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),gi=function(o){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(o)},hi=function(o,n){return n?o.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):o},bi=gi,wi=hi,yi=function(o,n){return o&&!bi(n)?wi(o,n):n},Rt=fe,Ci=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],_i=function(o){var n={},i,l,r;return o&&Rt.forEach(o.split(`
|
|
2
|
+
`),function(s){if(r=s.indexOf(":"),i=Rt.trim(s.substr(0,r)).toLowerCase(),l=Rt.trim(s.substr(r+1)),i){if(n[i]&&Ci.indexOf(i)>=0)return;i==="set-cookie"?n[i]=(n[i]?n[i]:[]).concat([l]):n[i]=n[i]?n[i]+", "+l:l}}),n},un=fe,Fi=un.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function l(r){var a=r;return o&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=l(window.location.href),function(a){var s=un.isString(a)?l(a):a;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}();function Et(e){this.message=e}Et.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Et.prototype.__CANCEL__=!0;var rt=Et,dt=fe,Si=ui,xi=pi,Mi=cn,Vi=yi,Di=_i,Li=Fi,Ot=mn,vi=ct,ki=rt,pn=function(o){return new Promise(function(i,l){var r=o.data,a=o.headers,s=o.responseType,c;function f(){o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}dt.isFormData(r)&&delete a["Content-Type"];var d=new XMLHttpRequest;if(o.auth){var m=o.auth.username||"",u=o.auth.password?unescape(encodeURIComponent(o.auth.password)):"";a.Authorization="Basic "+btoa(m+":"+u)}var y=Vi(o.baseURL,o.url);d.open(o.method.toUpperCase(),Mi(y,o.params,o.paramsSerializer),!0),d.timeout=o.timeout;function g(){if(!!d){var w="getAllResponseHeaders"in d?Di(d.getAllResponseHeaders()):null,_=!s||s==="text"||s==="json"?d.responseText:d.response,k={data:_,status:d.status,statusText:d.statusText,headers:w,config:o,request:d};Si(function(B){i(B),f()},function(B){l(B),f()},k),d=null}}if("onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(g)},d.onabort=function(){!d||(l(Ot("Request aborted",o,"ECONNABORTED",d)),d=null)},d.onerror=function(){l(Ot("Network Error",o,null,d)),d=null},d.ontimeout=function(){var _=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",k=o.transitional||vi.transitional;o.timeoutErrorMessage&&(_=o.timeoutErrorMessage),l(Ot(_,o,k.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},dt.isStandardBrowserEnv()){var h=(o.withCredentials||Li(y))&&o.xsrfCookieName?xi.read(o.xsrfCookieName):void 0;h&&(a[o.xsrfHeaderName]=h)}"setRequestHeader"in d&&dt.forEach(a,function(_,k){typeof r=="undefined"&&k.toLowerCase()==="content-type"?delete a[k]:d.setRequestHeader(k,_)}),dt.isUndefined(o.withCredentials)||(d.withCredentials=!!o.withCredentials),s&&s!=="json"&&(d.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&d.addEventListener("progress",o.onDownloadProgress),typeof o.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",o.onUploadProgress),(o.cancelToken||o.signal)&&(c=function(w){!d||(l(!w||w&&w.type?new ki("canceled"):w),d.abort(),d=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c))),r||(r=null),d.send(r)})},re=fe,gn=ci,Bi=fn,Ri={"Content-Type":"application/x-www-form-urlencoded"};function hn(e,o){!re.isUndefined(e)&&re.isUndefined(e["Content-Type"])&&(e["Content-Type"]=o)}function Ei(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=pn),e}function Oi(e,o,n){if(re.isString(e))try{return(o||JSON.parse)(e),re.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var st={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Ei(),transformRequest:[function(o,n){return gn(n,"Accept"),gn(n,"Content-Type"),re.isFormData(o)||re.isArrayBuffer(o)||re.isBuffer(o)||re.isStream(o)||re.isFile(o)||re.isBlob(o)?o:re.isArrayBufferView(o)?o.buffer:re.isURLSearchParams(o)?(hn(n,"application/x-www-form-urlencoded;charset=utf-8"),o.toString()):re.isObject(o)||n&&n["Content-Type"]==="application/json"?(hn(n,"application/json"),Oi(o)):o}],transformResponse:[function(o){var n=this.transitional||st.transitional,i=n&&n.silentJSONParsing,l=n&&n.forcedJSONParsing,r=!i&&this.responseType==="json";if(r||l&&re.isString(o)&&o.length)try{return JSON.parse(o)}catch(a){if(r)throw a.name==="SyntaxError"?Bi(a,this,"E_JSON_PARSE"):a}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};re.forEach(["delete","get","head"],function(o){st.headers[o]={}}),re.forEach(["post","put","patch"],function(o){st.headers[o]=re.merge(Ri)});var ct=st,Ni=fe,zi=ct,Ii=function(o,n,i){var l=this||zi;return Ni.forEach(i,function(a){o=a.call(l,o,n)}),o},bn=function(o){return!!(o&&o.__CANCEL__)},wn=fe,Nt=Ii,Ti=bn,Pi=ct,Hi=rt;function zt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hi("canceled")}var Ai=function(o){zt(o),o.headers=o.headers||{},o.data=Nt.call(o,o.data,o.headers,o.transformRequest),o.headers=wn.merge(o.headers.common||{},o.headers[o.method]||{},o.headers),wn.forEach(["delete","get","head","post","put","patch","common"],function(l){delete o.headers[l]});var n=o.adapter||Pi.adapter;return n(o).then(function(l){return zt(o),l.data=Nt.call(o,l.data,l.headers,o.transformResponse),l},function(l){return Ti(l)||(zt(o),l&&l.response&&(l.response.data=Nt.call(o,l.response.data,l.response.headers,o.transformResponse))),Promise.reject(l)})},me=fe,yn=function(o,n){n=n||{};var i={};function l(d,m){return me.isPlainObject(d)&&me.isPlainObject(m)?me.merge(d,m):me.isPlainObject(m)?me.merge({},m):me.isArray(m)?m.slice():m}function r(d){if(me.isUndefined(n[d])){if(!me.isUndefined(o[d]))return l(void 0,o[d])}else return l(o[d],n[d])}function a(d){if(!me.isUndefined(n[d]))return l(void 0,n[d])}function s(d){if(me.isUndefined(n[d])){if(!me.isUndefined(o[d]))return l(void 0,o[d])}else return l(void 0,n[d])}function c(d){if(d in n)return l(o[d],n[d]);if(d in o)return l(void 0,o[d])}var f={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return me.forEach(Object.keys(o).concat(Object.keys(n)),function(m){var u=f[m]||r,y=u(m);me.isUndefined(y)&&u!==c||(i[m]=y)}),i},Cn={version:"0.24.0"},ji=Cn.version,It={};["object","boolean","number","function","string","symbol"].forEach(function(e,o){It[e]=function(i){return typeof i===e||"a"+(o<1?"n ":" ")+e}});var _n={};It.transitional=function(o,n,i){function l(r,a){return"[Axios v"+ji+"] Transitional option '"+r+"'"+a+(i?". "+i:"")}return function(r,a,s){if(o===!1)throw new Error(l(a," has been removed"+(n?" in "+n:"")));return n&&!_n[a]&&(_n[a]=!0,console.warn(l(a," has been deprecated since v"+n+" and will be removed in the near future"))),o?o(r,a,s):!0}};function Wi(e,o,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),l=i.length;l-- >0;){var r=i[l],a=o[r];if(a){var s=e[r],c=s===void 0||a(s,r,e);if(c!==!0)throw new TypeError("option "+r+" must be "+c);continue}if(n!==!0)throw Error("Unknown option "+r)}}var Ui={assertOptions:Wi,validators:It},Fn=fe,qi=cn,Sn=di,xn=Ai,ft=yn,Mn=Ui,He=Mn.validators;function Ge(e){this.defaults=e,this.interceptors={request:new Sn,response:new Sn}}Ge.prototype.request=function(o){typeof o=="string"?(o=arguments[1]||{},o.url=arguments[0]):o=o||{},o=ft(this.defaults,o),o.method?o.method=o.method.toLowerCase():this.defaults.method?o.method=this.defaults.method.toLowerCase():o.method="get";var n=o.transitional;n!==void 0&&Mn.assertOptions(n,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1);var i=[],l=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(o)===!1||(l=l&&u.synchronous,i.unshift(u.fulfilled,u.rejected))});var r=[];this.interceptors.response.forEach(function(u){r.push(u.fulfilled,u.rejected)});var a;if(!l){var s=[xn,void 0];for(Array.prototype.unshift.apply(s,i),s=s.concat(r),a=Promise.resolve(o);s.length;)a=a.then(s.shift(),s.shift());return a}for(var c=o;i.length;){var f=i.shift(),d=i.shift();try{c=f(c)}catch(m){d(m);break}}try{a=xn(c)}catch(m){return Promise.reject(m)}for(;r.length;)a=a.then(r.shift(),r.shift());return a},Ge.prototype.getUri=function(o){return o=ft(this.defaults,o),qi(o.url,o.params,o.paramsSerializer).replace(/^\?/,"")},Fn.forEach(["delete","get","head","options"],function(o){Ge.prototype[o]=function(n,i){return this.request(ft(i||{},{method:o,url:n,data:(i||{}).data}))}}),Fn.forEach(["post","put","patch"],function(o){Ge.prototype[o]=function(n,i,l){return this.request(ft(l||{},{method:o,url:n,data:i}))}});var Yi=Ge,$i=rt;function Ae(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var o;this.promise=new Promise(function(l){o=l});var n=this;this.promise.then(function(i){if(!!n._listeners){var l,r=n._listeners.length;for(l=0;l<r;l++)n._listeners[l](i);n._listeners=null}}),this.promise.then=function(i){var l,r=new Promise(function(a){n.subscribe(a),l=a}).then(i);return r.cancel=function(){n.unsubscribe(l)},r},e(function(l){n.reason||(n.reason=new $i(l),o(n.reason))})}Ae.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Ae.prototype.subscribe=function(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]},Ae.prototype.unsubscribe=function(o){if(!!this._listeners){var n=this._listeners.indexOf(o);n!==-1&&this._listeners.splice(n,1)}},Ae.source=function(){var o,n=new Ae(function(l){o=l});return{token:n,cancel:o}};var Ji=Ae,Ki=function(o){return function(i){return o.apply(null,i)}},Gi=function(o){return typeof o=="object"&&o.isAxiosError===!0},Vn=fe,Zi=an,mt=Yi,Xi=yn,Qi=ct;function Dn(e){var o=new mt(e),n=Zi(mt.prototype.request,o);return Vn.extend(n,mt.prototype,o),Vn.extend(n,o),n.create=function(l){return Dn(Xi(e,l))},n}var _e=Dn(Qi);_e.Axios=mt,_e.Cancel=rt,_e.CancelToken=Ji,_e.isCancel=bn,_e.VERSION=Cn.version,_e.all=function(o){return Promise.all(o)},_e.spread=Ki,_e.isAxiosError=Gi,Dt.exports=_e,Dt.exports.default=_e;var el=Dt.exports,Tt=el;function Fe(e={},o){let n;return o?n=o:n=t.getCurrentInstance().proxy,e.vfEvents={},{...{broadcast:function(r,a,s){n.widgetRefList&&Object.keys(n.widgetRefList).forEach(c=>{if(n.widgetRefList[c].$options.componentName===r){let d=n.widgetRefList[c];d.emit$.call(d,a,s)}}),this.refList&&Object.keys(n.refList).forEach(c=>{if(n.refList[c].$options.componentName===r){let d=n.refList[c];d.emit$.call(d,a,s)}})},dispatch:function(r,a,s){let c=n.$parent||n.$root,f=c.$options.componentName;for(;c&&(!f||f!==r);)c=c.$parent,c&&(f=c.$options.componentName);c&&c.emit$&&(c.emit$.call(c,a,s),r==="VmFormRender"&&c.$emit(a,...s))},emit$(l,r){e.vfEvents[l]&&e.vfEvents[l].forEach(a=>{a(r)})},off$(l,r){if(e.vfEvents[l]){if(r==null){e.vfEvents[l].length=0;return}for(let a=0;a<e.vfEvents[l].length;a++)if(e.vfEvents[l][a]===r){e.vfEvents[l].splice(a,1);break}}},on$(l,r){e.vfEvents[l]=e.vfEvents[l]||[],e.vfEvents[l].push(r)}}}}function Ln(e){return e!=null}function Pt(e,o){const n=o.split(".");let i=e;return n.forEach(l=>{i=Ln(i)&&Ln(i[l])?i[l]:null}),i}let Ht=t.reactive({lang:localStorage.getItem("vm_form_locale")||"zh-CN"});function tl(e){return{$mt(o,...n){const i=Pt(this.messages[Ht.lang],o);return typeof i=="function"?i(...n):i!==null?i:o},$mt2(o,n){let i=this.messages[Ht.lang];const l=Pt(i,o);return l!==null?l:Pt(i,n)},messages:e.messages,setLang(o){Ht.lang=o}}}var nl={application:{deployment:"Deployment",document:"Docs","en-US":"English",github:"GitHub",productTitle:"Online Form Designer",qqGroup:"WeChat Group",subscription:"Subscription","zh-CN":"\u7B80\u4F53\u4E2D\u6587"},designer:{advancedFieldTitle:"Advanced Field",basicFieldTitle:"Basic Field",componentLib:"Components",containerTitle:"Container",customFieldTitle:"Customized Field",dragAction:"drag",dragHandlerHint:"drag container or field to layout center",formLib:"Templates",hint:{cancel:"Cancel",cellSetting:"Cell setting",chineseValidator:"Chinese",cloneWidget:"Clone this widget",closePreview:"Close",colspanNotConsistentForDeleteEntireColumn:"Cells in this column don't have the same colspan, operation failed.",colspanNotConsistentForMergeEntireColumn:"Cells in this column don't have the same colspan, operation failed.",confirm:"OK",copyField:"Copy field widget",copyFormData:"Copy",copyHtmlCode:"Copy HTML Code",copyHtmlCodeFail:"Copy failed",copyHtmlCodeSuccess:"Copy succeed",copyJson:"Copy",copyJsonFail:"Copy failed",copyJsonSuccess:"Copy succeed",copySFCFail:"Copy failed",copySFCSuccess:"Copy succeed",copyVue2SFC:"Copy Vue2",copyVue3SFC:"Copy Vue3",copyVueCode:"Copy Vue Code",copyVueCodeFail:"Copy failed",copyVueCodeSuccess:"Copy succeed",currentNodeCannotBeSelected:"The current node cannot be selected.",disableForm:"Disable",dragHandler:"Drag handler",duplicateName:"Duplicate name: ",emailValidator:"Email",enableForm:"Enable",exportFormData:"Form Data",fileNameForSave:"File name:",fileNameInputPlaceholder:"Enter the file name",formSetting:"Form Prop",getFormData:"Get Data",import:"Import",importDSHint:"The format of the imported datasource must be valid.",importJsonHint:"The code to be imported should have the following JSON format.",importJsonSuccess:"Import succeed",insertColumn:"Insert new column",insertRow:"Insert new row",invalidJsonFormat:"Invalid JSON format",invalidOptionsData:"Invalid data of options:",jsonVersionMismatch:"Version of JSON mismatch",lastColCannotBeDeleted:"The last col cannot be deleted.",lastPaneCannotBeDeleted:"The last pane cannot be deleted.",lastRowCannotBeDeleted:"The last row cannot be deleted.",letterAndNumberValidator:"LetterAndNumber",letterValidator:"Letter",loadFormTemplate:"Load This",loadFormTemplateFailed:"Load form template failed.",loadFormTemplateHint:"Are you sure to load this template?",loadFormTemplateSuccess:"Load form template success!",mobilePhoneValidator:"MobilePhone",moveDownLastChildHint:"Last child can not be move down",moveDownWidget:"Move down this widget",moveUpFirstChildHint:"First child can not be move up",moveUpWidget:"Move up this widget",nameRequired:"Name required.",noChineseValidator:"Non-Chinese",noSelectedWidgetHint:"No selected widget.",numberValidator:"Number",onlyFieldWidgetAcceptable:"Only field widget can be dragged into sub-form",prompt:"Prompt",remove:"Remove this widget",resetForm:"Reset",rowspanNotConsistentForDeleteEntireRow:"Cells in this row don't have the same rowspan, operation failed.",rowspanNotConsistentForMergeEntireRow:"Cells in this row don't have the same rowspan, operation failed.",sampleLoadedFail:"Sample load failed",sampleLoadedSuccess:"Example loaded successfully",saveFileTitle:"Save as File",saveFormData:"Save As File",saveFormJson:"Save As File",saveHtmlCode:"Save Html File",saveVue2SFC:"Save As Vue2",saveVue3SFC:"Save As Vue3",saveVueCode:"Save Vue File",searchPlaceholder:"Please Input Search Words",selectParentWidget:"Select parent of this widget",switchReadMode:"Read Mode",urlValidator:"URL",widgetSetting:"Widget Prop"},noWidgetHint:"Please select a widget from the left list, drag and drop to this container.",setting:{activeColor:"Active Color",activeLabel:"Active Label",activeValue:"Active Value",addColumn:"Add Column",addCss:"Edit",addDataSet:"Add Dataset",addDataSource:"Add Datasource",addEventHandler:"Edit",addOption:"Add Option",addRequestData:"Add Data",addRequestHeader:"Add Header",addRequestParam:"Add Param",addTabPane:"Add Tab Pane",advancedSetting:"Advanced Setting",allowCreate:"Allow Create",allowHalf:"Allow Half",appendButton:"Append Button",appendButtonDisabled:"Button Disabled",appendButtonIcon:"Button Icon",appendButtonLabel:"Button Label",appendButtonType:"Button Type",attributeSetting:"Attribute Setting",automaticDropdown:"Automatic Dropdown",basicSetting:"Basic Setting",blockLayout:"block",border:"Show Border",buttonIcon:"Button Icon",buttonStyle:"Show As Button",cellHeight:"Height",cellWidth:"Width",centerAlign:"Center",checkStrictly:"Any Level Selectable",childrenKeyName:"Children Key",circle:"Circle",clearExistingDataSource:"Empty the existing datasource",clearRequestResult:"Clear Result",clearable:"Clearable",closeButtonDefaultText:"confirm",closeButtonText:"close button text",colOffsetTitle:"Offset Of Col",colPullTitle:"Pull Of Col",colPushTitle:"Push Of Col",colSpanTitle:"Spans Of Col",colorStyle:"Color Style",colsOfGrid:"Cols Of Grid:",columnSetting:"Cols Setting",commonSetting:"Common Setting",contentPosition:"Content Position",controlsPosition:"Controls Position",customClass:"Custom Class",customLabelIcon:"Custom Label",dashed:"Dashed",dataSetEnabled:"Multiple Datasets Enabled",dataSetName:"Dataset Name",dataSetRemarkInputPlaceholder:"Remark",dataSetSetting:"List Of Datasets",dataSetSettingTitle:"4. Dataset Setting",dataSource:"Datasource",dataSourceChecked:"Checked",dataSourceSetting:"Datasource Setting",defaultAlign:"Default",defaultValue:"Default Value",deleteDataSourceHint:"Delete this datasource\uFF1F",deleteEntireCol:"delete entire column",deleteEntireRow:"delete entire row",disabled:"Disabled",displayDirection:"Direction",displayStyle:"Display Style",displayType:"Tab Type",displayType:"Type",dsConfigHandlerTitle:"1. Config Handler",dsDataHandlerTitle:"2. Data Handler",dsDescription:"Description",dsDuplicatedNameError:"Duplicate datasource name.",dsEnabled:"Use Datasource",dsErrorHandlerTitle:"3. Error Handler",dsName:"Datasource Name",dsRequestBooleanTypeError:"Boolean value error",dsRequestData:"Data",dsRequestHeaders:"Headers",dsRequestMethod:"Request Method",dsRequestNameInputPlaceholder:"Name",dsRequestNumberTypeError:"Number value error",dsRequestParams:"Params",dsRequestResult:"Result Data",dsRequestTypeInputPlaceholder:"Type",dsRequestURL:"Request URL",dsRequestURLType:"Request URL Type",dsRequestValueBooleanType:"Boolean",dsRequestValueInputPlaceholder:"Value",dsRequestValueNumberType:"Number",dsRequestValueStringType:"String",dsRequestValueVariableType:"Variable",dsURLStringType:"String",dsURLVariableType:"Expression",dsUniqueName:"Unique Name",dsValidationError:"Datasource check failure.",dsvTitle:"Datasource Variable",editFormEventHandler:"Edit Form Event Handler",editNameHelp:"Press enter to confirm the modification",editWidgetEventHandler:"Edit Widget Event Handler",editable:"Editable",endPlaceholder:"End Placeholder",eventSetting:"Event Setting",executeDataSource:"Run Test",exportDataSource:"Export Datasource",fieldValueRequired:"Value can not be null",fileMaxSize:"Max Size(MB)",fileTypes:"Upload File Types",fileTypesHelp:"Allows to add more file types",filterable:"Filterable",fontSize:"Font Size",formBackground:"Form Background",formCss:"Form CSS",formModelName:"Model Name",formPadding:"Form Padding",formRadius:"Form Radius",formRefName:"Ref Name",formRulesName:"Rules Name",formSFCSetting:"SFC Setting",formSize:"Size",format:"Format",globalFunctions:"Global Functions",gridColHeight:"Height Of Col(px)",gutter:"Gutter(px)",headers:"Request Headers",hidden:"Hidden",hiddenHelp:"Hidden read-only fields without a default value will fail upon validation.",highThreshold:"High Threshold",horizontalDirection:"Horizontal",htmlContent:"HTML",icon:"Icon",iconSize:"Icon Size(px)",importDataSource:"Import Datasource",importOptions:"Import Options",inactiveColor:"Inactive Color",inactiveLabel:"Inactive Label",inactiveValue:"Inactive Value",inlineLayout:"inline",inputAlign:"Input Align",inputBorder:"Input Area Border",inputButton:"Input Button Setting",insertColumnToLeft:"insert column to left",insertColumnToRight:"insert column to right",insertRowAbove:"insert row above",insertRowBelow:"insert row below",inset:"Card Style",label:"Label",labelAlign:"Label Align",labelHidden:"Hide Label",labelIconClass:"Label Icon Class",labelIconPosition:"Label Icon Position",labelKeyName:"Label Key",labelPosition:"Position Of Label",labelTooltip:"Label Tooltip",labelWidth:"Width Of Label",leftAlign:"Left",leftIcon:"Left Icon",leftPosition:"Left",limit:"Max Upload Number",lowThreshold:"Low Threshold",maxDate:"Max Date",maxLength:"Max Length",maxStars:"Stars Max Number",maxValue:"Max Value",mergeEntireColumn:"merge entire column",mergeEntireRow:"merge entire row",mergeLeftColumn:"merge left cell",mergeRightColumn:"merge right cell",mergeRowAbove:"merge cell above",mergeRowBelow:"merge cell below",minDate:"Min Date",minLength:"Min Length",minValue:"Min Value",multiple:"Multiple",multipleLimit:"Multiple Limit",multipleSelect:"File Multi-select",noDataSource:"No datasource.",optionsSetting:"Options Setting",paneActive:"Active",placeholder:"Placeholder",plain:"Plain",popupZIndex:"Popup Z-Index",precision:"Precision",previewDataSourceExportResult:"Preview Result",range:"Range",readonly:"Readonly",remainExistingDataSource:"Append to the existing datasource",remote:"Remote Query",required:"Required",requiredHint:"Failure Hint",resetDefault:"Reset Default",responsive:"Responsive",rightAlign:"Right",rightIcon:"Right Icon",round:"Round",rows:"Rows",saveDataSource:"Save Datasource",selectDataSourceForExport:"Select Datasource",showBlankRow:"Show Blank Row",showFileList:"Show File List",showPassword:"Show Reveal",showRowNumber:"Show Row Number",showScore:"Show Score",showStops:"Show Stops",showText:"Show Text",showWordLimit:"Show Word Limit",startPlaceholder:"Start Placeholder",step:"Step",stepButtonSize:"Button Size(px)",switchSize:"Size(px)",syntaxCheckWarning:"Syntax error in the javascript codes, please check again!",tabPaneSetting:"Tab Panes",testDataSource:"Test Datasource",textContent:"Text",textEllipsis:"Ellipsis Text",topPosition:"Top",undoMergeCol:"undo merge column",undoMergeRow:"undo merge row",uniqueName:"Unique Name",uploadButtonText:"Text Of Button",uploadPictureCapture:"Select Capture Type",uploadPictureCaptureAlbum:"Select From Album",uploadPictureCaptureAlbumTip:"Select From Album Only Support Uniapp Render (WeChat & App)",uploadPictureCaptureAll:"All",uploadPictureCaptureCamera:"Take Picture",uploadSetting:"Upload Setting",uploadTip:"Tip Content",uploadURL:"Upload URL",validation:"Validation",validationHelp:"Regular expressions supported",validationHint:"Validation Hint",valueFormat:"Value Format",valueKeyName:"Value Key",vertical:"Vertical",verticalDirection:"Vertical",widgetColumnWidth:"Width",widgetName:"Unique Name",widgetSize:"Size",withCredentials:"Send Cookie"},toolbar:{clear:"Clear",exportCode:"Codes",exportJson:"Export",generateCode:"Generate Code",generateSFC:"Generate SFC",importJson:"Import",mobileLayout:"H5",nodeTreeHint:"Tree View Of Component Hierarchy",nodeTreeTitle:"Tree View Of Component Hierarchy",padLayout:"Pad",pcLayout:"PC",preview:"Preview",redoHint:"Redo",undoHint:"Undo"},widgetLabel:{color:"ColorPicker",custom:"Custom Component","m-button":"Button","m-calendar":"Calendar","m-cascader":"Cascader","m-cell-group":"Group","m-checkbox":"Checkbox","m-date":"Date","m-date-range":"Date range","m-datetime":"Datetime","m-divider":"Divider","m-file-upload":"File","m-grid":"Grid","m-grid-col":"GridCol","m-html-text":"HTML","m-input":"Input","m-number":"Number","m-password":"Password","m-picture-upload":"Picture","m-radio":"Radio","m-rate":"Rate","m-select":"Picker","m-slider":"Slider","m-slot":"Slot","m-static-text":"Text","m-stepper":"Stepper","m-sub-form":"SubForm","m-switch":"Switch","m-tab":"Tab","m-textarea":"Textarea","m-time":"Time","rich-editor":"Rich Editor","sub-form":"SubForm","tab-pane":"TabPane","table-cell":"TableCell","time-range":"Time range"}}},ol={application:{deployment:"\u79C1\u6709\u90E8\u7F72",document:"\u6587\u6863","en-US":"English",github:"GitHub",productTitle:"\u8868\u5355\u8BBE\u8BA1\u5668",qqGroup:"\u6280\u672FWX\u7FA4",subscription:"\u8BA2\u9605mobile","zh-CN":"\u7B80\u4F53\u4E2D\u6587"},designer:{advancedFieldTitle:"\u9AD8\u7EA7\u5B57\u6BB5",basicFieldTitle:"\u57FA\u7840\u5B57\u6BB5",componentLib:"\u7EC4\u4EF6\u5E93",containerTitle:"\u5BB9\u5668",customFieldTitle:"\u81EA\u5B9A\u4E49\u6269\u5C55\u5B57\u6BB5",dragAction:"\u62D6\u52A8",dragHandlerHint:"\u9F20\u6807\u62D6\u62FD\u5BB9\u5668\u7EC4\u4EF6\u6216\u5B57\u6BB5\u7EC4\u4EF6\u5E76\u653E\u7F6E\u4E8E\u8868\u5355\u4E2D",formLib:"\u8868\u5355\u6A21\u677F",hint:{cancel:"\u53D6\u6D88",cellSetting:"\u5355\u5143\u683C\u64CD\u4F5C",chineseValidator:"\u4EC5\u4E2D\u6587\u5B57\u7B26",cloneWidget:"\u590D\u5236\u7EC4\u4EF6",closePreview:"\u5173\u95ED",colspanNotConsistentForDeleteEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u5217.",colspanNotConsistentForMergeEntireColumn:"\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u5217.",confirm:"\u786E\u5B9A",copyField:"\u590D\u5236\u5B57\u6BB5\u7EC4\u4EF6",copyFormData:"\u590D\u5236JSON",copyHtmlCode:"\u590D\u5236HTML\u4EE3\u7801",copyHtmlCodeFail:"\u590D\u5236HTML\u4EE3\u7801\u5931\u8D25",copyHtmlCodeSuccess:"\u590D\u5236HTML\u4EE3\u7801\u6210\u529F",copyJson:"\u590D\u5236JSON",copyJsonFail:"\u590D\u5236JSON\u5931\u8D25",copyJsonSuccess:"\u590D\u5236JSON\u6210\u529F",copySFCFail:"\u590D\u5236SFC\u4EE3\u7801\u5931\u8D25",copySFCSuccess:"\u590D\u5236SFC\u4EE3\u7801\u6210\u529F",copyVue2SFC:"\u590D\u5236Vue2\u4EE3\u7801",copyVue3SFC:"\u590D\u5236Vue3\u4EE3\u7801",copyVueCode:"\u590D\u5236Vue\u4EE3\u7801",copyVueCodeFail:"\u590D\u5236Vue\u4EE3\u7801\u5931\u8D25",copyVueCodeSuccess:"\u590D\u5236Vue\u4EE3\u7801\u6210\u529F",currentNodeCannotBeSelected:"\u5F53\u524D\u7EC4\u4EF6\u8282\u70B9\u4E0D\u53EF\u9009\u62E9",disableForm:"\u7981\u7528\u7F16\u8F91",dragHandler:"\u62D6\u62FD\u624B\u67C4",duplicateName:"\u7EC4\u4EF6\u540D\u79F0\u5DF2\u5B58\u5728: ",emailValidator:"\u90AE\u7BB1",enableForm:"\u6062\u590D\u7F16\u8F91",exportFormData:"\u8868\u5355\u6570\u636E",fileNameForSave:"\u6587\u4EF6\u540D\uFF1A",fileNameInputPlaceholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u540D",formSetting:"\u8868\u5355\u8BBE\u7F6E",getFormData:"\u83B7\u53D6\u6570\u636E",import:"\u5BFC\u5165",importDSHint:"\u5BFC\u5165\u7684\u6570\u636E\u6E90\u683C\u5F0F\u987B\u7B26\u5408\u89C4\u8303\uFF0C\u4EE5\u4FDD\u8BC1\u987A\u5229\u5BFC\u5165.",importJsonHint:"\u5BFC\u5165\u7684JSON\u5185\u5BB9\u987B\u7B26\u5408\u4E0B\u8FF0\u683C\u5F0F\uFF0C\u4EE5\u4FDD\u8BC1\u987A\u5229\u5BFC\u5165.",importJsonSuccess:"\u5BFC\u5165JSON\u6210\u529F",insertColumn:"\u63D2\u5165\u65B0\u5217",insertRow:"\u63D2\u5165\u65B0\u884C",invalidJsonFormat:"\u65E0\u6548\u7684\u8868\u5355JSON\u683C\u5F0F",invalidOptionsData:"\u65E0\u6548\u7684\u9009\u9879\u6570\u636E:",jsonVersionMismatch:"\u8868\u5355JSON\u7248\u672C\u53F7\u4E0D\u5339\u914D",lastColCannotBeDeleted:"\u6700\u540E\u4E00\u5217\u4E0D\u53EF\u5220\u9664.",lastPaneCannotBeDeleted:"\u4EC5\u5269\u4E00\u4E2A\u9009\u9879\u5361\u9875\u4E0D\u53EF\u5220\u9664.",lastRowCannotBeDeleted:"\u6700\u540E\u4E00\u884C\u4E0D\u53EF\u5220\u9664.",letterAndNumberValidator:"\u6570\u5B57\u5B57\u6BCD",letterValidator:"\u5B57\u6BCD",loadFormTemplate:"\u52A0\u8F7D\u6B64\u6A21\u677F",loadFormTemplateFailed:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u5931\u8D25",loadFormTemplateHint:"\u662F\u5426\u52A0\u8F7D\u8FD9\u4E2A\u6A21\u677F\uFF1F\u52A0\u8F7D\u540E\u4F1A\u8986\u76D6\u8BBE\u8BA1\u5668\u5F53\u524D\u8868\u5355\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u201C\u64A4\u9500\u201D\u529F\u80FD\u6062\u590D\u3002",loadFormTemplateSuccess:"\u8868\u5355\u6A21\u677F\u52A0\u8F7D\u6210\u529F",mobilePhoneValidator:"\u624B\u673A\u53F7\u7801",moveDownLastChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0B\u9762",moveDownWidget:"\u4E0B\u79FB\u7EC4\u4EF6",moveUpFirstChildHint:"\u5DF2\u7ECF\u79FB\u52A8\u5230\u6700\u4E0A\u9762",moveUpWidget:"\u4E0A\u79FB\u7EC4\u4EF6",nameRequired:"\u7EC4\u4EF6\u540D\u79F0\u4E0D\u53EF\u4E3A\u7A7A",noChineseValidator:"\u975E\u4E2D\u6587\u5B57\u7B26",noSelectedWidgetHint:"\u5F53\u524D\u6CA1\u6709\u9009\u4E2D\u8BBE\u7F6E\u7684\u7EC4\u4EF6",numberValidator:"\u6570\u5B57",onlyFieldWidgetAcceptable:"\u5B50\u8868\u5355\u53EA\u80FD\u63A5\u6536\u5B57\u6BB5\u7EC4\u4EF6",prompt:"\u63D0\u793A",remove:"\u79FB\u9664\u7EC4\u4EF6",resetForm:"\u91CD\u7F6E\u8868\u5355",rowspanNotConsistentForDeleteEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u884C.",rowspanNotConsistentForMergeEntireRow:"\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",sampleLoadedFail:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u5931\u8D25",sampleLoadedSuccess:"\u8868\u5355\u793A\u4F8B\u52A0\u8F7D\u6210\u529F",saveFileTitle:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",saveFormData:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",saveFormJson:"\u4FDD\u5B58\u4E3A\u6587\u4EF6",saveHtmlCode:"\u4FDD\u5B58Html\u6587\u4EF6",saveVue2SFC:"\u4FDD\u5B58\u4E3AVue2\u7EC4\u4EF6",saveVue3SFC:"\u4FDD\u5B58\u4E3AVue3\u7EC4\u4EF6",saveVueCode:"\u4FDD\u5B58Vue\u6587\u4EF6",searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",selectParentWidget:"\u9009\u4E2D\u7236\u7EC4\u4EF6",switchReadMode:"\u53EA\u8BFB\u67E5\u770B",urlValidator:"\u7F51\u5740",widgetSetting:"\u7EC4\u4EF6\u8BBE\u7F6E"},noWidgetHint:"\u8BF7\u4ECE\u5DE6\u4FA7\u5217\u8868\u4E2D\u9009\u62E9\u4E00\u4E2A\u7EC4\u4EF6, \u7136\u540E\u7528\u9F20\u6807\u62D6\u52A8\u7EC4\u4EF6\u653E\u7F6E\u4E8E\u6B64\u5904.",setting:{activeColor:"\u5F00\u542F\u65F6\u80CC\u666F\u8272",activeLabel:"\u5F00\u542F\u65F6\u7684\u6587\u5B57",activeValue:"\u5F00\u542F\u65F6\u7684\u503C",addColumn:"\u589E\u52A0\u6805\u683C",addCss:"\u7F16\u5199CSS",addDataSet:"\u65B0\u589E\u6570\u636E\u96C6",addDataSource:"\u65B0\u589E\u6570\u636E\u6E90",addEventHandler:"\u7F16\u5199\u4EE3\u7801",addOption:"\u589E\u52A0\u9009\u9879",addRequestData:"\u65B0\u589E\u53D1\u9001\u6570\u636E",addRequestHeader:"\u65B0\u589E\u8BF7\u6C42\u5934",addRequestParam:"\u65B0\u589E\u8BF7\u6C42\u53C2\u6570",addTabPane:"\u589E\u52A0\u9009\u9879\u5361\u9875",advancedSetting:"\u9AD8\u7EA7\u5C5E\u6027",allowCreate:"\u5141\u8BB8\u521B\u5EFA\u9009\u9879",allowHalf:"\u5141\u8BB8\u534A\u9009",appendButton:"\u6DFB\u52A0\u540E\u7F6E\u6309\u94AE",appendButtonDisabled:"\u540E\u7F6E\u6309\u94AE\u7981\u7528",appendButtonIcon:"\u540E\u7F6E\u6309\u94AEIcon",appendButtonLabel:"\u540E\u7F6E\u6309\u94AE\u6587\u672C",appendButtonType:"\u540E\u7F6E\u6309\u94AE\u7C7B\u578B",attributeSetting:"\u5C5E\u6027\u8BBE\u7F6E",automaticDropdown:"\u81EA\u52A8\u5F39\u51FA\u9009\u9879",basicSetting:"\u57FA\u672C\u5C5E\u6027",blockLayout:"\u5757",border:"\u5E26\u6709\u8FB9\u6846",buttonIcon:"\u6309\u94AEIcon",buttonStyle:"\u663E\u793A\u4E3A\u6309\u94AE",cellHeight:"\u9AD8\u5EA6",cellWidth:"\u5BBD\u5EA6",centerAlign:"\u5C45\u4E2D",checkStrictly:"\u4EFB\u610F\u7EA7\u8282\u70B9\u53EF\u9009",childrenKeyName:"\u5B50\u8282\u70B9\u5C5E\u6027\u540D\u79F0",circle:"\u5706\u5F62\u6309\u94AE",clearExistingDataSource:"\u5BFC\u5165\u540E\u6E05\u7A7A\u539F\u6709\u6570\u636E\u6E90",clearRequestResult:"\u6E05\u7A7A\u7ED3\u679C",clearable:"\u53EF\u6E05\u9664",closeButtonDefaultText:"\u786E\u8BA4",closeButtonText:"\u786E\u8BA4\u6309\u94AE\u6587\u672C",colOffsetTitle:"\u5DE6\u4FA7\u95F4\u9694\u683C\u6570",colPullTitle:"\u5DE6\u79FB\u6805\u683C\u6570",colPushTitle:"\u53F3\u79FB\u6805\u683C\u6570",colSpanTitle:"\u6805\u683C\u5BBD\u5EA6",colorStyle:"\u4E3B\u9898\u989C\u8272",colsOfGrid:"\u5F53\u524D\u6805\u683C\u5217:",columnSetting:"\u6805\u683C\u5C5E\u6027\u8BBE\u7F6E",commonSetting:"\u5E38\u89C1\u5C5E\u6027",contentPosition:"\u6587\u5B57\u4F4D\u7F6E",controlsPosition:"\u63A7\u5236\u6309\u94AE\u4F4D\u7F6E",customClass:"\u81EA\u5B9A\u4E49CSS\u6837\u5F0F",customLabelIcon:"\u5B9A\u5236\u5B57\u6BB5\u6807\u7B7E",dashed:"\u663E\u793A\u865A\u7EBF",dataSetEnabled:"\u5F00\u542F\u591A\u6570\u636E\u96C6\u8FD4\u56DE",dataSetName:"\u6307\u5B9A\u6570\u636E\u96C6",dataSetRemarkInputPlaceholder:"\u5907\u6CE8\u8BF4\u660E",dataSetSetting:"\u8FD4\u56DE\u6570\u636E\u96C6\u7BA1\u7406",dataSetSettingTitle:"4. \u591A\u6570\u636E\u96C6\u914D\u7F6E",dataSource:"\u6570\u636E\u6E90",dataSourceChecked:"\u9009\u4E2D\u5BFC\u51FA",dataSourceSetting:"\u6570\u636E\u6E90\u8BBE\u7F6E",defaultAlign:"\u9ED8\u8BA4",defaultValue:"\u9ED8\u8BA4\u503C",deleteDataSourceHint:"\u786E\u8BA4\u5220\u9664\u8BE5\u6570\u636E\u6E90\uFF1F",deleteEntireCol:"\u5220\u9664\u6574\u5217",deleteEntireRow:"\u5220\u9664\u6574\u884C",disabled:"\u7981\u7528",displayDirection:"\u6392\u5217\u65B9\u5411",displayStyle:"\u663E\u793A\u6837\u5F0F",displayType:"\u663E\u793A\u7C7B\u578B",dsConfigHandlerTitle:"1. \u8BF7\u6C42\u914D\u7F6E",dsDataHandlerTitle:"2. \u6570\u636E\u5904\u7406",dsDescription:"\u63CF\u8FF0\u4FE1\u606F",dsDuplicatedNameError:"\u6570\u636E\u6E90\u540D\u79F0\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\uFF01",dsEnabled:"\u4F7F\u7528\u6570\u636E\u6E90",dsErrorHandlerTitle:"3. \u9519\u8BEF\u5904\u7406",dsName:"\u6307\u5B9A\u6570\u636E\u6E90",dsRequestBooleanTypeError:"\u5E03\u5C14\u7C7B\u578B\u503C\u9519\u8BEF",dsRequestData:"\u53D1\u9001\u6570\u636E\uFF08data\uFF09",dsRequestHeaders:"\u8BF7\u6C42\u5934\uFF08headers\uFF09",dsRequestMethod:"\u8BF7\u6C42\u65B9\u6CD5",dsRequestNameInputPlaceholder:"\u540D\u79F0",dsRequestNumberTypeError:"\u6570\u636E\u7C7B\u578B\u503C\u9519\u8BEF",dsRequestParams:"\u53C2\u6570\uFF08params\uFF09",dsRequestResult:"\u8FD4\u56DE\u6570\u636E",dsRequestTypeInputPlaceholder:"\u7C7B\u578B",dsRequestURL:"\u8BF7\u6C42\u5730\u5740",dsRequestURLType:"\u8BF7\u6C42URL\u7C7B\u578B",dsRequestValueBooleanType:"\u5E03\u5C14\u7C7B\u578B",dsRequestValueInputPlaceholder:"\u503C",dsRequestValueNumberType:"\u6570\u503C\u7C7B\u578B",dsRequestValueStringType:"\u5B57\u7B26\u4E32\u7C7B\u578B",dsRequestValueVariableType:"\u53D8\u91CF\u6216\u8868\u8FBE\u5F0F",dsURLStringType:"\u56FA\u5B9A\u5B57\u7B26\u4E32",dsURLVariableType:"\u53D8\u91CF\u6216\u8868\u8FBE\u5F0F",dsUniqueName:"\u552F\u4E00\u540D\u79F0",dsValidationError:"\u6570\u636E\u6E90\u8BBE\u7F6E\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u4FEE\u6539",dsvTitle:"DSV\u6570\u636E\u6E90\u53D8\u91CF",editFormEventHandler:"\u8868\u5355\u4E8B\u4EF6\u5904\u7406",editNameHelp:"\u4FEE\u6539\u540D\u79F0\u540E\u9700\u6309\u56DE\u8F66\u786E\u8BA4",editWidgetEventHandler:"\u7EC4\u4EF6\u4E8B\u4EF6\u5904\u7406",editable:"\u53EF\u8F93\u5165",endPlaceholder:"\u622A\u6B62\u5360\u4F4D\u5185\u5BB9",eventSetting:"\u4E8B\u4EF6\u5C5E\u6027",executeDataSource:"\u7ACB\u5373\u6267\u884C",exportDataSource:"\u5BFC\u51FA\u6570\u636E\u6E90",fieldValueRequired:"\u8F93\u5165\u5185\u5BB9\u4E0D\u53EF\u4E3A\u7A7A",fileMaxSize:"\u6587\u4EF6\u5927\u5C0F\u9650\u5236(MB)",fileTypes:"\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B",fileTypesHelp:"\u652F\u6301\u6DFB\u52A0\u5176\u4ED6\u6587\u4EF6\u7C7B\u578B",filterable:"\u53EF\u641C\u7D22\u9009\u9879",fontSize:"\u5B57\u4F53\u5927\u5C0F",formBackground:"\u80CC\u666F\u8272",formCss:"\u8868\u5355\u5168\u5C40CSS",formModelName:"\u6570\u636E\u5BF9\u8C61\u540D\u79F0",formPadding:"\u8868\u5355\u5185\u8FB9\u8DDD",formRadius:"\u5706\u89D2",formRefName:"\u5F15\u7528\u540D\u79F0",formRulesName:"\u9A8C\u8BC1\u89C4\u5219\u540D\u79F0",formSFCSetting:"\u751F\u6210SFC\u8BBE\u7F6E",formSize:"\u5168\u5C40\u7EC4\u4EF6\u5927\u5C0F",format:"\u663E\u793A\u683C\u5F0F",globalFunctions:"\u8868\u5355\u5168\u5C40\u51FD\u6570",gridColHeight:"\u6805\u683C\u5217\u7EDF\u4E00\u9AD8\u5EA6(px)",gutter:"\u6805\u683C\u95F4\u9694(px)",headers:"\u4E0A\u4F20\u8BF7\u6C42\u5934",hidden:"\u9690\u85CF",hiddenHelp:"\u5F00\u542F\u9690\u85CF\u7684\u5B57\u6BB5\uFF0C\u540C\u65F6\u8BBE\u7F6E\u4E3A\u53EA\u8BFB\u4E14\u672A\u8BBE\u7F6E\u9ED8\u8BA4\u503C\u4F1A\u5BFC\u81F4\u8868\u5355\u65E0\u6CD5\u63D0\u4EA4",highThreshold:"\u9AD8\u5206\u754C\u9650\u503C",horizontalDirection:"\u6C34\u5E73",htmlContent:"HTML",icon:"\u56FE\u6807",iconSize:"\u56FE\u6807\u5927\u5C0F(px)",importDataSource:"\u5BFC\u5165\u6570\u636E\u6E90",importOptions:"\u5BFC\u5165\u9009\u9879",inactiveColor:"\u5173\u95ED\u65F6\u80CC\u666F\u8272",inactiveLabel:"\u5173\u95ED\u65F6\u7684\u6587\u5B57",inactiveValue:"\u5173\u95ED\u65F6\u7684\u503C",inlineLayout:"\u884C\u5185",inputAlign:"\u8F93\u5165\u6846\u5BF9\u9F50",inputBorder:"\u8F93\u5165\u6846\u8FB9\u6846",inputButton:"\u8F93\u5165\u6846\u6309\u94AE\u8BBE\u7F6E",insertColumnToLeft:"\u63D2\u5165\u5DE6\u4FA7\u5217",insertColumnToRight:"\u63D2\u5165\u53F3\u4FA7\u5217",insertRowAbove:"\u63D2\u5165\u4E0A\u65B9\u884C",insertRowBelow:"\u63D2\u5165\u4E0B\u65B9\u884C",inset:"\u5361\u7247\u6837\u5F0F",label:"\u6807\u7B7E",labelAlign:"\u6807\u7B7E\u5BF9\u9F50",labelHidden:"\u9690\u85CF\u5B57\u6BB5\u6807\u7B7E",labelIconClass:"\u6807\u7B7EIcon\u6837\u5F0F",labelIconPosition:"\u6807\u7B7EIcon\u4F4D\u7F6E",labelKeyName:"\u9009\u9879\u6807\u7B7E\u540D",labelPosition:"\u5B57\u6BB5\u6807\u7B7E\u4F4D\u7F6E",labelTooltip:"\u6807\u7B7E\u6587\u5B57\u63D0\u793A",labelWidth:"\u6807\u7B7E\u5BBD\u5EA6",leftAlign:"\u5C45\u5DE6",leftIcon:"\u5DE6\u4FA7Icon",leftPosition:"\u5DE6\u8FB9",limit:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF",lowThreshold:"\u4F4E\u5206\u754C\u9650\u503C",maxDate:"\u6700\u5927\u65E5\u671F",maxLength:"\u6700\u5927\u957F\u5EA6",maxStars:"\u6700\u5927\u8BC4\u5206\u503C",maxValue:"\u6700\u5927\u503C",mergeEntireColumn:"\u5408\u5E76\u6574\u5217",mergeEntireRow:"\u5408\u5E76\u6574\u884C",mergeLeftColumn:"\u5408\u5E76\u5DE6\u4FA7\u5355\u5143\u683C",mergeRightColumn:"\u5408\u5E76\u53F3\u4FA7\u5355\u5143\u683C",mergeRowAbove:"\u5408\u5E76\u4E0A\u65B9\u5355\u5143\u683C",mergeRowBelow:"\u5408\u5E76\u4E0B\u65B9\u5355\u5143\u683C",minDate:"\u6700\u5C0F\u65E5\u671F",minLength:"\u6700\u5C0F\u957F\u5EA6",minValue:"\u6700\u5C0F\u503C",multiple:"\u9009\u9879\u53EF\u591A\u9009",multipleLimit:"\u591A\u9009\u6570\u91CF\u9650\u5236",multipleSelect:"\u6587\u4EF6\u53EF\u591A\u9009",noDataSource:"\u6682\u65E0\u6570\u636E\u6E90",optionsSetting:"\u9009\u9879\u8BBE\u7F6E",paneActive:"\u6FC0\u6D3B",placeholder:"\u5360\u4F4D\u5185\u5BB9",plain:"\u6734\u7D20\u6309\u94AE",popupZIndex:"\u5F39\u51FA\u7A97\u53E3\u5C42\u7EA7",precision:"\u7CBE\u5EA6",previewDataSourceExportResult:"\u5BFC\u51FA\u7ED3\u679C\u9884\u89C8",range:"\u662F\u5426\u4E3A\u8303\u56F4\u9009\u62E9",readonly:"\u53EA\u8BFB",remainExistingDataSource:"\u8FFD\u52A0\u5230\u5DF2\u6709\u6570\u636E\u6E90\u4E4B\u540E",remote:"\u53EF\u8FDC\u7A0B\u641C\u7D22",required:"\u5FC5\u586B\u5B57\u6BB5",requiredHint:"\u5FC5\u586B\u6821\u9A8C\u63D0\u793A",resetDefault:"\u91CD\u8BBE\u9009\u4E2D\u9879",responsive:"\u54CD\u5E94\u5F0F\u5E03\u5C40",rightAlign:"\u5C45\u53F3",rightIcon:"\u53F3\u4FA7Icon",round:"\u5706\u89D2\u6309\u94AE",rows:"\u884C\u6570",saveDataSource:"\u4FDD\u5B58\u6570\u636E\u6E90",selectDataSourceForExport:"\u9009\u62E9\u5BFC\u51FA\u6570\u636E\u6E90",shape:"\u5F62\u72B6",shapeRound:"\u5706\u5F62",shapeSquare:"\u65B9\u5F62",showBlankRow:"\u9ED8\u8BA4\u663E\u793A\u65B0\u884C",showFileList:"\u663E\u793A\u6587\u4EF6\u5217\u8868",showPassword:"\u53EF\u663E\u793A\u5BC6\u7801",showRowNumber:"\u663E\u793A\u884C\u53F7",showScore:"\u663E\u793A\u5F53\u524D\u5206\u6570",showStops:"\u663E\u793A\u95F4\u65AD\u70B9",showText:"\u663E\u793A\u8F85\u52A9\u6587\u5B57",showWordLimit:"\u663E\u793A\u5B57\u6570\u7EDF\u8BA1",startPlaceholder:"\u8D77\u59CB\u5360\u4F4D\u5185\u5BB9",step:"\u589E\u51CF\u6B65\u957F",stepButtonSize:"\u6B65\u8FDB\u6309\u94AE\u5927\u5C0F(px)",switchSize:"\u5F00\u5173\u5C3A\u5BF8\uFF08px\uFF09",syntaxCheckWarning:"JS\u4EE3\u7801\u5B58\u5728\u8BED\u6CD5\u9519\u8BEF\uFF0C\u8BF7\u4ED4\u7EC6\u68C0\u67E5\uFF01",tabPaneSetting:"\u9009\u9879\u5361\u8BBE\u7F6E",testDataSource:"\u6D4B\u8BD5\u6570\u636E\u6E90",textContent:"\u9759\u6001\u6587\u5B57",textEllipsis:"\u7701\u7565\u8FC7\u957F\u6807\u9898",topPosition:"\u9876\u90E8",undoMergeCol:"\u64A4\u9500\u5217\u5408\u5E76",undoMergeRow:"\u64A4\u9500\u884C\u5408\u5E76",uniqueName:"\u552F\u4E00\u540D\u79F0",uploadButtonText:"\u4E0A\u4F20\u6309\u94AE\u6587\u5B57",uploadPictureCapture:"\u56FE\u7247\u9009\u53D6\u7C7B\u578B",uploadPictureCaptureAlbum:"\u4ECE\u76F8\u518C\u9009\u62E9",uploadPictureCaptureAlbumTip:"\u4ECE\u76F8\u518C\u9009\u62E9\u4EC5uniapp\u6E32\u67D3\u5668\u7684\u5FAE\u4FE1\u548CAPP\u652F\u6301",uploadPictureCaptureAll:"\u4E0D\u9650",uploadPictureCaptureCamera:"\u62CD\u7167\u4E0A\u4F20",uploadSetting:"\u4E0A\u4F20\u53C2\u6570\u8BBE\u7F6E",uploadTip:"\u4E0A\u4F20\u63D0\u793A\u5185\u5BB9",uploadURL:"\u4E0A\u4F20\u5730\u5740",validation:"\u5B57\u6BB5\u6821\u9A8C",validationHelp:"\u652F\u6301\u8F93\u5165\u6B63\u5219\u8868\u8FBE\u5F0F",validationHint:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A",valueFormat:"\u7ED1\u5B9A\u503C\u683C\u5F0F",valueKeyName:"\u9009\u9879\u503C\u540D",vertical:"\u662F\u5426\u7AD6\u5411\u663E\u793A",verticalDirection:"\u5782\u76F4",widgetColumnWidth:"\u7EC4\u4EF6\u5217\u5BBD",widgetName:"\u7EC4\u4EF6\u552F\u4E00\u540D\u79F0",widgetSize:"\u7EC4\u4EF6\u5927\u5C0F",withCredentials:"\u53D1\u9001cookie\u51ED\u8BC1"},toolbar:{clear:"\u6E05\u7A7A",exportCode:"\u5BFC\u51FA\u4EE3\u7801",exportJson:"\u5BFC\u51FAJSON",generateCode:"\u751F\u6210\u4EE3\u7801",importJson:"\u5BFC\u5165JSON",mobileLayout:"H5",nodeTreeHint:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",nodeTreeTitle:"\u7EC4\u4EF6\u5C42\u6B21\u7ED3\u6784\u6811",padLayout:"Pad",pcLayout:"PC",preview:"\u9884\u89C8",redoHint:"\u91CD\u505A",undoHint:"\u64A4\u9500"},widgetLabel:{custom:"Custom Component","m-button":"\u6309\u94AE","m-calendar":"\u65E5\u5386","m-cascader":"\u7EA7\u8054\u9009\u62E9","m-cell-group":"\u5206\u7EC4","m-checkbox":"\u591A\u9009\u9879","m-date":"\u65E5\u671F","m-date-range":"\u65E5\u671F\u8303\u56F4","m-datetime":"\u65E5\u671F\u65F6\u95F4","m-divider":"\u5206\u9694\u7EBF","m-file-upload":"\u6587\u4EF6","m-grid":"\u6805\u683C","m-grid-col":"\u6805\u683C\u5217","m-html-text":"HTML","m-input":"\u5355\u884C\u8F93\u5165","m-number":"\u6570\u5B57\u8F93\u5165","m-password":"\u5BC6\u7801\u8F93\u5165","m-picture-upload":"\u56FE\u7247","m-radio":"\u5355\u9009\u9879","m-rate":"\u8BC4\u5206","m-rich-editor":"\u5BCC\u6587\u672C","m-select":"\u9009\u62E9\u5668","m-slider":"\u6ED1\u5757","m-slot":"\u63D2\u69FD","m-static-text":"\u9759\u6001\u6587\u5B57","m-stepper":"\u6B65\u8FDB\u8F93\u5165","m-sub-form":"\u5B50\u8868\u5355","m-switch":"\u5F00\u5173","m-tab":"\u6807\u7B7E\u9875","m-textarea":"\u591A\u884C\u8F93\u5165","m-time":"\u65F6\u95F4","sub-form":"\u5B50\u8868\u5355","tab-pane":"\u9009\u9879\u5361\u9875","table-cell":"\u5355\u5143\u683C"}}},il={render:{hint:{blankCellContent:"--",cancel:"Cancel",confirm:"OK",datePlaceholder:"Select date",defaultActiveText:"True",defaultInactiveText:"False",deleteSubFormRow:"delete this row",downloadFile:"Download",endDatePlaceholder:"End date",endTimePlaceholder:"End time",fieldRequired:"Input value should be not null.",fileSizeExceed:"File size out of limit: ",insertSubFormRow:"insert new row",invalidNumber:"Invalid number format",nonSubFormType:"The type of widget don't match sub-form",prompt:"Prompt",refNotFound:"Ref not found: ",removeFile:"Remove",selectFile:" File...",selectPlaceholder:"Pick some item",startDatePlaceholder:"Start date",startTimePlaceholder:"Start time",subFormAction:"Action",subFormAddAction:"Add",subFormAddActionHint:"add new row",subFormRowNo:"#",timePlaceholder:"Select time",unsupportedFileType:"Unsupported format: ",uploadError:"Upload error: ",uploadExceed:"The maximum number(${uploadLimit}) of file uploads has been exceeded.",validationFailed:"Form validation failed"}}},ll={render:{hint:{blankCellContent:"--",cancel:"\u53D6\u6D88",confirm:"\u786E\u5B9A",datePlaceholder:"\u9009\u62E9\u65E5\u671F",defaultActiveText:"\u662F",defaultInactiveText:"\u5426",deleteSubFormRow:"\u5220\u9664\u884C",downloadFile:"\u4E0B\u8F7D",endDatePlaceholder:"\u622A\u6B62\u65E5\u671F",endTimePlaceholder:"\u622A\u6B62\u65F6\u95F4",fieldRequired:"\u5B57\u6BB5\u503C\u4E0D\u53EF\u4E3A\u7A7A",fileSizeExceed:"\u6587\u4EF6\u5927\u5C0F\u5DF2\u8D85\u51FA: ",insertSubFormRow:"\u63D2\u5165\u884C",invalidNumber:"\u6570\u636E\u683C\u5F0F\u9519\u8BEF",nonSubFormType:"\u7EC4\u4EF6\u7C7B\u578B\u4E0D\u662F\u5B50\u8868\u5355",prompt:"\u63D0\u793A",refNotFound:"\u7EC4\u4EF6\u672A\u627E\u5230: ",removeFile:"\u79FB\u9664",selectFile:" \u9009\u62E9\u6587\u4EF6",selectPlaceholder:"\u8BF7\u9009\u62E9",startDatePlaceholder:"\u8D77\u59CB\u65E5\u671F",startTimePlaceholder:"\u8D77\u59CB\u65F6\u95F4",subFormAction:"\u64CD\u4F5C",subFormAddAction:"\u65B0\u589E",subFormAddActionHint:"\u65B0\u589E\u884C",subFormRowNo:"\u884C\u53F7",timePlaceholder:"\u9009\u62E9\u65F6\u95F4",unsupportedFileType:"\u4E0D\u652F\u6301\u683C\u5F0F: ",uploadError:"\u4E0A\u4F20\u9519\u8BEF: ",uploadExceed:"\u6700\u5927\u4E0A\u4F20\u6570\u91CF(${uploadLimit})\u5DF2\u8D85\u51FA.",validationFailed:"\u8868\u5355\u6570\u636E\u6821\u9A8C\u5931\u8D25"}}},al={extension:{setting:{alertTitle:"Title",alertType:"Type",center:"Center",closable:"Closable",closeText:"Text On Close Btn",collapseAccordion:"Accordion Mode",collapseBorder:"Outer Border",collapseItemBorder:"Inner Border",collapseItemDisabled:"Is Disabled",collapseItemExpand:"Show",collapseItemIcon:"Left Icon",collapseItemIsLink:"Is Showw Link Icon",collapseItemLabel:"Right Text",collapseItemLabelClass:"Label Class Name",collapseItemLazyRender:"Is Lazy Render Util Opened",collapseItemProperyDialogTitle:"Collapse Item Property",collapseItemReadonly:"Is Readonly",collapseItemSize:"Title Size",collapseItemTitle:"Name",collapseItemTitleClass:"Title ClassName",collapseItemValue:"Title",collapseItemValueClass:"Value Class Name",description:"Description",effect:"Effect",showIcon:"Show Icon"},widgetLabel:{alert:"Alert",collapse:"Collapse"}}},rl={extension:{setting:{alertTitle:"\u6807\u9898",alertType:"\u7C7B\u578B",center:"\u6587\u5B57\u5C45\u4E2D",closable:"\u662F\u5426\u53EF\u5173\u95ED",closeText:"\u5173\u95ED\u6309\u94AE\u6587\u5B57",collapseAccordion:"\u624B\u98CE\u7434\u6A21\u5F0F",collapseBorder:"\u8FB9\u6846",collapseItemBorder:"\u5185\u8FB9\u6846",collapseItemDisabled:"\u7981\u7528",collapseItemExpand:"\u5C55\u5F00",collapseItemIcon:"\u6807\u9898\u680F\u56FE\u6807",collapseItemIsLink:"\u53F3\u4FA7\u7BAD\u5934",collapseItemLabel:"\u63CF\u8FF0",collapseItemLabelClass:"\u63CF\u8FF0\u5185\u5BB9\u6837\u5F0F\u540D",collapseItemLazyRender:"\u63A8\u8FDF\u6E32\u67D3",collapseItemProperyDialogTitle:"\u6298\u53E0\u9762\u677F\u5C5E\u6027",collapseItemReadonly:"\u53EA\u8BFB",collapseItemSize:"\u6807\u9898\u680F\u5C3A\u5BF8",collapseItemTitle:"\u4E3B\u6807\u9898",collapseItemTitleClass:"\u4E3B\u6807\u9898\u6837\u5F0F\u540D",collapseItemValue:"\u526F\u6807\u9898",collapseItemValueClass:"\u526F\u6807\u9898\u6837\u5F0F\u540D",description:"\u8F85\u52A9\u6027\u6587\u5B57",effect:"\u663E\u793A\u6548\u679C",showIcon:"\u663E\u793A\u56FE\u6807"},widgetLabel:{alert:"\u63D0\u793A",collapse:"\u6298\u53E0\u9762\u677F"}}};const dl={"en-US":{something:{},...nl,...il,...al},"zh-CN":{something:{},...ol,...ll,...rl}},ut=tl({locale:localStorage.getItem("vm_form_locale")||"zh-CN",messages:dl}),sl=function(e){ut.setLang(e),localStorage.setItem("vm_form_locale",e)},pt=function(e){return ut.$mt(e)};function Z(){return{i18n2t:(n,i)=>ut.$mt2(n,i),i18nt:n=>ut.$mt(n)}}var G=(e,o)=>{const n=e.__vccOpts||e;for(const[i,l]of o)n[i]=l;return n};const cl={name:"container-item-wrapper",props:{widget:{required:!0,type:Object}},setup(e){return{customClass:t.computed(()=>e.widget.options.customClass?e.widget.options.customClass.join(" "):"")}}};function fl(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["container-wrapper",[i.customClass,n.widget.type,n.widget.options.name]])},[t.renderSlot(e.$slots,"default")],2)}var je=G(cl,[["render",fl]]),ml=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"}));function Le(){const e=Z(),o=t.inject("refList"),{proxy:n,props:i}=t.getCurrentInstance();return{...{getComponentByContainer(r){return r.type==="grid"?"vf-grid-item":r.type+"-item"},getFormRef(){return o.v_form_ref},getWidgetRef(r,a){let s=o[r];return!s&&!!a&&n.$message.error(e("render.hint.refNotFound")+r),s},initRefList(){i.subFormRowIndex===-1||i.subFormRowIndex===void 0?o!==null&&!!i.widget.options.name&&(o[i.widget.options.name]=n):o!==null&&!!i.widget.options.name&&(o[i.widget.options.name+"@row"+i.subFormRowId]=n)}}}}var ul={exports:{}};/*!
|
|
3
|
+
* clipboard.js v2.0.11
|
|
4
|
+
* https://clipboardjs.com/
|
|
5
|
+
*
|
|
6
|
+
* Licensed MIT © Zeno Rocha
|
|
7
|
+
*/(function(e,o){(function(i,l){e.exports=l()})(Ve,function(){return function(){var n={686:function(r,a,s){s.d(a,{default:function(){return z}});var c=s(279),f=s.n(c),d=s(370),m=s.n(d),u=s(817),y=s.n(u);function g(O){try{return document.execCommand(O)}catch{return!1}}var h=function(v){var P=y()(v);return g("cut"),P},w=h;function _(O){var v=document.documentElement.getAttribute("dir")==="rtl",P=document.createElement("textarea");P.style.fontSize="12pt",P.style.border="0",P.style.padding="0",P.style.margin="0",P.style.position="absolute",P.style[v?"right":"left"]="-9999px";var W=window.pageYOffset||document.documentElement.scrollTop;return P.style.top="".concat(W,"px"),P.setAttribute("readonly",""),P.value=O,P}var k=function(v,P){var W=_(v);P.container.appendChild(W);var Y=y()(W);return g("copy"),W.remove(),Y},L=function(v){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},W="";return typeof v=="string"?W=k(v,P):v instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(v==null?void 0:v.type)?W=k(v.value,P):(W=y()(v),g("copy")),W},B=L;function R(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(P){return typeof P}:R=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},R(O)}var F=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=v.action,W=P===void 0?"copy":P,Y=v.container,$=v.target,ee=v.text;if(W!=="copy"&&W!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if($!==void 0)if($&&R($)==="object"&&$.nodeType===1){if(W==="copy"&&$.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(W==="cut"&&($.hasAttribute("readonly")||$.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ee)return B(ee,{container:Y});if($)return W==="cut"?w($):B($,{container:Y})},I=F;function C(O){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(P){return typeof P}:C=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},C(O)}function U(O,v){if(!(O instanceof v))throw new TypeError("Cannot call a class as a function")}function A(O,v){for(var P=0;P<v.length;P++){var W=v[P];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(O,W.key,W)}}function q(O,v,P){return v&&A(O.prototype,v),P&&A(O,P),O}function j(O,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(v&&v.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),v&&p(O,v)}function p(O,v){return p=Object.setPrototypeOf||function(W,Y){return W.__proto__=Y,W},p(O,v)}function S(O){var v=N();return function(){var W=E(O),Y;if(v){var $=E(this).constructor;Y=Reflect.construct(W,arguments,$)}else Y=W.apply(this,arguments);return x(this,Y)}}function x(O,v){return v&&(C(v)==="object"||typeof v=="function")?v:D(O)}function D(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function E(O){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},E(O)}function H(O,v){var P="data-clipboard-".concat(O);if(!!v.hasAttribute(P))return v.getAttribute(P)}var M=function(O){j(P,O);var v=S(P);function P(W,Y){var $;return U(this,P),$=v.call(this),$.resolveOptions(Y),$.listenClick(W),$}return q(P,[{key:"resolveOptions",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Y.action=="function"?Y.action:this.defaultAction,this.target=typeof Y.target=="function"?Y.target:this.defaultTarget,this.text=typeof Y.text=="function"?Y.text:this.defaultText,this.container=C(Y.container)==="object"?Y.container:document.body}},{key:"listenClick",value:function(Y){var $=this;this.listener=m()(Y,"click",function(ee){return $.onClick(ee)})}},{key:"onClick",value:function(Y){var $=Y.delegateTarget||Y.currentTarget,ee=this.action($)||"copy",ae=I({action:ee,container:this.container,target:this.target($),text:this.text($)});this.emit(ae?"success":"error",{action:ee,text:ae,trigger:$,clearSelection:function(){$&&$.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Y){return H("action",Y)}},{key:"defaultTarget",value:function(Y){var $=H("target",Y);if($)return document.querySelector($)}},{key:"defaultText",value:function(Y){return H("text",Y)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Y){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return B(Y,$)}},{key:"cut",value:function(Y){return w(Y)}},{key:"isSupported",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],$=typeof Y=="string"?[Y]:Y,ee=!!document.queryCommandSupported;return $.forEach(function(ae){ee=ee&&!!document.queryCommandSupported(ae)}),ee}}]),P}(f()),z=M},828:function(r){var a=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function c(f,d){for(;f&&f.nodeType!==a;){if(typeof f.matches=="function"&&f.matches(d))return f;f=f.parentNode}}r.exports=c},438:function(r,a,s){var c=s(828);function f(u,y,g,h,w){var _=m.apply(this,arguments);return u.addEventListener(g,_,w),{destroy:function(){u.removeEventListener(g,_,w)}}}function d(u,y,g,h,w){return typeof u.addEventListener=="function"?f.apply(null,arguments):typeof g=="function"?f.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(_){return f(_,y,g,h,w)}))}function m(u,y,g,h){return function(w){w.delegateTarget=c(w.target,y),w.delegateTarget&&h.call(u,w)}}r.exports=d},879:function(r,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var c=Object.prototype.toString.call(s);return s!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var c=Object.prototype.toString.call(s);return c==="[object Function]"}},370:function(r,a,s){var c=s(879),f=s(438);function d(g,h,w){if(!g&&!h&&!w)throw new Error("Missing required arguments");if(!c.string(h))throw new TypeError("Second argument must be a String");if(!c.fn(w))throw new TypeError("Third argument must be a Function");if(c.node(g))return m(g,h,w);if(c.nodeList(g))return u(g,h,w);if(c.string(g))return y(g,h,w);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function m(g,h,w){return g.addEventListener(h,w),{destroy:function(){g.removeEventListener(h,w)}}}function u(g,h,w){return Array.prototype.forEach.call(g,function(_){_.addEventListener(h,w)}),{destroy:function(){Array.prototype.forEach.call(g,function(_){_.removeEventListener(h,w)})}}}function y(g,h,w){return f(document.body,g,h,w)}r.exports=d},817:function(r){function a(s){var c;if(s.nodeName==="SELECT")s.focus(),c=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var f=s.hasAttribute("readonly");f||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),f||s.removeAttribute("readonly"),c=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var d=window.getSelection(),m=document.createRange();m.selectNodeContents(s),d.removeAllRanges(),d.addRange(m),c=d.toString()}return c}r.exports=a},279:function(r){function a(){}a.prototype={on:function(s,c,f){var d=this.e||(this.e={});return(d[s]||(d[s]=[])).push({fn:c,ctx:f}),this},once:function(s,c,f){var d=this;function m(){d.off(s,m),c.apply(f,arguments)}return m._=c,this.on(s,m,f)},emit:function(s){var c=[].slice.call(arguments,1),f=((this.e||(this.e={}))[s]||[]).slice(),d=0,m=f.length;for(d;d<m;d++)f[d].fn.apply(f[d].ctx,c);return this},off:function(s,c){var f=this.e||(this.e={}),d=f[s],m=[];if(d&&c)for(var u=0,y=d.length;u<y;u++)d[u].fn!==c&&d[u].fn._!==c&&m.push(d[u]);return m.length?f[s]=m:delete f[s],this}},r.exports=a,r.exports.TinyEmitter=a}},i={};function l(r){if(i[r])return i[r].exports;var a=i[r]={exports:{}};return n[r](a,a.exports,l),a.exports}return function(){l.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return l.d(a,{a}),a}}(),function(){l.d=function(r,a){for(var s in a)l.o(a,s)&&!l.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:a[s]})}}(),function(){l.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)}}(),l(686)}().default})})(ul);function vn(e){return e==null}const ve=function(){return Math.floor(Math.random()*1e5+Math.random()*2e4+Math.random()*5e3)},X=function(e){if(e!==void 0)return JSON.parse(JSON.stringify(e))},Ze=function(e,o,n){var i=Function;return new i("DSV","VFR",`
|
|
8
|
+
const dsv = (name, value='') => {
|
|
9
|
+
if (DSV[name] !== undefined && DSV[name] !== null) {
|
|
10
|
+
return DSV[name];
|
|
11
|
+
} else {
|
|
12
|
+
return value;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const vfr = (name, value='') => {
|
|
16
|
+
if (VFR[name] !== undefined && VFR[name] !== null) {
|
|
17
|
+
return VFR[name];
|
|
18
|
+
} else {
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return `+e)(o,n)},We=function(e,o){Object.keys(o).forEach(n=>{e[n]=o[n]})},pl=function(e,o=""){let n=document.getElementsByTagName("head")[0],i=document.getElementById("vform-custom-css");i&&n.removeChild(i),o&&(i=document.getElementById("vform-custom-css-"+o),i&&n.removeChild(i));let l=document.createElement("style");l.type="text/css",l.rel="stylesheet",l.id=o?"vform-custom-css-"+o:"vform-custom-css";try{l.appendChild(document.createTextNode(e))}catch{l.styleSheet.cssText=e}n.appendChild(l)},gl=function(e,o=""){let n=document.getElementsByTagName("body")[0],i=document.getElementById("v_form_global_functions");i&&n.removeChild(i),o&&(i=document.getElementById("v_form_global_functions-"+o),i&&n.removeChild(i));let l=document.createElement("script");l.id=o?"v_form_global_functions-"+o:"v_form_global_functions",l.type="text/javascript",l.innerHTML=e,n.appendChild(l)};function Ne(e,o,n=null){e.forEach(i=>{i.formItemFlag?o(i,n):i.type==="m-grid"?i.cols.forEach(l=>{Ne(l.widgetList,o,i)}):i.type==="m-tab"?i.tabs.forEach(l=>{Ne(l.widgetList,o,i)}):(i.type==="m-sub-form"||i.category==="container")&&Ne(i.widgetList,o,i)})}function Ue(e,o){e.forEach(n=>{n.category==="container"&&o(n),n.type==="m-grid"?n.cols.forEach(i=>{Ue(i.widgetList,o)}):n.type==="m-table"?n.rows.forEach(i=>{i.cols.forEach(l=>{Ue(l.widgetList,o)})}):n.type==="m-tab"?n.tabs.forEach(i=>{Ue(i.widgetList,o)}):(n.type==="m-sub-form"||n.category==="container")&&Ue(n.widgetList,o)})}function qe(e,o){e.category?ke(e,o):e.formItemFlag&&o(e)}function ke(e,o){e.type==="m-grid"?e.cols.forEach(n=>{n.widgetList.forEach(i=>{qe(i,o)})}):e.type==="m-table"?e.rows.forEach(n=>{n.cols.forEach(i=>{i.widgetList.forEach(l=>{qe(l,o)})})}):e.type==="m-tab"?e.tabs.forEach(n=>{n.widgetList.forEach(i=>{qe(i,o)})}):e.type==="m-sub-form"?e.widgetList.forEach(n=>{qe(n,o)}):e.type==="m-grid"?e.cols.forEach(n=>{qe(n,o)}):e.category==="container"&&e.widgetList.forEach(n=>{qe(n,o)})}function Xe(e,o,n){!!e.category&&e.category==="container"?gt(e,o):e.formItemFlag&&o(e)}function gt(e,o,n){e.type==="m-grid"?e.cols.forEach(i=>{i.widgetList.forEach(l=>{Xe(l,o)})}):e.type==="m-table"?e.rows.forEach(i=>{i.cols.forEach(l=>{l.widgetList.forEach(r=>{Xe(r,o)})})}):e.type==="m-tab"?e.tabs.forEach(i=>{i.widgetList.forEach(l=>{Xe(l,o)})}):e.type==="m-sub-form"?e.widgetList.forEach(i=>{Xe(i,o)}):e.category==="container"&&e.widgetList.forEach(i=>{Xe(i,o)})}function hl(e){let o=[];return Ne(e,i=>{o.push({field:i,name:i.options.name,type:i.type})}),o}function bl(e){let o=[];return Ue(e,i=>{o.push({container:i,name:i.options.name,type:i.type})}),o}function kn(e,o){let n=null;return Ne(e,l=>{l.options.name===o&&(n=l)}),n}function Bn(e,o){let n=null,i=l=>{l.options.name===o&&(n=l)};return traverseContainerWidgets(e,i),n}function wl(){return{background:"#EFEFEF",colon:!1,cssCode:"",customClass:"",dataSources:[],functions:"",inputAlign:"left",inputBorder:!1,jsonVersion:-3,labelAlign:"left",labelPosition:"left",labelWidth:80,layoutType:"H5",modelName:"formData",onFormCreated:"",onFormDataChange:"",onFormMounted:"",padding:5,popupZIndex:3e3,radius:4,refName:"vForm",rulesName:"rules",size:""}}function At(){return{formConfig:X(wl()),widgetList:[]}}function Rn(e){let o=X(e);return o.onFormCreated="",o.onFormMounted="",o.onFormDataChange="",o}function En(e,o,n,i){if(o==="m-cascader")return X(e);let l=[];return!!e&&e.length>0&&e.forEach(r=>{l.push({label:r[n],value:r[i]})}),l}function jt(e,o,n){let i={};return!e||e.length<=0||(e.map(l=>{l.type==="String"?i[l.name]=String(l.value):l.type==="Number"?i[l.name]=Number(l.value):l.type==="Boolean"?l.value.toLowerCase()==="false"||l.value==="0"?i[l.name]=!1:l.value.toLowerCase()==="true"||l.value==="1"?i[l.name]=!0:i[l.name]=null:l.type==="Variable"&&(i[l.name]=Ze(l.value,o,n))}),console.log("test DSV: ",o),console.log("test VFR: ",n)),i}function yl(e,o,n,i){let l={};return e.requestURLType==="String"?l.url=e.requestURL:l.url=Ze(e.requestURL,o,n),l.method=e.requestMethod,l.headers=jt(e.headers,o,n),l.params=jt(e.params,o,n),l.data=jt(e.data,o,n),new Function("config","isSandbox","DSV","VFR",e.configHandlerCode).call(null,l,i,o,n)}async function ht(e,o,n,i,l){try{let r=yl(e,o,n,i),a=await Tt.request(r);return new Function("result","isSandbox","DSV","VFR",e.dataHandlerCode).call(null,a,i,o,n)}catch(r){new Function("error","isSandbox","DSV","$message","VFR",e.errorHandlerCode).call(null,r,i,o,l,n),console.error(r)}}function bt(e,o){let n=null;return!!o&&!!e.dataSources&&e.dataSources.forEach(i=>{i.uniqueName===o&&(n=i)}),n}function Cl(e,o){return!!e&&(e.indexOf("DSV.")>-1||e.indexOf("DSV[")>-1)?(console.log("test DSV: ",o),Ze(e,o)):e}async function On(e,o,n,i={},l={}){let r=new FormData;Array.isArray(e)?e.forEach((c,f)=>{r.append("files["+f+"]",c.file)}):(r.append("file",e.file),l.key=e.file.name),Object.keys(l).forEach(c=>{r.append(c,l[c])});let a={headers:{"Content-Type":"multipart/form-data",...i}};const s=Cl(o,n);return new Promise((c,f)=>{Tt.post(s,r,a).then(d=>{d&&d.data?c(d.data):f(new Error("No upload result"))}).catch(d=>{f(d)})})}function Be(e){return e}function Qe(e={}){const{props:o,proxy:n}=t.getCurrentInstance(),i=t.inject("refList"),l=t.inject("globalModel"),r=Le(),{i18nt:a}=Z(),s=t.computed(()=>o.widget.options.customClass||""),c=t.computed({cache:!1,get:()=>l.formModel});t.onMounted(()=>{f.callSetHidden()});const f={activeTab(d){d>=0&&d<o.widget.tabs.length&&o.widget.tabs.forEach((m,u)=>{m.options.active=u===d,u===d&&(e.activeTabName=m.options.name)})},addCssClass(d){o.widget.options.customClass?o.widget.options.customClass.push(d):o.widget.options.customClass=[d]},callSetHidden(){n.widget.options.hidden===!0&&f.setHidden(!0)},cloneWidgetSchema(d){return X(d)},disableGridSubForm(){e.rowIdData.length>0&&e.rowIdData.forEach((d,m)=>{f.disableGridSubFormRow(m)}),e.actionDisabled=!0},disableGridSubFormRow(d){let m=[],u=y=>{m.push(y)};ke(o.widget,u),m.forEach(y=>{let g=y.options.name+"@row"+e.rowIdData[d],h=r.getWidgetRef(g);!!h&&!!h.setDisabled&&h.setDisabled(!0)})},disableSubForm(){e.rowIdData.length>0&&e.rowIdData.forEach((d,m)=>{f.disableSubFormRow(m)}),e.actionDisabled=!0},disableSubFormRow(d){o.widget.widgetList.forEach(m=>{let u=m.options.name+"@row"+e.rowIdData[d],y=r.getWidgetRef(u);!!y&&!!y.setDisabled&&y.setDisabled(!0)})},disableTab(d){d>=0&&d<o.widget.tabs.length&&(o.widget.tabs[d].options.disabled=!0)},enableGridSubForm(){e.rowIdData.length>0&&e.rowIdData.forEach((d,m)=>{f.enableGridSubFormRow(m)}),e.actionDisabled=!1},enableGridSubFormRow(d){let m=[],u=y=>{m.push(y)};ke(o.widget,u),m.forEach(y=>{let g=y.options.name+"@row"+e.rowIdData[d],h=r.getWidgetRef(g);!!h&&!!h.setDisabled&&h.setDisabled(!1)})},enableSubForm(){e.rowIdData.length>0&&e.rowIdData.forEach((d,m)=>{f.enableSubFormRow(m)}),e.actionDisabled=!1},enableSubFormRow(d){o.widget.widgetList.forEach(m=>{let u=m.options.name+"@row"+e.rowIdData[d],y=r.getWidgetRef(u);!!y&&!!y.setDisabled&&y.setDisabled(!1)})},enableTab(d){d>=0&&d<o.widget.tabs.length&&(o.widget.tabs[d].options.disabled=!1)},getSubFormRowCount(){return e.rowIdData?e.rowIdData.length:0},getSubFormValues(d=!0){if(o.widget.type==="m-sub-form")return c.value[o.widget.options.name];n.$message.error(a("render.hint.nonSubFormType"))},hideTab(d){d>=0&&d<o.widget.tabs.length&&(o.widget.tabs[d].options.hidden=!0)},removeCssClass(d){if(!o.widget.options.customClass)return;let m=-1;o.widget.options.customClass.map((u,y)=>{u===d&&(m=y)}),m>-1&&o.widget.options.customClass.splice(m,1)},resetSubForm(){if(o.widget.type==="m-sub-form"){let d=c.value[o.widget.options.name];d&&(d.splice(0,d.length),e.rowIdData.splice(0,e.rowIdData.length)),o.widget.options.showBlankRow&&f.addSubFormRow&&f.addSubFormRow()}},setDisabled(d){const m=u=>{const y=u.options.name,g=r.getWidgetRef(y);!!g&&!!g.setDisabled&&g.setDisabled(d)};gt(o.widget,m)},setGridSubFormRowDisabled(d,m){const u=y=>{const g=y.options.name+"@row"+d,h=r.getWidgetRef(g);!!h&&!!h.setDisabled&&h.setDisabled(m)};gt(o.widget,u)},setHidden(d){o.widget.options.hidden=d;const m=y=>{let g=y.options.name,h=r.getWidgetRef(g);d&&!!h&&!!h.clearFieldRules&&h.clearFieldRules(),!d&&!!h&&!!h.buildFieldRules&&h.buildFieldRules()};let u=[];gt(o.widget,m),u.forEach(y=>{const g=r.getWidgetRef(y.options.name);if(g){const h=g.getRowIdData(),w=_=>{!!h&&h.length>0&&h.forEach(k=>{const L=_.options.name+"@row"+k,B=r.getWidgetRef(L);d&&!!B&&!!B.clearFieldRules&&B.clearFieldRules(),!d&&!!B&&!!B.buildFieldRules&&B.buildFieldRules()})};ke(g.widget,w)}})},setSubFormValues(d){},setWidgetOption(d,m){o.widget.options.hasOwnProperty(d)&&(o.widget.options[d]=m)},showTab(d){d>=0&&d<o.widget.tabs.length&&(o.widget.tabs[d].options.hidden=!1)},unregisterFromRefList(){if(i!==null&&!!n.widget.options.name){let d=n.widget.options.name;delete i[d]}}};return{customClass:s,formModel:c,...f}}var tm="";const _l={name:"SvgIcon",props:{className:{type:String},iconClass:{required:!0,type:String},title:{default:"",type:String}},setup(e){const o=t.computed(()=>`#icon-${e.iconClass}`),n=t.computed(()=>e.className?"svg-icon "+e.className:"svg-icon");return{iconName:o,svgClass:n}}},Fl=["xlink:href"],Sl={key:0};function xl(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.svgClass),"aria-hidden":"true"},[t.createElementVNode("use",{"xlink:href":i.iconName},null,8,Fl),n.title?(t.openBlock(),t.createElementBlock("title",Sl,t.toDisplayString(n.title),1)):t.createCommentVNode("",!0)],2)}var Re=G(_l,[["render",xl],["__scopeId","data-v-81a01534"]]),nm="",om="";const Ml={key:0,class:"field-action"},Vl=["title"],Dl=["title"],Ll=["title"],vl=["title"],kl={key:1,class:"drag-handler background-opacity"},Bl=["title"],Rl={key:0},El=Object.assign({name:"form-item-wrapper"},{props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,rules:Array,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const o=e,{i18nt:n,i18n2t:i}=Z(),l=t.inject("getFormConfig"),r=t.computed(()=>l()),a=t.computed(()=>!!o.designer&&o.field.id===o.designer.selectedId);t.computed(()=>o.field.options.labelHidden?"":o.field.options.label),t.computed(()=>o.field.options.labelHidden?o.designState?5:0:o.field.options.labelWidth?o.field.options.labelWidth:o.designer?o.designer.formConfig.labelWidth:r.value.labelWidth);const s=t.computed(()=>o.field.options.labelAlign?o.field.options.labelAlign:o.designer?o.designer.formConfig.labelAlign||"left":r.value.labelAlign||"left"),c=t.computed(()=>o.field.options.customClass?o.field.options.customClass.join(" "):"");t.computed(()=>o.parentWidget?o.parentWidget.options.name:""),t.computed(()=>o.parentWidget?o.parentWidget.type==="m-sub-form":!1);const f=t.computed(()=>r.value.inputBorder?"cell-value-border":""),d=h=>{o.designer&&(o.designer.setSelected(h),o.designer.emitEvent("field-selected",o.parentWidget))},m=()=>{o.parentWidget?o.designer.setSelected(o.parentWidget):o.designer.clearSelected()},u=()=>{o.designer.moveUpWidget(o.parentList,o.indexOfParentList),o.designer.emitHistoryChange()},y=()=>{o.designer.moveDownWidget(o.parentList,o.indexOfParentList),o.designer.emitHistoryChange()},g=()=>{if(o.parentList){let h=null;o.parentList.length===1?o.parentWidget&&(h=o.parentWidget):o.parentList.length===1+o.indexOfParentList?h=o.parentList[o.indexOfParentList-1]:h=o.parentList[o.indexOfParentList+1],t.nextTick(()=>{o.parentList.splice(o.indexOfParentList,1),o.designer.setSelected(h),o.designer.emitHistoryChange()})}};return(h,w)=>!!e.field.formItemFlag&&(!e.field.options.hidden||e.designState===!0)?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["field-wrapper",[e.field.type,e.field.options.name,a.value?"selected":"",s.value,c.value,e.field.options.required?"required":"",f.value]]),onClick:w[3]||(w[3]=t.withModifiers(_=>d(e.field),["stop"]))},[t.renderSlot(h.$slots,"default",{},void 0,!0),e.designer?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.designer.selectedId===e.field.id?(t.openBlock(),t.createElementBlock("div",Ml,[t.createElementVNode("i",{title:t.unref(n)("designer.hint.selectParentWidget"),onClick:w[0]||(w[0]=t.withModifiers(_=>m(e.field),["stop"]))},[t.createVNode(t.unref(Re),{"icon-class":"el-back"})],8,Vl),!!e.parentList&&e.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:0,title:t.unref(n)("designer.hint.moveUpWidget"),onClick:w[1]||(w[1]=t.withModifiers(_=>u(e.field),["stop"]))},[t.createVNode(t.unref(Re),{"icon-class":"el-move-up"})],8,Dl)):t.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:1,title:t.unref(n)("designer.hint.moveDownWidget"),onClick:w[2]||(w[2]=t.withModifiers(_=>y(e.field),["stop"]))},[t.createVNode(t.unref(Re),{"icon-class":"el-move-down"})],8,Ll)):t.createCommentVNode("",!0),t.createElementVNode("i",{title:t.unref(n)("designer.hint.remove"),onClick:t.withModifiers(g,["stop"])},[t.createVNode(t.unref(Re),{"icon-class":"el-delete"})],8,vl)])):t.createCommentVNode("",!0),e.designer.selectedId===e.field.id?(t.openBlock(),t.createElementBlock("div",kl,[t.createElementVNode("i",{title:t.unref(n)("designer.hint.dragHandler")},[t.createVNode(t.unref(Re),{"icon-class":"el-drag-move"})],8,Bl),t.createElementVNode("i",null,t.toDisplayString(t.unref(i)(`designer.widgetLabel.${e.field.type}`,`extension.widgetLabel.${e.field.type}`)),1),e.field.options.hidden===!0?(t.openBlock(),t.createElementBlock("i",Rl,[t.createVNode(t.unref(Re),{"icon-class":"el-hide"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0)}});var oe=G(El,[["__scopeId","data-v-2c7aabf3"]]),Ol=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"})),lm="";const Nl={components:{SvgIcon:Re},name:"static-content-wrapper",props:{designState:{default:!1,type:Boolean},designer:Object,displayStyle:{default:"block",type:String},field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o,i18n2t:n}=Z(),i=t.computed(()=>!!e.designer&&e.field.id===e.designer.selectedId),l=t.computed(()=>e.field.options.customClass?e.field.options.customClass.join(" "):""),r=d=>{e.designer&&(e.designer.setSelected(d),e.designer.emitEvent("field-selected",e.parentWidget))},a=()=>{e.parentWidget?e.designer.setSelected(e.parentWidget):e.designer.clearSelected()},s=()=>{e.designer.moveUpWidget(e.parentList,e.indexOfParentList),e.designer.emitHistoryChange()},c=()=>{e.designer.moveDownWidget(e.parentList,e.indexOfParentList),e.designer.emitHistoryChange()},f=()=>{if(e.parentList){let d=null;e.parentList.length===1?e.parentWidget&&(d=e.parentWidget):e.parentList.length===1+e.indexOfParentList?d=e.parentList[e.indexOfParentList-1]:d=e.parentList[e.indexOfParentList+1],t.nextTick(()=>{e.parentList.splice(e.indexOfParentList,1),e.designer.setSelected(d),e.designer.emitHistoryChange()})}};return{i18n2t:n,i18nt:o,...t.toRefs(e),customClass:l,moveDownWidget:c,moveUpWidget:s,removeFieldWidget:f,selectField:r,selectParentWidget:a,selected:i}}},zl={key:0,class:"field-action"},Il=["title"],Tl=["title"],Pl=["title"],Hl=["title"],Al={key:1,class:"drag-handler background-opacity"},jl=["title"],Wl={key:0};function Ul(e,o,n,i,l,r){const a=t.resolveComponent("svg-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["field-wrapper",[i.selected?"selected":"",i.customClass]]),style:t.normalizeStyle({display:n.displayStyle})},[t.withDirectives(t.createElementVNode("div",{class:"static-content-item",style:t.normalizeStyle({display:n.displayStyle}),onClick:o[0]||(o[0]=t.withModifiers(s=>i.selectField(n.field),["stop"]))},[t.renderSlot(e.$slots,"default",{},void 0,!0)],4),[[t.vShow,!n.field.options.hidden||n.designState===!0]]),n.designer?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.designer.selectedId===n.field.id?(t.openBlock(),t.createElementBlock("div",zl,[t.createElementVNode("i",{title:i.i18nt("designer.hint.selectParentWidget"),onClick:o[1]||(o[1]=t.withModifiers(s=>i.selectParentWidget(n.field),["stop"]))},[t.createVNode(a,{"icon-class":"el-back"})],8,Il),!!n.parentList&&n.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:0,title:i.i18nt("designer.hint.moveUpWidget"),onClick:o[2]||(o[2]=t.withModifiers(s=>i.moveUpWidget(n.field),["stop"]))},[t.createVNode(a,{"icon-class":"el-move-up"})],8,Tl)):t.createCommentVNode("",!0),!!n.parentList&&n.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:1,title:i.i18nt("designer.hint.moveDownWidget"),onClick:o[3]||(o[3]=t.withModifiers(s=>i.moveDownWidget(n.field),["stop"]))},[t.createVNode(a,{"icon-class":"el-move-down"})],8,Pl)):t.createCommentVNode("",!0),t.createElementVNode("i",{title:i.i18nt("designer.hint.remove"),onClick:o[4]||(o[4]=t.withModifiers((...s)=>i.removeFieldWidget&&i.removeFieldWidget(...s),["stop"]))},[t.createVNode(a,{"icon-class":"el-delete"})],8,Hl)])):t.createCommentVNode("",!0),n.designer.selectedId===n.field.id?(t.openBlock(),t.createElementBlock("div",Al,[t.createElementVNode("i",{title:i.i18nt("designer.hint.dragHandler")},[t.createVNode(a,{"icon-class":"el-drag-move"})],8,jl),t.createElementVNode("i",null,t.toDisplayString(i.i18n2t(`designer.widgetLabel.${n.field.type}`,`extension.widgetLabel.${n.field.type}`)),1),n.field.options.hidden===!0?(t.openBlock(),t.createElementBlock("i",Wl,[t.createVNode(a,{"icon-class":"el-hide"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],6)}var ze=G(Nl,[["render",Ul],["__scopeId","data-v-65fd0363"]]),ql=Object.freeze(Object.defineProperty({__proto__:null,default:ze},Symbol.toStringTag,{value:"Module"}));const Yl=function(e){return{chinese:"/^[\u4E00-\u9FA5]+$/",email:"/^([-_A-Za-z0-9.]+)@([_A-Za-z0-9]+\\.)+[A-Za-z0-9]{2,3}$/",letter:"/^[A-Za-z]+$/",letterAndNumber:"/^[A-Za-z0-9]+$/",letterStartNumberIncluded:"/^[A-Za-z]+[A-Za-z\\d]*$/",mobilePhone:"/^[1][3-9][0-9]{9}$/",noChinese:"/^[^\u4E00-\u9FA5]+$/",number:"/^[-]?\\d+(\\.\\d+)?$/",url:"/^([hH][tT]{2}[pP]:\\/\\/|[hH][tT]{2}[pP][sS]:\\/\\/)(([A-Za-z0-9-~]+)\\.)+([A-Za-z0-9-~\\/])+$/"}[e]},De=function(e,o,n,i,l){return vn(n)||n.length<=0?!0:(o.message=o.message||l,Ze(Yl(e)).test(n))},wt={chinese(e,o,n){return De("chinese",o,e,n,"["+o.label+"]\u53EA\u80FD\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},email(e,o,n){return De("email",o,e,n,"["+o.label+"]\u90AE\u7BB1\u683C\u5F0F\u6709\u8BEF")},letter(e,o,n){return De("letter",o,e,n,"["+o.label+"]\u5305\u542B\u975E\u5B57\u6BCD\u5B57\u7B26")},letterAndNumber(e,o,n){return De("letterAndNumber",o,e,n,"["+o.label+"]\u53EA\u80FD\u8F93\u5165\u5B57\u6BCD\u6216\u6570\u5B57")},letterStartNumberIncluded(e,o,n){return De("letterStartNumberIncluded",o,e,n,"["+o.label+"]\u5FC5\u987B\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u53EF\u5305\u542B\u6570\u5B57")},mobilePhone(e,o,n){return De("mobilePhone",o,e,n,"["+o.label+"]\u624B\u673A\u53F7\u7801\u683C\u5F0F\u6709\u8BEF")},noBlankEnd(e,o,n){},noBlankStart(e,o,n){},noChinese(e,o,n){return De("noChinese",o,e,n,"["+o.label+"]\u4E0D\u53EF\u8F93\u5165\u4E2D\u6587\u5B57\u7B26")},number(e,o,n){return De("number",o,e,n,"["+o.label+"]\u5305\u542B\u975E\u6570\u5B57\u5B57\u7B26")},regExp(e,o,n){return vn(e)||e.length<=0?(o.message=o.message||"["+o.label+"]invalid value",!0):(o.regExp.length>0&&o.regExp[0]!=="/"&&(o.regExp="/"+o.regExp),o.regExp.length>0&&o.regExp[o.regExp.length-1]!=="/"&&(o.regExp=o.regExp+"/"),Ze(o.regExp).test(e))},url(e,o,n){return De("url",o,e,n,"["+o.label+"]URL\u683C\u5F0F\u6709\u8BEF")}};function Q(e){const{i18nt:o}=Z(),n=Fe(e),{proxy:i,props:l}=t.getCurrentInstance(),r=t.inject("refList"),a=t.inject("getFormConfig"),s=t.inject("globalOptionData"),c=t.inject("globalModel"),f=t.inject("getOptionData"),d=t.inject("getGlobalDsv"),m=t.inject("getReadMode"),u=t.inject("getSubFormFieldFlag"),y=t.inject("getSubFormName"),g=t.inject("getDSResultCache");e.fieldReadonlyFlag=t.ref(!1),e.dataSetLoadedFlag=t.ref(!1);const h=t.ref(null),w=t.computed(()=>l.field.options.labelHidden?"":l.field.options.label),_=t.computed(()=>L.value.labelPosition=="top"?"100%":l.field.options.labelHidden?0:l.field.options.labelWidth?l.field.options.labelWidth:a().labelWidth?L.value.labelWidth:"6.2rem"),k=t.computed(()=>l.field.options.labelAlign?l.field.options.labelAlign:L.value.labelAlign||"left"),L=t.computed(()=>a()),B=t.computed(()=>y?y():""),R=t.computed(()=>u?u():!1),F=t.computed({cache:!1,get(){return c.formModel}}),I=t.computed(()=>m()?!0:e.fieldReadonlyFlag.value),C=t.computed(()=>{if(e.fieldModel===null)return"--";{let p="--";return l.field.options.optionItems.forEach(S=>{(S.value===e.fieldModel||j.findInArray(e.fieldModel,S.value)!==-1)&&(p=p==="--"?S.label:p+" "+S.label)}),p}}),U=t.computed(()=>l.field.options.size?l.field.options.size:L.value.size||""),A=t.computed(()=>!!l.designState),q=t.computed(()=>!!l.designState||l.field.options.disabled),j={addCssClass(p){l.field.options.customClass?l.field.options.customClass.push(p):l.field.options.customClass=[p]},buildFieldRules(){if(!!l.field.formItemFlag){if(e.rules.splice(0,e.rules.length),l.field.options.required&&e.rules.push({message:l.field.options.requiredHint||o("render.hint.fieldRequired"),required:!0,trigger:"onBlur"}),l.field.options.validation){let p=l.field.options.validation;wt[p]?e.rules.push({label:l.field.options.label,message:l.field.options.validationHint,trigger:"onBlur",validator:wt[p]}):e.rules.push({label:l.field.options.label,message:l.field.options.validationHint,regExp:p,trigger:"onChange",validator:wt.regExp})}if(l.field.options.onValidate){let p=(S,x)=>new Function("rule","value",l.field.options.onValidate).call(l,x,e.fieldModel);e.rules.push({label:l.field.options.label,message:l.field.options.validationHint,trigger:"onChange",validator:p})}}},clearFieldRules(){!l.field.formItemFlag||e.rules.splice(0,e.rules.length)},clearSelectedOptions(){l.field.type!=="m-checkbox"&&l.field.type!=="m-radio"&&l.field.type!=="m-select"||(l.field.type==="m-checkbox"||l.field.type==="m-select"&&l.field.options.multiple?e.fieldModel=[]:e.fieldModel="")},clearValidate(){l.designState||j.getFormRef().clearValidate(j.getPropName())},disableChangeValidate(){!e.rules||e.rules.forEach(p=>{p.trigger&&p.trigger.splice(0,p.trigger.length)})},disableOption(p){j.disableOptionOfList(l.field.options.optionItems,p)},disableOptionOfList(p,S){!!p&&p.length>0&&p.forEach(x=>{x.value===S&&(x.disabled=!0)})},emitAppendButtonClick(){l.designState||(l.field.options.onAppendButtonClick?new Function(l.field.options.onAppendButtonClick).call(i):n.dispatch("VmFormRender","appendButtonClick",[i]))},emitFieldDataChange(p,S){n.emit$("field-value-changed",[p,S]),n.dispatch("VmFormRender","fieldChange",[l.field.options.name,p,S,B.value,l.subFormRowIndex])},enableChangeValidate(){!e.rules||e.rules.forEach(p=>{p.trigger&&(p.trigger.push("blur"),p.trigger.push("change"))})},enableOption(p){j.enableOptionOfList(l.field.options.optionItems,p)},enableOptionOfList(p,S){!!p&&p.length>0&&p.forEach(x=>{x.value===S&&(x.disabled=!1)})},async executeDataSource(p,S){let x=bt(L.value,p),D=new Object({});return We(D,d()||{}),We(D,S),await ht(x,D,j.getFormRef(),!1,i.$message)},findInArray(p,S){if(!Array.isArray(p))return-1;let x=-1;return p.forEach((D,N)=>{D===S&&(x=N)}),x},focus(){!!j.getFieldEditor()&&!!j.getFieldEditor().focus&&j.getFieldEditor().focus()},getFieldEditor(){return h.value},getFormRef(){return r.v_form_ref},getOptionItems(){return l.field.options.optionItems},getPropName(){return R.value&&!l.designState?B.value+"."+l.subFormRowIndex+"."+l.field.options.name:l.field.options.name},getSelectedLabel(){},getValue(){return e.fieldModel},getWidgetRef(p,S){let x=r[p];return!x&&!!S&&i.$message.error(o("render.hint.refNotFound")+p),x},handleBlurCustomEvent(p){l.designState||(l.field.options.onBlur&&new Function("event",l.field.options.onBlur).call(i,p),n.dispatch("VmFormRender","fieldValidation",[j.getPropName()]))},handleButtonWidgetClick(){l.designState||(l.field.options.onClick?new Function(l.field.options.onClick).call(i):n.dispatch("VmFormRender","buttonClick",[i]))},handleChangeEvent(p){l.designState||(j.syncUpdateFormModel(p),j.emitFieldDataChange(p,l.oldFieldValue),l.oldFieldValue=X(p),n.dispatch("VmFormRender","fieldValidation",[j.getPropName()]))},handleFocusCustomEvent(p){l.designState||(l.oldFieldValue=X(e.fieldModel),l.field.options.onFocus&&new Function("event",l.field.options.onFocus).call(i,p))},handleInputCustomEvent(p){l.designState||(j.syncUpdateFormModel(p),n.dispatch("VmFormRender","fieldValidation",[j.getPropName()]),l.field.options.onInput&&new Function("value",l.field.options.onInput).call(i,p))},handleOnChange(p,S){l.designState||l.field.options.onChange&&new Function("value","oldValue","subFormData","rowId",l.field.options.onChange).call(i,p,S,null,null)},handleOnChangeForSubForm(p,S,x,D){l.designState||l.field.options.onChange&&new Function("value","oldValue","subFormData","rowId",l.field.options.onChange).call(i,p,S,x,D)},handleOnConfirm(p){l.field.options.onConfirm&&new Function("value",l.field.options.onConfirm).call(i,p)},handleOnCreated(){l.designState||l.field.options.onCreated&&new Function(l.field.options.onCreated).call(i)},handleOnMounted(){l.designState||l.field.options.onMounted&&new Function(l.field.options.onMounted).call(i)},initDefaultValue(){l.designState!==!0&&i&&i.initDisplayValue&&i.initDisplayValue()},initEventHandler(){n.on$("setFormData",p=>{R.value||j.setValue(p[l.field.options.name])}),n.on$("field-value-changed",p=>{if(R.value){let S=F.value[B.value];j.handleOnChangeForSubForm(p[0],p[1],S,l.subFormRowId)}else j.handleOnChange(p[0],p[1])}),n.on$("loadOptionItemsFromDataSet",p=>{j.loadOptionItemsFromDataSet(p),e.dataSetLoadedFlag=!0}),n.on$("reloadOptionItems",p=>{(p.length===0||p.indexOf(l.field.options.name)>-1)&&j.initOptionItems(!0)})},initFieldModel(){if(!!l.field.formItemFlag){if(!!R.value&&!l.designState){let p=F.value[B.value];(p===void 0||p[l.subFormRowIndex]===void 0||p[l.subFormRowIndex][l.field.options.name]===void 0)&&l.field.options.defaultValue!==void 0?(e.fieldModel=l.field.options.defaultValue,p[l.subFormRowIndex][l.field.options.name]=l.field.options.defaultValue):p[l.subFormRowIndex][l.field.options.name]===void 0?(e.fieldModel=null,p[l.subFormRowIndex][l.field.options.name]=null):e.fieldModel=p[l.subFormRowIndex][l.field.options.name],setTimeout(()=>{j.handleOnChangeForSubForm(e.fieldModel,l.oldFieldValue,p,l.subFormRowId)},800),l.oldFieldValue=X(e.fieldModel),j.initFileList();return}F.value&&F.value[l.field.options.name]===void 0&&l.field.options.defaultValue!==void 0?e.fieldModel=l.field.options.defaultValue:!!F.value&&F.value[l.field.options.name]===void 0?F.value[l.field.options.name]=null:e.fieldModel=F.value[l.field.options.name],l.oldFieldValue=X(e.fieldModel),j.initFileList()}},initFileList(){l.field.type!=="m-picture-upload"&&l.field.type!=="m-file-upload"||l.designState===!0||e.fieldModel&&(Array.isArray(e.fieldModel)?(e.fileList=X(e.fieldModel),e.uploadBtnHidden=e.fileList.length>=l.field.options.limit):(e.fileList.splice(0,0,X(e.fieldModel)),e.uploadBtnHidden=l.field.options.limit<=1))},async initOptionItems(p){if(!l.designState&&(l.field.type==="m-radio"||l.field.type==="m-checkbox"||l.field.type==="m-select"||l.field.type==="m-cascader")){if(l.field.options.dsEnabled){l.field.options.optionItems.splice(0,l.field.options.optionItems.length);let x=l.field.options.dsName,D=l.field.options.dataSetName,N=bt(L.value,x);if(!!N&&!D){let E=d()||{},H=new Object({});We(H,E),H.widgetName=l.field.options.name;let M=null;try{M=await ht(N,H,j.getFormRef(),!1,i.$message),j.loadOptions(M)}catch(z){i.$message.error(z.message)}}else!!N&&!!D&&!e.dataSetLoadedFlag&&j.loadOptionItemsFromDataSet(x);return}const S=f();!!S&&S.hasOwnProperty(l.field.options.name)&&(p?j.reloadOptions(S[l.field.options.name]):j.loadOptions(S[l.field.options.name]))}},isSubFormField(){return R.value},isSubFormItem(){return R.value},loadOptionItemsFromDataSet(p){if(l.designState||l.field.type!=="m-radio"&&l.field.type!=="m-checkbox"&&l.field.type!=="m-select"&&l.field.type!=="m-cascader"||!l.field.options.dsEnabled||!l.field.options.dsName||!l.field.options.dataSetName||l.field.options.dsName!==p)return;const S=g(),x=l.field.options.dataSetName;!!S&&!!S[p]&&!!S[p][x]&&(l.field.options.optionItems.splice(0,l.field.options.optionItems.length),j.loadOptions(S[p][x]))},loadOptions(p){l.field.options.optionItems=En(p,l.field.type,l.field.options.labelKey||"label",l.field.options.valueKey||"value")},refreshDefaultValue(){l.designState===!0&&l.field.options.defaultValue!==void 0&&(e.fieldModel=l.field.options.defaultValue)},registerToRefList(p){r!==null&&!!l.field.options.name&&(R.value&&!l.designState?(p&&delete r[p+"@row"+l.subFormRowId],r[l.field.options.name+"@row"+l.subFormRowId]=i):(p&&delete r[p],r[l.field.options.name]=i))},reloadOptions(p){l.field.options.optionItems=En(p,l.field.type,l.field.options.labelKey||"label",l.field.options.valueKey||"value")},remoteDataSourceQuery(p){this.executeDataSource(l.field.options.dsName,{search:e.searchVal}).then(x=>{let D=l.field.options.dataSetName,N=[];if(D?N=x[D]:N=x,!Array.isArray(N)){console.error("remoteDataSourceQuery\u8FD4\u56DE\u503C\u5FC5\u987B\u662F\u6570\u7EC4");return}l.field.options.optionItems=N.map(E=>({label:E[l.field.options.labelKey||"label"],value:E[l.field.options.valueKey||"value"]}))})},remoteQuery(p){l.designState||l.field.options.onRemoteQuery&&new Function("keyword",l.field.options.onRemoteQuery).call(i,p)},removeCssClass(p){if(!l.field.options.customClass)return;let S=-1;l.field.options.customClass.map((x,D)=>{x===p&&(S=D)}),S>-1&&l.field.options.customClass.splice(S,1)},resetField(){let p=l.field.options.defaultValue;j.setValue(p),t.nextTick(()=>{}),(l.field.type==="m-picture-upload"||l.field.type==="m-file-upload")&&e.fileList.splice(0,e.fileList.length)},setAppendButtonDisabled(p){l.field.options.appendButtonDisabled=p},setAppendButtonVisible(p){l.field.options.appendButton=p},setDisabled(p){l.field.options.disabled=p},setHidden(p){l.field.options.hidden=p,p?j.clearFieldRules():j.buildFieldRules()},setLabel(p){l.field.options.label=p},setReadMode(p=!0){e.fieldReadonlyFlag.value=p},setReadonly(p){l.field.options.readonly=p},setRequired(p){l.field.options.required=p,j.buildFieldRules(),!l.designState&&!p&&j.clearValidate()},setToolbar(p){e.customToolbar=p},setUploadData(p,S){e.uploadData[p]=S},setUploadHeader(p,S){e.uploadHeaders[p]=S},setValue(p){if(l.field.formItemFlag){let S=X(e.fieldModel);i.setFieldModel?i.setFieldModel(p):e.fieldModel=p,j.initFileList(),j.initDefaultValue(),j.syncUpdateFormModel(p),j.emitFieldDataChange(p,S)}},setWidgetOption(p,S){l.field.options.hasOwnProperty(p)&&(l.field.options[p]=S)},syncUpdateFormModel(p){if(!l.designState)if(R.value){let x=(F.value[B.value]||[{}])[l.subFormRowIndex];x&&(x[l.field.options.name]=p)}else F.value[l.field.options.name]=p},unregisterFromRefList(){if(r!==null&&!!l.field.options.name){let p=l.field.options.name;R.value&&!l.designState?delete r[p+"@row"+l.subFormRowId]:delete r[p]}}};return{fieldEditor:h,getDSResultCache:g,getFormConfig:a,getGlobalDsv:d,getOptionData:f,getReadMode:m,getSubFormFieldFlag:u,getSubFormName:y,globalModel:c,globalOptionData:s,refList:r,...t.toRefs(e),disabledInDesign:A,fieldDisabled:q,fieldLabel:w,fieldLabelWidth:_,formConfig:L,formModel:F,isReadMode:I,labelAlign:k,methods:j,optionLabel:C,size:U,subFormItemFlag:R,subFormName:B,...n,...j}}var am="";const $l={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"m-button-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(){const{i18nt:e}=Z(),o=Q(t.reactive({}));return t.onMounted(()=>{o.handleOnMounted()}),t.onBeforeUnmount(()=>{o.unregisterFromRefList()}),o.registerToRefList(),o.initEventHandler(),o.handleOnCreated(),{i18nt:e,...o}}};function Jl(e,o,n,i,l,r){const a=t.resolveComponent("van-button"),s=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(s,{designer:n.designer,field:n.field,"design-state":n.designState,"display-style":n.field.options.displayStyle,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{ref:"fieldEditor",type:n.field.options.type,size:e.size,plain:n.field.options.plain,round:n.field.options.round,icon:n.field.options.icon,disabled:e.fieldDisabled,"native-type":"button",onClick:e.handleButtonWidgetClick},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.field.options.label),1)]),_:1},8,["type","size","plain","round","icon","disabled","onClick"])]),_:1},8,["designer","field","design-state","display-style","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Kl=G($l,[["render",Jl],["__scopeId","data-v-50110fe8"]]),Gl=Object.freeze(Object.defineProperty({__proto__:null,default:Kl},Symbol.toStringTag,{value:"Module"})),Nn={exports:{}};(function(e,o){(function(n,i){e.exports=i()})(Ve,function(){var n=1e3,i=6e4,l=36e5,r="millisecond",a="second",s="minute",c="hour",f="day",d="week",m="month",u="quarter",y="year",g="date",h="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var x=["th","st","nd","rd"],D=S%100;return"["+S+(x[(D-20)%10]||x[D]||x[0])+"]"}},L=function(S,x,D){var N=String(S);return!N||N.length>=x?S:""+Array(x+1-N.length).join(D)+S},B={s:L,z:function(S){var x=-S.utcOffset(),D=Math.abs(x),N=Math.floor(D/60),E=D%60;return(x<=0?"+":"-")+L(N,2,"0")+":"+L(E,2,"0")},m:function S(x,D){if(x.date()<D.date())return-S(D,x);var N=12*(D.year()-x.year())+(D.month()-x.month()),E=x.clone().add(N,m),H=D-E<0,M=x.clone().add(N+(H?-1:1),m);return+(-(N+(D-E)/(H?E-M:M-E))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:m,y,w:d,d:f,D:g,h:c,m:s,s:a,ms:r,Q:u}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},R="en",F={};F[R]=k;var I="$isDayjsObject",C=function(S){return S instanceof j||!(!S||!S[I])},U=function S(x,D,N){var E;if(!x)return R;if(typeof x=="string"){var H=x.toLowerCase();F[H]&&(E=H),D&&(F[H]=D,E=H);var M=x.split("-");if(!E&&M.length>1)return S(M[0])}else{var z=x.name;F[z]=x,E=z}return!N&&E&&(R=E),E||!N&&R},A=function(S,x){if(C(S))return S.clone();var D=typeof x=="object"?x:{};return D.date=S,D.args=arguments,new j(D)},q=B;q.l=U,q.i=C,q.w=function(S,x){return A(S,{locale:x.$L,utc:x.$u,x:x.$x,$offset:x.$offset})};var j=function(){function S(D){this.$L=U(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[I]=!0}var x=S.prototype;return x.parse=function(D){this.$d=function(N){var E=N.date,H=N.utc;if(E===null)return new Date(NaN);if(q.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var M=E.match(w);if(M){var z=M[2]-1||0,O=(M[7]||"0").substring(0,3);return H?new Date(Date.UTC(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,O)):new Date(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,O)}}return new Date(E)}(D),this.init()},x.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},x.$utils=function(){return q},x.isValid=function(){return this.$d.toString()!==h},x.isSame=function(D,N){var E=A(D);return this.startOf(N)<=E&&E<=this.endOf(N)},x.isAfter=function(D,N){return A(D)<this.startOf(N)},x.isBefore=function(D,N){return this.endOf(N)<A(D)},x.$g=function(D,N,E){return q.u(D)?this[N]:this.set(E,D)},x.unix=function(){return Math.floor(this.valueOf()/1e3)},x.valueOf=function(){return this.$d.getTime()},x.startOf=function(D,N){var E=this,H=!!q.u(N)||N,M=q.p(D),z=function(ae,te){var se=q.w(E.$u?Date.UTC(E.$y,te,ae):new Date(E.$y,te,ae),E);return H?se:se.endOf(f)},O=function(ae,te){return q.w(E.toDate()[ae].apply(E.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(te)),E)},v=this.$W,P=this.$M,W=this.$D,Y="set"+(this.$u?"UTC":"");switch(M){case y:return H?z(1,0):z(31,11);case m:return H?z(1,P):z(0,P+1);case d:var $=this.$locale().weekStart||0,ee=(v<$?v+7:v)-$;return z(H?W-ee:W+(6-ee),P);case f:case g:return O(Y+"Hours",0);case c:return O(Y+"Minutes",1);case s:return O(Y+"Seconds",2);case a:return O(Y+"Milliseconds",3);default:return this.clone()}},x.endOf=function(D){return this.startOf(D,!1)},x.$set=function(D,N){var E,H=q.p(D),M="set"+(this.$u?"UTC":""),z=(E={},E[f]=M+"Date",E[g]=M+"Date",E[m]=M+"Month",E[y]=M+"FullYear",E[c]=M+"Hours",E[s]=M+"Minutes",E[a]=M+"Seconds",E[r]=M+"Milliseconds",E)[H],O=H===f?this.$D+(N-this.$W):N;if(H===m||H===y){var v=this.clone().set(g,1);v.$d[z](O),v.init(),this.$d=v.set(g,Math.min(this.$D,v.daysInMonth())).$d}else z&&this.$d[z](O);return this.init(),this},x.set=function(D,N){return this.clone().$set(D,N)},x.get=function(D){return this[q.p(D)]()},x.add=function(D,N){var E,H=this;D=Number(D);var M=q.p(N),z=function(P){var W=A(H);return q.w(W.date(W.date()+Math.round(P*D)),H)};if(M===m)return this.set(m,this.$M+D);if(M===y)return this.set(y,this.$y+D);if(M===f)return z(1);if(M===d)return z(7);var O=(E={},E[s]=i,E[c]=l,E[a]=n,E)[M]||1,v=this.$d.getTime()+D*O;return q.w(v,this)},x.subtract=function(D,N){return this.add(-1*D,N)},x.format=function(D){var N=this,E=this.$locale();if(!this.isValid())return E.invalidDate||h;var H=D||"YYYY-MM-DDTHH:mm:ssZ",M=q.z(this),z=this.$H,O=this.$m,v=this.$M,P=E.weekdays,W=E.months,Y=E.meridiem,$=function(te,se,ye,Me){return te&&(te[se]||te(N,H))||ye[se].slice(0,Me)},ee=function(te){return q.s(z%12||12,te,"0")},ae=Y||function(te,se,ye){var Me=te<12?"AM":"PM";return ye?Me.toLowerCase():Me};return H.replace(_,function(te,se){return se||function(ye){switch(ye){case"YY":return String(N.$y).slice(-2);case"YYYY":return q.s(N.$y,4,"0");case"M":return v+1;case"MM":return q.s(v+1,2,"0");case"MMM":return $(E.monthsShort,v,W,3);case"MMMM":return $(W,v);case"D":return N.$D;case"DD":return q.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return $(E.weekdaysMin,N.$W,P,2);case"ddd":return $(E.weekdaysShort,N.$W,P,3);case"dddd":return P[N.$W];case"H":return String(z);case"HH":return q.s(z,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return ae(z,O,!0);case"A":return ae(z,O,!1);case"m":return String(O);case"mm":return q.s(O,2,"0");case"s":return String(N.$s);case"ss":return q.s(N.$s,2,"0");case"SSS":return q.s(N.$ms,3,"0");case"Z":return M}return null}(te)||M.replace(":","")})},x.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},x.diff=function(D,N,E){var H,M=this,z=q.p(N),O=A(D),v=(O.utcOffset()-this.utcOffset())*i,P=this-O,W=function(){return q.m(M,O)};switch(z){case y:H=W()/12;break;case m:H=W();break;case u:H=W()/3;break;case d:H=(P-v)/6048e5;break;case f:H=(P-v)/864e5;break;case c:H=P/l;break;case s:H=P/i;break;case a:H=P/n;break;default:H=P}return E?H:q.a(H)},x.daysInMonth=function(){return this.endOf(m).$D},x.$locale=function(){return F[this.$L]},x.locale=function(D,N){if(!D)return this.$L;var E=this.clone(),H=U(D,N,!0);return H&&(E.$L=H),E},x.clone=function(){return q.w(this.$d,this)},x.toDate=function(){return new Date(this.valueOf())},x.toJSON=function(){return this.isValid()?this.toISOString():null},x.toISOString=function(){return this.$d.toISOString()},x.toString=function(){return this.$d.toUTCString()},S}(),p=j.prototype;return A.prototype=p,[["$ms",r],["$s",a],["$m",s],["$H",c],["$W",f],["$M",m],["$y",y],["$D",g]].forEach(function(S){p[S[1]]=function(x){return this.$g(x,S[0],S[1])}}),A.extend=function(S,x){return S.$i||(S(x,j,A),S.$i=!0),A},A.locale=U,A.isDayjs=C,A.unix=function(S){return A(1e3*S)},A.en=F[R],A.Ls=F,A.p={},A})})(Nn);var ue=Nn.exports,zn={exports:{}};(function(e,o){(function(n,i){e.exports=i()})(Ve,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,l=/\d\d/,r=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},c=function(h){return(h=+h)+(h>68?1900:2e3)},f=function(h){return function(w){this[h]=+w}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=function(w){if(!w||w==="Z")return 0;var _=w.match(/([+-]|\d\d)/g),k=60*_[1]+(+_[2]||0);return k===0?0:_[0]==="+"?-k:k}(h)}],m=function(h){var w=s[h];return w&&(w.indexOf?w:w.s.concat(w.f))},u=function(h,w){var _,k=s.meridiem;if(k){for(var L=1;L<=24;L+=1)if(h.indexOf(k(L,0,w))>-1){_=L>12;break}}else _=h===(w?"pm":"PM");return _},y={A:[a,function(h){this.afternoon=u(h,!1)}],a:[a,function(h){this.afternoon=u(h,!0)}],S:[/\d/,function(h){this.milliseconds=100*+h}],SS:[l,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[r,f("seconds")],ss:[r,f("seconds")],m:[r,f("minutes")],mm:[r,f("minutes")],H:[r,f("hours")],h:[r,f("hours")],HH:[r,f("hours")],hh:[r,f("hours")],D:[r,f("day")],DD:[l,f("day")],Do:[a,function(h){var w=s.ordinal,_=h.match(/\d+/);if(this.day=_[0],w)for(var k=1;k<=31;k+=1)w(k).replace(/\[|\]/g,"")===h&&(this.day=k)}],M:[r,f("month")],MM:[l,f("month")],MMM:[a,function(h){var w=m("months"),_=(m("monthsShort")||w.map(function(k){return k.slice(0,3)})).indexOf(h)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[a,function(h){var w=m("months").indexOf(h)+1;if(w<1)throw new Error;this.month=w%12||w}],Y:[/[+-]?\d+/,f("year")],YY:[l,function(h){this.year=c(h)}],YYYY:[/\d{4}/,f("year")],Z:d,ZZ:d};function g(h){var w,_;w=h,_=s&&s.formats;for(var k=(h=w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,A,q){var j=q&&q.toUpperCase();return A||_[q]||n[q]||_[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,S,x){return S||x.slice(1)})})).match(i),L=k.length,B=0;B<L;B+=1){var R=k[B],F=y[R],I=F&&F[0],C=F&&F[1];k[B]=C?{regex:I,parser:C}:R.replace(/^\[|\]$/g,"")}return function(U){for(var A={},q=0,j=0;q<L;q+=1){var p=k[q];if(typeof p=="string")j+=p.length;else{var S=p.regex,x=p.parser,D=U.slice(j),N=S.exec(D)[0];x.call(A,N),U=U.replace(N,"")}}return function(E){var H=E.afternoon;if(H!==void 0){var M=E.hours;H?M<12&&(E.hours+=12):M===12&&(E.hours=0),delete E.afternoon}}(A),A}}return function(h,w,_){_.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(c=h.parseTwoDigitYear);var k=w.prototype,L=k.parse;k.parse=function(B){var R=B.date,F=B.utc,I=B.args;this.$u=F;var C=I[1];if(typeof C=="string"){var U=I[2]===!0,A=I[3]===!0,q=U||A,j=I[2];A&&(j=I[2]),s=this.$locale(),!U&&j&&(s=_.Ls[j]),this.$d=function(D,N,E){try{if(["x","X"].indexOf(N)>-1)return new Date((N==="X"?1e3:1)*D);var H=g(N)(D),M=H.year,z=H.month,O=H.day,v=H.hours,P=H.minutes,W=H.seconds,Y=H.milliseconds,$=H.zone,ee=new Date,ae=O||(M||z?1:ee.getDate()),te=M||ee.getFullYear(),se=0;M&&!z||(se=z>0?z-1:ee.getMonth());var ye=v||0,Me=P||0,Ke=W||0,ot=Y||0;return $?new Date(Date.UTC(te,se,ae,ye,Me,Ke,ot+60*$.offset*1e3)):E?new Date(Date.UTC(te,se,ae,ye,Me,Ke,ot)):new Date(te,se,ae,ye,Me,Ke,ot)}catch{return new Date("")}}(R,C,F),this.init(),j&&j!==!0&&(this.$L=this.locale(j).$L),q&&R!=this.format(C)&&(this.$d=new Date("")),s={}}else if(C instanceof Array)for(var p=C.length,S=1;S<=p;S+=1){I[1]=C[S-1];var x=_.apply(this,I);if(x.isValid()){this.$d=x.$d,this.$L=x.$L,this.init();break}S===p&&(this.$d=new Date(""))}else L.call(this,B)}}})})(zn);var Zl=zn.exports,In={exports:{}};(function(e,o){(function(n,i){e.exports=i()})(Ve,function(){return function(n,i){i.prototype.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]}}})})(In);var Xl=In.exports,Tn={exports:{}};(function(e,o){(function(n,i){e.exports=i()})(Ve,function(){return function(n,i,l){var r=i.prototype,a=function(c){var f=c.date,d=c.utc;return Array.isArray(f)?d?f.length?new Date(Date.UTC.apply(null,f)):new Date:f.length===1?l(String(f[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(f))):f},s=r.parse;r.parse=function(c){c.date=a.bind(this)(c),s.bind(this)(c)}}})})(Tn);var Ql=Tn.exports;ue.extend(Zl),ue.extend(Ql),ue.extend(Xl);const Wt=e=>(Array.isArray(e)&&e.length>1&&(e[1]=(Number(e[1])-1).toString()),e),ea=()=>{let e=[];return Object.keys(Un).forEach(o=>{e.push(Un[o])}),e};function Ut(e,o){return ue(Wt(e)).format(o||"YYYY-MM-DD")}function Pn(e,o){return ue(Wt(e)||void 0).format(o||"YYYY-MM-DD HH:mm:ss")}function Hn(e,o){return e&&Array.isArray(e)?ue(Wt(e||void 0)).format(o||"HH:mm:ss"):ue(e||void 0,ea()).format(o||"HH:mm:ss")}function An(e,o){let n=ue(e||void 0).toArray();return n.forEach((i,l)=>{n[l]=i.toString()}),n}function ce(e,o){return e?ue(e,o||"YYYY-MM-DD"):null}function jn(e,o){return e?ue(e,o||"HH:mm:ss"):null}function Wn(e,o){return e?ue(e,o||"YYYY-MM-DD HH:mm:ss"):null}function ta(e,o){if(!e||!Array.isArray(e)||e.length<=0)return[];const[n,i]=e;let l=ue(n,o||"YYYY-MM-DD"),r=ue(i,o||"YYYY-MM-DD");return[l,r]}const Un={"HH:mm":"HH:mm","HH:mm:ss":"HH:mm:ss",HH\u65F6mm\u5206:"HH\u65F6mm\u5206",HH\u65F6mm\u5206ss\u79D2:"HH\u65F6mm\u5206ss\u79D2","hh:mm:ss A":"hh:mm:ss A","yyyy-M-d":"YYYY-M-D","yyyy-M-d H:m":"YYYY-M-D H:m","yyyy-MM-dd":"YYYY-MM-DD","yyyy-MM-dd HH:mm":"YYYY-MM-DD HH:mm","yyyy-MM-dd HH:mm:ss":"YYYY-MM-DD HH:mm:ss","yyyy-MM-dd hh:mm:ss A":"YYYY-MM-DD hh:mm:ss A","yyyy/M/d":"YYYY/M/D","yyyy/M/d H:m":"YYYY/M/D H:m","yyyy/MM/dd":"YYYY/MM/DD","yyyy/MM/dd HH:mm":"YYYY/MM/DD HH:mm",yyyy\u5E74MM\u6708dd\u65E5:"YYYY\u5E74MM\u6708DD\u65E5","yyyy\u5E74MM\u6708dd\u65E5 HH\u65F6mm\u5206":"YYYY\u5E74MM\u6708DD\u65E5 HH\u65F6mm\u5206",yyyy\u5E74M\u6708d\u65E5:"YYYY\u5E74M\u6708D\u65E5","yyyy\u5E74M\u6708d\u65E5 H\u65F6m\u5206":"YYYY\u5E74M\u6708D\u65E5 H\u65F6m\u5206"},na={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-calendar-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({defaultDate:null,fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[],showCalendarFlag:!1}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>e.field.options.minDate?ce(e.field.options.minDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()-10,0,1)),r=t.computed(()=>e.field.options.maxDate?ce(e.field.options.maxDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()+10,11,31)),a=()=>{i.initFieldModel()},s=()=>{if(e.designState){n.showCalendarFlag=!1;return}if(!(e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value)){if(e.designState){n.showCalendarFlag=!1;return}n.showCalendarFlag=!0}},c=d=>{n.fieldModel=Ut(d,e.field.options.format),i.syncUpdateFormModel(n.fieldModel),i.handleOnConfirm(n.fieldModel),n.showCalendarFlag=!1};i.registerToRefList(),a(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated();const f=d=>{d?(n.fieldModel=d,n.defaultDate=ce(n.fieldModel,e.field.options.format).toDate()):(n.fieldModel="",n.defaultDate=null)};return{i18nt:o,...i,...t.toRefs(n),handleConfirm:c,maxDate:r,minDate:l,setFieldModel:f,showCalendar:s}}};function oa(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-calendar"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),readonly:"",clickable:"","is-link":"",label:e.fieldLabel,"label-align":e.labelAlign,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,disabled:e.fieldDisabled||n.field.options.readonly,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showCalendar},null,8,["name","modelValue","label","label-align","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(s,{show:e.showCalendarFlag,"onUpdate:show":o[1]||(o[1]=f=>e.showCalendarFlag=f),"default-date":e.defaultDate,poppable:!0,"min-date":i.minDate,"max-date":i.maxDate,onConfirm:i.handleConfirm},null,8,["show","default-date","min-date","max-date","onConfirm"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ia=G(na,[["render",oa]]),la=Object.freeze(Object.defineProperty({__proto__:null,default:ia},Symbol.toStringTag,{value:"Module"})),rm="";const aa={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-cascader-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z();t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const n=t.reactive({cascaderValue:"",displayValue:"",fieldModel:[],fieldNames:{children:e.field.options.childrenKey||"children",text:e.field.options.labelKey||"label",value:e.field.options.valueKey||"value"},noChangeEventFlag:!0,oldFieldValue:[],rules:[],selectedValue:"",showPopupFlag:!1}),i=Q(n),l=(g,h)=>{for(let w=0;w<g.length;w++){let _=g[w];if(_[n.fieldNames.value]===h)return[_];if(_[n.fieldNames.children]){let k=l(_[n.fieldNames.children],h);if(k)return[_].concat(k)}}},r=g=>{let h=g.length>0?g[g.length-1]:null;if(!h)return null;let w=l(e.field.options.optionItems,h);if(!!w&&w.length>0)return w.map(_=>_[n.fieldNames.text]).join("/")},a=()=>{let g=[];if(e.field.options.multiple){for(let h=0;h<n.fieldModel.length;h++){let w=n.fieldModel[h],_=r(w);g.push(_)}n.cascaderValue=n.fieldModel.map(h=>h.join("_")).join(",")}else if(n.fieldModel){let h=r(n.fieldModel);h&&(g.push(h),n.selectedValue=n.fieldModel[n.fieldModel.length-1],n.cascaderValue=n.fieldModel.join("_"))}else n.selectedValue="",n.cascaderValue="";return g},s=()=>{if(e.designState){n.showPopupFlag=!1;return}e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value||(n.showPopupFlag=!0)},c=({value:g,selectedOptions:h})=>{n.fieldModel||(n.fieldModel=[]),e.field.options.multiple?i.handleChangeEvent(n.fieldModel):(n.fieldModel=h.map(w=>w[n.fieldNames.value]),i.handleChangeEvent(n.fieldModel),n.showPopupFlag=!1)},f=g=>{var h=!1,w=g.fullValue[g.fullValue.length-1];for(let _=0;_<n.fieldModel.length;_++){const k=n.fieldModel[_];h=h||k.indexOf(w)>=0}return h},d=(g,h)=>{if(g.length!==h.length)return!1;for(let w=0;w<g.length;w++)if(g[w]!==h[w])return!1;return!0},m=({selectedOptions:g,tabIndex:h,value:w})=>{if(!(g[g.length-1].children&&g[g.length-1].children.length>0))if(e.field.options.multiple){let _=g.map(L=>L[n.fieldNames.value]),k=-1;for(let L=0;L<n.fieldModel.length;L++)if(d(n.fieldModel[L],_)){k=L;break}k>=0?n.fieldModel.splice(k,1):(n.fieldModel.push(_),n.cascaderValue=n.fieldModel.map(L=>L.join("_")).join(","))}else n.fieldModel=g.map(_=>_[n.fieldNames.value]),n.cascaderValue=n.fieldModel.join("_")},u=t.computed(()=>{const g=X(e.field.options.optionItems),h=(w,_)=>{w.forEach(k=>{k.fullValue=[..._,k.value],k.children&&h(k.children,k.fullValue)})};return h(g,[]),g}),y=g=>{n.fieldModel=X(g)};return i.registerToRefList(),i.initOptionItems(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n),cascaderOptionItems:u,displayArray:a,getSelectedOptionsByValue:l,handleFinish:c,isSelected:f,onCascaderSelected:m,px2rem:Be,setFieldModel:y,showPopup:s}}},ra={class:"multiple-display-wrapper"},da={class:"option-wrapper"};function sa(e,o,n,i,l,r){const a=t.resolveComponent("van-tag"),s=t.resolveComponent("van-field"),c=t.resolveComponent("van-checkbox"),f=t.resolveComponent("van-cascader"),d=t.resolveComponent("van-popup"),m=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(m,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,clickable:"",readonly:"",modelValue:e.cascaderValue,"onUpdate:modelValue":o[0]||(o[0]=u=>e.cascaderValue=u),label:e.fieldLabel,"is-link":"","label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,disabled:e.fieldDisabled,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showPopup},t.createSlots({_:2},[e.fieldModel.length>0?{name:"input",fn:t.withCtx(()=>[t.createElementVNode("div",ra,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.displayArray(),(u,y)=>(t.openBlock(),t.createBlock(a,{color:"#F0F2F5","text-color":"#909399",size:"medium",class:"display-item",key:y,closeable:!1},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u),1)]),_:2},1024))),128))])]),key:"0"}:void 0]),1032,["name","modelValue","label","label-align","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(d,{show:e.showPopupFlag,"onUpdate:show":o[3]||(o[3]=u=>e.showPopupFlag=u),round:"",position:"bottom",teleport:"body"},{default:t.withCtx(()=>[t.createVNode(f,{modelValue:e.selectedValue,"onUpdate:modelValue":o[1]||(o[1]=u=>e.selectedValue=u),ref:"fieldEditor",title:n.field.options.placeholder,options:i.cascaderOptionItems,"field-names":e.fieldNames,onClose:o[2]||(o[2]=u=>e.showPopupFlag=!1),onFinish:i.handleFinish,onChange:i.onCascaderSelected},t.createSlots({_:2},[n.field.options.multiple?{name:"option",fn:t.withCtx(({option:u})=>[t.createElementVNode("div",da,[t.createVNode(c,{modelValue:i.isSelected(u),disabled:u.disabled,shape:"square","icon-size":i.px2rem("14px")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.label),1)]),_:2},1032,["modelValue","disabled","icon-size"])])]),key:"0"}:void 0]),1032,["modelValue","title","options","field-names","onFinish","onChange"])]),_:1},8,["show"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ca=G(aa,[["render",sa],["__scopeId","data-v-63bada02"]]),fa=Object.freeze(Object.defineProperty({__proto__:null,default:ca},Symbol.toStringTag,{value:"Module"})),dm="";const ma={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-checkbox-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:[],noChangeEventFlag:!0,oldFieldValue:[],px2rem:Be,rules:[]}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>e.field.options.optionItems.filter(a=>n.fieldModel.indexOf(a.value)>=0).map(a=>a.label).toString());return i.registerToRefList(),i.initOptionItems(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n),displayValue:l}}};function ua(e,o,n,i,l,r){const a=t.resolveComponent("van-checkbox"),s=t.resolveComponent("van-checkbox-group"),c=t.resolveComponent("van-field"),f=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(c,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.withDirectives(t.createVNode(s,{modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=d=>e.fieldModel=d),direction:n.field.options.direction,disabled:e.fieldDisabled,onChange:e.handleChangeEvent},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.field.options.optionItems,(d,m)=>(t.openBlock(),t.createBlock(a,{key:m,shape:"square",disabled:d.disabled,"icon-size":e.px2rem(n.field.options.iconSize),name:d.value,class:"vform-van-checkbox"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.label),1)]),_:2},1032,["disabled","icon-size","name"]))),128))]),_:1},8,["modelValue","direction","disabled","onChange"]),[[t.vShow,!n.field.options.readonly&&!e.isReadMode]]),n.field.options.readonly||e.isReadMode?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["readonly-mode-field",{diabled:e.fieldDisabled}])},t.toDisplayString(i.displayValue),3)):t.createCommentVNode("",!0)]),_:1},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var pa=G(ma,[["render",ua],["__scopeId","data-v-542d6d8a"]]),ga=Object.freeze(Object.defineProperty({__proto__:null,default:pa},Symbol.toStringTag,{value:"Module"}));const ha={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-date-range-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({defaultDate:[],fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[],showPickerFlag:!1}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>n.fieldModel&&n.fieldModel.length==2?n.fieldModel[0]+"~"+n.fieldModel[1]:""),r=t.computed(()=>{if(e.field.options.startPlaceholder&&e.field.options.endPlaceholder)return`${e.field.options.startPlaceholder} ~ ${e.field.options.endPlaceholder}`;if(e.field.options.startPlaceholder)return e.field.options.startPlaceholder;if(e.field.options.endPlaceholder)return e.field.options.endPlaceholder}),a=()=>e.field.options.minDate?ce(e.field.options.minDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()-10,0,1),s=()=>e.field.options.maxDate?ce(e.field.options.maxDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()+10,11,31),c=()=>{if(e.designState){n.showPickerFlag=!1;return}e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value||(n.showPickerFlag=!0)},f=u=>{n.showPickerFlag=!1,n.fieldModel=[Ut(u[0],e.field.options.format),Ut(u[1],e.field.options.format)],i.syncUpdateFormModel(n.fieldModel),i.handleOnConfirm(n.fieldModel),i.handleChangeEvent(n.fieldModel)},d=()=>{n.showPickerFlag=!1};i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated();const m=u=>{u&&Array.isArray(u)&&u.length==2?(n.fieldModel=ta(u,e.field.options.format).map(y=>y.format(e.field.options.format)),n.defaultDate=[ce(n.fieldModel[0],e.field.options.format).toDate(),ce(n.fieldModel[1],e.field.options.format).toDate()]):(n.fieldModel="",n.defaultDate=[])};return{i18nt:o,...i,...t.toRefs(e),...t.toRefs(n),formatDateRange:l,handleCancel:d,handleConfirm:f,maxDate:s,minDate:a,placeHolder:r,setFieldModel:m,showCalendar:c}}};function ba(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-calendar"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:i.formatDateRange,"onUpdate:modelValue":o[0]||(o[0]=f=>i.formatDateRange=f),clickable:"",readonly:"","is-link":"",label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,placeholder:i.placeHolder,disabled:e.fieldDisabled||n.field.options.readonly,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showCalendar},null,8,["name","modelValue","label","label-align","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(s,{type:"range",show:e.showPickerFlag,"onUpdate:show":o[1]||(o[1]=f=>e.showPickerFlag=f),"default-date":e.defaultDate,poppable:!0,onCancel:i.handleCancel,onConfirm:i.handleConfirm},null,8,["show","default-date","onCancel","onConfirm"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var wa=G(ha,[["render",ba]]),ya=Object.freeze(Object.defineProperty({__proto__:null,default:wa},Symbol.toStringTag,{value:"Module"}));const Ca={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-date-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({currentDate:[],fieldModel:"",noChangeEventFlag:!0,oldFieldValue:"",rules:[],showPickerFlag:!1}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>{let u=["year","month","day"],y=(e.field.options.format||"yyyy-MM-dd").replace(/\/|年|月|日/g,"-").replace(/\-$/,"").split("-");return u.splice(0,y.length)}),r=t.computed(()=>e.field.options.minDate?ce(e.field.options.minDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()-10,0,1)),a=t.computed(()=>e.field.options.maxDate?ce(e.field.options.maxDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()+10,11,31));t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const s=()=>{i.initFieldModel(),n.fieldModel&&(n.currentDate=An(n.fieldModel).splice(0,l.value.length))},c=()=>{if(e.designState){n.showPickerFlag=!1;return}e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value||(n.showPickerFlag=!0)},f=u=>{debugger;n.fieldModel=Pn(u.selectedValues,e.field.options.format),i.syncUpdateFormModel(n.fieldModel),i.handleOnConfirm(n.fieldModel),i.handleChangeEvent(n.fieldModel),n.showPickerFlag=!1},d=()=>{n.showPickerFlag=!1};i.registerToRefList(),s(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated();const m=u=>{u?(n.fieldModel=ce(u).format(e.field.options.format),n.currentDate=ce(u).format("YYYY-MM-DD").split("-")):(n.fieldModel="",n.currentDate=[])};return{i18nt:o,...i,...t.toRefs(n),columnType:l,handleCancel:d,handleConfirm:f,maxDate:a,minDate:r,setFieldModel:m,showDatetimePicker:c}}};function _a(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-date-picker"),c=t.resolveComponent("van-popup"),f=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=d=>e.fieldModel=d),clickable:"",readonly:"","is-link":"",label:e.fieldLabel,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,disabled:e.fieldDisabled||n.field.options.readonly,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showDatetimePicker},null,8,["name","modelValue","label","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(c,{show:e.showPickerFlag,"onUpdate:show":o[2]||(o[2]=d=>e.showPickerFlag=d),round:"",position:"bottom",teleport:"body"},{default:t.withCtx(()=>[t.createVNode(s,{"columns-type":i.columnType,modelValue:e.currentDate,"onUpdate:modelValue":o[1]||(o[1]=d=>e.currentDate=d),title:n.field.options.placeholder,"min-date":i.minDate,"max-date":i.maxDate,onConfirm:i.handleConfirm,onCancel:i.handleCancel},null,8,["columns-type","modelValue","title","min-date","max-date","onConfirm","onCancel"])]),_:1},8,["show"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Fa=G(Ca,[["render",_a]]),Sa=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"}));const xa={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-datetime-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({currentDate:[],currentTime:[],fieldModel:"",noChangeEventFlag:!0,oldFieldValue:"",rules:[],showDatePickerFlag:!1,showTimePickerFlag:!1}),i=Q(n),l=t.computed(()=>e.field.options.minDate?ce(e.field.options.minDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()-10,0,1)),r=t.computed(()=>e.field.options.maxDate?ce(e.field.options.maxDate,"YYYY-MM-DD").toDate():new Date(new Date().getFullYear()+10,11,31));t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const a=t.computed(()=>["year","month","day"]),s=t.computed(()=>{let g=["hour","minute","second"],h=(e.field.options.format||"yyyy-MM-dd HH:mm:ss").replace(/\:|\/|年|月|日|时|分|秒/g,"-").replace(/\s/,"-").replace(/--/g,"-").replace(/\-$/,"").split("-");return h.splice(0,3),g.splice(0,h.length)}),c=()=>{if(i.initFieldModel(),n.fieldModel){let g=An(n.fieldModel,e.field.options.format);n.currentDate=g.splice(0,3),n.currentTime=g.splice(3,4)}},f=()=>{if(e.designState){n.showDatePickerFlag=!1;return}e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value||(n.showDatePickerFlag=!0)},d=g=>{},m=()=>{n.showDatePickerFlag=!1,n.showTimePickerFlag=!1},u=g=>{n.fieldModel=Pn([...n.currentDate,...n.currentTime],e.field.options.format),i.syncUpdateFormModel(n.fieldModel),i.handleOnConfirm(n.fieldModel),i.handleChangeEvent(n.fieldModel),n.showDatePickerFlag=!1};i.registerToRefList(),c(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated();const y=g=>{g?(n.fieldModel=Wn(g,e.field.options.format).format(e.field.options.format),n.currentDate=ce(g,e.field.options.format).format("YYYY-MM-DD").split("-").splice(0,a.value.length),n.currentTime=Wn(g,e.field.options.format).format("HH-mm-ss").split("-").splice(0,s.value.length)):(n.currentDate=[],n.currentTime=[])};return{i18nt:o,...i,...t.toRefs(n),dateColumnType:a,handleCancel:m,handleDateConfirm:d,handleTimeConfirm:u,maxDate:r,minDate:l,setFieldModel:y,showDatePicker:f,timeColumnType:s}}};function Ma(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-date-picker"),c=t.resolveComponent("van-time-picker"),f=t.resolveComponent("van-picker-group"),d=t.resolveComponent("van-popup"),m=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(m,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=u=>e.fieldModel=u),clickable:"",readonly:"","is-link":"",label:e.fieldLabel,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,disabled:e.fieldDisabled||n.field.options.readonly,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showDatePicker},null,8,["name","modelValue","label","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(d,{show:e.showDatePickerFlag,"onUpdate:show":o[3]||(o[3]=u=>e.showDatePickerFlag=u),round:"",position:"bottom",teleport:"body"},{default:t.withCtx(()=>[t.createVNode(f,{title:n.field.options.label,tabs:[i.i18nt("render.hint.datePlaceholder"),i.i18nt("render.hint.timePlaceholder")],"confirm-button-text":i.i18nt("render.hint.confirm"),"cancel-button-text":i.i18nt("render.hint.cancel"),onConfirm:i.handleTimeConfirm,onCancel:i.handleCancel},{default:t.withCtx(()=>[t.createVNode(s,{"columns-type":i.dateColumnType,modelValue:e.currentDate,"onUpdate:modelValue":o[1]||(o[1]=u=>e.currentDate=u),"min-date":i.minDate,"max-date":i.maxDate},null,8,["columns-type","modelValue","min-date","max-date"]),t.createVNode(c,{"columns-type":i.timeColumnType,modelValue:e.currentTime,"onUpdate:modelValue":o[2]||(o[2]=u=>e.currentTime=u)},null,8,["columns-type","modelValue"])]),_:1},8,["title","tabs","confirm-button-text","cancel-button-text","onConfirm","onCancel"])]),_:1},8,["show"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Va=G(xa,[["render",Ma]]),Da=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),sm="";const La={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"m-divider-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),n=Q(t.reactive({}));return t.onMounted(()=>{n.handleOnMounted()}),t.onBeforeUnmount(()=>{n.unregisterFromRefList()}),n.registerToRefList(),n.initEventHandler(),n.handleOnCreated(),{i18nt:o,...n}}};function va(e,o,n,i,l,r){const a=t.resolveComponent("van-divider"),s=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(s,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{ref:"fieldEditor",dashed:n.field.options.dashed,"content-position":n.field.options.contentPosition},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.field.options.label),1)]),_:1},8,["dashed","content-position"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ka=G(La,[["render",va],["__scopeId","data-v-0d6285e6"]]),Ba=Object.freeze(Object.defineProperty({__proto__:null,default:ka},Symbol.toStringTag,{value:"Module"})),cm="";const Ra={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-file-upload-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),{proxy:n}=t.getCurrentInstance(),i=t.reactive({ImagePreview:{},fieldModel:null,fileList:[],noChangeEventFlag:!0,oldFieldValue:null,rules:[],uploadBtnHidden:!1,uploadData:{key:""},uploadHeaders:{}}),l=Q(i);t.onMounted(()=>{l.handleOnMounted()}),t.onBeforeUnmount(()=>{l.unregisterFromRefList()});const r=t.computed(()=>(e.field.options.fileMaxSize||5)*1048576),a=t.computed(()=>{if(!!e.field.options.fileTypes&&e.field.options.fileTypes.length>0){let L="";return e.field.options.fileTypes.forEach(B=>{let R=B.startsWith(".")?B+",":"."+B+",";L=L+R}),L}return"*"}),s=t.computed(()=>e.field.options.name+"Button"),c=t.computed(()=>n.$slots),f=L=>new Promise(async(B,R)=>{if(e.field.options.onBeforeUpload){let F=new Function("file",e.field.options.onBeforeUpload),I;try{I=await F.call(n,L),typeof I=="boolean"?I?B(L):R():B(I||L)}catch(C){y(C,L,i.fileList),R()}}else B(L)}),d=L=>{let B=!1,R=[];Array.isArray(L)?R=L:R.push(L);for(let F=0;F<R.length;F++){let I=R[F].name.substring(R[F].name.lastIndexOf(".")+1);if(!!e.field.options&&!!e.field.options.fileTypes){let C=e.field.options.fileTypes;C.length>0&&(B=C.some(U=>I.toLowerCase()===U.toLowerCase()))}if(!B)return n.$message.error(o("render.hint.unsupportedFileType")+I),!1}return f(L)},m=L=>{let B=l.getGlobalDsv(),R=[];Array.isArray(L)?R=L:R.push(L),R.forEach(F=>{On(F,e.field.options.uploadURL,B,i.uploadHeaders,i.uploadData).then(I=>{u(I,F)}).catch(I=>y(I,F))})},u=(L,B)=>{let R=null;e.field.options.onUploadSuccess&&(R=new Function("result","file","fileList",e.field.options.onUploadSuccess).call(n,L,B,i.fileList)),g(i.fileList,R,L),i.uploadBtnHidden=i.fieldModel.length>=e.field.options.limit},y=(L,B)=>{e.field.options.onUploadError?new Function("error","file","fileList",e.field.options.onUploadError).call(n,L,B,i.fileList):n.$message({duration:3e3,message:o("render.hint.uploadError")+L,type:"error"})},g=(L,B,R)=>{i.fieldModel=i.fieldModel||[];let F=X(i.fieldModel);!!B&&!!B.name&&!!B.url?i.fieldModel.push(B):!!R&&!!R.name&&!!R.url?i.fieldModel.push(R):!!R&&Array.isArray(R)?R.forEach(I=>{i.fieldModel.push(I)}):!!R&&!!R.data&&!!R.data.name&&!!R.data.url?this.fieldModel.push({name:R.data.name,url:R.data.url}):i.fieldModel.push(R),l.syncUpdateFormModel(i.fieldModel),l.emitFieldDataChange(i.fieldModel,F)},h=L=>{let B=i.fileList[L];w(B,L)},w=(L,B)=>{_(L,i.fileList,B),i.uploadBtnHidden=i.fieldModel.length>=e.field.options.limit,e.field.options.onFileRemove&&new Function("file","fileList",e.field.options.onFileRemove).call(n,L,i.fileList)},_=(L,B,R)=>{let F=X(i.fieldModel);R>-1&&i.fieldModel.splice(R,1),l.syncUpdateFormModel(i.fieldModel),l.emitFieldDataChange(i.fieldModel,F)},k=L=>{let B=e.field.options.fileMaxSize||5;n.$message.error(o("render.hint.fileSizeExceed")+B+"MB")};return l.registerToRefList(),l.initFieldModel(),l.initEventHandler(),l.buildFieldRules(),l.handleOnCreated(),{i18nt:o,...t.toRefs(i),...l,acceptTypes:a,afterRead:m,beforeRead:d,handleFileDelete:w,handleOversize:k,removeUploadFile:h,slotButtonName:s,slots:c,uploadMaxSize:r}}},Ea={class:"preview-fileList"},Oa=["onClick"],Na=["href"],za={class:"file-action el-icon-download"};function Ia(e,o,n,i,l,r){const a=t.resolveComponent("van-icon"),s=t.resolveComponent("van-uploader"),c=t.resolveComponent("van-button"),f=t.resolveComponent("van-field"),d=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(d,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(f,{name:n.field.options.name,label:e.fieldLabel,"label-width":e.fieldLabelWidth,"label-align":n.field.options.labelAlign,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.createElementVNode("div",Ea,[i.slots[n.field.options.name]?t.renderSlot(e.$slots,n.field.options.name,t.normalizeProps(t.mergeProps({key:1},{fieldModel:e.fieldModel,field:n.field})),void 0,!0):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.fieldModel,(m,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["preview-cover",{readmode:n.field.options.readonly||e.isReadMode}]),key:u},[t.createTextVNode(t.toDisplayString(m.name)+" ",1),!e.isReadMode&&!e.fieldDisabled?(t.openBlock(),t.createElementBlock("span",{key:0,class:"file-action el-icon-delete",onClick:y=>i.handleFileDelete(m,u)},[t.createVNode(a,{name:"delete-o"})],8,Oa)):t.createCommentVNode("",!0),e.isReadMode?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("a",{key:1,href:m.url,target:"_blank",class:"file-link"},[t.createElementVNode("span",za,[t.createVNode(a,{name:"down"})])],8,Na))],2))),128)),i.slots[i.slotButtonName]?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[e.isReadMode?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,ref:"fieldEditor",modelValue:e.fileList,"onUpdate:modelValue":o[0]||(o[0]=m=>e.fileList=m),disabled:e.fieldDisabled,deletable:!n.field.options.disabled,accept:i.acceptTypes,"max-count":n.field.options.limit,"max-size":i.uploadMaxSize,"result-type":"file","preview-image":!1,multiple:!!n.field.options.multipleSelect,"before-read":i.beforeRead,"after-read":i.afterRead,onDelete:i.handleFileDelete,onOversize:i.handleOversize},{default:t.withCtx(()=>[t.renderSlot(e.$slots,i.slotButtonName,t.normalizeProps(t.guardReactiveProps({fieldModel:e.fieldModel,field:n.field})),void 0,!0)]),_:3},8,["modelValue","disabled","deletable","accept","max-count","max-size","multiple","before-read","after-read","onDelete","onOversize"]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[e.isReadMode?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(s,{key:0,ref:"fieldEditor",modelValue:e.fileList,"onUpdate:modelValue":o[1]||(o[1]=m=>e.fileList=m),disabled:e.fieldDisabled,deletable:!n.field.options.disabled,accept:i.acceptTypes,"max-count":n.field.options.limit,"max-size":i.uploadMaxSize,"result-type":"file","preview-image":!1,multiple:!!n.field.options.multipleSelect,"before-read":i.beforeRead,"after-read":i.afterRead,onDelete:i.handleFileDelete,onOversize:i.handleOversize},{default:t.withCtx(()=>[t.createVNode(c,{icon:"plus","native-type":"button",type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.field.options.uploadButtonText),1)]),_:1})]),_:1},8,["modelValue","disabled","deletable","accept","max-count","max-size","multiple","before-read","after-read","onDelete","onOversize"]))],64))])]),_:3},8,["name","label","label-width","label-align","disabled","required","size","rules"])]),_:3},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Ta=G(Ra,[["render",Ia],["__scopeId","data-v-7ab3066d"]]),Pa=Object.freeze(Object.defineProperty({__proto__:null,default:Ta},Symbol.toStringTag,{value:"Module"})),fm="";const Ha={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"m-html-text-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),n=Q(t.reactive({}));return t.onMounted(()=>{n.handleOnMounted()}),t.onBeforeUnmount(()=>{n.unregisterFromRefList()}),n.registerToRefList(),n.initEventHandler(),n.handleOnCreated(),{i18nt:o,...n}}},Aa=["innerHTML"];function ja(e,o,n,i,l,r){const a=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(a,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createElementVNode("div",{ref:"fieldEditor",innerHTML:n.field.options.htmlContent},null,8,Aa)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Wa=G(Ha,[["render",ja],["__scopeId","data-v-61bfb40a"]]),Ua=Object.freeze(Object.defineProperty({__proto__:null,default:Wa},Symbol.toStringTag,{value:"Module"}));const qa={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-input-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z();t.getCurrentInstance();const n=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[{label:e.field.options.label,message:e.field.options.validationHint,trigger:"onBlur",validator:wt.mobilePhone}]}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n)}}};function Ya(e,o,n,i,l,r){const a=t.resolveComponent("van-button"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":[o[0]||(o[0]=f=>e.fieldModel=f),e.handleInputCustomEvent],name:n.field.options.name,label:e.fieldLabel,rules:e.rules,"label-width":e.fieldLabelWidth,"label-align":n.field.options.labelAlign,"input-align":n.field.options.inputAlign,disabled:e.fieldDisabled,readonly:n.field.options.readonly||e.isReadMode,required:n.field.options.required,size:e.size,type:n.field.options.type,placeholder:n.field.options.placeholder,maxlength:n.field.options.maxLength,"show-word-limit":n.field.options.showWordLimit,clearable:n.field.options.clearable,"left-icon":n.field.options.leftIcon,"right-icon":n.field.options.rightIcon,onFocus:e.handleFocusCustomEvent,onBlur:e.handleBlurCustomEvent,onChange:o[1]||(o[1]=f=>e.handleChangeEvent(e.fieldModel))},t.createSlots({_:2},[n.field.options.appendButton?{name:"button",fn:t.withCtx(()=>[t.createVNode(a,{disabled:n.field.options.appendButtonDisabled,size:"small",type:n.field.options.appendButtonType,icon:n.field.options.appendButtonIcon,onClick:e.emitAppendButtonClick},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(n.field.options.appendButtonLabel),1)]),_:1},8,["disabled","type","icon","onClick"])]),key:"0"}:void 0]),1032,["modelValue","name","label","rules","label-width","label-align","input-align","disabled","readonly","required","size","type","placeholder","maxlength","show-word-limit","clearable","left-icon","right-icon","onFocus","onBlur","onUpdate:modelValue"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var $a=G(qa,[["render",Ya]]),Ja=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"}));const Ka={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-number-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),{proxy:n}=t.getCurrentInstance(),i=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[],showKeyboard:!1}),l=Q(i);t.watch(()=>i.fieldModel,f=>{l.handleInputCustomEvent(f)}),t.onMounted(()=>{l.handleOnMounted()}),t.onBeforeUnmount(()=>{l.unregisterFromRefList()});const r=()=>{if(e.designState){i.showKeyboard=!1;return}i.showKeyboard=!0},a=()=>{i.oldFieldValue=X(i.fieldModel)},s=()=>{},c=()=>{l.syncUpdateFormModel(i.fieldModel*1),l.emitFieldDataChange(i.fieldModel*1,i.oldFieldValue*1),n.dispatch("VmFormRender","fieldValidation",[l.getPropName()]),i.showKeyboard=!1};return l.registerToRefList(),l.initFieldModel(),l.initEventHandler(),l.buildFieldRules(),l.handleOnCreated(),{i18nt:o,...l,...t.toRefs(i),doShowKeyboard:r,handleKeyboardBlurEvent:c,handleKeyboardCloseEvent:s,handleKeyboardShowEvent:a}}};function Ga(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-number-keyboard"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),name:n.field.options.name,label:e.fieldLabel,"label-width":e.fieldLabelWidth,rules:e.rules,"is-link":"",disabled:e.fieldDisabled,required:n.field.options.required,readonly:"",clickable:!n.field.options.disabled&&!n.field.options.readonly,size:e.size,type:"text",placeholder:n.field.options.placeholder,onClick:i.doShowKeyboard,onFocus:e.handleFocusCustomEvent,onTouchstartPassive:t.withModifiers(i.doShowKeyboard,["stop"])},null,8,["modelValue","name","label","label-width","rules","disabled","required","clickable","size","placeholder","onClick","onFocus","onTouchstartPassive"]),!n.field.options.disabled&&!n.field.options.readonly&&!e.isReadMode?(t.openBlock(),t.createBlock(s,{key:0,modelValue:e.fieldModel,"onUpdate:modelValue":o[1]||(o[1]=f=>e.fieldModel=f),show:e.showKeyboard,"close-button-text":n.field.options.closeButtonText||i.i18nt("designer.setting.closeButtonDefaultText"),theme:"custom",teleport:"body","extra-key":["00","."],onShow:i.handleKeyboardShowEvent,onClose:i.handleKeyboardCloseEvent,onBlur:i.handleKeyboardBlurEvent},null,8,["modelValue","show","close-button-text","onShow","onClose","onBlur"])):t.createCommentVNode("",!0)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Za=G(Ka,[["render",Ga]]),Xa=Object.freeze(Object.defineProperty({__proto__:null,default:Za},Symbol.toStringTag,{value:"Module"})),mm="";const Qa={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-password-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),{proxy:n}=t.getCurrentInstance(),i=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[],showKeyboard:!1}),l=Q(i);t.onMounted(()=>{l.handleOnMounted()}),t.onBeforeUnmount(()=>{l.unregisterFromRefList()});const r=()=>{if(e.designState){i.showKeyboard=!1;return}i.showKeyboard=!0},a=()=>{i.oldFieldValue=X(i.fieldModel)},s=()=>{l.syncUpdateFormModel(i.fieldModel*1),l.emitFieldDataChange(i.fieldModel*1,i.oldFieldValue*1),n.dispatch("VmFormRender","fieldValidation",[l.getPropName()])},c=()=>{l.syncUpdateFormModel(i.fieldModel*1),l.emitFieldDataChange(i.fieldModel*1,i.oldFieldValue*1),n.dispatch("VmFormRender","fieldValidation",[l.getPropName()]),i.showKeyboard=!1};return l.registerToRefList(),l.initFieldModel(),l.initEventHandler(),l.buildFieldRules(),l.handleOnCreated(),{i18nt:o,...l,...t.toRefs(i),doShowKeyboard:r,handleKeyboardBlurEvent:c,handleKeyboardCloseEvent:s,handleKeyboardShowEvent:a}}};function er(e,o,n,i,l,r){const a=t.resolveComponent("van-password-input"),s=t.resolveComponent("van-field"),c=t.resolveComponent("van-number-keyboard"),f=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,size:e.size,rules:e.rules,class:"m-password-field",border:!0},{input:t.withCtx(()=>[t.createVNode(a,{value:e.fieldModel,focused:e.showKeyboard,onFocus:o[0]||(o[0]=d=>e.showKeyboard=!0)},null,8,["value","focused"])]),_:1},8,["name","label","label-align","label-width","disabled","size","rules"]),!n.field.options.disabled&&!n.field.options.readonly?(t.openBlock(),t.createBlock(c,{key:0,modelValue:e.fieldModel,"onUpdate:modelValue":o[1]||(o[1]=d=>e.fieldModel=d),show:e.showKeyboard,theme:"custom","extra-key":["00","."],onShow:i.handleKeyboardShowEvent,onClose:i.handleKeyboardCloseEvent,onBlur:i.handleKeyboardBlurEvent},null,8,["modelValue","show","onShow","onClose","onBlur"])):t.createCommentVNode("",!0)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var tr=G(Qa,[["render",er],["__scopeId","data-v-26646005"]]),nr=Object.freeze(Object.defineProperty({__proto__:null,default:tr},Symbol.toStringTag,{value:"Module"})),um="";const or={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-picture-upload-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),{proxy:n}=t.getCurrentInstance(),i=t.reactive({fieldModel:null,fileList:[],noChangeEventFlag:!0,oldFieldValue:null,previewOptions:{getContainer:()=>document.querySelector(".el-dialog__wrapper")},rules:[],uploadBtnHidden:!1,uploadData:{key:""},uploadHeaders:{}}),l=Q(i);t.onMounted(()=>{l.handleOnMounted()}),t.onBeforeUnmount(()=>{l.unregisterFromRefList()});const r=t.computed(()=>(e.field.options.fileMaxSize||5)*1048576),a=t.computed(()=>{if(!!e.field.options.fileTypes&&e.field.options.fileTypes.length>0){let F="";return e.field.options.fileTypes.forEach(I=>{let C=I.startsWith(".")?I+",":"."+I+",";F=F+C}),F}return"image/*"}),s=t.computed(()=>{if(e.field.options.capture)return e.field.options.capture==="album"?void 0:e.field.options.capture}),c=t.computed(()=>e.field.options.name+"Button"),f=t.computed(()=>n.$slots),d=t.computed(()=>!!n.$slots[e.field.options.name]),m=t.computed(()=>!(l.isReadMode.value||l.fieldDisabled.value)),u=F=>new Promise(async(I,C)=>{if(e.field.options.onBeforeUpload){let U=new Function("file",e.field.options.onBeforeUpload),A;try{A=await U.call(n,F),typeof A=="boolean"?A?I(F):C():I(A||F)}catch(q){w(q,F,i.fileList),C()}}else I(F)}),y=F=>{let I=!1,C=[];Array.isArray(F)?C=F:C.push(F);for(let U=0;U<C.length;U++){if(!!e.field.options&&!!e.field.options.fileTypes){let A=e.field.options.fileTypes;A.length>0&&(I=A.some(q=>C[U].type==="image/"+q))}if(!I)return n.$message.error(o("render.hint.unsupportedFileType")+F.type),!1}return u(F)},g=F=>{let I=l.getGlobalDsv(),C=[];Array.isArray(F)?C=F:C.push(F),C.forEach(U=>{On(U,e.field.options.uploadURL,I,i.uploadHeaders,i.uploadData).then(A=>{h(A,U)}).catch(A=>w(A,U))})},h=(F,I)=>{let C=null;e.field.options.onUploadSuccess?(C=new Function("result","file","fileList",e.field.options.onUploadSuccess).call(n,F,I,i.fileList),I.content=C.url):I.content=F.url,_(i.fileList,C,F),i.uploadBtnHidden=i.fieldModel.length>=e.field.options.limit},w=(F,I)=>{e.field.options.onUploadError?new Function("error","file","fileList",e.field.options.onUploadError).call(n,F,I,i.fileList):n.$message({duration:3e3,message:o("render.hint.uploadError")+F,type:"error"})},_=(F,I,C)=>{i.fieldModel=i.fieldModel||[];let U=X(i.fieldModel);!!I&&!!I.name&&!!I.url?i.fieldModel.push(I):!!C&&!!C.name&&!!C.url?i.fieldModel.push(C):!!C&&Array.isArray(C)?C.forEach(A=>{i.fieldModel.push(A)}):!!C&&!!C.data&&!!C.data.name&&!!C.data.url?this.fieldModel.push({name:C.data.name,url:C.data.url}):this.fieldModel=X(F),l.syncUpdateFormModel(i.fieldModel),l.emitFieldDataChange(i.fieldModel,U)},k=F=>{let I=i.fileList[F];L(I,F)},L=(F,I)=>{B(F,i.fileList,I.index),i.uploadBtnHidden=i.fieldModel.length>=e.field.options.limit,e.field.options.onFileRemove&&new Function("file","fileList",e.field.options.onFileRemove).call(n,F,i.fileList)},B=(F,I,C)=>{let U=X(i.fieldModel);C>-1&&i.fieldModel.splice(C,1),l.syncUpdateFormModel(i.fieldModel),l.emitFieldDataChange(i.fieldModel,U)},R=F=>{let I=e.field.options.fileMaxSize||5;n.$message.error(o("render.hint.fileSizeExceed")+I+"MB")};return l.registerToRefList(),l.initFieldModel(),l.initEventHandler(),l.buildFieldRules(),l.handleOnCreated(),{i18nt:o,...t.toRefs(i),...l,acceptTypes:a,afterRead:g,beforeRead:y,capture:s,deletable:m,handleFileDelete:L,handleOversize:R,removeUploadFile:k,slotButtonName:c,slots:f,uploadMaxSize:r,useCustomPreview:d}}};function ir(e,o,n,i,l,r){const a=t.resolveComponent("van-uploader"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[i.useCustomPreview?t.renderSlot(e.$slots,n.field.options.name,t.normalizeProps(t.mergeProps({key:0},{fieldModel:e.fieldModel,field:n.field}))):t.createCommentVNode("",!0),i.slots[i.slotButtonName]?(t.openBlock(),t.createBlock(a,{key:1,ref:"fieldEditor",accept:i.acceptTypes,"after-read":i.afterRead,"before-read":i.beforeRead,capture:i.capture,disabled:e.fieldDisabled,deletable:i.deletable,readonly:e.isReadMode,"max-count":n.field.options.limit,"max-size":i.uploadMaxSize,multiple:!!n.field.options.multipleSelect,"preview-options":e.previewOptions,"show-upload":!e.isReadMode,"preview-image":!i.useCustomPreview,modelValue:e.fileList,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fileList=f),onDelete:i.handleFileDelete,onOversize:i.handleOversize},{default:t.withCtx(()=>[t.renderSlot(e.$slots,i.slotButtonName,t.normalizeProps(t.guardReactiveProps({fieldModel:e.fieldModel,field:n.field,formModel:e.formModel})))]),_:3},8,["accept","after-read","before-read","capture","disabled","deletable","readonly","max-count","max-size","multiple","preview-options","show-upload","preview-image","modelValue","onDelete","onOversize"])):(t.openBlock(),t.createBlock(a,{key:2,ref:"fieldEditor",accept:i.acceptTypes,"after-read":i.afterRead,"before-read":i.beforeRead,capture:i.capture,disabled:e.fieldDisabled,deletable:i.deletable,readonly:e.isReadMode,"max-count":n.field.options.limit,"max-size":i.uploadMaxSize,multiple:!!n.field.options.multipleSelect,"preview-options":e.previewOptions,"show-upload":!e.isReadMode,"preview-image":!i.useCustomPreview,modelValue:e.fileList,"onUpdate:modelValue":o[1]||(o[1]=f=>e.fileList=f),onDelete:i.handleFileDelete,onOversize:i.handleOversize},null,8,["accept","after-read","before-read","capture","disabled","deletable","readonly","max-count","max-size","multiple","preview-options","show-upload","preview-image","modelValue","onDelete","onOversize"]))]),_:3},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:3},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var lr=G(or,[["render",ir]]),ar=Object.freeze(Object.defineProperty({__proto__:null,default:lr},Symbol.toStringTag,{value:"Module"})),pm="";const rr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-radio-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,px2rem:Be,rules:[]}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>{let r=e.field.options.optionItems.find(a=>a.value==n.fieldModel);return r?r.label:""});return i.registerToRefList(),i.initOptionItems(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n),displayValue:l}}};function dr(e,o,n,i,l,r){const a=t.resolveComponent("van-radio"),s=t.resolveComponent("van-radio-group"),c=t.resolveComponent("van-field"),f=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(c,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.withDirectives(t.createVNode(s,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=d=>e.fieldModel=d),direction:n.field.options.direction,disabled:e.fieldDisabled,onChange:e.handleChangeEvent},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.field.options.optionItems,(d,m)=>(t.openBlock(),t.createBlock(a,{key:m,"icon-size":e.px2rem(n.field.options.iconSize),disabled:d.disabled,name:d.value,class:"vform-van-radio"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.label),1)]),_:2},1032,["icon-size","disabled","name"]))),128))]),_:1},8,["modelValue","direction","disabled","onChange"]),[[t.vShow,!n.field.options.readonly&&!e.isReadMode]]),n.field.options.readonly||e.isReadMode?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["readonly-mode-field",{diabled:e.fieldDisabled}])},t.toDisplayString(i.displayValue),3)):t.createCommentVNode("",!0)]),_:1},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var sr=G(rr,[["render",dr],["__scopeId","data-v-3ee4b63e"]]),cr=Object.freeze(Object.defineProperty({__proto__:null,default:sr},Symbol.toStringTag,{value:"Module"})),gm="";const fr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-rate-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,noChangeEventFlag:!1,oldFieldValue:null,rules:[]}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted(),e.field.options.required&&n.rules.push({label:e.field.options.label,message:e.field.options.requiredHint||o("render.hint.fieldRequired"),trigger:"onBlur",validator:(l,r,a)=>n.fieldModel>0})}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n)}}},mr={class:"field-rate-control"},ur={key:0,class:"score"};function pr(e,o,n,i,l,r){const a=t.resolveComponent("van-rate"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.createElementVNode("div",mr,[t.createVNode(a,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),size:"25",count:n.field.options.max,"allow-half":n.field.options.allowHalf,disabled:e.fieldDisabled,readonly:n.field.options.readonly||e.isReadMode,onChange:e.handleChangeEvent},null,8,["modelValue","count","allow-half","disabled","readonly","onChange"]),n.field.options.showScore?(t.openBlock(),t.createElementBlock("span",ur,t.toDisplayString(e.fieldModel),1)):t.createCommentVNode("",!0)])]),_:1},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var gr=G(fr,[["render",pr],["__scopeId","data-v-31d98643"]]),hr=Object.freeze(Object.defineProperty({__proto__:null,default:gr},Symbol.toStringTag,{value:"Module"})),hm="",bm="";const br={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-select-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.ref(),i=t.reactive({copyOfOptionItems:null,displayValue:"",fieldModel:null,fieldModelArray:[],labelKey:"label",noChangeEventFlag:!0,oldFieldValue:null,rules:[],searchVal:"",showPopupFlag:!1,valueKey:"value"}),l=Q(i);t.onMounted(()=>{l.handleOnMounted()}),t.onBeforeUnmount(()=>{l.unregisterFromRefList()});const r=()=>{if(i.fieldModel)if(Array.isArray(i.fieldModel)){let g=[];e.field.options.optionItems.forEach(h=>{i.fieldModel.find(_=>_===h.value)&&g.push(h.label)}),i.displayValue=g.join(","),i.fieldModelArray=i.fieldModel}else e.field.options.optionItems.forEach(g=>{g.value===i.fieldModel&&(i.displayValue=g.label)});else i.displayValue=""},a=t.computed(()=>e.field.options.labelKey||"label");t.computed(()=>e.field.options.valueKey||"value");const s=()=>{if(e.designState){i.showPopupFlag=!1;return}e.field.options.readonly||l.isReadMode.value||l.fieldDisabled.value||(i.showPopupFlag=!0)},c=g=>{e.field.options.multiple?(i.fieldModel=X(i.fieldModelArray),r()):(i.fieldModel=g.selectedOptions[0].value,i.displayValue=g.selectedOptions[0].label),l.handleChangeEvent(i.fieldModel),i.showPopupFlag=!1},f=()=>{n.value.confirm()},d=t.computed({get:()=>[i.fieldModel],set:g=>{i.fieldModel=g[0]}}),m=g=>{if(i.fieldModelArray&&Array.isArray(i.fieldModelArray))return i.fieldModelArray.find(h=>h===g.value)},u=(g,h)=>{if(i.fieldModelArray||(i.fieldModelArray=[]),!Array.isArray(i.fieldModelArray))throw new Error("fieldMode\u5FC5\u987B\u662F\u6570\u7EC4\u7C7B\u578B");const w=i.fieldModelArray.indexOf(g.value);w===-1?i.fieldModelArray.push(g.value):i.fieldModelArray.splice(w,1)},y=()=>{e.field.options.remote?e.field.options.onRemoteQuery?l.remoteQuery(i.searchVal):l.remoteDataSourceQuery(i.searchVal):(i.copyOfOptionItems==null&&(i.copyOfOptionItems=[...e.field.options.optionItems]),e.field.options.optionItems=i.copyOfOptionItems.filter(g=>g[a.value].toString().indexOf(i.searchVal)>-1))};return l.registerToRefList(),l.initOptionItems(),l.initFieldModel(),r(),l.initEventHandler(),l.buildFieldRules(),l.handleOnCreated(),{i18nt:o,...l,...t.toRefs(i),confirmSelected:f,handleConfirm:c,initDisplayValue:r,isSelected:m,onMultipleOptionSelected:u,onSearch:y,pickerRef:n,props:e,px2rem:Be,selectedValue:d,showPopup:s}}},wr={class:"title-wrapper"},yr={class:"title-action-wrapper"},Cr={class:"title-search-wrapper"},_r={class:"readonly-mode-field"};function Fr(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-search"),c=t.resolveComponent("van-checkbox"),f=t.resolveComponent("van-picker"),d=t.resolveComponent("van-popup"),m=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(m,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},t.createSlots({default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:e.displayValue,"onUpdate:modelValue":o[0]||(o[0]=u=>e.displayValue=u),clickable:"","is-link":"",readonly:"",label:e.fieldLabel,"label-align":e.labelAlign,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,required:n.field.options.required,rules:e.rules,disabled:e.fieldDisabled,size:e.size,onClick:i.showPopup},null,8,["name","modelValue","label","label-align","label-width","placeholder","required","rules","disabled","size","onClick"]),t.createVNode(d,{show:e.showPopupFlag,"onUpdate:show":o[6]||(o[6]=u=>e.showPopupFlag=u),round:"",position:"bottom",teleport:"body",class:t.normalizeClass([n.field.options.filterable?"filter-popup":""])},{default:t.withCtx(()=>[t.withDirectives(t.createVNode(f,{ref:"pickerRef","show-toolbar":"",modelValue:i.selectedValue,"onUpdate:modelValue":o[4]||(o[4]=u=>i.selectedValue=u),columns:n.field.options.optionItems,"columns-field-names":{text:e.labelKey,value:e.valueKey},onCancel:o[5]||(o[5]=u=>e.showPopupFlag=!1),onConfirm:i.handleConfirm},t.createSlots({_:2},[n.field.options.filterable?{name:"toolbar",fn:t.withCtx(()=>[t.createElementVNode("div",wr,[t.createElementVNode("div",yr,[t.createElementVNode("button",{type:"button",class:"popup-button van-picker__cancel",onClick:o[1]||(o[1]=u=>e.showPopupFlag=!1)},t.toDisplayString(i.i18nt("designer.hint.cancel")),1),t.createElementVNode("button",{type:"button",class:"popup-button van-picker__confirm",onClick:o[2]||(o[2]=(...u)=>i.confirmSelected&&i.confirmSelected(...u))},t.toDisplayString(i.i18nt("designer.hint.confirm")),1)]),t.createElementVNode("div",Cr,[t.createVNode(s,{ref:"searchRef",modelValue:e.searchVal,"onUpdate:modelValue":o[3]||(o[3]=u=>e.searchVal=u),modelModifiers:{trim:!0},autofocus:"",placeholder:i.i18nt("designer.hint.searchPlaceholder"),onSearch:i.onSearch,onClear:i.onSearch},null,8,["modelValue","placeholder","onSearch","onClear"])])])]),key:"0"}:void 0,n.field.options.multiple?{name:"option",fn:t.withCtx(u=>[t.createVNode(c,{modelValue:i.isSelected(u),disabled:u.disabled,shape:"square","icon-size":i.px2rem("14px"),"onUpdate:modelValue":y=>i.onMultipleOptionSelected(u,y)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.label),1)]),_:2},1032,["modelValue","disabled","icon-size","onUpdate:modelValue"])]),key:"1"}:void 0]),1032,["modelValue","columns","columns-field-names","onConfirm"]),[[t.vShow,!e.isReadMode]])]),_:1},8,["show","class"])]),_:2},[n.field.options.readonly||e.isReadMode?{name:"input",fn:t.withCtx(()=>[t.createElementVNode("span",_r,t.toDisplayString(e.displayValue),1)]),key:"0"}:void 0]),1032,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Sr=G(br,[["render",Fr],["__scopeId","data-v-4f47ad4e"]]),xr=Object.freeze(Object.defineProperty({__proto__:null,default:Sr},Symbol.toStringTag,{value:"Module"}));const Mr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-slider-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,fieldModel2:null,noChangeEventFlag:!1,oldFieldValue:null,rules:[]}),i=Q(n);t.watch(()=>e.field.options.range,r=>{r&&(n.fieldModel=[e.field.options.min,e.field.options.max])});const l=()=>{i.initFieldModel(),e.field.options.range&&(n.fieldModel=[e.field.options.min,e.field.options.max])};return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),l(),i.initEventHandler(),i.handleOnCreated(),{i18nt:o,...t.toRefs(n),...i}}};function Vr(e,o,n,i,l,r){const a=t.resolveComponent("van-slider"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.createVNode(a,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),disabled:e.fieldDisabled||n.field.options.readonly||e.isReadMode,min:n.field.options.min,max:n.field.options.max,step:n.field.options.step,range:n.field.options.range,vertical:n.field.options.vertical,onChange:e.handleChangeEvent},null,8,["modelValue","disabled","min","max","step","range","vertical","onChange"])]),_:1},8,["name","label","label-align","label-width","disabled","size","rules"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Dr=G(Mr,[["render",Vr]]),Lr=Object.freeze(Object.defineProperty({__proto__:null,default:Dr},Symbol.toStringTag,{value:"Module"})),wm="";const vr={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"m-slot-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),n=t.reactive({}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initEventHandler(),i.handleOnCreated(),{i18nt:o,...t.toRefs(n),...i}}},kr={key:0,class:"slot-title"};function Br(e,o,n,i,l,r){const a=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(a,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass([n.designState?"slot-wrapper-design":"slot-wrapper-render"])},[t.renderSlot(e.$slots,n.field.options.name,{formModel:e.formModel},void 0,!0),n.designState?(t.openBlock(),t.createElementBlock("div",kr,t.toDisplayString(n.field.options.label),1)):t.createCommentVNode("",!0)],2)]),_:3},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Rr=G(vr,[["render",Br],["__scopeId","data-v-083eeb77"]]),Er=Object.freeze(Object.defineProperty({__proto__:null,default:Rr},Symbol.toStringTag,{value:"Module"})),ym="";const Or={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"m-static-text-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const{i18nt:o}=Z(),n=t.reactive({px2rem:Be}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initEventHandler(),i.handleOnCreated(),{i18nt:o,...t.toRefs(e),...t.toRefs(n),...i}}};function Nr(e,o,n,i,l,r){const a=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(a,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createElementVNode("div",{ref:"fieldEditor",style:t.normalizeStyle(n.field.options.fontSize?`font-size: ${e.px2rem(n.field.options.fontSize)};`:"")},t.toDisplayString(n.field.options.textContent),5)]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var zr=G(Or,[["render",Nr],["__scopeId","data-v-6c29c352"]]),Ir=Object.freeze(Object.defineProperty({__proto__:null,default:zr},Symbol.toStringTag,{value:"Module"})),Cm="";const Tr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-stepper-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,px2rem:Be,rules:[]}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n)}}};function Pr(e,o,n,i,l,r){const a=t.resolveComponent("van-stepper"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,readonly:"","label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.withDirectives(t.createVNode(a,{modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),disabled:e.fieldDisabled,"button-size":e.px2rem(n.field.options.stepButtonSize),min:n.field.options.min,max:n.field.options.max,step:n.field.options.step,"decimal-length":n.field.options.precision,onFocus:e.handleFocusCustomEvent,onBlur:e.handleBlurCustomEvent,onChange:e.handleChangeEvent},null,8,["modelValue","disabled","button-size","min","max","step","decimal-length","onFocus","onBlur","onChange"]),[[t.vShow,!n.field.options.readonly&&!e.isReadMode]]),n.field.options.readonly||e.isReadMode?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["readonly-mode-field",{diabled:e.fieldDisabled}])},t.toDisplayString(e.fieldModel),3)):t.createCommentVNode("",!0)]),_:1},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Hr=G(Tr,[["render",Pr],["__scopeId","data-v-664dcd36"]]),Ar=Object.freeze(Object.defineProperty({__proto__:null,default:Hr},Symbol.toStringTag,{value:"Module"})),_m="";const jr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-switch-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,noChangeEventFlag:!1,oldFieldValue:null,px2rem:Be,rules:[]}),i=Q(n),l=t.computed(()=>{if(n.fieldModel===e.field.options.activeValue)return e.field.options.activeLabel||e.field.options.activeValue;if(n.fieldModel===e.field.options.inactiveValue)return e.field.options.inactiveLabel||e.field.options.inactiveValue});return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n),displayValue:l}}},Wr={class:"switch-wrapper"};function Ur(e,o,n,i,l,r){const a=t.resolveComponent("van-switch"),s=t.resolveComponent("van-field"),c=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(c,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(s,{name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"label-width":e.fieldLabelWidth,disabled:e.fieldDisabled,required:n.field.options.required,size:e.size,rules:e.rules},{input:t.withCtx(()=>[t.createElementVNode("div",Wr,[!e.isReadMode&&!n.field.options.readonly?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[n.field.options.activeLabel?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["active-label",{diabled:e.fieldDisabled}])},t.toDisplayString(n.field.options.activeLabel),3)):t.createCommentVNode("",!0),t.createVNode(a,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=f=>e.fieldModel=f),size:e.px2rem(n.field.options.switchSize),"active-color":n.field.options.activeColor,"inactive-color":n.field.options.inactiveColor,"active-value":n.field.options.activeValue,"inactive-value":n.field.options.inactiveValue,disabled:e.fieldDisabled,onChange:e.handleChangeEvent},null,8,["modelValue","size","active-color","inactive-color","active-value","inactive-value","disabled","onChange"]),n.field.options.inactiveLabel?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["inactive-label",{diabled:e.fieldDisabled}])},t.toDisplayString(n.field.options.inactiveLabel),3)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),n.field.options.readonly||e.isReadMode?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["readonly-mode-field",{diabled:e.fieldDisabled}])},t.toDisplayString(i.displayValue),3)):t.createCommentVNode("",!0)])]),_:1},8,["name","label","label-align","label-width","disabled","required","size","rules"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var qr=G(jr,[["render",Ur],["__scopeId","data-v-7f1d6ee4"]]),Yr=Object.freeze(Object.defineProperty({__proto__:null,default:qr},Symbol.toStringTag,{value:"Module"}));const $r={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-textarea-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[]}),i=Q(n);return t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initFieldModel(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated(),{i18nt:o,...i,...t.toRefs(n)}}};function Jr(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(s,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{ref:"fieldEditor",modelValue:e.fieldModel,"onUpdate:modelValue":[o[0]||(o[0]=c=>e.fieldModel=c),e.handleInputCustomEvent],rows:n.field.options.rows,name:n.field.options.name,label:e.fieldLabel,"label-align":n.field.options.labelAlign,"input-align":n.field.options.inputAlign,"label-width":e.fieldLabelWidth,rules:e.rules,disabled:e.fieldDisabled,readonly:n.field.options.readonly||e.isReadMode,required:n.field.options.required,size:e.size,type:"textarea",placeholder:n.field.options.placeholder,maxlength:n.field.options.maxLength,"show-word-limit":n.field.options.showWordLimit,clearable:n.field.options.clearable,onFocus:e.handleFocusCustomEvent,onBlur:e.handleBlurCustomEvent,onChange:o[1]||(o[1]=c=>e.handleChangeEvent(e.fieldModel))},null,8,["modelValue","rows","name","label","label-align","input-align","label-width","rules","disabled","readonly","required","size","placeholder","maxlength","show-word-limit","clearable","onFocus","onBlur","onUpdate:modelValue"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Kr=G($r,[["render",Jr]]),Gr=Object.freeze(Object.defineProperty({__proto__:null,default:Kr},Symbol.toStringTag,{value:"Module"}));const Zr={componentName:"FieldWidget",components:{FormItemWrapper:oe},name:"m-time-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){t.inject("refList"),t.inject("globalOptionData"),t.inject("globalModel");const{i18nt:o}=Z(),n=t.reactive({defaultDate:[],fieldModel:null,noChangeEventFlag:!0,oldFieldValue:null,rules:[],showPickerFlag:!1}),i=Q(n);t.onMounted(()=>{i.handleOnMounted()}),t.onBeforeUnmount(()=>{i.unregisterFromRefList()});const l=t.computed(()=>{let d=["hour","minute","second"],m=(e.field.options.format||"--").replace(/\:|时|分|秒/g,"-").replace(/\-$/,"").split("-");return d.splice(0,m.length)}),r=()=>{if(i.initFieldModel(),n.fieldModel){let d=jn(n.fieldModel,e.field.options.format).toArray().splice(3,l.value.length);n.defaultDate=d.map(m=>m.toString().padStart(2,"0"))}},a=()=>{if(e.designState){n.showPickerFlag=!1;return}e.field.options.readonly||i.isReadMode.value||i.fieldDisabled.value||(n.showPickerFlag=!0)},s=d=>{let m=[1970,1,1];d.selectedValues.forEach(u=>{m.push(Number(u))}),n.fieldModel=Hn(m,e.field.options.format),i.syncUpdateFormModel(n.fieldModel),i.handleOnConfirm(n.fieldModel),i.handleChangeEvent(n.fieldModel),n.showPickerFlag=!1},c=()=>{n.showPickerFlag=!1};i.registerToRefList(),r(),i.initEventHandler(),i.buildFieldRules(),i.handleOnCreated();const f=d=>{d?(n.fieldModel=Hn(d,e.field.options.format),n.defaultDate=jn(d).format("HH-mm-ss").split("-").splice(0,l.value.length)):(n.fieldModel="",n.defaultDate=[])};return{i18nt:o,...i,...t.toRefs(n),columnType:l,handleCancel:c,handleConfirm:s,props:e,setFieldModel:f,showTimePicker:a}}};function Xr(e,o,n,i,l,r){const a=t.resolveComponent("van-field"),s=t.resolveComponent("van-time-picker"),c=t.resolveComponent("van-popup"),f=t.resolveComponent("form-item-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,field:n.field,"design-state":n.designState,title:n.field.options.label,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{name:n.field.options.name,modelValue:e.fieldModel,"onUpdate:modelValue":o[0]||(o[0]=d=>e.fieldModel=d),clickable:"",readonly:"","is-link":"",label:e.fieldLabel,"label-width":e.fieldLabelWidth,placeholder:n.field.options.placeholder,disabled:e.fieldDisabled||n.field.options.readonly,required:n.field.options.required,rules:e.rules,size:e.size,onClick:i.showTimePicker},null,8,["name","modelValue","label","label-width","placeholder","disabled","required","rules","size","onClick"]),t.createVNode(c,{show:e.showPickerFlag,"onUpdate:show":o[2]||(o[2]=d=>e.showPickerFlag=d),round:"",position:"bottom",teleport:"body"},{default:t.withCtx(()=>[t.createVNode(s,{"columns-type":i.columnType,modelValue:e.defaultDate,"onUpdate:modelValue":o[1]||(o[1]=d=>e.defaultDate=d),title:n.field.options.placeholder,onCancel:i.handleCancel,onConfirm:i.handleConfirm},null,8,["columns-type","modelValue","title","onCancel","onConfirm"])]),_:1},8,["show"])]),_:1},8,["designer","field","design-state","title","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Qr=G(Zr,[["render",Xr]]),ed=Object.freeze(Object.defineProperty({__proto__:null,default:Qr},Symbol.toStringTag,{value:"Module"}));let Ee={};const qt={"./form-item-wrapper.vue":Ol,"./m-button-widget.vue":Gl,"./m-calendar-widget.vue":la,"./m-cascader-widget.vue":fa,"./m-checkbox-widget.vue":ga,"./m-date-range-widget.vue":ya,"./m-date-widget.vue":Sa,"./m-datetime-widget.vue":Da,"./m-divider-widget.vue":Ba,"./m-file-upload-widget.vue":Pa,"./m-html-text-widget.vue":Ua,"./m-input-widget.vue":Ja,"./m-number-widget.vue":Xa,"./m-password-widget.vue":nr,"./m-picture-upload-widget.vue":ar,"./m-radio-widget.vue":cr,"./m-rate-widget.vue":hr,"./m-select-widget.vue":xr,"./m-slider-widget.vue":Lr,"./m-slot-widget.vue":Er,"./m-static-text-widget.vue":Ir,"./m-stepper-widget.vue":Ar,"./m-switch-widget.vue":Yr,"./m-textarea-widget.vue":Gr,"./m-time-widget.vue":ed,"./static-content-wrapper.vue":ql};for(const e in qt){let o=qt[e].default.name;Ee[o]=qt[e].default}var Fm="";const td={componentName:"ContainerItem",components:{ContainerItemWrapper:je,...Ee},name:"m-cell-group-item",props:{subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number},widget:Object},setup(e){t.inject("refList"),t.inject("globalModel"),t.inject("sfRefList");const{i18nt:o}=Z(),n=Le(),i=Fe(),l=Qe(),r=t.computed(()=>e.widget.options.customClass||"");return t.onBeforeUnmount(()=>{l.unregisterFromRefList()}),n.initRefList(),{i18nt:o,...t.toRefs(e),...i,...l,customClass:r}}};function nd(e,o,n,i,l,r){const a=t.resolveComponent("van-cell-group"),s=t.resolveComponent("container-item-wrapper");return t.openBlock(),t.createBlock(s,{widget:n.widget,class:t.normalizeClass([n.widget.type])},{default:t.withCtx(()=>[t.createVNode(a,{title:n.widget.options.label,border:n.widget.options.border,inset:n.widget.options.inset},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.widget.widgetList,(c,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[c.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.type+"-item"),{widget:c,key:f,"parent-list":n.widget.widgetList,"index-of-parent-list":f,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),d=>({name:d,fn:t.withCtx(m=>[t.renderSlot(e.$slots,d,t.mergeProps({ref_for:!0},m),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(c.type+"-widget"),{field:c,designer:null,key:f,"parent-list":n.widget.widgetList,"index-of-parent-list":f,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),d=>({name:d,fn:t.withCtx(m=>[t.renderSlot(e.$slots,d,t.mergeProps({ref_for:!0},m),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],64))),256))]),_:3},8,["title","border","inset"])]),_:3},8,["widget","class"])}var od=G(td,[["render",nd],["__scopeId","data-v-d47f58d8"]]),id=Object.freeze(Object.defineProperty({__proto__:null,default:od},Symbol.toStringTag,{value:"Module"})),Sm="";const ld={componentName:"ContainerItem",components:{...Ee},name:"GridColItem",props:{colHeight:{default:null,type:String},indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number},widget:Object},setup(e){t.inject("refList"),t.inject("globalModel");const o=t.inject("getFormConfig"),n=t.inject("previewState"),{proxy:i}=t.getCurrentInstance(),{i18nt:l}=Z(),r=Le(),a=t.reactive({layoutProps:{md:e.widget.options.md||12,offset:e.widget.options.offset||0,pull:e.widget.options.pull||0,push:e.widget.options.push||0,sm:e.widget.options.sm||12,span:e.widget.options.span,xs:e.widget.options.xs||12}}),s=Fe(a),c=t.computed(()=>o()),f=t.computed(()=>e.widget.options.customClass||""),d=t.computed(()=>e.colHeight?{height:e.colHeight+"px"}:{}),m=()=>{if(e.widget.options.responsive)if(n){a.layoutProps.md=void 0,a.layoutProps.sm=void 0,a.layoutProps.xs=void 0;let g=c.value.layoutType;g==="H5"?a.layoutProps.span=e.widget.options.xs||12:g==="Pad"?a.layoutProps.span=e.widget.options.sm||12:a.layoutProps.span=e.widget.options.md||12}else a.layoutProps.span=void 0;else a.layoutProps.md=void 0,a.layoutProps.sm=void 0,a.layoutProps.xs=void 0},u=g=>{let h=w=>{let _=w.options.name,k=r.getWidgetRef(_);!!k&&!!k.setDisabled&&k.setDisabled(g)};ke(e.widget,h)},y=g=>{e.widget.options.hidden=g;let h=w=>{let _=w.options.name,k=r.getWidgetRef(_);g&&!!k&&!!k.clearFieldRules&&k.clearFieldRules(),!g&&!!k&&!!k.buildFieldRules&&k.buildFieldRules()};ke(e.widget,h)};return m(),r.initRefList(),{i18nt:l,...t.toRefs(a),...s,colHeightStyle:d,customClass:f,formConfig:c,scopedSlots:i.$slots,setDisabled:u,setHidden:y}}},ad={class:"blank-cell"},rd={class:"invisible-content"};function dd(e,o,n,i,l,r){const a=t.resolveComponent("van-col");return t.withDirectives((t.openBlock(),t.createBlock(a,t.mergeProps({class:["grid-cell",[i.customClass]]},e.layoutProps,{style:i.colHeightStyle,key:n.widget.id}),{default:t.withCtx(()=>[!!n.widget.widgetList&&n.widget.widgetList.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.widget.widgetList,(s,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[s.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.type+"-item"),{widget:s,key:c,"parent-list":n.widget.widgetList,"index-of-parent-list":c,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),f=>({name:f,fn:t.withCtx(d=>[t.renderSlot(e.$slots,f,t.mergeProps({ref_for:!0},d),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:null,key:c,"parent-list":n.widget.widgetList,"index-of-parent-list":c,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),f=>({name:f,fn:t.withCtx(d=>[t.renderSlot(e.$slots,f,t.mergeProps({ref_for:!0},d),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],64))),256)):(t.openBlock(),t.createBlock(a,{key:1},{default:t.withCtx(()=>[t.createElementVNode("div",ad,[t.createElementVNode("span",rd,t.toDisplayString(i.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[t.vShow,!n.widget.options.hidden]])}var qn=G(ld,[["render",dd],["__scopeId","data-v-51096db6"]]),sd=Object.freeze(Object.defineProperty({__proto__:null,default:qn},Symbol.toStringTag,{value:"Module"}));const cd={componentName:"ContainerItem",components:{ContainerItemWrapper:je,GridColItem:qn},name:"m-grid-item",props:{subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number},widget:Object},setup(e){t.inject("refList"),t.inject("globalModel"),t.inject("sfRefList");const o=Le(),n=Qe(),i=Fe(),l=t.computed(()=>e.widget.options.customClass||"");return t.onBeforeUnmount(()=>{n.unregisterFromRefList()}),o.initRefList(),{...i,...n,customClass:l,px2rem:Be}}};function fd(e,o,n,i,l,r){const a=t.resolveComponent("grid-col-item"),s=t.resolveComponent("van-row"),c=t.resolveComponent("container-item-wrapper");return t.openBlock(),t.createBlock(c,{widget:n.widget},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createBlock(s,{key:n.widget.id,gutter:i.px2rem(n.widget.options.gutter),class:t.normalizeClass(["grid-container",[i.customClass]]),ref:n.widget.id},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.widget.cols,(f,d)=>(t.openBlock(),t.createBlock(a,{key:d,widget:f,"parent-list":n.widget.cols,"index-of-parent-list":d,"parent-widget":n.widget,"col-height":i.px2rem(n.widget.options.colHeight),"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),m=>({name:m,fn:t.withCtx(u=>[t.renderSlot(e.$slots,m,t.mergeProps({ref_for:!0},u))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))),128))]),_:3},8,["gutter","class"])),[[t.vShow,!n.widget.options.hidden]])]),_:3},8,["widget"])}var md=G(cd,[["render",fd]]),ud=Object.freeze(Object.defineProperty({__proto__:null,default:md},Symbol.toStringTag,{value:"Module"})),xm="",Mm="";const pd={componentName:"ContainerItem",components:{ContainerItemWrapper:je,...Ee},name:"m-sub-form-item",props:{widget:Object},setup(e){t.inject("refList");const o=t.inject("globalModel"),n=t.inject("sfRefList"),i=t.inject("getReadMode"),{proxy:l}=t.getCurrentInstance();t.provide("getSubFormFieldFlag",()=>!0),t.provide("getSubFormName",()=>e.widget.options.name);const{i18nt:r}=Z(),a=t.reactive({actionDisabled:!1,fieldSchemaData:[],rowIdData:[]}),s=Le(),c=Fe(a),f=Qe(a),d=t.computed(()=>i()),m=t.computed(()=>(e.widget.options.actionColumnPosition||"left")==="left"),u=(M,z)=>z.options.labelAlign||M.options.labelAlign,y=()=>{e.widget.type==="m-sub-form"&&(n[e.widget.options.name]=l)},g=M=>{if(e.widget.type==="m-sub-form"){a.rowIdData.splice(0,a.rowIdData.length);let z=f.formModel.value[e.widget.options.name];!!z&&z.length>0&&(z.forEach(()=>{a.rowIdData.push("id"+ve())}),M&&setTimeout(()=>{p(z)},800))}},h=()=>{a.rowIdData.push("id"+ve())},w=M=>{a.rowIdData.splice(M,0,"id"+ve())},_=M=>{a.rowIdData.splice(M,1)},k=()=>a.rowIdData,L=(M,z)=>{let O=M+"@row"+a.rowIdData[z];return s.getWidgetRef(O)},B=()=>{if(e.widget.type!=="m-sub-form")return;let M=a.rowIdData.length;if(a.fieldSchemaData.splice(0,a.fieldSchemaData.length),M>0)for(let z=0;z<M;z++){let O=[];e.widget.widgetList.forEach(v=>{O.push(I(v))}),a.fieldSchemaData.push(O)}},R=M=>{let z=[];e.widget.widgetList.forEach(O=>{z.push(I(O))}),M===void 0?a.fieldSchemaData.push(z):a.fieldSchemaData.splice(M,0,z)},F=M=>{a.fieldSchemaData.splice(M,1)},I=M=>{let z=X(M);return z.id=M.type+ve(),z},C=()=>{e.widget.type==="m-sub-form"&&c.on$("setFormData",M=>{g(!1),B();let z=M[e.widget.options.name]||[];setTimeout(()=>{p(z)},800)})},U=()=>{if(e.widget.type==="m-sub-form"&&!!e.widget.options.showBlankRow&&a.rowIdData.length===1){let M=f.formModel.value[e.widget.options.name]||[];t.nextTick(()=>{S(M,a.rowIdData[0]),p(M)})}},A=()=>{let M={};e.widget.widgetList.forEach(O=>{O.formItemFlag&&(M[O.options.name]=O.options.defaultValue)});let z=f.formModel.value[e.widget.options.name]||[];z.push(M),h(),R(),t.nextTick(()=>{S(z,a.rowIdData[z.length-1]),p(z)})},q=M=>{let z={};e.widget.widgetList.forEach(v=>{v.formItemFlag&&(z[v.options.name]=v.options.defaultValue)});let O=f.formModel.value[e.widget.options.name]||[];O.splice(M,0,z),w(M),R(M),t.nextTick(()=>{x(O,a.rowIdData[M]),p(O)})},j=M=>{l.$showConfirmDialog({cancelButtonText:r("render.hint.cancel"),className:"van-dialog-confirm-dialog",confirmButtonText:r("render.hint.confirm"),message:r("render.hint.deleteSubFormRow")+"?",overlayClass:"van-dialog-confirm-overlay",showCancelButton:!0,showConfirmButton:!0,title:r("render.hint.prompt")}).then(()=>{let z=f.formModel.value[e.widget.options.name]||[],O=X(z[M]);z.splice(M,1),_(M),F(M),t.nextTick(()=>{D(z,O),p(z)})})},p=M=>{e.widget.options.onSubFormRowChange&&new Function("subFormData",e.widget.options.onSubFormRowChange).call(l,M)},S=(M,z)=>{e.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",e.widget.options.onSubFormRowAdd).call(l,M,z)},x=(M,z)=>{e.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",e.widget.options.onSubFormRowInsert).call(l,M,z)},D=(M,z)=>{e.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",e.widget.options.onSubFormRowDelete).call(l,M,z)},N=M=>{M?f.disableSubForm():f.enableSubForm()},E=M=>{o.formModel[e.widget.options.name]=M,g(!1),B(),setTimeout(()=>{p(M)},800)},H=(M,z,O)=>{const v=o.formModel[e.widget.options.name];v[O][M]=z,p(v)};return s.initRefList(),y(),g(!0),B(),C(),t.onMounted(()=>{U()}),t.onBeforeUnmount(()=>{f.unregisterFromRefList()}),{i18nt:r,...t.toRefs(e),...t.toRefs(a),...c,...f,addSubFormRow:A,addToFieldSchemaData:R,addToRowIdData:h,cloneFieldSchema:I,deleteFromFieldSchemaData:F,deleteFromRowIdData:_,deleteSubFormRow:j,getLabelAlign:u,getRowIdData:k,getWidgetRefOfSubForm:L,handleSubFormFirstRowAdd:U,handleSubFormRowAdd:S,handleSubFormRowChange:p,handleSubFormRowDelete:D,handleSubFormRowInsert:x,initEventHandler:C,initFieldSchemaData:B,initRowIdData:g,insertSubFormRow:q,insertToRowIdData:w,isReadMode:d,leftActionColumn:m,registerSubFormToRefList:y,setDisabled:N,setSubFormFieldValue:H,setSubFormValues:E}}},gd=e=>(t.pushScopeId("data-v-1a0dbffb"),e=e(),t.popScopeId(),e),hd={class:"action-header-column"},bd={class:"action-label"},wd=gd(()=>t.createElementVNode("i",{class:"el-icon-plus el-icon-right"},null,-1)),yd={class:"sub-form-action-column hide-label"},Cd={class:"action-button-column"},_d={key:0,class:"row-number-span"},Fd={key:0,class:"row-no-column"},Sd={key:0,class:"row-number-span"},xd={class:"grid-sub-form-data-row"};function Md(e,o,n,i,l,r){const a=t.resolveComponent("van-button"),s=t.resolveComponent("van-row"),c=t.resolveComponent("container-item-wrapper");return t.openBlock(),t.createBlock(c,{widget:n.widget},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:n.widget.id,class:"sub-form-container"},[t.createVNode(s,{class:"header-row"},{default:t.withCtx(()=>[t.createElementVNode("div",hd,[t.createElementVNode("span",bd,t.toDisplayString(i.i18nt("render.hint.subFormAction")),1),i.isReadMode?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(a,{key:0,disabled:e.actionDisabled,round:"",type:"info",size:"mini",class:"action-button",onClick:i.addSubFormRow,title:i.i18nt("render.hint.subFormAddActionHint")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.i18nt("render.hint.subFormAddAction")),1),wd]),_:1},8,["disabled","onClick","title"]))])]),_:1}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.rowIdData,(f,d)=>(t.openBlock(),t.createElementBlock("div",{class:"sub-form-row",key:f},[t.createElementVNode("div",yd,[t.createElementVNode("div",Cd,[n.widget.options.showRowNumber?(t.openBlock(),t.createElementBlock("span",_d,"#"+t.toDisplayString(d+1),1)):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,[t.withDirectives(t.createVNode(a,{disabled:e.actionDisabled,class:"round-button",round:"",plain:"",type:"info",size:"mini",icon:"plus",onClick:m=>i.insertSubFormRow(d+1),title:i.i18nt("render.hint.insertSubFormRow")},null,8,["disabled","onClick","title"]),[[t.vShow,!i.isReadMode]]),t.withDirectives(t.createVNode(a,{disabled:e.actionDisabled,class:"round-button",round:"",plain:"",type:"warning",size:"mini",icon:"minus",onClick:m=>i.deleteSubFormRow(d),title:i.i18nt("render.hint.deleteSubFormRow")},null,8,["disabled","onClick","title"]),[[t.vShow,!i.isReadMode]])])]),!i.leftActionColumn&&n.widget.options.showRowNumber?(t.openBlock(),t.createElementBlock("div",Fd,[n.widget.options.showRowNumber?(t.openBlock(),t.createElementBlock("span",Sd,"#"+t.toDisplayString(d+1),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",xd,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.widget.widgetList,(m,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.fieldSchemaData[d][u].id},[m.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-item"),{key:0,widget:e.fieldSchemaData[d][u],"parent-list":n.widget.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"sub-form-row-id":f,"sub-form-row-index":d,"sub-form-col-index":u},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),y=>({name:y,fn:t.withCtx(g=>[t.renderSlot(e.$slots,y,t.mergeProps({ref_for:!0},g),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-widget"),{key:1,field:e.fieldSchemaData[d][u],"parent-list":n.widget.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"sub-form-row-id":f,"sub-form-row-index":d,"sub-form-col-index":u},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),y=>({name:y,fn:t.withCtx(g=>[t.renderSlot(e.$slots,y,t.mergeProps({ref_for:!0},g),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],64))),128))])]))),128))])),[[t.vShow,!n.widget.options.hidden]])]),_:3},8,["widget"])}var Vd=G(pd,[["render",Md],["__scopeId","data-v-1a0dbffb"]]),Dd=Object.freeze(Object.defineProperty({__proto__:null,default:Vd},Symbol.toStringTag,{value:"Module"}));const Ld={componentName:"ContainerItem",components:{ContainerItemWrapper:je,...Ee},name:"m-tab-item",props:{subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number},widget:Object},setup(e){t.inject("refList"),t.inject("sfRefList"),t.inject("globalModel");const{proxy:o}=t.getCurrentInstance(),n=t.reactive({activeTabName:""}),i=Le(),l=Fe(n),r=Qe(n),a=t.computed(()=>e.widget.tabs.filter(u=>!u.options.hidden)),s=t.computed(()=>e.widget.options.displayType=="border-card"?"card":"line"),c=()=>{e.widget.type==="m-tab"&&e.widget.tabs.length>0&&(e.widget.options.active?n.activeTabName=e.widget.options.active:n.activeTabName=e.widget.tabs[0].options.name)},f=(u,y)=>{const g=e.widget.tabs.findIndex(h=>h.options.name===u);e.widget.options.onTabbarChange&&new Function("index","name","title",e.widget.options.onTabbarChange).call(this,g,u,y)},d=()=>{let u=-1;return e.widget.tabs.forEach((y,g)=>{y.options.name===n.activeTabName&&(u=g)}),u},m=t.computed(()=>e.widget.options.customClass||"");return t.onMounted(()=>{c()}),t.onBeforeUnmount(()=>{r.unregisterFromRefList()}),i.initRefList(),{...t.toRefs(n),...l,...r,customClass:m,getActiveTabIndex:d,handleTabbarChange:f,slots:o.$slots,tabDisplayType:s,visibleTabs:a}}};function vd(e,o,n,i,l,r){const a=t.resolveComponent("van-tab"),s=t.resolveComponent("van-tabs"),c=t.resolveComponent("container-item-wrapper");return t.openBlock(),t.createBlock(c,{widget:n.widget},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:n.widget.id,class:"tab-container"},[t.createVNode(s,{ref:n.widget.id,active:e.activeTabName,"onUpdate:active":o[0]||(o[0]=f=>e.activeTabName=f),class:t.normalizeClass([i.customClass]),type:i.tabDisplayType,color:n.widget.options.colorStyle,ellipsis:n.widget.options.textEllipsis,swipeable:!0,onChange:i.handleTabbarChange},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.visibleTabs,(f,d)=>(t.openBlock(),t.createBlock(a,{key:d,title:f.options.label,disabled:f.options.disabled,name:f.options.name},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.widgetList,(m,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[m.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-item"),{widget:m,key:u,"parent-list":f.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(i.slots),y=>({name:y,fn:t.withCtx(g=>[t.renderSlot(e.$slots,y,t.mergeProps({ref_for:!0},g))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-widget"),{field:m,key:u,"parent-list":f.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),y=>({name:y,fn:t.withCtx(g=>[t.renderSlot(e.$slots,y,t.mergeProps({ref_for:!0},g))])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],64))),256))]),_:2},1032,["title","disabled","name"]))),128))]),_:3},8,["active","class","type","color","ellipsis","onChange"])])),[[t.vShow,!n.widget.options.hidden]])]),_:3},8,["widget"])}var kd=G(Ld,[["render",vd]]),Bd=Object.freeze(Object.defineProperty({__proto__:null,default:kd},Symbol.toStringTag,{value:"Module"}));const Yt={"./container-item-wrapper.vue":ml,"./m-cell-group-item.vue":id,"./m-grid-col-item.vue":sd,"./m-grid-item.vue":ud,"./m-sub-form-item.vue":Dd,"./m-tab-item.vue":Bd};var Yn={install(e){for(const o in Yt){let n=Yt[o].default.name;e.component(n,Yt[o].default)}}},Vm="";const $t={componentName:"VmFormRender",components:{...Ee},name:"VmFormRender",props:{disabledMode:{default:!1,type:Boolean},dynamicCreation:{default:!1,type:Boolean},formData:{default:()=>({}),type:Object},formJson:{default:()=>At(),type:Object},globalDsv:{default:()=>({}),type:Object},optionData:{default:()=>({}),type:Object},parentForm:{default:null,type:Object},previewState:{default:!1,type:Boolean},renderConfig:{default:()=>({languageName:"zh-CN"}),type:Object}},setup(e,o){const{i18nt:n}=Z(),{proxy:i}=t.getCurrentInstance(),l=t.ref(null),r=()=>!e.formJson||Object.keys(e.formJson).length==0?At():(e.formJson.formConfig?e.formJson.widgetList||(e.formJson.widgetList=[]):e.formJson.formConfig=At().formConfig,e.formJson),a=t.reactive({childFormRef:null,dialogOrDrawerRef:null,dsResultCache:{},externalComponents:{},formDataModel:{},formId:null,formJsonObj:r(),readModeFlag:!1,subFormRefList:{},widgetRefList:{}}),s=Fe(a);t.provide("refList",a.widgetRefList),t.provide("sfRefList",a.subFormRefList),t.provide("getFormConfig",()=>a.formJsonObj.formConfig),t.provide("getGlobalDsv",()=>e.globalDsv),t.provide("globalOptionData",e.optionData),t.provide("getOptionData",()=>e.optionData),t.provide("globalModel",{formModel:a.formDataModel}),t.provide("previewState",e.previewState),t.provide("getReadMode",()=>a.readModeFlag),t.provide("getSubFormFieldFlag",()=>!1),t.provide("getSubFormName",()=>""),t.provide("getDSResultCache",()=>a.dsResultCache);const c=t.computed(()=>a.formJsonObj.formConfig),f=t.computed(()=>a.formJsonObj.widgetList),d=t.computed(()=>!!c.value&&!!c.value.labelPosition?c.value.labelPosition:"left"),m=t.computed(()=>!!c.value&&!!c.value.labelWidth?c.value.labelWidth+"px":"80px"),u=t.computed(()=>!!c.value&&!!c.value.size?c.value.size:"default"),y=t.computed(()=>({backgroundColor:c.value.background||"#FFFFFF",padding:(c.value.padding||0)+"px"})),g=t.computed(()=>(c.value.radius||0)+"px"),h=t.computed(()=>!!c.value&&!!c.value.customClass?c.value.customClass:"");t.onMounted(()=>{L(),E(),j()});const w=(b=!0)=>{a.formId="vfRender"+ve(),!!b&&!e.dynamicCreation&&B(),I(),C(),U(),q(),e.disabledMode&&t.nextTick(()=>{Ke()})},_=b=>b.type==="grid"?"vf-grid-item":b.type+"-item",k=b=>b.type+"-widget",L=()=>{let b=localStorage.getItem("vm_form_locale")||"zh-CN";H(b)},B=()=>{!!c.value&&!!c.value.cssCode&&pl(c.value.cssCode,e.previewState?"":a.formId),!!c.value&&!!c.value.functions&&gl(c.value.functions,e.previewState?"":a.formId)},R=b=>{!!b&&b.length>0&&b.forEach(V=>{F(V)})},F=b=>{if(b.category==="container")if(b.type==="m-grid")!!b.cols&&b.cols.length>0&&b.cols.forEach(V=>{F(V)});else if(b.type==="table")!!b.rows&&b.rows.length>0&&b.rows.forEach(V=>{!!V.cols&&V.cols.length>0&&V.cols.forEach(T=>{F(T)})});else if(b.type==="m-tab")!!b.tabs&&b.tabs.length>0&&b.tabs.forEach(V=>{!!V.widgetList&&V.widgetList.length>0&&V.widgetList.forEach(T=>{F(T)})});else if(b.type==="m-sub-form"){let V=b.options.name;if(e.formData.hasOwnProperty(V)){let T=a.formData[V];a.formDataModel[V]=X(T)}else{let T=[];ke(b,ne=>{T.push(ne)});let J={};b.options.showBlankRow?(T.forEach(ne=>{J[ne.options.name]=ne.options.defaultValue}),a.formDataModel[V]=[J]):a.formDataModel[V]=[]}}else b.type==="m-grid-col"||b.type==="table-cell"?!!b.widgetList&&b.widgetList.length>0&&b.widgetList.forEach(V=>{F(V)}):!!b.widgetList&&b.widgetList.length>0&&b.widgetList.forEach(V=>{F(V)});else if(b.formItemFlag)if(!e.formData.hasOwnProperty(b.options.name))a.formDataModel[b.options.name]=X(b.options.defaultValue);else{let V=e.formData[b.options.name];a.formDataModel[b.options.name]=X(V)}},I=()=>{s.off$("fieldChange"),s.on$("fieldChange",(b,V,T,K,J)=>{A(b,V,T,K,J),i.$emit("formChange",b,V,T,a.formDataModel,K,J)})},C=()=>{s.off$("fieldValidation"),s.on$("fieldValidation",b=>{l.value&&l.value.validate(b).catch(V=>{})})},U=()=>{a.widgetRefList.v_form_ref=i},A=(b,V,T,K,J)=>{!!c.value&&!!c.value.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",c.value.onFormDataChange).call(i,b,V,T,a.formDataModel,K,J)},q=()=>{!!c.value&&!!c.value.onFormCreated&&new Function(c.value.onFormCreated).call(i)},j=()=>{!!c.value&&!!c.value.onFormMounted&&new Function(c.value.onFormMounted).call(i)},p=(b,V)=>{let T=v(b);!!T&&!!T.setDisabled?T.setDisabled(V):S(b,V)},S=(b,V)=>{const T=kn(a.formJsonObj.widgetList,b);!!T&&!!T.options&&T.options.hasOwnProperty("disabled")&&(T.options.disabled=V),N(b).forEach(K=>{let J=v(K);!!J&&!!J.setDisabled&&J.setDisabled(V)})},x=(b,V)=>{let T=v(b);!!T&&!!T.setDisabled?T.setHidden(V):D(b,V)},D=(b,V)=>{const T=kn(a.formJsonObj.widgetList,b);!!T&&!!T.options&&T.options.hasOwnProperty("hidden")&&(T.options.hidden=V),N(b).forEach(K=>{let J=v(K);!!J&&!!J.setDisabled&&J.setHidden(V)})},N=b=>{let V=[],T=null;if(Ne(f,(J,ne)=>{!!J.options&&J.options.name===b&&(T=ne.options.name)}),Object.keys(a.subFormRefList).forEach(J=>{const ne=Ce=>{Ce.options.name===b&&(T=J)},he=a.subFormRefList[J];ke(he.widget,ne)}),T){let J=v(T);if(J){let ne=J.getRowIdData();!!ne&&ne.length>0&&ne.forEach(he=>{V.push(b+"@row"+he)})}}return V},E=()=>{let b=new Set;Uo().forEach(V=>{!!V.field.options.dsEnabled&&!!V.field.options.dsName&&!!V.field.options.dataSetName&&b.add(V.field.options.dsName)}),b.size>0&&b.forEach(async V=>{let T=bt(c.value,V);if(T){let K=new Object({});We(K,e.globalDsv||{});let J=null;try{J=await ht(T,K,i,!1,i.$message),a.dsResultCache[V]=J,s.broadcast("FieldWidget","loadOptionItemsFromDataSet",V)}catch(ne){i.$message.error(ne.message)}}})},H=b=>{sl(b)},M=()=>localStorage.getItem("vm_form_locale")||"zh-CN",z=()=>l,O=()=>i,v=(b,V=!1)=>{let T=a.widgetRefList[b];return!T&&!!V&&i.$message.error(n("render.hint.refNotFound")+b),T},P=()=>{for(let b in a.formDataModel)delete a.formDataModel[b]},W=()=>a.formJsonObj,Y=b=>{if(b)if(typeof b=="string"||b.constructor===Object){let V=null;if(typeof b=="string"?V=JSON.parse(b):V=b,!V.formConfig||!V.widgetList){i.$message.error("Invalid format of form json.");return}P(),R(V.widgetList),a.formJsonObj.formConfig=V.formConfig,a.formJsonObj.widgetList=V.widgetList,B(),t.nextTick(()=>{w(!1),E(),j()})}else i.$message.error("Set form json failed.")},$=b=>{let V=[];!!b&&typeof b=="string"?V=[b]:!!b&&Array.isArray(b)&&(V=[...b]),s.broadcast("FieldWidget","reloadOptionItems",V)},ee=(b=!0)=>{if(!b)return a.formDataModel;let V=function(){},T=new window.Promise(function(K,J){V=function(ne,he){he?J(he):K(ne)}});return l.value.validate().then(()=>{V(a.formDataModel)}).catch(K=>{V(a.formDataModel,n("render.hint.validationFailed"))}),T},ae=b=>{Object.keys(a.formDataModel).forEach(V=>{!!b&&b.hasOwnProperty(V)&&(a.formDataModel[V]=X(b[V]))}),s.broadcast("ContainerItem","setFormData",a.formDataModel),s.broadcast("FieldWidget","setFormData",a.formDataModel)},te=b=>{let V=v(b);if(!!V&&!!V.getValue)return V.getValue();if(!V){let T=[];return N(b).forEach(K=>{let J=v(K);!!J&&!!J.getValue&&T.push(J.getValue())}),T}},se=(b,V)=>{let T=v(b);!!T&&!!T.setValue&&T.setValue(V),T||N(b).forEach(K=>{let J=v(K);!!J&&!!J.setValue&&J.setValue(V)})},ye=(b,V=!0)=>a.subFormRefList[b].getSubFormValues(V),Me=(b,V)=>a.subFormRefList[b].setSubFormValues(V),Ke=()=>{Object.keys(a.widgetRefList).forEach(V=>{let T=v(V);T&&(!!T.widget&&T.widget.type==="m-sub-form"?T.disableSubForm():T.setDisabled&&T.setDisabled(!0))})},ot=()=>{Object.keys(a.widgetRefList).forEach(V=>{let T=v(V);T&&(!!T.widget&&T.widget.type==="m-sub-form"?T.enableSubForm():T.setDisabled&&T.setDisabled(!1))})},jo=()=>{Object.keys(a.subFormRefList).forEach(T=>{a.subFormRefList[T].resetSubForm&&a.subFormRefList[T].resetSubForm()}),Object.keys(a.widgetRefList).forEach(T=>{let K=v(T);!!K&&!K.subFormItemFlag&&!!K.resetField&&K.resetField()}),t.nextTick(()=>{Wo()})},Wo=b=>{l.value.resetValidation(b)},R2=b=>{l.value.validate().then(()=>{b(!0)}).catch(()=>{b(!1)})},E2=()=>{},O2=b=>{b&&(typeof b=="string"?p(b,!0):Array.isArray(b)&&b.forEach(V=>{p(V,!0)}))},N2=b=>{b&&(typeof b=="string"?p(b,!1):Array.isArray(b)&&b.forEach(V=>{p(V,!1)}))},z2=b=>{b&&(typeof b=="string"?x(b,!0):Array.isArray(b)&&b.forEach(V=>{x(V,!0)}))},I2=b=>{b&&(typeof b=="string"?x(b,!1):Array.isArray(b)&&b.forEach(V=>{x(V,!1)}))},Uo=(b=!1)=>hl(a.formJsonObj.widgetList),T2=()=>bl(a.formJsonObj.widgetList),P2=(b,V)=>{a.externalComponents[b]=V},H2=b=>a.externalComponents.hasOwnProperty(b),A2=b=>a.externalComponents[b],j2=(b=!0)=>{a.readModeFlag=b},W2=()=>a.readModeFlag,U2=()=>e.globalDsv,q2=async(b,V={})=>{let T=bt(a.formJsonObj.formConfig,b),K=new Object({});return We(K,e.globalDsv),We(K,V),await ht(T,K,i,!1,i.$message)},Y2=()=>e.parentForm,ln=()=>{if(!e.parentForm)return i;let b=e.parentForm;for(;b.parentForm;)b=b.parentForm;return b},$2=b=>{a.childFormRef=b},J2=()=>a.childFormRef,K2=()=>e.dynamicCreation,G2=b=>{a.dialogOrDrawerRef=b},Z2=()=>a.dialogOrDrawerRef,X2=(b,V={},T={})=>{let K=ln(),J=Bn(K.widgetList,b);if(!b||J.type!=="vf-dialog"){i.$message.error(n("render.hint.refNotFound")+b);return}let ne={formConfig:Rn(K.formConfig),widgetList:X(J.widgetList)},he=ve()+"",Ce=t.createVNode(DynamicDialog,{extraData:T,formData:V||{},formJson:ne,globalDsv:K.globalDsv,optionData:K.optionData,options:J.options,parentFormRef:i,wrapperId:he});Ce.appContext=i.$root.$.appContext;let Te=document.createElement("div");Te.id="vf-dynamic-dialog-wrapper"+he,document.body.appendChild(Te),t.render(Ce,Te),document.body.appendChild(Ce.el),Ce.component.ctx.show()},Q2=(b,V={},T={})=>{let K=ln(),J=Bn(K.widgetList,b);if(!J||J.type!=="vf-drawer"){i.$message.error(n("render.hint.refNotFound")+b);return}let ne={formConfig:Rn(K.formConfig),widgetList:X(J.widgetList)},he=ve()+"",Ce=t.createVNode(DynamicDrawer,{extraData:T,formData:V||{},formJson:ne,globalDsv:K.globalDsv,optionData:K.optionData,options:J.options,parentFormRef:i,wrapperId:he});Ce.appContext=i.$root.$.appContext;let Te=document.createElement("div");Te.id="vf-dynamic-drawer-wrapper"+he,document.body.appendChild(Te),t.render(Ce,Te),document.body.appendChild(Ce.el),Ce.component.ctx.show()},em=()=>e.previewState;return R(a.formJsonObj?a.formJsonObj.widgetList:null),w(),{i18nt:n,...t.toRefs(e),...t.toRefs(a),...s,addEC:P2,addFieldChangeEventHandler:I,addFieldValidateEventHandler:C,buildDataFromWidget:F,buildFormModel:R,changeLanguage:H,clearFormDataModel:P,clearValidate:Wo,customClass:h,disableForm:Ke,disableWidgets:O2,enableForm:ot,enableWidgets:N2,executeDataSource:q2,findWidgetAndSetDisabled:p,findWidgetAndSetHidden:x,findWidgetNameInSubForm:N,findWidgetOfSubFormAndSetDisabled:S,findWidgetOfSubFormAndSetHidden:D,formConfig:c,formFieldRadius:g,formStyle:y,getChildFormRef:J2,getContainerWidgetName:_,getContainerWidgets:T2,getDialogOrDrawerRef:Z2,getEC:A2,getFieldValue:te,getFieldWidgets:Uo,getFormData:ee,getFormJson:W,getFormRef:O,getGlobalDsv:U2,getLanguageName:M,getNativeForm:z,getParentFormRef:Y2,getReadMode:W2,getSubFormValues:ye,getTopFormRef:ln,getWidgetName:k,getWidgetRef:v,handleFieldDataChange:A,handleOnCreated:q,handleOnMounted:j,hasEC:H2,hideWidgets:z2,initDataSetRequest:E,initFormObject:w,initLocale:L,insertCustomStyleAndScriptNode:B,isDynamicCreation:K2,isPreviewState:em,labelPosition:d,labelWidth:m,registerFormToRefList:U,reloadOptionData:$,renderForm:l,resetForm:jo,setChildFormRef:$2,setDialogOrDrawerRef:G2,setFieldValue:se,setFormData:ae,setFormJson:Y,setReadMode:j2,setSubFormValues:Me,showDialog:X2,showDrawer:Q2,showWidgets:I2,size:u,validateFields:E2,validateForm:R2,widgetList:f}}},$n=()=>{t.useCssVars(e=>({"2dd0e873":e.formFieldRadius}))},Jn=$t.setup;$t.setup=Jn?(e,o)=>($n(),Jn(e,o)):$n;const Rd=$t;function Ed(e,o,n,i,l,r){const a=t.resolveComponent("van-form");return t.openBlock(),t.createBlock(a,{"label-position":i.labelPosition,class:t.normalizeClass([[i.customClass,e.readModeFlag?"readonly-mode-form":""],"render-form"]),"label-width":i.labelWidth,"submit-on-enter":!1,model:e.formDataModel,style:t.normalizeStyle(i.formStyle),ref:"renderForm"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.widgetList,(s,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[s.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.getContainerWidgetName(s)),{widget:s,key:s.id,"parent-list":i.widgetList,"index-of-parent-list":c,"parent-widget":null},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),f=>({name:f,fn:t.withCtx(d=>[t.renderSlot(e.$slots,f,t.mergeProps({ref_for:!0},d),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.getWidgetName(s)),{field:s,"form-model":e.formDataModel,designer:null,key:s.id,"parent-list":i.widgetList,"index-of-parent-list":c,"parent-widget":null},t.createSlots({_:2},[t.renderList(Object.keys(e.$slots),f=>({name:f,fn:t.withCtx(d=>[t.renderSlot(e.$slots,f,t.mergeProps({ref_for:!0},d),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","class","label-width","model","style"])}var et=G(Rd,[["render",Ed],["__scopeId","data-v-145e8bce"]]),ie=(e,o)=>{const n=e.__vccOpts||e;for(const[i,l]of o)n[i]=l;return n};const Od=t.defineComponent({name:"ArrowDown"}),Nd={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},zd=[t.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"},null,-1)];function Id(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Nd,zd)}var Td=ie(Od,[["render",Id]]);const Pd=t.defineComponent({name:"ArrowLeftBold"}),Hd={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ad=[t.createElementVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 010 90.496L368.448 512l316.8 316.8a64 64 0 01-90.496 90.496L232.704 557.248a64 64 0 010-90.496l362.048-362.048a64 64 0 0190.496 0z"},null,-1)];function jd(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Hd,Ad)}var Wd=ie(Pd,[["render",jd]]);const Ud=t.defineComponent({name:"ArrowRightBold"}),qd={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Yd=[t.createElementVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 000 90.496l316.8 316.8-316.8 316.8a64 64 0 0090.496 90.496l362.048-362.048a64 64 0 000-90.496L429.248 104.704a64 64 0 00-90.496 0z"},null,-1)];function $d(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",qd,Yd)}var Jd=ie(Ud,[["render",$d]]);const Kd=t.defineComponent({name:"ArrowUp"}),Gd={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Zd=[t.createElementVNode("path",{fill:"currentColor",d:"M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"},null,-1)];function Xd(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Gd,Zd)}var Qd=ie(Kd,[["render",Xd]]);const es=t.defineComponent({name:"Back"}),ts={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ns=[t.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 110 64H224a32 32 0 010-64z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M237.248 512l265.408 265.344a32 32 0 01-45.312 45.312l-288-288a32 32 0 010-45.312l288-288a32 32 0 1145.312 45.312L237.248 512z"},null,-1)];function os(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",ts,ns)}var is=ie(es,[["render",os]]);const ls=t.defineComponent({name:"BottomLeft"}),as={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},rs=[t.createElementVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 110 64H224a32 32 0 01-32-32V352a32 32 0 0164 0v416z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 01-45.312-45.312l544-544a32 32 0 0145.312 45.312l-544 544z"},null,-1)];function ds(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",as,rs)}var ss=ie(ls,[["render",ds]]);const cs=t.defineComponent({name:"Bottom"}),fs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ms=[t.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 10-64 0v637.888L246.656 557.952a30.72 30.72 0 00-45.312 0 35.52 35.52 0 000 48.064l288 306.048a30.72 30.72 0 0045.312 0l288-306.048a35.52 35.52 0 000-48 30.72 30.72 0 00-45.312 0L544 805.824z"},null,-1)];function us(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",fs,ms)}var ps=ie(cs,[["render",us]]);const gs=t.defineComponent({name:"CirclePlus"}),hs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},bs=[t.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1)];function ws(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",hs,bs)}var ys=ie(gs,[["render",ws]]);const Cs=t.defineComponent({name:"Delete"}),_s={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Fs=[t.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1)];function Ss(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",_s,Fs)}var xs=ie(Cs,[["render",Ss]]);const Ms=t.defineComponent({name:"Edit"}),Vs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ds=[t.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"},null,-1)];function Ls(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Vs,Ds)}var vs=ie(Ms,[["render",Ls]]);const ks=t.defineComponent({name:"InfoFilled"}),Bs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Rs=[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1)];function Es(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Bs,Rs)}var Os=ie(ks,[["render",Es]]);const Ns=t.defineComponent({name:"Minus"}),zs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Is=[t.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1)];function Ts(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",zs,Is)}var Ps=ie(Ns,[["render",Ts]]);const Hs=t.defineComponent({name:"More"}),As={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},js=[t.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 100 224 112 112 0 000-224m0 64a48 48 0 110 96 48 48 0 010-96zm336-64a112 112 0 110 224 112 112 0 010-224zm0 64a48 48 0 100 96 48 48 0 000-96zm336-64a112 112 0 110 224 112 112 0 010-224zm0 64a48 48 0 100 96 48 48 0 000-96z"},null,-1)];function Ws(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",As,js)}var Us=ie(Hs,[["render",Ws]]);const qs=t.defineComponent({name:"Plus"}),Ys={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},$s=[t.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1)];function Js(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Ys,$s)}var Ks=ie(qs,[["render",Js]]);const Gs=t.defineComponent({name:"Right"}),Zs={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Xs=[t.createElementVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 100 64h594.752L521.344 777.344a32 32 0 0045.312 45.312l288-288a32 32 0 000-45.312l-288-288a32 32 0 10-45.312 45.312L754.752 480z"},null,-1)];function Qs(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",Zs,Xs)}var ec=ie(Gs,[["render",Qs]]);const tc=t.defineComponent({name:"Search"}),nc={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},oc=[t.createElementVNode("path",{fill:"currentColor",d:"M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"},null,-1)];function ic(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",nc,oc)}var lc=ie(tc,[["render",ic]]);const ac=t.defineComponent({name:"TopRight"}),rc={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},dc=[t.createElementVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 110-64H800a32 32 0 0132 32v448a32 32 0 01-64 0V256z"},null,-1),t.createElementVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0145.312 45.312l-544 544a32 32 0 01-45.312-45.312l544-544z"},null,-1)];function sc(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",rc,dc)}var cc=ie(ac,[["render",sc]]);const fc=t.defineComponent({name:"Top"}),mc={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},uc=[t.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 11-60.235 0V205.282L292.382 438.633a28.913 28.913 0 01-42.646 0 33.43 33.43 0 010-45.236l271.058-288.045a28.913 28.913 0 0142.647 0L834.5 393.397a33.43 33.43 0 010 45.176 28.913 28.913 0 01-42.647 0l-219.618-233.23z"},null,-1)];function pc(e,o,n,i,l,r){return t.openBlock(),t.createElementBlock("svg",mc,uc)}var gc=ie(fc,[["render",pc]]);function Kn(e){e.component("el-icon-edit",vs),e.component("el-icon-minus",Ps),e.component("el-icon-plus",Ks),e.component("el-icon-more",Us),e.component("el-icon-info",Os),e.component("el-icon-search",lc),e.component("el-icon-circle-plus-outline",ys),e.component("el-icon-delete",xs),e.component("el-icon-arrow-down",Td),e.component("el-icon-arrow-up",Qd),e.component("el-icon-bottom",ps),e.component("el-icon-top",gc),e.component("el-icon-back",is),e.component("el-icon-right",ec),e.component("el-icon-bottom-left",ss),e.component("el-icon-top-right",cc),e.component("el-icon-arrow-left-bold",Wd),e.component("el-icon-arrow-right-bold",Jd)}if(typeof window!="undefined"){let e=function(){var o=document.body,n=document.getElementById("__svg__icons__dom__1716195569912__");n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",n.id="__svg__icons__dom__1716195569912__",n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),n.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cell-group"><defs><style>@font-face{font-family:"feedback-iconfont";src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}</style></defs><path d="M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z" /><path d="M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><defs><style>@font-face{font-family:"feedback-iconfont";src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}</style></defs><path d="m383.957 622.55-55.125-55.126-60.33 60.33 115.54 115.542 200.833-201.13-60.416-60.331z" /><path d="M128 938.667h597.333A42.667 42.667 0 0 0 768 896V298.667A42.667 42.667 0 0 0 725.333 256H128a42.667 42.667 0 0 0-42.667 42.667V896A42.667 42.667 0 0 0 128 938.667zm42.667-597.334h512v512h-512v-512z" /><path d="M896 85.333H341.333v85.334h512v512h85.334V128A42.667 42.667 0 0 0 896 85.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-datetime-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid-sub-form"><defs><style>@font-face{font-family:feedback-iconfont;src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}</style></defs><path d="M448 768h128V640H448v128zM256 384h128V256H256v128zm192 192h128V448H448v128zM256 768h128V640H256v128zm0-192h128V448H256v128zM832 0H192A192 192 0 0 0 0 192v640c0 105.984 85.952 192 192 192h640c105.984 0 192-86.016 192-192V192C1024 85.952 937.984 0 832 0zm64 832c0 35.392-28.608 64-64 64H192a64 64 0 0 1-64-64V192c0-35.328 28.672-64 64-64h640a64 64 0 0 1 64 64v640zM640 576h128V448H640v128zm0-192h128V256H640v128zm-192 0h128V256H448v128zm192 384h128V640H640v128z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-password-field"><defs><style>@font-face{font-family:feedback-iconfont;src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}</style></defs><path d="M97.956 787.349a23.785 23.785 0 1 1 47.559 0v55.965l47.3-27.97a22.714 22.714 0 0 1 32.188 9.122c6.741 10.888 2.531 26.284-8.395 32.585l-47.87 27.995 47.869 27.983c10.927 6.854 15.136 21.114 8.395 32.561-6.717 11.702-20.692 16.002-32.188 9.148l-47.3-27.971v55.965a23.785 23.785 0 1 1-47.56 0v-55.965l-47.04 27.96a24.12 24.12 0 0 1-32.732-9.147 24.83 24.83 0 0 1 8.938-32.561l47.586-27.973-47.585-27.993c-10.901-6.88-15.086-21.696-8.937-33.139a23.73 23.73 0 0 1 32.73-8.57l47.042 27.391V787.35zM327.174 255.5v-49.694a188.81 188.81 0 0 1 54.3-133.132v-.269c33.579-34.008 79.773-55.124 130.717-55.124 50.632 0 96.848 21.114 130.43 55.125l1.939 2.558a190.37 190.37 0 0 1 52.049 130.842V255.5a87.916 87.916 0 0 1 36.123 22.567l2.816 3.138a93.043 93.043 0 0 1 24.076 62.849V509.72a92.058 92.058 0 0 1-26.892 65.116 86.93 86.93 0 0 1-63.808 27.417H355.15a88.564 88.564 0 0 1-64.092-27.417v-.264l-.568-.89a91.169 91.169 0 0 1-25.73-63.957V344.055c0-25.993 9.794-49.14 26.298-65.697a89.58 89.58 0 0 1 36.116-22.857zm290.519-4.56v-45.134c0-29.127-10.902-55.415-29.398-74.265l-1.654-2.29a103.902 103.902 0 0 0-74.45-31.407 105.044 105.044 0 0 0-75.02 31.404h-.284a110.689 110.689 0 0 0-30.51 76.558v45.133h211.316zm51.227 80.538H355.15a11.486 11.486 0 0 0-8.111 3.138 13.825 13.825 0 0 0-3.927 9.438V509.72a13.505 13.505 0 0 0 3.927 8.567 13.31 13.31 0 0 0 8.11 3.427H668.92a11.285 11.285 0 0 0 8.112-4.007 10.644 10.644 0 0 0 3.642-7.987V344.055a13.467 13.467 0 0 0-2.506-8.568l-1.136-.58a10.636 10.636 0 0 0-8.112-3.428zm328.03 581.55a24.444 24.444 0 0 1 8.68 32.561c-6.716 11.702-21.003 16.002-32.473 9.148l-47.3-27.971v55.965a23.912 23.912 0 0 1-23.509 23.99 24.149 24.149 0 0 1-23.791-23.991v-55.965l-47.585 27.97a23.554 23.554 0 0 1-32.189-9.147 24.31 24.31 0 0 1 8.938-32.562l47.611-27.98-47.61-27.999c-11.16-6.88-15.37-21.696-8.939-33.139 6.717-11.447 20.977-15.422 32.19-8.568l47.584 27.392v-55.384a23.658 23.658 0 1 1 47.3 0v55.965l47.3-27.97c11.47-6.854 25.757-2.873 32.472 9.122 6.433 10.888 2.248 26.284-8.68 32.585l-47.584 27.995 47.585 27.983zm-260.01 0a23.608 23.608 0 0 1 8.394 32.561 23.332 23.332 0 0 1-32.471 9.148l-47.326-27.971v55.965c0 13.129-10.049 23.99-23.483 23.99a24.15 24.15 0 0 1-23.796-23.991v-55.965l-47.585 27.97a22.94 22.94 0 0 1-31.646-9.147 23.658 23.658 0 0 1 8.395-32.562l47.59-27.98-47.585-27.999a24.338 24.338 0 0 1-8.395-33.139 22.99 22.99 0 0 1 32.188-8.568l47.038 27.397v-55.39a23.774 23.774 0 0 1 23.792-23.99c13.433 0 23.483 10.283 23.483 23.99v55.966l47.61-27.97a22.841 22.841 0 0 1 32.189 9.122c6.148 10.888 3.074 26.284-8.68 32.585l-47.039 27.995 47.326 27.983zm-260.296 0a23.664 23.664 0 0 1 8.65 32.561c-6.718 11.702-20.978 16.002-32.448 9.148l-47.016-27.971v55.965a24.207 24.207 0 0 1-24.076 23.99 23.89 23.89 0 0 1-23.503-23.991v-55.965l-47.586 27.962a23.329 23.329 0 0 1-31.925-9.148 24.059 24.059 0 0 1 8.14-32.561l47.836-27.973-47.842-27.998a24.475 24.475 0 0 1-8.14-33.139c6.74-11.447 21.312-15.422 32.472-8.568l47.042 27.392v-55.384a23.522 23.522 0 0 1 23.508-23.99 23.836 23.836 0 0 1 24.077 23.99v55.965l47.561-27.97c10.927-6.854 25.185-2.873 31.904 9.122 6.174 10.888 2.816 26.284-8.649 32.585l-47.616 27.995 47.611 27.983z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-stepper-field"><defs><style>@font-face{font-family:feedback-iconfont;src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}</style></defs><path d="M373.333 170.667A117.333 117.333 0 0 1 490.667 288v448a117.333 117.333 0 0 1-117.334 117.333H202.667A117.333 117.333 0 0 1 85.333 736V288a117.333 117.333 0 0 1 117.334-117.333h170.666zm0 64H202.667c-29.44 0-53.334 23.893-53.334 53.333v448c0 29.44 23.894 53.333 53.334 53.333h170.666c29.44 0 53.334-23.893 53.334-53.333V288c0-29.44-23.894-53.333-53.334-53.333zm448-64A117.333 117.333 0 0 1 938.667 288v448a117.333 117.333 0 0 1-117.334 117.333H650.667A117.333 117.333 0 0 1 533.333 736V288a117.333 117.333 0 0 1 117.334-117.333h170.666zm0 64H650.667c-29.44 0-53.334 23.893-53.334 53.333v448c0 29.44 23.894 53.333 53.334 53.333h170.666c29.44 0 53.334-23.893 53.334-53.333V288c0-29.44-23.894-53.333-53.334-53.333zM256 384v256a32 32 0 0 0 64 0V384a32 32 0 0 0-64 0zm490.667 32v64h-53.334a32 32 0 0 0-32 32v128c0 17.664 14.336 32 32 32h85.334a32 32 0 0 0 0-64h-53.334v-64h53.334a32 32 0 0 0 32-32V384a32 32 0 0 0-32-32h-85.334a32 32 0 0 0 0 64h53.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol>',o.insertBefore(n,o.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}var Zm="";function Jt(){}const de=Object.assign,yt=typeof window!="undefined",Ct=e=>e!==null&&typeof e=="object",Ie=e=>e!=null,_t=e=>typeof e=="function",hc=e=>Ct(e)&&_t(e.then)&&_t(e.catch),Gn=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),bc=()=>yt?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function Zn(e,o){const n=o.split(".");let i=e;return n.forEach(l=>{var r;i=Ct(i)&&(r=i[l])!=null?r:""}),i}function Xn(e,o,n){return o.reduce((i,l)=>((!n||e[l]!==void 0)&&(i[l]=e[l]),i),{})}const Ft=null,pe=[Number,String],Se={type:Boolean,default:!0},le=e=>({type:String,default:e});var Kt=typeof window!="undefined",wc=e=>e===window,Qn=(e,o)=>({top:0,left:0,right:e,bottom:o,width:e,height:o}),yc=e=>{const o=t.unref(e);if(wc(o)){const n=o.innerWidth,i=o.innerHeight;return Qn(n,i)}return o!=null&&o.getBoundingClientRect?o.getBoundingClientRect():Qn(0,0)};function Cc(e){const o=t.inject(e,null);if(o){const n=t.getCurrentInstance(),{link:i,unlink:l,internalChildren:r}=o;i(n),t.onUnmounted(()=>l(n));const a=t.computed(()=>r.indexOf(n));return{parent:o,index:a}}return{parent:null,index:t.ref(-1)}}function _c(e){const o=[],n=i=>{Array.isArray(i)&&i.forEach(l=>{var r;t.isVNode(l)&&(o.push(l),(r=l.component)!=null&&r.subTree&&(o.push(l.component.subTree),n(l.component.subTree.children)),l.children&&n(l.children))})};return n(e),o}var eo=(e,o)=>{const n=e.indexOf(o);return n===-1?e.findIndex(i=>o.key!==void 0&&o.key!==null&&i.type===o.type&&i.key===o.key):n};function Fc(e,o,n){const i=_c(e.subTree.children);n.sort((r,a)=>eo(i,r.vnode)-eo(i,a.vnode));const l=n.map(r=>r.proxy);o.sort((r,a)=>{const s=l.indexOf(r),c=l.indexOf(a);return s-c})}function Sc(e){const o=t.reactive([]),n=t.reactive([]),i=t.getCurrentInstance();return{children:o,linkChildren:r=>{const a=c=>{c.proxy&&(n.push(c),o.push(c.proxy),Fc(i,o,n))},s=c=>{const f=n.indexOf(c);o.splice(f,1),n.splice(f,1)};t.provide(e,Object.assign({link:a,unlink:s,children:o,internalChildren:n},r))}}}function to(e){let o;t.onMounted(()=>{e(),t.nextTick(()=>{o=!0})}),t.onActivated(()=>{o&&e()})}function no(e,o,n={}){if(!Kt)return;const{target:i=window,passive:l=!1,capture:r=!1}=n;let a=!1,s;const c=m=>{if(a)return;const u=t.unref(m);u&&!s&&(u.addEventListener(e,o,{capture:r,passive:l}),s=!0)},f=m=>{if(a)return;const u=t.unref(m);u&&s&&(u.removeEventListener(e,o,r),s=!1)};t.onUnmounted(()=>f(i)),t.onDeactivated(()=>f(i)),to(()=>c(i));let d;return t.isRef(i)&&(d=t.watch(i,(m,u)=>{f(u),c(m)})),()=>{d==null||d(),f(i),a=!0}}var St,Gt;function xc(){if(!St&&(St=t.ref(0),Gt=t.ref(0),Kt)){const e=()=>{St.value=window.innerWidth,Gt.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:St,height:Gt}}var Mc=/scroll|auto|overlay/i,Vc=Kt?window:void 0;function Dc(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Lc(e,o=Vc){let n=e;for(;n&&n!==o&&Dc(n);){const{overflowY:i}=window.getComputedStyle(n);if(Mc.test(i))return n;n=n.parentNode}return o}bc();const vc=e=>e.stopPropagation();function Zt(e,o){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),o&&vc(e)}const{width:kc,height:Bc}=xc();function ge(e){if(Ie(e))return Gn(e)?`${e}px`:String(e)}function Rc(e){if(Ie(e)){if(Array.isArray(e))return{width:ge(e[0]),height:ge(e[1])};const o=ge(e);return{width:o,height:o}}}function Ec(e){const o={};return e!==void 0&&(o.zIndex=+e),o}const Oc=/-(\w)/g,oo=e=>e.replace(Oc,(o,n)=>n.toUpperCase()),Nc=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),{hasOwnProperty:zc}=Object.prototype;function Ic(e,o,n){const i=o[n];!Ie(i)||(!zc.call(e,n)||!Ct(i)?e[n]=i:e[n]=io(Object(e[n]),i))}function io(e,o){return Object.keys(o).forEach(n=>{Ic(e,o,n)}),e}var Tc={name:"\u59D3\u540D",tel:"\u7535\u8BDD",save:"\u4FDD\u5B58",clear:"\u6E05\u7A7A",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",delete:"\u5220\u9664",loading:"\u52A0\u8F7D\u4E2D...",noCoupon:"\u6682\u65E0\u4F18\u60E0\u5238",nameEmpty:"\u8BF7\u586B\u5199\u59D3\u540D",addContact:"\u6DFB\u52A0\u8054\u7CFB\u4EBA",telInvalid:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",vanCalendar:{end:"\u7ED3\u675F",start:"\u5F00\u59CB",title:"\u65E5\u671F\u9009\u62E9",weekdays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],monthTitle:(e,o)=>`${e}\u5E74${o}\u6708`,rangePrompt:e=>`\u6700\u591A\u9009\u62E9 ${e} \u5929`},vanCascader:{select:"\u8BF7\u9009\u62E9"},vanPagination:{prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875"},vanPullRefresh:{pulling:"\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",loosing:"\u91CA\u653E\u5373\u53EF\u5237\u65B0..."},vanSubmitBar:{label:"\u5408\u8BA1:"},vanCoupon:{unlimited:"\u65E0\u95E8\u69DB",discount:e=>`${e}\u6298`,condition:e=>`\u6EE1${e}\u5143\u53EF\u7528`},vanCouponCell:{title:"\u4F18\u60E0\u5238",count:e=>`${e}\u5F20\u53EF\u7528`},vanCouponList:{exchange:"\u5151\u6362",close:"\u4E0D\u4F7F\u7528",enable:"\u53EF\u7528",disabled:"\u4E0D\u53EF\u7528",placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"},vanAddressEdit:{area:"\u5730\u533A",areaEmpty:"\u8BF7\u9009\u62E9\u5730\u533A",addressEmpty:"\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",addressDetail:"\u8BE6\u7EC6\u5730\u5740",defaultAddress:"\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"},vanAddressList:{add:"\u65B0\u589E\u5730\u5740"}};const lo=t.ref("zh-CN"),ao=t.reactive({"zh-CN":Tc});var Pc={messages(){return ao[lo.value]},use(e,o){lo.value=e,this.add({[e]:o})},add(e={}){io(ao,e)}};function Hc(e){const o=oo(e)+".";return(n,...i)=>{const l=Pc.messages(),r=Zn(l,o+n)||Zn(l,n);return _t(r)?r(...i):r}}function Xt(e,o){return o?typeof o=="string"?` ${e}--${o}`:Array.isArray(o)?o.reduce((n,i)=>n+Xt(e,i),""):Object.keys(o).reduce((n,i)=>n+(o[i]?Xt(e,i):""),""):""}function Ac(e){return(o,n)=>(o&&typeof o!="string"&&(n=o,o=""),o=o?`${e}__${o}`:e,`${o}${Xt(o,n)}`)}function be(e){const o=`van-${e}`;return[o,Ac(o),Hc(o)]}const Qt="van-hairline",jc=`${Qt}--top`,Wc=`${Qt}--left`,Uc=`${Qt}--surround`,qc="van-haptics-feedback",ro=5;function so(e,{args:o=[],done:n,canceled:i,error:l}){if(e){const r=e.apply(null,o);hc(r)?r.then(a=>{a?n():i&&i()}).catch(l||Jt):r?n():i&&i()}else n()}function xe(e){return e.install=o=>{const{name:n}=e;n&&(o.component(n,e),o.component(oo(`-${n}`),e))},e}const co=Symbol();function Yc(e){const o=t.inject(co,null);o&&t.watch(o,n=>{n&&e()})}const $c=(e,o)=>{const n=t.ref(),i=()=>{n.value=yc(e).height};return t.onMounted(()=>{if(t.nextTick(i),o)for(let l=1;l<=3;l++)setTimeout(i,100*l)}),Yc(()=>t.nextTick(i)),t.watch([kc,Bc],i),n};function Jc(e,o){const n=$c(e,!0);return i=>t.createVNode("div",{class:o("placeholder"),style:{height:n.value?`${n.value}px`:void 0}},[i()])}const[fo,mo]=be("action-bar"),uo=Symbol(fo),Kc={placeholder:Boolean,safeAreaInsetBottom:Se};var Gc=t.defineComponent({name:fo,props:Kc,setup(e,{slots:o}){const n=t.ref(),i=Jc(n,mo),{linkChildren:l}=Sc(uo);l();const r=()=>{var a;return t.createVNode("div",{ref:n,class:[mo(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[(a=o.default)==null?void 0:a.call(o)])};return()=>e.placeholder?i(r):r()}});const Zc=xe(Gc);function en(e){const o=t.getCurrentInstance();o&&de(o.proxy,e)}const po={to:[String,Object],url:String,replace:Boolean};function Xc({to:e,url:o,replace:n,$router:i}){e&&i?i[n?"replace":"push"](e):o&&(n?location.replace(o):location.href=o)}function go(){const e=t.getCurrentInstance().proxy;return()=>Xc(e)}const[Qc,ho]=be("badge"),ef={dot:Boolean,max:pe,tag:le("div"),color:String,offset:Array,content:pe,showZero:Se,position:le("top-right")};var tf=t.defineComponent({name:Qc,props:ef,setup(e,{slots:o}){const n=()=>{if(o.content)return!0;const{content:s,showZero:c}=e;return Ie(s)&&s!==""&&(c||s!==0&&s!=="0")},i=()=>{const{dot:s,max:c,content:f}=e;if(!s&&n())return o.content?o.content():Ie(c)&&Gn(f)&&+f>+c?`${c}+`:f},l=s=>s.startsWith("-")?s.replace("-",""):`-${s}`,r=t.computed(()=>{const s={background:e.color};if(e.offset){const[c,f]=e.offset,{position:d}=e,[m,u]=d.split("-");o.default?(typeof f=="number"?s[m]=ge(m==="top"?f:-f):s[m]=m==="top"?ge(f):l(f),typeof c=="number"?s[u]=ge(u==="left"?c:-c):s[u]=u==="left"?ge(c):l(c)):(s.marginTop=ge(f),s.marginLeft=ge(c))}return s}),a=()=>{if(n()||e.dot)return t.createVNode("div",{class:ho([e.position,{dot:e.dot,fixed:!!o.default}]),style:r.value},[i()])};return()=>{if(o.default){const{tag:s}=e;return t.createVNode(s,{class:ho("wrapper")},{default:()=>[o.default(),a()]})}return a()}}});const nf=xe(tf);let bo=2e3;const of=()=>++bo,lf=e=>{bo=e},[wo,af]=be("config-provider"),yo=Symbol(wo),rf={tag:le("div"),theme:le("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,themeVarsScope:le("local"),iconPrefix:String};function df(e){return e.replace(/([a-zA-Z])(\d)/g,"$1-$2")}function sf(e){const o={};return Object.keys(e).forEach(n=>{const i=df(Nc(n));o[`--van-${i}`]=e[n]}),o}function xt(e={},o={}){Object.keys(e).forEach(n=>{e[n]!==o[n]&&document.documentElement.style.setProperty(n,e[n])}),Object.keys(o).forEach(n=>{e[n]||document.documentElement.style.removeProperty(n)})}t.defineComponent({name:wo,props:rf,setup(e,{slots:o}){const n=t.computed(()=>sf(de({},e.themeVars,e.theme==="dark"?e.themeVarsDark:e.themeVarsLight)));if(yt){const i=()=>{document.documentElement.classList.add(`van-theme-${e.theme}`)},l=(r=e.theme)=>{document.documentElement.classList.remove(`van-theme-${r}`)};t.watch(()=>e.theme,(r,a)=>{a&&l(a),i()},{immediate:!0}),t.onActivated(i),t.onDeactivated(l),t.onBeforeUnmount(l),t.watch(n,(r,a)=>{e.themeVarsScope==="global"&&xt(r,a)}),t.watch(()=>e.themeVarsScope,(r,a)=>{a==="global"&&xt({},n.value),r==="global"&&xt(n.value,{})}),e.themeVarsScope==="global"&&xt(n.value,{})}return t.provide(yo,e),t.watchEffect(()=>{e.zIndex!==void 0&&lf(e.zIndex)}),()=>t.createVNode(e.tag,{class:af(),style:e.themeVarsScope==="local"?n.value:void 0},{default:()=>{var i;return[(i=o.default)==null?void 0:i.call(o)]}})}});const[cf,Co]=be("icon"),ff=e=>e==null?void 0:e.includes("/"),mf={dot:Boolean,tag:le("i"),name:String,size:pe,badge:pe,color:String,badgeProps:Object,classPrefix:String};var uf=t.defineComponent({name:cf,props:mf,setup(e,{slots:o}){const n=t.inject(yo,null),i=t.computed(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Co());return()=>{const{tag:l,dot:r,name:a,size:s,badge:c,color:f}=e,d=ff(a);return t.createVNode(nf,t.mergeProps({dot:r,tag:l,class:[i.value,d?"":`${i.value}-${a}`],style:{color:f,fontSize:ge(s)},content:c},e.badgeProps),{default:()=>{var m;return[(m=o.default)==null?void 0:m.call(o),d&&t.createVNode("img",{class:Co("image"),src:a},null)]}})}}});const _o=xe(uf),[pf,tt]=be("loading"),gf=Array(12).fill(null).map((e,o)=>t.createVNode("i",{class:tt("line",String(o+1))},null)),hf=t.createVNode("svg",{class:tt("circular"),viewBox:"25 25 50 50"},[t.createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),bf={size:pe,type:le("circular"),color:String,vertical:Boolean,textSize:pe,textColor:String};var wf=t.defineComponent({name:pf,props:bf,setup(e,{slots:o}){const n=t.computed(()=>de({color:e.color},Rc(e.size))),i=()=>{const r=e.type==="spinner"?gf:hf;return t.createVNode("span",{class:tt("spinner",e.type),style:n.value},[o.icon?o.icon():r])},l=()=>{var r;if(o.default)return t.createVNode("span",{class:tt("text"),style:{fontSize:ge(e.textSize),color:(r=e.textColor)!=null?r:e.color}},[o.default()])};return()=>{const{type:r,vertical:a}=e;return t.createVNode("div",{class:tt([r,{vertical:a}]),"aria-live":"polite","aria-busy":!0},[i(),l()])}}});const yf=xe(wf),[Cf,Ye]=be("button"),_f=de({},po,{tag:le("button"),text:String,icon:String,type:le("default"),size:le("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:le("button"),loadingSize:pe,loadingText:String,loadingType:String,iconPosition:le("left")});var Ff=t.defineComponent({name:Cf,props:_f,emits:["click"],setup(e,{emit:o,slots:n}){const i=go(),l=()=>n.loading?n.loading():t.createVNode(yf,{size:e.loadingSize,type:e.loadingType,class:Ye("loading")},null),r=()=>{if(e.loading)return l();if(n.icon)return t.createVNode("div",{class:Ye("icon")},[n.icon()]);if(e.icon)return t.createVNode(_o,{name:e.icon,class:Ye("icon"),classPrefix:e.iconPrefix},null)},a=()=>{let f;if(e.loading?f=e.loadingText:f=n.default?n.default():e.text,f)return t.createVNode("span",{class:Ye("text")},[f])},s=()=>{const{color:f,plain:d}=e;if(f){const m={color:d?f:"white"};return d||(m.background=f),f.includes("gradient")?m.border=0:m.borderColor=f,m}},c=f=>{e.loading?Zt(f):e.disabled||(o("click",f),i())};return()=>{const{tag:f,type:d,size:m,block:u,round:y,plain:g,square:h,loading:w,disabled:_,hairline:k,nativeType:L,iconPosition:B}=e,R=[Ye([d,m,{plain:g,block:u,round:y,square:h,loading:w,disabled:_,hairline:k}]),{[Uc]:k}];return t.createVNode(f,{type:L,class:R,style:s(),disabled:_,onClick:c},{default:()=>[t.createVNode("div",{class:Ye("content")},[B==="left"&&r(),a(),B==="right"&&r()])]})}}});const tn=xe(Ff),[Sf,xf]=be("action-bar-button"),Mf=de({},po,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean});var Vf=t.defineComponent({name:Sf,props:Mf,setup(e,{slots:o}){const n=go(),{parent:i,index:l}=Cc(uo),r=t.computed(()=>{if(i){const s=i.children[l.value-1];return!(s&&"isButton"in s)}}),a=t.computed(()=>{if(i){const s=i.children[l.value+1];return!(s&&"isButton"in s)}});return en({isButton:!0}),()=>{const{type:s,icon:c,text:f,color:d,loading:m,disabled:u}=e;return t.createVNode(tn,{class:xf([s,{last:a.value,first:r.value}]),size:"large",type:s,icon:c,color:d,loading:m,disabled:u,onClick:n},{default:()=>[o.default?o.default():f]})}}});const Fo=xe(Vf),Mt={show:Boolean,zIndex:pe,overlay:Se,duration:pe,teleport:[String,Object],lockScroll:Se,lazyRender:Se,beforeClose:Function,overlayStyle:Object,overlayClass:Ft,transitionAppear:Boolean,closeOnClickOverlay:Se},Df=Object.keys(Mt);function Lf(e,o){return e>o?"horizontal":o>e?"vertical":""}function vf(){const e=t.ref(0),o=t.ref(0),n=t.ref(0),i=t.ref(0),l=t.ref(0),r=t.ref(0),a=t.ref(""),s=t.ref(!0),c=()=>a.value==="vertical",f=()=>a.value==="horizontal",d=()=>{n.value=0,i.value=0,l.value=0,r.value=0,a.value="",s.value=!0};return{move:y=>{const g=y.touches[0];n.value=(g.clientX<0?0:g.clientX)-e.value,i.value=g.clientY-o.value,l.value=Math.abs(n.value),r.value=Math.abs(i.value);const h=10;(!a.value||l.value<h&&r.value<h)&&(a.value=Lf(l.value,r.value)),s.value&&(l.value>ro||r.value>ro)&&(s.value=!1)},start:y=>{d(),e.value=y.touches[0].clientX,o.value=y.touches[0].clientY},reset:d,startX:e,startY:o,deltaX:n,deltaY:i,offsetX:l,offsetY:r,direction:a,isVertical:c,isHorizontal:f,isTap:s}}let nt=0;const So="van-overflow-hidden";function kf(e,o){const n=vf(),i="01",l="10",r=d=>{n.move(d);const m=n.deltaY.value>0?l:i,u=Lc(d.target,e.value),{scrollHeight:y,offsetHeight:g,scrollTop:h}=u;let w="11";h===0?w=g>=y?"00":"01":h+g>=y&&(w="10"),w!=="11"&&n.isVertical()&&!(parseInt(w,2)&parseInt(m,2))&&Zt(d,!0)},a=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",r,{passive:!1}),nt||document.body.classList.add(So),nt++},s=()=>{nt&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",r),nt--,nt||document.body.classList.remove(So))},c=()=>o()&&a(),f=()=>o()&&s();to(c),t.onDeactivated(f),t.onBeforeUnmount(f),t.watch(o,d=>{d?a():s()})}function xo(e){const o=t.ref(!1);return t.watch(e,n=>{n&&(o.value=n)},{immediate:!0}),n=>()=>o.value?n():null}const Mo=()=>{var e;const{scopeId:o}=((e=t.getCurrentInstance())==null?void 0:e.vnode)||{};return o?{[o]:""}:null},[Bf,Rf]=be("overlay"),Ef={show:Boolean,zIndex:pe,duration:pe,className:Ft,lockScroll:Se,lazyRender:Se,customStyle:Object};var Of=t.defineComponent({name:Bf,props:Ef,setup(e,{slots:o}){const n=t.ref(),i=xo(()=>e.show||!e.lazyRender),l=a=>{e.lockScroll&&Zt(a,!0)},r=i(()=>{var a;const s=de(Ec(e.zIndex),e.customStyle);return Ie(e.duration)&&(s.animationDuration=`${e.duration}s`),t.withDirectives(t.createVNode("div",{ref:n,style:s,class:[Rf(),e.className]},[(a=o.default)==null?void 0:a.call(o)]),[[t.vShow,e.show]])});return no("touchmove",l,{target:n}),()=>t.createVNode(t.Transition,{name:"van-fade",appear:!0},{default:r})}});const Nf=xe(Of),zf=de({},Mt,{round:Boolean,position:le("center"),closeIcon:le("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:le("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[If,Vo]=be("popup");var Tf=t.defineComponent({name:If,inheritAttrs:!1,props:zf,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:o,attrs:n,slots:i}){let l,r;const a=t.ref(),s=t.ref(),c=xo(()=>e.show||!e.lazyRender),f=t.computed(()=>{const F={zIndex:a.value};if(Ie(e.duration)){const I=e.position==="center"?"animationDuration":"transitionDuration";F[I]=`${e.duration}s`}return F}),d=()=>{l||(l=!0,a.value=e.zIndex!==void 0?+e.zIndex:of(),o("open"))},m=()=>{l&&so(e.beforeClose,{done(){l=!1,o("close"),o("update:show",!1)}})},u=F=>{o("clickOverlay",F),e.closeOnClickOverlay&&m()},y=()=>{if(e.overlay)return t.createVNode(Nf,t.mergeProps({show:e.show,class:e.overlayClass,zIndex:a.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},Mo(),{onClick:u}),{default:i["overlay-content"]})},g=F=>{o("clickCloseIcon",F),m()},h=()=>{if(e.closeable)return t.createVNode(_o,{role:"button",tabindex:0,name:e.closeIcon,class:[Vo("close-icon",e.closeIconPosition),qc],classPrefix:e.iconPrefix,onClick:g},null)};let w;const _=()=>{w&&clearTimeout(w),w=setTimeout(()=>{o("opened")})},k=()=>o("closed"),L=F=>o("keydown",F),B=c(()=>{var F;const{round:I,position:C,safeAreaInsetTop:U,safeAreaInsetBottom:A}=e;return t.withDirectives(t.createVNode("div",t.mergeProps({ref:s,style:f.value,role:"dialog",tabindex:0,class:[Vo({round:I,[C]:C}),{"van-safe-area-top":U,"van-safe-area-bottom":A}],onKeydown:L},n,Mo()),[(F=i.default)==null?void 0:F.call(i),h()]),[[t.vShow,e.show]])}),R=()=>{const{position:F,transition:I,transitionAppear:C}=e,U=F==="center"?"van-fade":`van-popup-slide-${F}`;return t.createVNode(t.Transition,{name:I||U,appear:C,onAfterEnter:_,onAfterLeave:k},{default:B})};return t.watch(()=>e.show,F=>{F&&!l&&(d(),n.tabindex===0&&t.nextTick(()=>{var I;(I=s.value)==null||I.focus()})),!F&&l&&(l=!1,o("close"))}),en({popupRef:s}),kf(s,()=>e.show&&e.lockScroll),no("popstate",()=>{e.closeOnPopstate&&(m(),r=!1)}),t.onMounted(()=>{e.show&&d()}),t.onActivated(()=>{r&&(o("update:show",!0),r=!1)}),t.onDeactivated(()=>{e.show&&e.teleport&&(m(),r=!0)}),t.provide(co,()=>e.show),()=>e.teleport?t.createVNode(t.Teleport,{to:e.teleport},{default:()=>[y(),R()]}):t.createVNode(t.Fragment,null,[y(),R()])}});const Do=xe(Tf);function Lo(){const e=t.reactive({show:!1}),o=l=>{e.show=l},n=l=>{de(e,l,{transitionAppear:!0}),o(!0)},i=()=>o(!1);return en({open:n,close:i,toggle:o}),{open:n,close:i,state:e,toggle:o}}function vo(e){const o=t.createApp(e),n=document.createElement("div");return document.body.appendChild(n),{instance:o.mount(n),unmount(){o.unmount(),document.body.removeChild(n)}}}const[Pf,we,Vt]=be("dialog"),Hf=de({},Mt,{title:String,theme:String,width:pe,message:[String,Function],callback:Function,allowHtml:Boolean,className:Ft,transition:le("van-dialog-bounce"),messageAlign:String,closeOnPopstate:Se,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:Se,closeOnClickOverlay:Boolean}),Af=[...Df,"transition","closeOnPopstate"];var ko=t.defineComponent({name:Pf,props:Hf,emits:["confirm","cancel","keydown","update:show"],setup(e,{emit:o,slots:n}){const i=t.ref(),l=t.reactive({confirm:!1,cancel:!1}),r=_=>o("update:show",_),a=_=>{var k;r(!1),(k=e.callback)==null||k.call(e,_)},s=_=>()=>{!e.show||(o(_),e.beforeClose?(l[_]=!0,so(e.beforeClose,{args:[_],done(){a(_),l[_]=!1},canceled(){l[_]=!1}})):a(_))},c=s("cancel"),f=s("confirm"),d=t.withKeys(_=>{var k,L;if(_.target!==((L=(k=i.value)==null?void 0:k.popupRef)==null?void 0:L.value))return;({Enter:e.showConfirmButton?f:Jt,Escape:e.showCancelButton?c:Jt})[_.key](),o("keydown",_)},["enter","esc"]),m=()=>{const _=n.title?n.title():e.title;if(_)return t.createVNode("div",{class:we("header",{isolated:!e.message&&!n.default})},[_])},u=_=>{const{message:k,allowHtml:L,messageAlign:B}=e,R=we("message",{"has-title":_,[B]:B}),F=_t(k)?k():k;return L&&typeof F=="string"?t.createVNode("div",{class:R,innerHTML:F},null):t.createVNode("div",{class:R},[F])},y=()=>{if(n.default)return t.createVNode("div",{class:we("content")},[n.default()]);const{title:_,message:k,allowHtml:L}=e;if(k){const B=!!(_||n.title);return t.createVNode("div",{key:L?1:0,class:we("content",{isolated:!B})},[u(B)])}},g=()=>t.createVNode("div",{class:[jc,we("footer")]},[e.showCancelButton&&t.createVNode(tn,{size:"large",text:e.cancelButtonText||Vt("cancel"),class:we("cancel"),style:{color:e.cancelButtonColor},loading:l.cancel,disabled:e.cancelButtonDisabled,onClick:c},null),e.showConfirmButton&&t.createVNode(tn,{size:"large",text:e.confirmButtonText||Vt("confirm"),class:[we("confirm"),{[Wc]:e.showCancelButton}],style:{color:e.confirmButtonColor},loading:l.confirm,disabled:e.confirmButtonDisabled,onClick:f},null)]),h=()=>t.createVNode(Zc,{class:we("footer")},{default:()=>[e.showCancelButton&&t.createVNode(Fo,{type:"warning",text:e.cancelButtonText||Vt("cancel"),class:we("cancel"),color:e.cancelButtonColor,loading:l.cancel,disabled:e.cancelButtonDisabled,onClick:c},null),e.showConfirmButton&&t.createVNode(Fo,{type:"danger",text:e.confirmButtonText||Vt("confirm"),class:we("confirm"),color:e.confirmButtonColor,loading:l.confirm,disabled:e.confirmButtonDisabled,onClick:f},null)]}),w=()=>n.footer?n.footer():e.theme==="round-button"?h():g();return()=>{const{width:_,title:k,theme:L,message:B,className:R}=e;return t.createVNode(Do,t.mergeProps({ref:i,role:"dialog",class:[we([L]),R],style:{width:ge(_)},tabindex:0,"aria-labelledby":k||B,onKeydown:d,"onUpdate:show":r},Xn(e,Af)),{default:()=>[m(),y(),w()]})}}});let nn,jf=de({},{title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1});function Wf(){({instance:nn}=vo({setup(){const{state:o,toggle:n}=Lo();return()=>t.createVNode(ko,t.mergeProps(o,{"onUpdate:show":n}),null)}}))}function Uf(e){return yt?new Promise((o,n)=>{nn||Wf(),nn.open(de({},jf,e,{callback:i=>{(i==="confirm"?o:n)(i)}}))}):Promise.resolve(void 0)}const qf=e=>Uf(de({showCancelButton:!0},e));xe(ko);const[Yf,$f]=be("notify"),Jf=["lockScroll","position","show","teleport","zIndex"],Kf=de({},Mt,{type:le("danger"),color:String,message:pe,position:le("top"),className:Ft,background:String,lockScroll:Boolean});var Bo=t.defineComponent({name:Yf,props:Kf,emits:["update:show"],setup(e,{emit:o,slots:n}){const i=l=>o("update:show",l);return()=>t.createVNode(Do,t.mergeProps({class:[$f([e.type]),e.className],style:{color:e.color,background:e.background},overlay:!1,duration:.2,"onUpdate:show":i},Xn(e,Jf)),{default:()=>[n.default?n.default():e.message]})}});let Ro,$e;const Gf=e=>Ct(e)?e:{message:e};function Zf(){({instance:$e}=vo({setup(){const{state:e,toggle:o}=Lo();return()=>t.createVNode(Bo,t.mergeProps(e,{"onUpdate:show":o}),null)}}))}let Eo=(()=>({type:"danger",color:void 0,message:"",onClose:void 0,onClick:void 0,onOpened:void 0,duration:3e3,position:void 0,className:"",lockScroll:!1,background:void 0}))();const Xf=()=>{$e&&$e.toggle(!1)};function Qf(e){if(!!yt)return $e||Zf(),e=de({},Eo,Gf(e)),$e.open(e),clearTimeout(Ro),e.duration>0&&(Ro=setTimeout(Xf,e.duration)),$e}const e2=e=>de(Eo,e);xe(Bo);const Oo=function(e){e2({"z-index":6e3});const o=function(n){n.type=n.type.replace("info","primary").replace("error","warning"),Qf(n)};["success","warning","primary","info","error"].forEach(n=>{o[n]=i=>(typeof i=="string"&&(i={message:i}),i.type=n.replace("info","primary").replace("error","warning"),o(i))}),e.config.globalProperties.$message=o,e.config.globalProperties.$showConfirmDialog=qf};function Je(e,o,n,i){e.component(n,i)}function t2(e,o,n,i){e.component(n,i)}function No(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!t.isVNode(e)}const n2=function(e,o){return{props:{optionModel:Object},render(n){return t.createVNode(t.resolveComponent("el-form-item"),{label:pt(o)},{default:()=>[t.createVNode(t.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[e],"onUpdate:modelValue":i=>this.optionModel[e]=i},null)]})}}},on=function(e,o){return{props:{optionModel:Object},render(n){return t.createVNode(t.resolveComponent("el-form-item"),{label:pt(o)},{default:()=>[t.createVNode(t.resolveComponent("el-switch"),{modelValue:this.optionModel[e],"onUpdate:modelValue":i=>this.optionModel[e]=i},null)]})}}},o2=function(e,o,n){return{props:{optionModel:Object},render(i){let l;return t.createVNode(t.resolveComponent("el-form-item"),{label:pt(o)},{default:()=>[t.createVNode(t.resolveComponent("el-select"),{modelValue:this.optionModel[e],"onUpdate:modelValue":r=>this.optionModel[e]=r},No(l=n.optionItems.map(r=>t.createVNode(t.resolveComponent("el-option"),{label:r.label,value:r.value},null)))?l:{default:()=>[l]})]})}}},i2=function(e,o){return{props:{optionModel:Object},methods:{editEventHandler(){Fe({},this).dispatch("SettingPanel","editEventHandler",[e,[...o]])}},render(n){let i;return t.createVNode(t.resolveComponent("el-form-item"),{label:e,"label-width":"150px"},{default:()=>[t.createVNode(t.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},No(i=pt("designer.setting.addEventHandler"))?i:{default:()=>[i]})]})}}};function zo(){const{props:e}=t.getCurrentInstance(),o=t.inject("getFormConfig"),n=t.inject("getSubFormFieldFlag");return{formConfig:t.computed(()=>o()),...{appendTableCol(r){e.designer.appendTableCol(r)},appendTableRow(r){e.designer.appendTableRow(r)},checkContainerMove(r){return e.designer.checkWidgetMove(r)},cloneContainer(r){if(e.parentList){let a=e.designer.cloneContainer(r);e.parentList.splice(e.indexOfParentList+1,0,a),e.designer.setSelected(a),e.designer.emitHistoryChange()}},getSubFormFieldFlag:n,moveDownWidget(){e.designer.moveDownWidget(e.parentList,e.indexOfParentList),e.designer.emitHistoryChange()},moveUpWidget(){e.designer.moveUpWidget(e.parentList,e.indexOfParentList),e.designer.emitHistoryChange()},onContainerDragAdd(r,a){const s=r.newIndex;a[s]&&e.designer.setSelected(a[s]),e.designer.emitHistoryChange(),e.designer.emitEvent("field-selected",this.widget)},onContainerDragEnd(r,a){},onContainerDragUpdate(){e.designer.emitHistoryChange()},removeWidget(){if(e.parentList){let r=null;e.parentList.length===1?e.parentWidget&&(r=e.parentWidget):e.parentList.length===1+e.indexOfParentList?r=e.parentList[e.indexOfParentList-1]:r=e.parentList[e.indexOfParentList+1],t.nextTick(()=>{e.parentList.splice(e.indexOfParentList,1),e.designer.setSelected(r),e.designer.emitHistoryChange()})}},selectParentWidget(){e.parentWidget?e.designer.setSelected(e.parentWidget):e.designer.clearSelected()},selectWidget(r){e.designer.setSelected(r)},setWidgetOption(r,a){e.widget.options.hasOwnProperty(r)&&(e.widget.options[r]=a)}}}}var t1="";const l2={components:{SvgIcon:Re},name:"container-wrapper",props:{designer:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,widget:Object},setup(e){const{i18nt:o,i18n2t:n}=Z();t.reactive({});const i=zo(),l=t.computed(()=>e.widget.options.customClass?e.widget.options.customClass.join(" "):"");return{i18n2t:n,i18nt:o,...t.toRefs(e),...i,customClass:l}}},a2={key:0,class:"container-action"},r2=["title"],d2=["title"],s2=["title"],c2=["title"],f2=["title"],m2=["title"],u2=["title"],p2={key:1,class:"drag-handler"},g2=["title"],h2={key:0};function b2(e,o,n,i,l,r){const a=t.resolveComponent("svg-icon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["container-wrapper",[i.customClass,n.widget.type,n.widget.options.name]])},[t.renderSlot(e.$slots,"default",{},void 0,!0),!!n.designer&&n.designer.selectedId===n.widget.id&&!n.widget.internal?(t.openBlock(),t.createElementBlock("div",a2,[t.createElementVNode("i",{title:i.i18nt("designer.hint.selectParentWidget"),onClick:o[0]||(o[0]=t.withModifiers(s=>e.selectParentWidget(n.widget),["stop"]))},[t.createVNode(a,{"icon-class":"el-back"})],8,r2),!!n.parentList&&n.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:0,title:i.i18nt("designer.hint.moveUpWidget"),onClick:o[1]||(o[1]=t.withModifiers(s=>e.moveUpWidget(),["stop"]))},[t.createVNode(a,{"icon-class":"el-move-up"})],8,d2)):t.createCommentVNode("",!0),!!n.parentList&&n.parentList.length>1?(t.openBlock(),t.createElementBlock("i",{key:1,title:i.i18nt("designer.hint.moveDownWidget"),onClick:o[2]||(o[2]=t.withModifiers(s=>e.moveDownWidget(),["stop"]))},[t.createVNode(a,{"icon-class":"el-move-down"})],8,s2)):t.createCommentVNode("",!0),n.widget.type==="table"?(t.openBlock(),t.createElementBlock("i",{key:2,title:i.i18nt("designer.hint.insertRow"),onClick:o[3]||(o[3]=t.withModifiers(s=>e.appendTableRow(n.widget),["stop"]))},[t.createVNode(a,{"icon-class":"el-insert-row"})],8,c2)):t.createCommentVNode("",!0),n.widget.type==="table"?(t.openBlock(),t.createElementBlock("i",{key:3,title:i.i18nt("designer.hint.insertColumn"),onClick:o[4]||(o[4]=t.withModifiers(s=>e.appendTableCol(n.widget),["stop"]))},[t.createVNode(a,{"icon-class":"el-insert-column"})],8,f2)):t.createCommentVNode("",!0),n.widget.type==="grid"||n.widget.type==="table"?(t.openBlock(),t.createElementBlock("i",{key:4,title:i.i18nt("designer.hint.cloneWidget"),onClick:o[5]||(o[5]=t.withModifiers(s=>e.cloneContainer(n.widget),["stop"]))},[t.createVNode(a,{"icon-class":"el-clone"})],8,m2)):t.createCommentVNode("",!0),t.createElementVNode("i",{title:i.i18nt("designer.hint.remove"),onClick:o[6]||(o[6]=t.withModifiers((...s)=>e.removeWidget&&e.removeWidget(...s),["stop"]))},[t.createVNode(a,{"icon-class":"el-delete"})],8,u2)])):t.createCommentVNode("",!0),!!n.designer&&n.designer.selectedId===n.widget.id&&!n.widget.internal?(t.openBlock(),t.createElementBlock("div",p2,[t.createElementVNode("i",{title:i.i18nt("designer.hint.dragHandler")},[t.createVNode(a,{"icon-class":"el-drag-move"})],8,g2),t.createElementVNode("i",null,t.toDisplayString(i.i18n2t(`designer.widgetLabel.${n.widget.type}`,`extension.widgetLabel.${n.widget.type}`)),1),n.widget.options.hidden===!0?(t.openBlock(),t.createElementBlock("i",h2,[t.createVNode(a,{"icon-class":"el-hide"})])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)}var w2=G(l2,[["render",b2],["__scopeId","data-v-6cd4c46f"]]),n1="";const y2={componentName:"ContainerWidget",components:{...Ee,ContainerWrapper:w2},name:"collapse-widget",props:{designer:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,widget:Object},setup(e){const{i18nt:o}=Z(),n=Le(),i=zo();t.inject("refList");const l=t.computed(()=>!!e.designer&&e.widget.id===e.designer.selectedId),r=t.computed(()=>!Array.isArray(e.widget.options.expandName));t.computed(()=>e.widget.options.customClass||""),t.watch(()=>e.widget.options.accordion,s=>{s?e.widget.options.expandName="":e.widget.options.expandName=[]});const a=s=>!0;return n.initRefList(),{i18nt:o,...t.toRefs(e),...i,accordion:r,checkContainerMove:a,selected:l}}};function C2(e,o,n,i,l,r){const a=t.resolveComponent("draggable"),s=t.resolveComponent("van-collapse-item"),c=t.resolveComponent("van-collapse"),f=t.resolveComponent("container-wrapper");return t.openBlock(),t.createBlock(f,{designer:n.designer,widget:n.widget,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,onClick:o[2]||(o[2]=t.withModifiers(d=>e.selectWidget(n.widget),["stop"])),class:t.normalizeClass({selected:i.selected})},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("div",{key:n.widget.id,class:"collapse-container",onClick:o[1]||(o[1]=t.withModifiers(d=>e.selectWidget(n.widget),["stop"]))},[t.createVNode(c,{modelValue:n.widget.options.expandName,"onUpdate:modelValue":o[0]||(o[0]=d=>n.widget.options.expandName=d),border:n.widget.options.border,accordion:i.accordion},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.widget.widgetList,(d,m)=>(t.openBlock(),t.createBlock(s,t.mergeProps({ref_for:!0},d.options,{name:d.options.name,key:m}),{default:t.withCtx(()=>[t.createVNode(a,t.mergeProps({list:d.widgetList,"item-key":"id",ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",onAdd:u=>e.onContainerDragAdd(u,d.widgetList),onUpdate:e.onContainerDragUpdate,move:i.checkContainerMove,"component-data":{inSubFormFlag:e.getSubFormFieldFlag()}}),{item:t.withCtx(({element:u,index:y})=>[(t.openBlock(),t.createBlock(t.TransitionGroup,{name:"fade",tag:"div",class:"form-widget-list",key:y},{default:t.withCtx(()=>[u.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.type+"-widget"),{widget:u,designer:n.designer,key:u.id,"parent-list":d.widgetList,"index-of-parent-list":y,"parent-widget":n.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(u.type+"-widget"),{field:u,designer:n.designer,key:u.id,"parent-list":d.widgetList,"index-of-parent-list":y,"parent-widget":n.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))]),_:2},1024))]),_:2},1040,["list","onAdd","onUpdate","move","component-data"])]),_:2},1040,["name"]))),128))]),_:1},8,["modelValue","border","accordion"])]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list","class"])}var Io=G(y2,[["render",C2],["__scopeId","data-v-7a6e3a74"]]),o1="";const _2={componentName:"ContainerItem",components:{ContainerItemWrapper:je,...Ee},name:"collapse-item",props:{subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number},widget:Object},setup(e){const{i18nt:o}=Z(),n=Le(),i=Qe();t.inject("refList"),t.inject("sfRefList"),t.inject("globalModel");const l=t.reactive({activeNames:null}),r=Fe(l),a=t.computed(()=>e.widget.options.customClass||""),s=t.computed(()=>!Array.isArray(e.widget.options.expandName)),c=()=>{this.widget.options.folded=!this.widget.options.folded};return t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),n.initRefList(),{...o,...t.toRefs(e),...t.toRefs(l),...r,...i,accordion:s,customClass:a,toggleCard:c}}};function F2(e,o,n,i,l,r){const a=t.resolveComponent("van-collapse-item"),s=t.resolveComponent("van-collapse"),c=t.resolveComponent("container-item-wrapper");return t.openBlock(),t.createBlock(c,{widget:n.widget},{default:t.withCtx(()=>[t.createVNode(s,{modelValue:n.widget.options.expandName,"onUpdate:modelValue":o[0]||(o[0]=f=>n.widget.options.expandName=f),border:n.widget.options.border,accordion:i.accordion},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.widget.widgetList,(f,d)=>(t.openBlock(),t.createBlock(a,t.mergeProps({ref_for:!0},f.options,{name:f.options.name,key:d}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.widgetList,(m,u)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[m.category==="container"?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-item"),{widget:m,key:m.id,"parent-list":f.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"])):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m.type+"-widget"),{field:m,key:m.id,"parent-list":f.widgetList,"index-of-parent-list":u,"parent-widget":n.widget,"design-state":!1,"sub-form-row-id":n.subFormRowId,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],64))),256))]),_:2},1040,["name"]))),128))]),_:1},8,["modelValue","border","accordion"])]),_:1},8,["widget"])}var To=G(_2,[["render",F2],["__scopeId","data-v-73883f34"]]),i1="";const Po=e=>(t.pushScopeId("data-v-734a93fe"),e=e(),t.popScopeId(),e),S2=Po(()=>t.createElementVNode("i",{class:"iconfont icon-drag drag-option"},null,-1)),x2=Po(()=>t.createElementVNode("i",{class:"iconfont icon-drag drag-option"},null,-1)),M2={class:"dialog-footer"},V2=Object.assign({componentName:"PropertyEditor",data(){return{cssClassList:[],dialogCurrentItemSetting:{},dialogVisible:!1,expandName:""}},name:"collapse-accordion-editor"},{props:{designer:Object,optionModel:Object,selectedWidget:Object},setup(e){const{proxy:o}=t.getCurrentInstance(),n=e,{i18nt:i}=Z();t.nextTick(()=>{o.cssClassList=X(n.designer.getCssClassList()),n.designer.handleEvent("form-css-updated",d=>{o.cssClassList=d})}),t.watch(()=>n.selectedWidget.options.accordion,d=>{d?n.selectedWidget.options.expandName="":n.selectedWidget.options.expandName=[]});const l=d=>{const m=d.widgetList;let u=X(n.designer.getContainerByType("collapse-item"));u.id="collapse-item-"+ve(),u.options.name=u.id,u.options.label="collapse-item-"+(m.length+1),m.push(u),n.designer.emitHistoryChange()},r=(d,m)=>{if(d.widgetList.length===1){o.$message.info(this.i18nt("designer.hint.lastPaneCannotBeDeleted"));return}d.widgetList.splice(m,1),n.designer.emitHistoryChange()},a=d=>{o.dialogVisible=!0,o.dialogCurrentItemSetting=d.options},s=()=>{o.dialogVisible=!1},c=()=>{o.dialogVisible=!1},f=()=>{};return(d,m)=>{const u=t.resolveComponent("el-form-item"),y=t.resolveComponent("el-radio"),g=t.resolveComponent("el-input"),h=t.resolveComponent("el-button"),w=t.resolveComponent("el-checkbox"),_=t.resolveComponent("el-checkbox-group"),k=t.resolveComponent("draggable"),L=t.resolveComponent("el-switch"),B=t.resolveComponent("el-option"),R=t.resolveComponent("el-select"),F=t.resolveComponent("el-form"),I=t.resolveComponent("el-dialog");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(u,{label:t.unref(i)("designer.setting.tabPaneSetting")},null,8,["label"]),t.createVNode(u,{"label-width":"0",class:"panes-setting"},{default:t.withCtx(()=>[t.createVNode(k,t.mergeProps({list:e.selectedWidget.widgetList,"item-key":"id"},{group:"panesGroup",ghostClass:"ghost",handle:".drag-option"},{onUpdate:f}),{item:t.withCtx(({element:C,index:U})=>[(t.openBlock(),t.createBlock(t.TransitionGroup,{name:"fade",tag:"ul",key:U},{default:t.withCtx(()=>[e.selectedWidget.options.accordion?(t.openBlock(),t.createElementBlock("li",{key:U,class:"col-item"},[t.createVNode(y,{modelValue:e.selectedWidget.options.expandName,"onUpdate:modelValue":m[0]||(m[0]=A=>e.selectedWidget.options.expandName=A),label:C.id,value:C.id,style:{"margin-right":"8px"}},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("extension.setting.collapseItemExpand")),1)]),_:2},1032,["modelValue","label","value"]),t.createVNode(g,{type:"text",modelValue:C.options.title,"onUpdate:modelValue":A=>C.options.title=A,style:{width:"125px"}},null,8,["modelValue","onUpdate:modelValue"]),S2,t.createVNode(h,{circle:"",plain:"",size:"small",type:"danger",onClick:A=>a(C),icon:"el-icon-more",class:"col-delete-button"},null,8,["onClick"]),t.createVNode(h,{circle:"",plain:"",size:"small",type:"danger",onClick:A=>r(e.selectedWidget,U),icon:"el-icon-minus",class:"col-delete-button"},null,8,["onClick"])])):(t.openBlock(),t.createBlock(_,{modelValue:e.selectedWidget.options.expandName,"onUpdate:modelValue":m[1]||(m[1]=A=>e.selectedWidget.options.expandName=A),key:U},{default:t.withCtx(()=>[t.createVNode(w,{label:C.options.name,value:C.options.name,style:{"margin-right":"2px"}},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("extension.setting.collapseItemExpand"))+" ",1),t.createVNode(g,{type:"text",modelValue:C.options.title,"onUpdate:modelValue":A=>C.options.title=A,style:{width:"125px"}},null,8,["modelValue","onUpdate:modelValue"]),x2,t.createVNode(h,{circle:"",plain:"",size:"small",type:"danger",onClick:A=>a(C),icon:"el-icon-more",class:"col-delete-button"},null,8,["onClick"]),t.createVNode(h,{circle:"",plain:"",size:"small",type:"danger",onClick:A=>r(e.selectedWidget,U),icon:"el-icon-minus",class:"col-delete-button"},null,8,["onClick"])]),_:2},1032,["label","value"])]),_:2},1032,["modelValue"]))]),_:2},1024))]),_:1},16,["list"]),t.createElementVNode("div",null,[t.createVNode(h,{type:"primary",link:"",onClick:m[2]||(m[2]=C=>l(e.selectedWidget))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("designer.setting.addTabPane")),1)]),_:1})])]),_:1}),t.createVNode(I,{title:t.unref(i)("extension.setting.collapseItemProperyDialogTitle"),modelValue:d.dialogVisible,"onUpdate:modelValue":m[17]||(m[17]=C=>d.dialogVisible=C),width:"400px","before-close":s},{footer:t.withCtx(()=>[t.createElementVNode("span",M2,[t.createVNode(h,{onClick:s},{default:t.withCtx(()=>[t.createTextVNode("\u53D6 \u6D88")]),_:1}),t.createVNode(h,{type:"primary",onClick:c},{default:t.withCtx(()=>[t.createTextVNode("\u786E \u5B9A")]),_:1})])]),default:t.withCtx(()=>[t.createVNode(F,{model:d.dialogCurrentItemSetting,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:m[16]||(m[16]=t.withModifiers(()=>{},["prevent"]))},{default:t.withCtx(()=>[t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemTitle")},{default:t.withCtx(()=>[t.createVNode(g,{type:"text",modelValue:d.dialogCurrentItemSetting.title,"onUpdate:modelValue":m[3]||(m[3]=C=>d.dialogCurrentItemSetting.title=C),style:{width:"125px"}},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemValue")},{default:t.withCtx(()=>[t.createVNode(g,{type:"text",modelValue:d.dialogCurrentItemSetting.value,"onUpdate:modelValue":m[4]||(m[4]=C=>d.dialogCurrentItemSetting.value=C),style:{width:"125px"}},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemLabel")},{default:t.withCtx(()=>[t.createVNode(g,{type:"text",modelValue:d.dialogCurrentItemSetting.label,"onUpdate:modelValue":m[5]||(m[5]=C=>d.dialogCurrentItemSetting.label=C),style:{width:"125px"}},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemBorder")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:d.dialogCurrentItemSetting.border,"onUpdate:modelValue":m[6]||(m[6]=C=>d.dialogCurrentItemSetting.border=C)},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemIcon")},{default:t.withCtx(()=>[t.createVNode(g,{type:"text",modelValue:d.dialogCurrentItemSetting.icon,"onUpdate:modelValue":m[7]||(m[7]=C=>d.dialogCurrentItemSetting.icon=C),style:{width:"125px"}},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemSize")},{default:t.withCtx(()=>[t.createVNode(R,{modelValue:d.dialogCurrentItemSetting.size,"onUpdate:modelValue":m[8]||(m[8]=C=>d.dialogCurrentItemSetting.size=C)},{default:t.withCtx(()=>[t.createVNode(B,{label:"default",value:""}),t.createVNode(B,{label:"large",value:"large"})]),_:1},8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemIsLink")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:d.dialogCurrentItemSetting["is-link"],"onUpdate:modelValue":m[9]||(m[9]=C=>d.dialogCurrentItemSetting["is-link"]=C)},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemDisabled")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:d.dialogCurrentItemSetting.disabled,"onUpdate:modelValue":m[10]||(m[10]=C=>d.dialogCurrentItemSetting.disabled=C)},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemReadonly")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:d.dialogCurrentItemSetting.readonly,"onUpdate:modelValue":m[11]||(m[11]=C=>d.dialogCurrentItemSetting.readonly=C)},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemLazyRender")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:d.dialogCurrentItemSetting["lazy-render"],"onUpdate:modelValue":m[12]||(m[12]=C=>d.dialogCurrentItemSetting["lazy-render"]=C)},null,8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemTitleClass")},{default:t.withCtx(()=>[t.createVNode(R,{modelValue:d.dialogCurrentItemSetting["title-class"],"onUpdate:modelValue":m[13]||(m[13]=C=>d.dialogCurrentItemSetting["title-class"]=C),multiple:"",filterable:"","allow-create":"","default-first-option":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.cssClassList,(C,U)=>(t.openBlock(),t.createBlock(B,{key:U,label:C,value:C},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemValueClass")},{default:t.withCtx(()=>[t.createVNode(R,{modelValue:d.dialogCurrentItemSetting["value-class"],"onUpdate:modelValue":m[14]||(m[14]=C=>d.dialogCurrentItemSetting["value-class"]=C),multiple:"",filterable:"","allow-create":"","default-first-option":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.cssClassList,(C,U)=>(t.openBlock(),t.createBlock(B,{key:U,label:C,value:C},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseItemLabelClass")},{default:t.withCtx(()=>[t.createVNode(R,{modelValue:d.dialogCurrentItemSetting["label-class"],"onUpdate:modelValue":m[15]||(m[15]=C=>d.dialogCurrentItemSetting["label-class"]=C),multiple:"",filterable:"","allow-create":"","default-first-option":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.cssClassList,(C,U)=>(t.openBlock(),t.createBlock(B,{key:U,label:C,value:C},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title","modelValue"]),t.createVNode(u,{label:t.unref(i)("extension.setting.collapseAccordion")},{default:t.withCtx(()=>[t.createVNode(L,{modelValue:e.optionModel.accordion,"onUpdate:modelValue":m[18]||(m[18]=C=>e.optionModel.accordion=C)},null,8,["modelValue"])]),_:1},8,["label"])])}}});var D2=G(V2,[["__scopeId","data-v-734a93fe"]]);const L2={componentName:"FieldWidget",components:{StaticContentWrapper:ze},name:"alert-widget",props:{designState:{default:!1,type:Boolean},designer:Object,field:Object,indexOfParentList:Number,parentList:Array,parentWidget:Object,subFormColIndex:{default:-1,type:Number},subFormRowId:{default:"",type:String},subFormRowIndex:{default:-1,type:Number}},setup(e){const o=t.reactive({effect:{background:"#DCDEE0",color:"#646566"}}),{i18nt:n}=Z();Fe();const i=Q(o),l=t.computed(()=>e.field.options.closable?"closeable":""),r=t.computed(()=>{if(e.field.options.showIcon)return"info"});t.watch(()=>e.field.options.type,()=>{a()});const a=()=>{switch(e.field.options.type){case"success":o.effect.color="#FFFFFF",o.effect.background="#95D475";break;case"warning":o.effect.color="#FFFFFF",o.effect.background="#EEBE77";break;case"info":o.effect.color="#646566",o.effect.background="#DCDEE0";break;case"error":o.effect.color="#FFFFFF",o.effect.background="#F89898";break;default:o.effect.color="#646566",o.effect.background="#DCDEE0"}},s=()=>{e.field.options.onClose&&new Function(e.field.options.onClose).call(this)};return t.onBeforeUnmount(()=>{i.unregisterFromRefList()}),i.registerToRefList(),i.initEventHandler(),a(),{i18nt:n,...t.toRefs(e),...t.toRefs(o),...i,closable:l,handleCloseCustomEvent:s,leftIcon:r}}};function v2(e,o,n,i,l,r){const a=t.resolveComponent("van-notice-bar"),s=t.resolveComponent("static-content-wrapper");return t.openBlock(),t.createBlock(s,{designer:n.designer,field:n.field,"design-state":n.designState,"parent-widget":n.parentWidget,"parent-list":n.parentList,"index-of-parent-list":n.indexOfParentList,"sub-form-row-index":n.subFormRowIndex,"sub-form-col-index":n.subFormColIndex,"sub-form-row-id":n.subFormRowId},{default:t.withCtx(()=>[t.createVNode(a,{"left-icon":i.leftIcon,text:n.field.options.title,mode:i.closable,color:e.effect.color,background:e.effect.background,onClose:i.handleCloseCustomEvent},null,8,["left-icon","text","mode","color","background","onClose"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var Ho=G(L2,[["render",v2]]);const Ao=function(e){e.component(Io.name,Io),e.component(To.name,To),Je(e,"collapse-accordion","collapse-accordion-editor",D2),Je(e,"collapse-border","collapse-border-editor",on("border","extension.setting.collapseBorder")),e.component(Ho.name,Ho),Je(e,"alert-title","alert-title-editor",n2("title","extension.setting.alertTitle")),Je(e,"alert-type","alert-type-editor",o2("type","extension.setting.alertType",{optionItems:[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}]})),Je(e,"alert-closable","alert-closable-editor",on("closable","extension.setting.closable")),Je(e,"alert-showIcon","alert-showIcon-editor",on("showIcon","extension.setting.showIcon")),t2(e,"alert-onClose","alert-onClose-editor",i2("onClose",[]))};et.install=function(e){Oo(e),Ao(e),e.use(Yn),Kn(e),e.component(et.name,et)};const k2=[et];var B2={install:e=>{Oo(e),Ao(e),e.use(Yn),Kn(e),k2.forEach(o=>{e.component(o.name,o)}),window.axios=Tt},VmFormRender:et};return B2});
|