epic-designer-gold 1.0.6 → 1.0.7

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.
Files changed (152) hide show
  1. package/dist/ETable-adkZzXhI.cjs +1 -0
  2. package/dist/ETable-ogvH56w7.js +50 -0
  3. package/dist/ETd-BCM7zA8V.cjs +1 -0
  4. package/dist/{row-DAy14ve9.js → ETd-CRUvOVnZ.js} +13 -13
  5. package/dist/ETr-BqGghav2.cjs +1 -0
  6. package/dist/ETr-nIjGkdzO.js +43 -0
  7. package/dist/attributeView-BCjRZKcy.cjs +1 -0
  8. package/dist/{attributeView-C_rnFDGo.js → attributeView-CcnkUeu9.js} +7 -7
  9. package/dist/axios-CXDYiOMX.js +1704 -0
  10. package/dist/axios-tuVKNgv9.cjs +6 -0
  11. package/dist/card-C9ua0f7r.cjs +1 -0
  12. package/dist/card-CI6L3YKU.js +33 -0
  13. package/dist/cell-AML-qIH9.cjs +1 -0
  14. package/dist/cell-B_q5hgzb.js +35 -0
  15. package/dist/col-C4lVVBzC.cjs +1 -0
  16. package/dist/col-DcVPBKEc.js +31 -0
  17. package/dist/core/components/builder/src/builder.vue.d.ts +2 -2
  18. package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
  19. package/dist/core/components/node/src/node.vue.d.ts +3 -2
  20. package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +10 -0
  21. package/dist/core/extensions/EColumnEditor/index.vue.d.ts +18 -0
  22. package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +10 -0
  23. package/dist/eventView-5fa6mfSD.cjs +1 -0
  24. package/dist/eventView-C2wKhfU_.js +63 -0
  25. package/dist/{form-CthzLIgs.cjs → form-Bofkrmkd.cjs} +1 -1
  26. package/dist/{form-6cUK-Ari.js → form-VbfBmb63.js} +5 -5
  27. package/dist/iframe-CRF3GSRv.cjs +1 -0
  28. package/dist/iframe-Fgbk3vqJ.js +48 -0
  29. package/dist/index-0WmqAKuy.js +4 -0
  30. package/dist/index-5yjG3fiB.cjs +1 -0
  31. package/dist/{index-CoCyrWM2.js → index-B0OgKtuT.js} +72 -71
  32. package/dist/{index-DWxy0GSJ.js → index-B1s67XDZ.js} +11 -15
  33. package/dist/index-BEUYVwRA.cjs +1 -0
  34. package/dist/{index-DaJuXp0q.cjs → index-BHEw6RsQ.cjs} +1 -1
  35. package/dist/index-BHZbtFEF.cjs +1 -0
  36. package/dist/index-BU05X44j.cjs +1 -0
  37. package/dist/index-BY37Ndo7.cjs +10 -0
  38. package/dist/{index-BpROfyMH.cjs → index-BoL2PSBk.cjs} +1 -1
  39. package/dist/index-BvfkMKTv.cjs +1 -0
  40. package/dist/{index-Ce470l1n.js → index-BvvGezNc.js} +3 -3
  41. package/dist/{index-CeVV_SOj.js → index-BydHABbW.js} +3 -3
  42. package/dist/index-C2s4IuAR.cjs +1 -0
  43. package/dist/index-CCCx1tbF.cjs +1 -0
  44. package/dist/index-CD00bJyK.js +839 -0
  45. package/dist/{index-DpF9E6J8.js → index-CG0UEELU.js} +1 -1
  46. package/dist/index-CdnV7DS4.js +265 -0
  47. package/dist/{index-BfdYrl-Q.js → index-Cln9MN7u.js} +1 -1
  48. package/dist/index-CpBfljmg.cjs +1 -0
  49. package/dist/{index-BEMPXyNN.js → index-CpTA2IRB.js} +2 -2
  50. package/dist/index-CpevxZqj.cjs +1 -0
  51. package/dist/{index-AH-Lj15r.js → index-CraRg8wh.js} +6 -6
  52. package/dist/{index-cElDeAm2.js → index-Cx7gKpkD.js} +2 -2
  53. package/dist/index-DYQi05p8.cjs +1 -0
  54. package/dist/{index-P13z5c0g.js → index-E8jDNKrc.js} +3 -3
  55. package/dist/index-FgdbKgb5.cjs +1 -0
  56. package/dist/index-GIYb626z.js +1422 -0
  57. package/dist/{index-CFZioB1O.js → index-IGxCNti8.js} +48 -28
  58. package/dist/{index-DK4PrvRF.cjs → index-IPz4bbk7.cjs} +1 -1
  59. package/dist/index-R2r9Rw5O.cjs +1 -0
  60. package/dist/{index-DENcRmIy.js → index-WkZdU_zw.js} +2 -2
  61. package/dist/index-v2u1WTMm.cjs +1 -0
  62. package/dist/index-vCJWgHu-.js +142 -0
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.js +2 -2
  65. package/dist/modal-DCBqsiP2.cjs +1 -0
  66. package/dist/modal-DZRBS-Mt.js +58 -0
  67. package/dist/outline-BE98qFHQ.cjs +1 -0
  68. package/dist/{outline-DQ8wgGyH.js → outline-Ch5PHy3c.js} +2 -2
  69. package/dist/pluginManager-BCnrHPYv.js +660 -0
  70. package/dist/pluginManager-DWHAX8kP.cjs +1 -0
  71. package/dist/sign-BS-9u6is.cjs +1 -0
  72. package/dist/{sign-Dfqcv4Fg.js → sign-l63EYvVo.js} +21 -20
  73. package/dist/style.css +1 -1
  74. package/dist/styleView-Dhj1GDqf.js +140 -0
  75. package/dist/styleView-DocskQJQ.cjs +1 -0
  76. package/dist/tabPanel-CXZYMEwi.cjs +1 -0
  77. package/dist/{col-D4hvKfJ6.js → tabPanel-DAw7ENrC.js} +7 -7
  78. package/dist/table-75K2lqjD.js +65 -0
  79. package/dist/table-CN2LNWqY.cjs +1 -0
  80. package/dist/tabs-CYH9lAUk.cjs +1 -0
  81. package/dist/tabs-DCyifACM.js +41 -0
  82. package/dist/text-B92ioaoV.cjs +1 -0
  83. package/dist/text-C-b94tBH.js +47 -0
  84. package/dist/{tree.vue_vue_type_script_setup_true_lang-B-8wkdQS.js → tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js} +2 -2
  85. package/dist/tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs +1 -0
  86. package/dist/ui/elementPlus/ETable/ETable.d.ts +20 -0
  87. package/dist/ui/elementPlus/ETd/ETd.d.ts +20 -0
  88. package/dist/ui/elementPlus/ETr/ETr.d.ts +20 -0
  89. package/dist/ui/elementPlus/ETr/index.d.ts +3 -0
  90. package/dist/ui/elementPlus/iframe/iframe.d.ts +29 -0
  91. package/dist/ui/elementPlus/iframe/index.d.ts +3 -0
  92. package/dist/ui/elementPlus/index.cjs +1 -1
  93. package/dist/ui/elementPlus/index.js +904 -403
  94. package/dist/ui/elementPlus/rate/index.d.ts +3 -0
  95. package/dist/ui/elementPlus/tab-panel/index.d.ts +3 -0
  96. package/dist/ui/elementPlus/table/table.d.ts +9 -0
  97. package/dist/ui/elementPlus/table-cell/index.d.ts +3 -0
  98. package/dist/ui/elementPlus/tabs/index.d.ts +2 -0
  99. package/dist/ui/elementPlus/tabs/tabs.d.ts +29 -0
  100. package/dist/ui/elementPlus/text/text.d.ts +9 -0
  101. package/dist/ui/naiveUi/index.cjs +1 -1
  102. package/dist/ui/naiveUi/index.js +1 -1
  103. package/dist/uploadFile-pgvj4Lm9.cjs +1 -0
  104. package/dist/uploadFile-qCbXuHfd.js +81 -0
  105. package/dist/uploadImage-B3sOX-5F.cjs +1 -0
  106. package/dist/{uploadImage-B3tV49Mm.cjs → uploadImage-CNMsK4Lh.cjs} +1 -1
  107. package/dist/uploadImage-DQmVV0jl.js +121 -0
  108. package/dist/{uploadImage-Z6Y6KN1R.js → uploadImage-VFICaVgX.js} +1 -1
  109. package/package.json +1 -1
  110. package/dist/attributeView-CEFjPemt.cjs +0 -1
  111. package/dist/axios-B5oA4AjJ.cjs +0 -6
  112. package/dist/axios-awtfJhsA.js +0 -2362
  113. package/dist/card-BowzD9vN.cjs +0 -1
  114. package/dist/card-CNGNDzPp.js +0 -31
  115. package/dist/col-B1GUMkMK.cjs +0 -1
  116. package/dist/col-BNNn9Yx8.cjs +0 -1
  117. package/dist/col-u5YiB-UK.js +0 -41
  118. package/dist/index-B0rUZfG_.js +0 -742
  119. package/dist/index-BOUKAGKU.cjs +0 -1
  120. package/dist/index-B_BKVTct.cjs +0 -1
  121. package/dist/index-Ba8KVYrQ.cjs +0 -1
  122. package/dist/index-BnLI5N3M.cjs +0 -1
  123. package/dist/index-BxCrqMkz.cjs +0 -1
  124. package/dist/index-CBBK4Aze.cjs +0 -1
  125. package/dist/index-CDTcUcwY.cjs +0 -1
  126. package/dist/index-Cq5wbnmA.cjs +0 -1
  127. package/dist/index-D8olMR4m.cjs +0 -10
  128. package/dist/index-DfRZtELz.js +0 -4
  129. package/dist/index-J9twEwWw.cjs +0 -1
  130. package/dist/index-oMkqg9Zb.js +0 -1367
  131. package/dist/index-tR-Y01R8.cjs +0 -1
  132. package/dist/index-vzxiD3pz.cjs +0 -1
  133. package/dist/modal-BLOgN3us.cjs +0 -1
  134. package/dist/modal-UFu4bD6x.js +0 -57
  135. package/dist/outline-JJ0IbSzs.cjs +0 -1
  136. package/dist/row-BWnbt6dh.cjs +0 -1
  137. package/dist/sign-BBoshwS_.cjs +0 -1
  138. package/dist/styleView-CZEOSq2l.cjs +0 -1
  139. package/dist/styleView-CajgzMOm.js +0 -106
  140. package/dist/table-CnBJm7Bx.js +0 -43
  141. package/dist/table-DM2-xHlv.cjs +0 -1
  142. package/dist/text-C-52xLjs.js +0 -33
  143. package/dist/text-X9fl5oe8.cjs +0 -1
  144. package/dist/tree.vue_vue_type_script_setup_true_lang-BS6Anq-8.cjs +0 -1
  145. package/dist/uploadFile-BHn9oVA8.cjs +0 -1
  146. package/dist/uploadFile-D_0_6ghp.js +0 -77
  147. package/dist/uploadImage-4U4YGGfK.js +0 -96
  148. package/dist/uploadImage-C-OyUMFn.cjs +0 -1
  149. /package/dist/ui/elementPlus/{table-col → ETable}/index.d.ts +0 -0
  150. /package/dist/ui/elementPlus/{table-row → ETd}/index.d.ts +0 -0
  151. /package/dist/ui/elementPlus/{table-col/col.d.ts → tab-panel/tabPanel.d.ts} +0 -0
  152. /package/dist/ui/elementPlus/{table-row/row.d.ts → table-cell/cell.d.ts} +0 -0
@@ -0,0 +1,3 @@
1
+ import { ComponentConfigModel } from '../../../utils';
2
+ declare const _default: ComponentConfigModel;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentConfigModel } from '../../../utils';
2
+ declare const _default: ComponentConfigModel;
3
+ export default _default;
@@ -6,6 +6,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
6
  require: boolean;
7
7
  default: () => {};
8
8
  };
9
+ modelValue: {
10
+ type: any;
11
+ default: () => never[];
12
+ };
9
13
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
14
  [key: string]: any;
11
15
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -14,7 +18,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
14
18
  require: boolean;
15
19
  default: () => {};
16
20
  };
21
+ modelValue: {
22
+ type: any;
23
+ default: () => never[];
24
+ };
17
25
  }>> & Readonly<{}>, {
18
26
  componentSchema: ComponentSchema;
27
+ modelValue: any;
19
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
29
  export default _default;
@@ -0,0 +1,3 @@
1
+ import { ComponentConfigModel } from '../../../utils';
2
+ declare const _default: ComponentConfigModel;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { PropType } from 'vue';
2
+ import { ComponentSchema } from '../../../core/types/epic-designer';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ componentSchema: {
5
+ type: PropType<ComponentSchema>;
6
+ require: boolean;
7
+ default: () => {};
8
+ };
9
+ modelValue: {
10
+ type: any;
11
+ default: () => never[];
12
+ };
13
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
+ [key: string]: any;
15
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ componentSchema: {
17
+ type: PropType<ComponentSchema>;
18
+ require: boolean;
19
+ default: () => {};
20
+ };
21
+ modelValue: {
22
+ type: any;
23
+ default: () => never[];
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ componentSchema: ComponentSchema;
27
+ modelValue: any;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
+ export default _default;
@@ -6,6 +6,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
6
  required: true;
7
7
  default: () => {};
8
8
  };
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ default: () => string;
12
+ };
9
13
  }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
10
14
  [key: string]: any;
11
15
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -14,7 +18,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
14
18
  required: true;
15
19
  default: () => {};
16
20
  };
21
+ modelValue: {
22
+ type: StringConstructor;
23
+ default: () => string;
24
+ };
17
25
  }>> & Readonly<{}>, {
18
26
  componentSchema: ComponentSchema;
27
+ modelValue: string;
19
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
29
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("epic-designer-gold"),p=require("naive-ui"),n={component:async()=>(await Promise.resolve().then(()=>require("../../index-BVUz9lFN.cjs")).then(e=>e.index)).NInput,groupName:"表单",icon:"icon--epic--border-color-outline-rounded",sort:700,defaultSchema:{label:"输入框",type:"input",field:"input",input:!0,componentProps:{defaultValue:"",placeholder:"请输入",type:"text"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"input",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"输入类型",type:"select",defaultValue:"text",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"text",value:"text"},{label:"textarea",value:"textarea"},{label:"password",value:"password"}]},field:"componentProps.type",onChange:({value:e,values:l})=>{e!="text"&&(l.componentProps.pair=!1)}},{label:"最大输入长度",type:"number",field:"componentProps.maxlength",componentProps:{placeholder:"请输入"}},{label:"显示密码的时机",type:"select",field:"componentProps.showPasswordOn",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"click",value:"click"},{label:"mousedown",value:"mousedown"}]},show:({values:e})=>e.componentProps.type==="password"},{label:"行数",type:"number",field:"componentProps.rows",show:({values:e})=>e.componentProps.type==="textarea"},{label:"是否输入成对值",type:"switch",field:"componentProps.pair",show:({values:e})=>e.componentProps.type==="text"},{label:"分割符",type:"input",field:"componentProps.separator",show:({values:e})=>e.componentProps.type==="text"&&e.componentProps.pair,componentProps:{placeholder:"请输入"}},{label:"是否圆角",type:"switch",field:"componentProps.round"},{label:"是否统计字数",type:"switch",field:"componentProps.showCount"},{label:"自适应内容高度",type:"switch",field:"componentProps.autosize",show:({values:e})=>e.componentProps.type==="textarea"},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"input",describe:"输入值"},{type:"change",describe:"值修改"},{type:"focus",describe:"获取焦点"},{type:"blur",describe:"失去焦点"}],action:[{type:"focus",describe:"使 input 获取焦点"},{type:"blur",describe:"使 input 失去焦点"},{type:"clear",describe:"清除 input 值"},{type:"select",describe:"选中 input 中的文字"}]},bindModel:"value"},r={component:async()=>(await Promise.resolve().then(()=>require("../../index-XU85x6vz.cjs")).then(e=>e.index)).NInputNumber,groupName:"表单",icon:"icon--epic--123-rounded",sort:710,defaultSchema:{label:"数字输入框",type:"number",field:"number",input:!0,componentProps:{placeholder:"请输入"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"number",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"控制按钮位置",type:"select",field:"componentProps.buttonPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"both",value:"both"},{label:"right",value:"right"}]}},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"精度",type:"number",field:"componentProps.precision",componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}]},bindModel:"value"},i={component:()=>Promise.resolve().then(()=>require("../../form-ChuxpD-f.cjs")),groupName:"表单",icon:"icon--epic--list-alt-outline-rounded",sort:600,defaultSchema:{label:"表单",type:"form",componentProps:{name:"default",labelWidth:100,labelCol:{span:5},wrapperCol:{span:19},hideRequiredMark:!1},children:[]},config:{attribute:[{label:"name",type:"input",field:"componentProps.name"},{label:"标签宽度",type:"EInputSize",field:"componentProps.labelWidth"},{label:"标签位置",type:"select",field:"componentProps.labelPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"顶部",value:"top"}]}},{label:"标签对齐方式",type:"select",field:"componentProps.labelAlign",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"}]}},{label:"必填星号位置",type:"select",field:"componentProps.requireMarkPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"}]}},{label:"表单尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"行内模式",type:"switch",field:"componentProps.inline"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}],action:[{type:"getData",describe:"获取表单数据"},{type:"setData",describe:"设置表单数据"},{type:"validate",describe:"校验表单"}]}},c={component:()=>Promise.resolve().then(()=>require("../../formItem-Do31LPIz.cjs")),defaultSchema:{label:"表单项",type:"form-item"},config:{}},s={component:()=>Promise.resolve().then(()=>require("../../button-BKT6NVeB.cjs")),groupName:"表单",icon:"icon--epic--fit-screen-rounded",sort:1200,defaultSchema:{label:"按钮",type:"button",field:"input",input:!1,componentProps:{bordered:!0,type:"default",size:"medium"}},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"类型",type:"select",componentProps:{placeholder:"请选择",options:[{label:"default",value:"default"},{label:"tertiary",value:"tertiary"},{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"error",value:"error"}]},field:"componentProps.type"},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"tiny",value:"tiny"},{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"是否块级",type:"switch",field:"componentProps.block"},{label:"显示边框",type:"switch",field:"componentProps.bordered"},{label:"虚线框",type:"switch",field:"componentProps.dashed"},{label:"圆角按钮",type:"switch",field:"componentProps.round"},{label:"圆形按钮",type:"switch",field:"componentProps.circle"},{label:"按钮颜色",type:"color-picker",field:"componentProps.color"},{label:"是否透明",type:"switch",field:"componentProps.ghost"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}],event:[{type:"click",describe:"点击按钮时"},{type:"dblclick",describe:"双击按钮时"}]}},d={component:()=>Promise.resolve().then(()=>require("../../card-BOMT_SwB.cjs")),groupName:"布局",icon:"icon--epic--wysiwyg-rounded",sort:900,defaultSchema:{label:"卡片布局",type:"card",children:[]},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},u={component:()=>Promise.resolve().then(()=>require("../../row-B28N4Nao.cjs")),groupName:"布局",icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"栅格布局",type:"row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:"栅格间距",type:"number",field:"componentProps.gutter",componentProps:{placeholder:"请输入"}},{label:"列编辑",type:"EColEditor",field:"children"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},b={component:()=>Promise.resolve().then(()=>require("../../col-DXjfnmpf.cjs")),defaultSchema:{label:"栅格布局-列",type:"col",children:[],componentProps:{span:6}},config:{attribute:[{label:"占位格数",type:"number",field:"componentProps.span"}]}},m={component:async()=>(await Promise.resolve().then(()=>require("../../index-zYoSB4fa.cjs")).then(e=>e.index)).NSelect,groupName:"表单",icon:"icon--epic--select",sort:900,defaultSchema:{label:"选择框",type:"select",field:"select",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],placeholder:"请选择"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"select",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"可过滤",type:"switch",field:"componentProps.filterable"},{label:"允许创建新选项",type:"switch",field:"componentProps.tag",show:({values:e})=>e.componentProps.filterable},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"最大tag数",type:"number",field:"componentProps.maxTagCount",show:({values:e})=>e.componentProps.multiple,componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"}],event:[{type:"change",describe:"值修改"}]},bindModel:"value"},y={component:()=>Promise.resolve().then(()=>require("../../radio-J90E17Sb.cjs")),groupName:"表单",icon:"icon--epic--radio-button-checked-outline",sort:850,defaultSchema:{label:"单选框",type:"radio",field:"radio",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}]}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"radio",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}]}},f={component:()=>Promise.resolve().then(()=>require("../../checkbox-D8eqzQDX.cjs")),groupName:"表单",icon:"icon--epic--dialogs-outline-rounded",sort:860,defaultSchema:{label:"复选框",type:"checkbox",field:"checkbox",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}]}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"checkbox",field:"componentProps.defaultValue"},{label:"最大勾选数",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小勾选数",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}],event:[{type:"change",describe:"值变化时"}]}},h={component:async()=>(await Promise.resolve().then(()=>require("../../index-DTzB2pWI.cjs")).then(e=>e.index)).NSlider,groupName:"表单",icon:"icon--epic--switches",sort:930,defaultSchema:{label:"滑块",type:"slider",field:"slider",input:!0,componentProps:{placement:"top-start"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"slider",field:"componentProps.defaultValue"},{label:"键盘可控",type:"switch",field:"componentProps.keyboard"},{label:"范围选择",type:"switch",field:"componentProps.range",changeSync:!0,onChange:({value:e,values:l})=>{e?l.componentProps.defaultValue=[0,100]:l.componentProps.defaultValue=0}},{label:"倒转轨道",type:"switch",field:"componentProps.reverse"},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"一直显示提示",type:"switch",field:"componentProps.showTooltip"},{label:"垂直模式",type:"switch",field:"componentProps.vertical"},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"弹出位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}],event:[{type:"input",describe:"拖拽实时触发"},{type:"change",describe:"拖拽结束改变值时"}]},bindModel:"value"},P={component:async()=>(await Promise.resolve().then(()=>require("../../index-BB9rZNCd.cjs")).then(e=>e.index)).NColorPicker,groupName:"表单",icon:"icon--epic--palette-outline",sort:950,defaultSchema:{label:"颜色选择器",type:"color-picker",field:"color-picker",input:!0,componentProps:{type:"color",modes:["hex"],showAlpha:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"color-picker",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"格式",type:"checkbox",field:"componentProps.modes",componentProps:{options:[{label:"rgb",value:"rgb"},{label:"hex",value:"hex"},{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"}],max:1}},{label:"展示预览块",type:"switch",field:"componentProps.showPreview"},{label:"可调节透明度",type:"switch",field:"componentProps.showAlpha"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}],action:[]},bindModel:"value"},v={component:async()=>(await Promise.resolve().then(()=>require("../../index-g5ZjtbqH.cjs")).then(e=>e.index)).NSwitch,groupName:"表单",icon:"icon--epic--toggle-off-outline",sort:930,defaultSchema:{label:"开关",type:"switch",field:"switch",input:!0,componentProps:{defaultValue:!1,round:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"switch",field:"componentProps.defaultValue"},{label:"ON状态值",type:"input",field:"componentProps.checkedValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>o(e))}},{label:"OFF状态值",type:"input",field:"componentProps.uncheckedValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>o(e))}},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"圆型按钮",type:"switch",field:"componentProps.round"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"boolean"}}],event:[{type:"change",describe:"状态发生变化时"}]},bindModel:"value"};function o(e){var t;let l=((t=e.values.componentProps)==null?void 0:t.uncheckedValue)||!1;e.values.componentProps.uncheckedValue===""&&delete e.values.componentProps.uncheckedValue,e.values.componentProps.checkedValue===""&&delete e.values.componentProps.checkedValue,e.values.componentProps?e.values.componentProps.defaultValue=l:e.values.componentProps={defaultValue:l}}const g={component:async()=>(await Promise.resolve().then(()=>require("../../index-Cphndmia.cjs")).then(e=>e.index)).NCascader,groupName:"表单",icon:"icon--epic--full-coverage-outline",sort:880,defaultSchema:{label:"级联选择器",type:"cascader",field:"cascader",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],placeholder:"请选择",cascade:!1,showPath:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"cascader",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"多选时关联选项",type:"switch",field:"componentProps.cascade",show:({values:e})=>e.componentProps.multiple},{label:"分割符",type:"switch",field:"componentProps.separator"},{label:"显示选项路径",type:"switch",field:"componentProps.showPath"},{label:"可搜索",type:"switch",field:"componentProps.filterable"},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"最大tag显示数",type:"number",field:"componentProps.maxTagCount",show:({values:e})=>e.componentProps.multiple},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",componentProps:{tree:!0},describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}],event:[{type:"change",describe:"选中节点变化时"},{type:"close",describe:"面板的关闭事件"}],action:[{type:"getCheckedNodes",describe:"获取当前选中节点"}]},bindModel:"value"},w={component:()=>Promise.resolve().then(()=>require("../../collapse-BSFa_xwh.cjs")),defaultSchema:{label:"折叠面板",type:"collapse",children:[{type:"collapse-item",children:[],componentProps:{span:12},id:"g062zikd2jk001"},{type:"collapse-item",children:[],componentProps:{span:12},id:"gy5z9jtfb3s001"}]},config:{attribute:[{label:"折叠项管理",type:"EColEditor",field:"children"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},x={component:()=>Promise.resolve().then(()=>require("../../collapseItem-FF5A59WT.cjs")),defaultSchema:{label:"折叠项",type:"collapse-item",children:[]},config:{attribute:[]}},E={component:async()=>(await Promise.resolve().then(()=>require("../../index-BCk0LJsg.cjs")).then(e=>e.index)).NDatePicker,groupName:"表单",icon:"icon--epic--calendar-month-outline-rounded",sort:910,defaultSchema:{label:"日期选择器",type:"date",field:"date",input:!0,componentProps:{type:"date",placeholder:"请选择",format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"date",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"日期类型",type:"select",field:"componentProps.type",componentProps:{options:[{label:"日期",value:"date"},{label:"日期时间",value:"datetime"},{label:"日期范围",value:"daterange"},{label:"时间范围",value:"datetimerange"},{label:"月份",value:"month"},{label:"月份范围",value:"monthrange"},{label:"年份",value:"year"},{label:"季度",value:"quarter"},{label:"周",value:"week"}]},onChange({values:e,value:l}){e.componentProps.defaultValue=null,console.log(l),["date","daterange","dates"].includes(l)?(e.componentProps.format="yyyy-MM-dd",e.componentProps.valueFormat="yyyy-MM-dd"):["week"].includes(l)||["quarter"].includes(l)?(e.componentProps.format=null,e.componentProps.valueFormat="yyyy-MM-dd"):["month","monthrange"].includes(l)?(e.componentProps.format="yyyy-MM",e.componentProps.valueFormat="yyyy-MM"):["datetime","datetimerange"].includes(l)?(e.componentProps.format="yyyy-MM-dd HH:mm:ss",e.componentProps.valueFormat="yyyy-MM-dd HH:mm:ss"):["year"].includes(l)&&(e.componentProps.format="yyyy",e.componentProps.valueFormat="yyyy")}},{label:"显示格式",type:"input",field:"componentProps.format"},{label:"数据格式",type:"input",field:"componentProps.valueFormat"},{label:"分割符",type:"input",field:"componentProps.separator",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"start框占位符",type:"input",field:"componentProps.startPlaceholder",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"end框占位符",type:"input",field:"componentProps.endPlaceholder",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}]},bindModel:"formatted-value"},N={component:()=>Promise.resolve().then(()=>require("../../uploadFile-Dv3Rsw56.cjs")),groupName:"表单",icon:"icon--epic--upload-rounded",sort:920,defaultSchema:{label:"上传文件",type:"upload-file",field:"uploadFile",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name",componentProps:{placeholder:"请输入"}},{label:"允许上传最大数量",type:"number",field:"componentProps.max",componentProps:{min:0,placeholder:"请输入"}},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},k={component:()=>Promise.resolve().then(()=>require("../../uploadImage-B3tV49Mm.cjs")),groupName:"表单",icon:"icon--epic--imagesmode-outline-rounded",sort:920,defaultSchema:{label:"上传图片",type:"upload-image",field:"uploadImage",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name",componentProps:{placeholder:"请输入"}},{label:"允许上传最大数量",type:"number",field:"componentProps.max",componentProps:{min:0,placeholder:"请输入"}},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},S={component:()=>Promise.resolve().then(()=>require("../../modal-BYw2WLwG.cjs")),defaultSchema:{label:"模态框",type:"modal",children:[]},config:{attribute:[{label:"标题",type:"input",field:"title"}]}};function q(e=a.pluginManager){e.component("FormItem",async()=>(await Promise.resolve().then(()=>require("../../index-DMszow96.cjs")).then(t=>t.index)).NFormItem),e.component("Tabs",async()=>(await Promise.resolve().then(()=>require("../../index-D5WpEOUO.cjs")).then(t=>t.index)).NTabs),e.component("TabPane",p.NTabPane),e.component("Collapse",async()=>(await Promise.resolve().then(()=>require("../../index-RdEhd65J.cjs")).then(t=>t.index)).NCollapse),e.component("CollapseItem",async()=>(await Promise.resolve().then(()=>require("../../index-RdEhd65J.cjs")).then(t=>t.index)).NCollapseItem),[i,c,n,r,y,f,E,m,v,P,g,h,N,k,s,d,u,b,w,x,S].forEach(t=>{e.registerComponent(t),e.addBaseComponentTypes(t.defaultSchema.type)}),e.setInitialized(!0)}exports.setupNaiveUi=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("epic-designer-gold"),p=require("naive-ui"),n={component:async()=>(await Promise.resolve().then(()=>require("../../index-BVUz9lFN.cjs")).then(e=>e.index)).NInput,groupName:"表单",icon:"icon--epic--border-color-outline-rounded",sort:700,defaultSchema:{label:"输入框",type:"input",field:"input",input:!0,componentProps:{defaultValue:"",placeholder:"请输入",type:"text"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"input",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"输入类型",type:"select",defaultValue:"text",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"text",value:"text"},{label:"textarea",value:"textarea"},{label:"password",value:"password"}]},field:"componentProps.type",onChange:({value:e,values:l})=>{e!="text"&&(l.componentProps.pair=!1)}},{label:"最大输入长度",type:"number",field:"componentProps.maxlength",componentProps:{placeholder:"请输入"}},{label:"显示密码的时机",type:"select",field:"componentProps.showPasswordOn",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"click",value:"click"},{label:"mousedown",value:"mousedown"}]},show:({values:e})=>e.componentProps.type==="password"},{label:"行数",type:"number",field:"componentProps.rows",show:({values:e})=>e.componentProps.type==="textarea"},{label:"是否输入成对值",type:"switch",field:"componentProps.pair",show:({values:e})=>e.componentProps.type==="text"},{label:"分割符",type:"input",field:"componentProps.separator",show:({values:e})=>e.componentProps.type==="text"&&e.componentProps.pair,componentProps:{placeholder:"请输入"}},{label:"是否圆角",type:"switch",field:"componentProps.round"},{label:"是否统计字数",type:"switch",field:"componentProps.showCount"},{label:"自适应内容高度",type:"switch",field:"componentProps.autosize",show:({values:e})=>e.componentProps.type==="textarea"},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"input",describe:"输入值"},{type:"change",describe:"值修改"},{type:"focus",describe:"获取焦点"},{type:"blur",describe:"失去焦点"}],action:[{type:"focus",describe:"使 input 获取焦点"},{type:"blur",describe:"使 input 失去焦点"},{type:"clear",describe:"清除 input 值"},{type:"select",describe:"选中 input 中的文字"}]},bindModel:"value"},r={component:async()=>(await Promise.resolve().then(()=>require("../../index-XU85x6vz.cjs")).then(e=>e.index)).NInputNumber,groupName:"表单",icon:"icon--epic--123-rounded",sort:710,defaultSchema:{label:"数字输入框",type:"number",field:"number",input:!0,componentProps:{placeholder:"请输入"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"number",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"控制按钮位置",type:"select",field:"componentProps.buttonPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"both",value:"both"},{label:"right",value:"right"}]}},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"精度",type:"number",field:"componentProps.precision",componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}]},bindModel:"value"},i={component:()=>Promise.resolve().then(()=>require("../../form-ChuxpD-f.cjs")),groupName:"表单",icon:"icon--epic--list-alt-outline-rounded",sort:600,defaultSchema:{label:"表单",type:"form",componentProps:{name:"default",labelWidth:100,labelCol:{span:5},wrapperCol:{span:19},hideRequiredMark:!1},children:[]},config:{attribute:[{label:"name",type:"input",field:"componentProps.name"},{label:"标签宽度",type:"EInputSize",field:"componentProps.labelWidth"},{label:"标签位置",type:"select",field:"componentProps.labelPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"顶部",value:"top"}]}},{label:"标签对齐方式",type:"select",field:"componentProps.labelAlign",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"}]}},{label:"必填星号位置",type:"select",field:"componentProps.requireMarkPlacement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"左边",value:"left"},{label:"右边",value:"right"}]}},{label:"表单尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"行内模式",type:"switch",field:"componentProps.inline"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}],action:[{type:"getData",describe:"获取表单数据"},{type:"setData",describe:"设置表单数据"},{type:"validate",describe:"校验表单"}]}},c={component:()=>Promise.resolve().then(()=>require("../../formItem-Do31LPIz.cjs")),defaultSchema:{label:"表单项",type:"form-item"},config:{}},s={component:()=>Promise.resolve().then(()=>require("../../button-BKT6NVeB.cjs")),groupName:"表单",icon:"icon--epic--fit-screen-rounded",sort:1200,defaultSchema:{label:"按钮",type:"button",field:"input",input:!1,componentProps:{bordered:!0,type:"default",size:"medium"}},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"类型",type:"select",componentProps:{placeholder:"请选择",options:[{label:"default",value:"default"},{label:"tertiary",value:"tertiary"},{label:"primary",value:"primary"},{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"error",value:"error"}]},field:"componentProps.type"},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"tiny",value:"tiny"},{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"是否块级",type:"switch",field:"componentProps.block"},{label:"显示边框",type:"switch",field:"componentProps.bordered"},{label:"虚线框",type:"switch",field:"componentProps.dashed"},{label:"圆角按钮",type:"switch",field:"componentProps.round"},{label:"圆形按钮",type:"switch",field:"componentProps.circle"},{label:"按钮颜色",type:"color-picker",field:"componentProps.color"},{label:"是否透明",type:"switch",field:"componentProps.ghost"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}],event:[{type:"click",describe:"点击按钮时"},{type:"dblclick",describe:"双击按钮时"}]}},d={component:()=>Promise.resolve().then(()=>require("../../card-BOMT_SwB.cjs")),groupName:"布局",icon:"icon--epic--wysiwyg-rounded",sort:900,defaultSchema:{label:"卡片布局",type:"card",children:[]},config:{attribute:[{label:"标题",type:"input",field:"label"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},u={component:()=>Promise.resolve().then(()=>require("../../row-B28N4Nao.cjs")),groupName:"布局",icon:"icon--epic--width-normal-outline",sort:800,defaultSchema:{label:"栅格布局",type:"row",children:[{type:"col",children:[],componentProps:{span:12}},{type:"col",children:[],componentProps:{span:12}}]},editConstraints:{childImmovable:!0},config:{attribute:[{label:"栅格间距",type:"number",field:"componentProps.gutter",componentProps:{placeholder:"请输入"}},{label:"列编辑",type:"EColEditor",field:"children"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},b={component:()=>Promise.resolve().then(()=>require("../../col-DXjfnmpf.cjs")),defaultSchema:{label:"栅格布局-列",type:"col",children:[],componentProps:{span:6}},config:{attribute:[{label:"占位格数",type:"number",field:"componentProps.span"}]}},m={component:async()=>(await Promise.resolve().then(()=>require("../../index-zYoSB4fa.cjs")).then(e=>e.index)).NSelect,groupName:"表单",icon:"icon--epic--select",sort:900,defaultSchema:{label:"选择框",type:"select",field:"select",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],placeholder:"请选择"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"select",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"可过滤",type:"switch",field:"componentProps.filterable"},{label:"允许创建新选项",type:"switch",field:"componentProps.tag",show:({values:e})=>e.componentProps.filterable},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"最大tag数",type:"number",field:"componentProps.maxTagCount",show:({values:e})=>e.componentProps.multiple,componentProps:{placeholder:"请输入"}},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"}],event:[{type:"change",describe:"值修改"}]},bindModel:"value"},y={component:()=>Promise.resolve().then(()=>require("../../radio-J90E17Sb.cjs")),groupName:"表单",icon:"icon--epic--radio-button-checked-outline",sort:850,defaultSchema:{label:"单选框",type:"radio",field:"radio",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}]}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"radio",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}]}},f={component:()=>Promise.resolve().then(()=>require("../../checkbox-D8eqzQDX.cjs")),groupName:"表单",icon:"icon--epic--dialogs-outline-rounded",sort:860,defaultSchema:{label:"复选框",type:"checkbox",field:"checkbox",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}]}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"checkbox",field:"componentProps.defaultValue"},{label:"最大勾选数",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小勾选数",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}],event:[{type:"change",describe:"值变化时"}]}},h={component:async()=>(await Promise.resolve().then(()=>require("../../index-DTzB2pWI.cjs")).then(e=>e.index)).NSlider,groupName:"表单",icon:"icon--epic--switches",sort:930,defaultSchema:{label:"滑块",type:"slider",field:"slider",input:!0,componentProps:{placement:"top-start"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"slider",field:"componentProps.defaultValue"},{label:"键盘可控",type:"switch",field:"componentProps.keyboard"},{label:"范围选择",type:"switch",field:"componentProps.range",changeSync:!0,onChange:({value:e,values:l})=>{e?l.componentProps.defaultValue=[0,100]:l.componentProps.defaultValue=0}},{label:"倒转轨道",type:"switch",field:"componentProps.reverse"},{label:"步长",type:"number",field:"componentProps.step",componentProps:{placeholder:"请输入"}},{label:"一直显示提示",type:"switch",field:"componentProps.showTooltip"},{label:"垂直模式",type:"switch",field:"componentProps.vertical"},{label:"最大值",type:"number",field:"componentProps.max",componentProps:{placeholder:"请输入"}},{label:"最小值",type:"number",field:"componentProps.min",componentProps:{placeholder:"请输入"}},{label:"弹出位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"number"}}],event:[{type:"input",describe:"拖拽实时触发"},{type:"change",describe:"拖拽结束改变值时"}]},bindModel:"value"},P={component:async()=>(await Promise.resolve().then(()=>require("../../index-BB9rZNCd.cjs")).then(e=>e.index)).NColorPicker,groupName:"表单",icon:"icon--epic--palette-outline",sort:950,defaultSchema:{label:"颜色选择器",type:"color-picker",field:"color-picker",input:!0,componentProps:{type:"color",modes:["hex"],showAlpha:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"color-picker",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",defaultValue:"default",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]},field:"componentProps.size"},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"格式",type:"checkbox",field:"componentProps.modes",componentProps:{options:[{label:"rgb",value:"rgb"},{label:"hex",value:"hex"},{label:"hsl",value:"hsl"},{label:"hsv",value:"hsv"}],max:1}},{label:"展示预览块",type:"switch",field:"componentProps.showPreview"},{label:"可调节透明度",type:"switch",field:"componentProps.showAlpha"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}],action:[]},bindModel:"value"},v={component:async()=>(await Promise.resolve().then(()=>require("../../index-g5ZjtbqH.cjs")).then(e=>e.index)).NSwitch,groupName:"表单",icon:"icon--epic--toggle-off-outline",sort:930,defaultSchema:{label:"开关",type:"switch",field:"switch",input:!0,componentProps:{defaultValue:!1,round:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"switch",field:"componentProps.defaultValue"},{label:"ON状态值",type:"input",field:"componentProps.checkedValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>o(e))}},{label:"OFF状态值",type:"input",field:"componentProps.uncheckedValue",componentProps:{placeholder:"请输入"},onChange(e){setTimeout(()=>o(e))}},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"圆型按钮",type:"switch",field:"componentProps.round"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"boolean"}}],event:[{type:"change",describe:"状态发生变化时"}]},bindModel:"value"};function o(e){var t;let l=((t=e.values.componentProps)==null?void 0:t.uncheckedValue)||!1;e.values.componentProps.uncheckedValue===""&&delete e.values.componentProps.uncheckedValue,e.values.componentProps.checkedValue===""&&delete e.values.componentProps.checkedValue,e.values.componentProps?e.values.componentProps.defaultValue=l:e.values.componentProps={defaultValue:l}}const g={component:async()=>(await Promise.resolve().then(()=>require("../../index-Cphndmia.cjs")).then(e=>e.index)).NCascader,groupName:"表单",icon:"icon--epic--full-coverage-outline",sort:880,defaultSchema:{label:"级联选择器",type:"cascader",field:"cascader",input:!0,componentProps:{options:[{label:"选项1",value:"选项1"},{label:"选项2",value:"选项2"}],placeholder:"请选择",cascade:!1,showPath:!0}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"cascader",field:"componentProps.defaultValue"},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"极小",value:"tiny"},{label:"小型",value:"small"},{label:"中等",value:"medium"},{label:"大号",value:"large"}]}},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"多选时关联选项",type:"switch",field:"componentProps.cascade",show:({values:e})=>e.componentProps.multiple},{label:"分割符",type:"switch",field:"componentProps.separator"},{label:"显示选项路径",type:"switch",field:"componentProps.showPath"},{label:"可搜索",type:"switch",field:"componentProps.filterable"},{label:"菜单弹出的位置",type:"select",field:"componentProps.placement",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"top-start",value:"top-start"},{label:"top",value:"top"},{label:"top-end",value:"top-end"},{label:"right-start",value:"right-start"},{label:"right",value:"right"},{label:"right-end",value:"right-end"},{label:"bottom-start",value:"bottom-start"},{label:"bottom",value:"bottom"},{label:"bottom-end",value:"bottom-end"},{label:"left-start",value:"left-start"},{label:"left",value:"left"},{label:"left-end",value:"left-end"}]}},{label:"最大tag显示数",type:"number",field:"componentProps.maxTagCount",show:({values:e})=>e.componentProps.multiple},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"选项管理",type:"EOptionsEditor",layout:"vertical",field:"componentProps.options",componentProps:{tree:!0},describe:"配置选项"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}],event:[{type:"change",describe:"选中节点变化时"},{type:"close",describe:"面板的关闭事件"}],action:[{type:"getCheckedNodes",describe:"获取当前选中节点"}]},bindModel:"value"},w={component:()=>Promise.resolve().then(()=>require("../../collapse-BSFa_xwh.cjs")),defaultSchema:{label:"折叠面板",type:"collapse",children:[{type:"collapse-item",children:[],componentProps:{span:12},id:"g062zikd2jk001"},{type:"collapse-item",children:[],componentProps:{span:12},id:"gy5z9jtfb3s001"}]},config:{attribute:[{label:"折叠项管理",type:"EColEditor",field:"children"},{label:"隐藏",type:"switch",field:"componentProps.hidden"}]}},x={component:()=>Promise.resolve().then(()=>require("../../collapseItem-FF5A59WT.cjs")),defaultSchema:{label:"折叠项",type:"collapse-item",children:[]},config:{attribute:[]}},E={component:async()=>(await Promise.resolve().then(()=>require("../../index-BCk0LJsg.cjs")).then(e=>e.index)).NDatePicker,groupName:"表单",icon:"icon--epic--calendar-month-outline-rounded",sort:910,defaultSchema:{label:"日期选择器",type:"date",field:"date",input:!0,componentProps:{type:"date",placeholder:"请选择",format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"默认值",type:"date",field:"componentProps.defaultValue"},{label:"尺寸",type:"select",field:"componentProps.size",componentProps:{placeholder:"请选择",clearable:!0,options:[{label:"大号",value:"large"},{label:"中等",value:"medium"},{label:"小型",value:"small"}]}},{label:"占位内容",type:"input",field:"componentProps.placeholder"},{label:"日期类型",type:"select",field:"componentProps.type",componentProps:{options:[{label:"日期",value:"date"},{label:"日期时间",value:"datetime"},{label:"日期范围",value:"daterange"},{label:"时间范围",value:"datetimerange"},{label:"月份",value:"month"},{label:"月份范围",value:"monthrange"},{label:"年份",value:"year"},{label:"季度",value:"quarter"},{label:"周",value:"week"}]},onChange({values:e,value:l}){e.componentProps.defaultValue=null,console.log(l),["date","daterange","dates"].includes(l)?(e.componentProps.format="yyyy-MM-dd",e.componentProps.valueFormat="yyyy-MM-dd"):["week"].includes(l)||["quarter"].includes(l)?(e.componentProps.format=null,e.componentProps.valueFormat="yyyy-MM-dd"):["month","monthrange"].includes(l)?(e.componentProps.format="yyyy-MM",e.componentProps.valueFormat="yyyy-MM"):["datetime","datetimerange"].includes(l)?(e.componentProps.format="yyyy-MM-dd HH:mm:ss",e.componentProps.valueFormat="yyyy-MM-dd HH:mm:ss"):["year"].includes(l)&&(e.componentProps.format="yyyy",e.componentProps.valueFormat="yyyy")}},{label:"显示格式",type:"input",field:"componentProps.format"},{label:"数据格式",type:"input",field:"componentProps.valueFormat"},{label:"分割符",type:"input",field:"componentProps.separator",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"start框占位符",type:"input",field:"componentProps.startPlaceholder",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"end框占位符",type:"input",field:"componentProps.endPlaceholder",componentProps:{placeholder:"请输入",clearable:!0},show:({values:e})=>["daterange","datetimerange","monthrange"].includes(e.componentProps.type)},{label:"可清空",type:"switch",field:"componentProps.clearable"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用"}],event:[{type:"change",describe:"值变化时"}]},bindModel:"formatted-value"},N={component:()=>Promise.resolve().then(()=>require("../../uploadFile-Dv3Rsw56.cjs")),groupName:"表单",icon:"icon--epic--upload-rounded",sort:920,defaultSchema:{label:"上传文件",type:"upload-file",field:"uploadFile",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name",componentProps:{placeholder:"请输入"}},{label:"允许上传最大数量",type:"number",field:"componentProps.max",componentProps:{min:0,placeholder:"请输入"}},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},k={component:()=>Promise.resolve().then(()=>require("../../uploadImage-CNMsK4Lh.cjs")),groupName:"表单",icon:"icon--epic--imagesmode-outline-rounded",sort:920,defaultSchema:{label:"上传图片",type:"upload-image",field:"uploadImage",input:!0,componentProps:{action:"https://ess-ds.com/prod-api/center-file/file/upload"}},config:{attribute:[{label:"字段名",type:"input",field:"field"},{label:"标题",type:"input",field:"label"},{label:"请求地址",type:"input",field:"componentProps.action"},{label:"上传文件字段",type:"input",field:"componentProps.name",componentProps:{placeholder:"请输入"}},{label:"允许上传最大数量",type:"number",field:"componentProps.max",componentProps:{min:0,placeholder:"请输入"}},{label:"展示文件列表",type:"switch",field:"componentProps.showFileList"},{label:"多选",type:"switch",field:"componentProps.multiple"},{label:"禁用",type:"switch",field:"componentProps.disabled"},{label:"隐藏",type:"switch",field:"componentProps.hidden"},{label:"表单校验",type:"ERuleEditor",layout:"vertical",field:"rules",describe:"校验规则需要配合表单使用",componentProps:{ruleType:"array"}}]},bindModel:"modelValue"},S={component:()=>Promise.resolve().then(()=>require("../../modal-BYw2WLwG.cjs")),defaultSchema:{label:"模态框",type:"modal",children:[]},config:{attribute:[{label:"标题",type:"input",field:"title"}]}};function q(e=a.pluginManager){e.component("FormItem",async()=>(await Promise.resolve().then(()=>require("../../index-DMszow96.cjs")).then(t=>t.index)).NFormItem),e.component("Tabs",async()=>(await Promise.resolve().then(()=>require("../../index-D5WpEOUO.cjs")).then(t=>t.index)).NTabs),e.component("TabPane",p.NTabPane),e.component("Collapse",async()=>(await Promise.resolve().then(()=>require("../../index-RdEhd65J.cjs")).then(t=>t.index)).NCollapse),e.component("CollapseItem",async()=>(await Promise.resolve().then(()=>require("../../index-RdEhd65J.cjs")).then(t=>t.index)).NCollapseItem),[i,c,n,r,y,f,E,m,v,P,g,h,N,k,s,d,u,b,w,x,S].forEach(t=>{e.registerComponent(t),e.addBaseComponentTypes(t.defaultSchema.type)}),e.setInitialized(!0)}exports.setupNaiveUi=q;
@@ -2220,7 +2220,7 @@ const w = {
2220
2220
  },
2221
2221
  bindModel: "modelValue"
2222
2222
  }, S = {
2223
- component: () => import("../../uploadImage-Z6Y6KN1R.js"),
2223
+ component: () => import("../../uploadImage-VFICaVgX.js"),
2224
2224
  groupName: "表单",
2225
2225
  icon: "icon--epic--imagesmode-outline-rounded",
2226
2226
  sort: 920,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),a=require("element-plus"),E=require("./index-BoL2PSBk.cjs"),{t:r}=E.useLocale(),b=l.defineComponent({props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(d,{emit:i,attrs:u}){const o=l.ref([]);l.watch(o,e=>{i("update:modelValue",e)});const c=l.inject("disabled",{value:!1});l.watch(()=>d.modelValue,e=>{if(e!=null&&e.length>0&&o.value!=null){if(o.value===e)return;o.value.length=0,o.value.push(...e)}},{deep:!0,immediate:!0});const p=(e,t)=>{l.nextTick(()=>{o.value=t})},f=e=>{var n,s;let t=e.url||((s=(n=e==null?void 0:e.response)==null?void 0:n.data)==null?void 0:s.url);window.open(t)},h=e=>{},g=(e,t,n)=>{console.log(n)},v=(e,t,n)=>{a.ElMessage.error(r("uploadFailed")),console.error(e)},m=(e,t)=>{let{limit:n}=u;a.ElMessage.warning(`最多只能上传 ${n} 个文件`)},w=l.computed(()=>({...u,"file-list":o.value,onBeforeUpload:h,onChange:p,onSuccess:g,onError:v,onPreview:f,onExceed:m}));return()=>l.h("div",null,{default:()=>[l.h(a.ElUpload,w.value,{default:()=>[l.h(a.ElButton,{disabled:c.value},{default:()=>[l.h("span",{class:"icon--epic icon--epic--cloud-upload-outlined text-lg",style:{"margin-right":"2px"}}),l.h("span",null,{default:()=>r("fileUpload")})]})]})]})}});exports.default=b;
@@ -0,0 +1,81 @@
1
+ import { defineComponent as x, ref as U, watch as s, inject as b, computed as V, h as n, nextTick as y } from "vue";
2
+ import { ElUpload as C, ElButton as L, ElMessage as r } from "element-plus";
3
+ import { u as P } from "./index-B1s67XDZ.js";
4
+ const { t: d } = P(), k = x({
5
+ props: {
6
+ modelValue: {
7
+ type: Array,
8
+ default: () => []
9
+ }
10
+ },
11
+ emits: ["update:modelValue"],
12
+ setup(i, { emit: c, attrs: t }) {
13
+ const l = U([]);
14
+ s(l, (e) => {
15
+ c("update:modelValue", e);
16
+ });
17
+ const p = b("disabled", { value: !1 });
18
+ s(
19
+ () => i.modelValue,
20
+ (e) => {
21
+ if (e != null && e.length > 0 && l.value != null) {
22
+ if (l.value === e) return;
23
+ l.value.length = 0, l.value.push(...e);
24
+ }
25
+ },
26
+ { deep: !0, immediate: !0 }
27
+ );
28
+ const f = (e, a) => {
29
+ y(() => {
30
+ l.value = a;
31
+ });
32
+ }, m = (e) => {
33
+ var o, u;
34
+ let a = e.url || ((u = (o = e == null ? void 0 : e.response) == null ? void 0 : o.data) == null ? void 0 : u.url);
35
+ window.open(a);
36
+ }, h = (e) => {
37
+ }, v = (e, a, o) => {
38
+ console.log(o);
39
+ }, g = (e, a, o) => {
40
+ r.error(d("uploadFailed")), console.error(e);
41
+ }, w = (e, a) => {
42
+ let { limit: o } = t;
43
+ r.warning(`最多只能上传 ${o} 个文件`);
44
+ }, E = V(() => ({
45
+ ...t,
46
+ "file-list": l.value,
47
+ onBeforeUpload: h,
48
+ onChange: f,
49
+ onSuccess: v,
50
+ onError: g,
51
+ onPreview: m,
52
+ onExceed: w
53
+ }));
54
+ return () => n("div", null, {
55
+ default: () => [
56
+ n(C, E.value, {
57
+ default: () => [
58
+ n(
59
+ L,
60
+ {
61
+ disabled: p.value
62
+ },
63
+ {
64
+ default: () => [
65
+ n("span", {
66
+ class: "icon--epic icon--epic--cloud-upload-outlined text-lg",
67
+ style: { "margin-right": "2px" }
68
+ }),
69
+ n("span", null, { default: () => d("fileUpload") })
70
+ ]
71
+ }
72
+ )
73
+ ]
74
+ })
75
+ ]
76
+ });
77
+ }
78
+ });
79
+ export {
80
+ k as default
81
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),r=require("element-plus"),V=require("./index-BoL2PSBk.cjs"),{t:u}=V.useLocale(),P=l.defineComponent({props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(v,{emit:h,attrs:i}){const o=l.ref([]),m=l.inject("disabled",{value:!1}),n=l.ref(""),d=l.ref(!1),c=e=>{d.value=e};l.watch(o,e=>{h("update:modelValue",e)}),l.watch(()=>v.modelValue,e=>{if(e!=null&&e.length>0&&o.value!=null){if(o.value===e)return;o.value.length=0,o.value.push(...e)}},{deep:!0,immediate:!0});const x=(e,s)=>{l.nextTick(()=>{t?(o.value=s.filter(a=>{var f,g;return((f=a==null?void 0:a.response)==null?void 0:f.code)===200||((g=a==null?void 0:a.response)==null?void 0:g.code)===201}),t=!1):o.value=s})};let t=!1;const E=(e,s,a)=>{e.code!==200&&(r.ElMessage.error(u("uploadFailed")),t=!0),console.log(a)},b=(e,s,a)=>{r.ElMessage.error(u("uploadFailed")),console.error(e)},w=(e,s)=>{let{limit:a}=i;r.ElMessage.warning(`最多只能上传 ${a} 张图片`)},y=e=>{},p=l.computed(()=>({...i,"file-list":o.value,"list-type":"picture-card",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",onBeforeUpload:y,onChange:x,onSuccess:E,onError:b,onPreview:U,onExceed:w})),U=e=>{e.url&&(n.value=e.url,c(!0))};return()=>l.h("div",{class:"epic-upload-image"},p.value.disabled||m.value?{default:()=>[o.value.map(e=>l.h(r.ElImage,{src:o.value[0].url,fit:"contain","preview-src-list":[e.url],style:{width:"156px",margin:"0 8px 8px 0",height:"156px",border:"1px solid #eee","border-radius":"6px"}}))]}:{default:()=>[l.h(r.ElUpload,{...p.value},{default:()=>[l.h("div",{style:{"text-align":"center"}},{default:()=>[l.h("span",{class:"icon--epic icon--epic--cloud-upload-outlined mr-2px text-lg"}),l.h("div",{class:"ant-upload-text"},{default:()=>u("clickToUpload")})]})]}),(()=>{if(d.value)return l.h(r.ElImageViewer,{urlList:[n.value],onClose:()=>{c(!1)}})})()]})}});exports.default=P;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("naive-ui"),m=require("./index-BpROfyMH.cjs"),{t:f}=m.useLocale(),h=l.defineComponent({props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(n,{emit:i,attrs:u}){const a=l.ref([]);l.watch(a,e=>{i("update:modelValue",e)}),l.watch(()=>n.modelValue,e=>{if(e!=null&&e.length>0&&a.value!=null){if(a.value===e)return;a.value.length=0,a.value.push(...e)}},{deep:!0,immediate:!0});function s(e){console.log("onChange called->",e),l.nextTick(()=>{a.value=e})}const r=({file:e,event:t})=>{var o;console.log("OnFinish called->",e,t);const d=t==null?void 0:t.target,p=JSON.parse(d.response??"{}");e.url=(o=p.data)==null?void 0:o.url},c=({file:e,event:t})=>{console.log("OnError called->",e,t)};return()=>l.h("div",{class:"epic-upload-image"},{default:()=>[l.h(g.NUpload,{...u,"list-type":"image-card",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg","onUpdate:file-list":s,"file-list":a.value,onFinish:r,onError:c},{default:()=>[l.h("div",{style:{"text-align":"center"}},{default:()=>[l.h("span",{class:"icon--epic icon--epic--cloud-upload-outlined text-md mr-2px text-lg"}),l.h("div",{class:"ant-upload-text"},{default:()=>f("clickToUpload")})]})]})]})}});exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("naive-ui"),m=require("./index-BoL2PSBk.cjs"),{t:f}=m.useLocale(),h=l.defineComponent({props:{modelValue:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(n,{emit:i,attrs:u}){const a=l.ref([]);l.watch(a,e=>{i("update:modelValue",e)}),l.watch(()=>n.modelValue,e=>{if(e!=null&&e.length>0&&a.value!=null){if(a.value===e)return;a.value.length=0,a.value.push(...e)}},{deep:!0,immediate:!0});function s(e){console.log("onChange called->",e),l.nextTick(()=>{a.value=e})}const r=({file:e,event:t})=>{var o;console.log("OnFinish called->",e,t);const d=t==null?void 0:t.target,p=JSON.parse(d.response??"{}");e.url=(o=p.data)==null?void 0:o.url},c=({file:e,event:t})=>{console.log("OnError called->",e,t)};return()=>l.h("div",{class:"epic-upload-image"},{default:()=>[l.h(g.NUpload,{...u,"list-type":"image-card",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg","onUpdate:file-list":s,"file-list":a.value,onFinish:r,onError:c},{default:()=>[l.h("div",{style:{"text-align":"center"}},{default:()=>[l.h("span",{class:"icon--epic icon--epic--cloud-upload-outlined text-md mr-2px text-lg"}),l.h("div",{class:"ant-upload-text"},{default:()=>f("clickToUpload")})]})]})]})}});exports.default=h;
@@ -0,0 +1,121 @@
1
+ import { defineComponent as F, ref as t, inject as L, watch as m, computed as j, h as o, nextTick as I } from "vue";
2
+ import { ElImage as P, ElUpload as k, ElImageViewer as S, ElMessage as u } from "element-plus";
3
+ import { u as T } from "./index-B1s67XDZ.js";
4
+ const { t: i } = T(), N = F({
5
+ props: {
6
+ modelValue: {
7
+ type: Array,
8
+ default: () => []
9
+ }
10
+ },
11
+ emits: ["update:modelValue"],
12
+ setup(h, { emit: x, attrs: n }) {
13
+ const a = t([]), E = L("disabled", { value: !1 }), d = t(""), c = t(!1), p = (e) => {
14
+ c.value = e;
15
+ };
16
+ m(a, (e) => {
17
+ x("update:modelValue", e);
18
+ }), m(
19
+ () => h.modelValue,
20
+ (e) => {
21
+ if (e != null && e.length > 0 && a.value != null) {
22
+ if (a.value === e) return;
23
+ a.value.length = 0, a.value.push(...e);
24
+ }
25
+ },
26
+ { deep: !0, immediate: !0 }
27
+ );
28
+ const b = (e, r) => {
29
+ I(() => {
30
+ s ? (a.value = r.filter((l) => {
31
+ var g, v;
32
+ return ((g = l == null ? void 0 : l.response) == null ? void 0 : g.code) === 200 || ((v = l == null ? void 0 : l.response) == null ? void 0 : v.code) === 201;
33
+ }), s = !1) : a.value = r;
34
+ });
35
+ };
36
+ let s = !1;
37
+ const w = (e, r, l) => {
38
+ e.code !== 200 && (u.error(i("uploadFailed")), s = !0), console.log(l);
39
+ }, U = (e, r, l) => {
40
+ u.error(i("uploadFailed")), console.error(e);
41
+ }, V = (e, r) => {
42
+ let { limit: l } = n;
43
+ u.warning(`最多只能上传 ${l} 张图片`);
44
+ }, y = (e) => {
45
+ }, f = j(() => ({
46
+ ...n,
47
+ "file-list": a.value,
48
+ "list-type": "picture-card",
49
+ accept: "image/gif,image/jpeg,image/jpg,image/png,image/svg",
50
+ onBeforeUpload: y,
51
+ onChange: b,
52
+ onSuccess: w,
53
+ onError: U,
54
+ onPreview: C,
55
+ onExceed: V
56
+ })), C = (e) => {
57
+ e.url && (d.value = e.url, p(!0));
58
+ };
59
+ return () => o(
60
+ "div",
61
+ {
62
+ class: "epic-upload-image"
63
+ },
64
+ f.value.disabled || E.value ? {
65
+ default: () => [
66
+ a.value.map(
67
+ (e) => o(P, {
68
+ src: a.value[0].url,
69
+ fit: "contain",
70
+ "preview-src-list": [e.url],
71
+ style: {
72
+ width: "156px",
73
+ margin: "0 8px 8px 0",
74
+ height: "156px",
75
+ border: "1px solid #eee",
76
+ "border-radius": "6px"
77
+ }
78
+ })
79
+ )
80
+ ]
81
+ } : {
82
+ default: () => [
83
+ o(
84
+ k,
85
+ {
86
+ ...f.value
87
+ },
88
+ {
89
+ default: () => [
90
+ o(
91
+ "div",
92
+ { style: { "text-align": "center" } },
93
+ {
94
+ default: () => [
95
+ o("span", {
96
+ class: "icon--epic icon--epic--cloud-upload-outlined mr-2px text-lg"
97
+ }),
98
+ o("div", { class: "ant-upload-text" }, { default: () => i("clickToUpload") })
99
+ ]
100
+ }
101
+ )
102
+ ]
103
+ }
104
+ ),
105
+ (() => {
106
+ if (c.value)
107
+ return o(S, {
108
+ urlList: [d.value],
109
+ onClose: () => {
110
+ p(!1);
111
+ }
112
+ });
113
+ })()
114
+ ]
115
+ }
116
+ );
117
+ }
118
+ });
119
+ export {
120
+ N as default
121
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, ref as f, watch as i, h as t, nextTick as h } from "vue";
2
2
  import { NUpload as x } from "naive-ui";
3
- import { u as v } from "./index-DWxy0GSJ.js";
3
+ import { u as v } from "./index-B1s67XDZ.js";
4
4
  const { t: y } = v(), O = g({
5
5
  props: {
6
6
  modelValue: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "epic-designer-gold",
3
3
  "private": false,
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-D8olMR4m.cjs"),l=require("./axios-B5oA4AjJ.cjs"),g=require("./index-BpROfyMH.cjs"),b=["title"],B=e.defineComponent({__name:"attributeView",setup(P){const{t:r}=g.useLocale(),d=e.inject("designer"),u=e.inject("pageSchema"),f=e.inject("revoke"),h=l.pluginManager.getComponentConfings(),c=e.computed(()=>d.state.checkedNode);function y(n){var a;return typeof n.show=="boolean"?n.show:typeof n.show=="function"?(a=n.show)==null?void 0:a.call(n,{values:c.value}):!0}const i=e.ref([]);e.watchEffect(()=>{var o,t,s;const n=(o=d.state.checkedNode)==null?void 0:o.type;if(!d.state.checkedNode||!n)return[];const a=((t=h[n])==null?void 0:t.config.attribute)??[];i.value=[{label:r("componentId"),type:"input",field:"id",componentProps:{disabled:!0}},...a],d.state.checkedNode.id===((s=u.schemas[0])==null?void 0:s.id)&&i.value.push({label:r("canvasWidth"),type:"EInputSize",field:"canvas.width",editData:u},{label:r("canvasHeight"),type:"EInputSize",field:"canvas.height",editData:u})});function m(n,a,o,t=c.value){typeof o.onChange=="function"&&o.onChange({value:n,values:t,componentAttributes:i}),o.changeSync?l.setValueByPath(t,a,n):e.nextTick(()=>{l.setValueByPath(t,a,n)}),f.push(u.schemas,r("editComponentProperties"))}function v(n,a,o=c.value){e.nextTick(()=>{l.setValueByPath(o,"componentProps.dynamicId",n)})}return(n,a)=>{var o;return e.openBlock(),e.createElementBlock("div",{class:"epic-attribute-view",key:(o=c.value)==null?void 0:o.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,t=>{var s;return e.openBlock(),e.createElementBlock("div",{key:t.field},[y(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["epic-attr-item",t.layout])},[t.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:"epic-attr-label",title:t.label},e.toDisplayString(t.label),9,b)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["epic-attr-input",{"block!":t.layout==="vertical"}])},[e.createVNode(e.unref(k._sfc_main),{componentSchema:{...t,componentProps:{...t.componentProps,...t.field==="componentProps.defaultValue"?(s=c.value)==null?void 0:s.componentProps:{},input:!1,field:void 0,hidden:!1},show:!0,noFormItem:!0},dynamicId:e.unref(l.getValueByPath)(t.editData??c.value,"componentProps.dynamicId"),"model-value":e.unref(l.getValueByPath)(t.editData??c.value,t.field),"onUpdate:modelValue":p=>m(p,t.field,t,t.editData),"onUpdate:dynamicId":p=>v(p)},null,8,["componentSchema","dynamicId","model-value","onUpdate:modelValue","onUpdate:dynamicId"])],2)],2)):e.createCommentVNode("",!0)])}),128))])}}});exports.default=B;