@ibiz-template/vue3-components 0.4.3 → 0.4.5

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 (108) hide show
  1. package/dist/chart-ImL2qyp9.js +0 -1
  2. package/dist/ibiz-markdown-editor-BQsiQfa2.js +0 -1
  3. package/dist/index-UNZ1dtt_.js +0 -1
  4. package/dist/index-Ul84JXar.js +0 -1
  5. package/dist/index-zzHHP33g.js +13 -0
  6. package/dist/index.min.css +1 -1
  7. package/dist/index.system.min.js +1 -2
  8. package/dist/map-chart-7nfIdU3w.js +0 -1
  9. package/dist/wang-editor-f4440Xvw.js +0 -1
  10. package/dist/{xlsx-util-Mxa6HuaG.js → xlsx-util-FO177Hj_.js} +1 -2
  11. package/es/common/col/col.mjs +0 -3
  12. package/es/common/data-import2/data-import2.css +1 -1
  13. package/es/common/data-import2/data-import2.d.ts +48 -11
  14. package/es/common/data-import2/data-import2.mjs +133 -166
  15. package/es/common/data-import2-select/data-import2-select.css +1 -0
  16. package/es/common/data-import2-select/data-import2-select.d.ts +59 -0
  17. package/es/common/data-import2-select/data-import2-select.mjs +170 -0
  18. package/es/common/data-import2-table/data-import2-table.css +1 -0
  19. package/es/common/data-import2-table/data-import2-table.d.ts +56 -0
  20. package/es/common/data-import2-table/data-import2-table.mjs +104 -0
  21. package/es/common/index.mjs +4 -0
  22. package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
  23. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +1 -1
  24. package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.provider.mjs +1 -1
  25. package/es/control/grid/row-edit-popover/row-edit-popover.css +1 -1
  26. package/es/control/tree/index.d.ts +1 -0
  27. package/es/control/tree/tree.css +1 -1
  28. package/es/control/tree/tree.d.ts +1 -0
  29. package/es/control/tree/tree.mjs +104 -54
  30. package/es/editor/index.mjs +9 -2
  31. package/es/index.mjs +0 -1
  32. package/es/panel-component/index.d.ts +0 -1
  33. package/es/panel-component/index.mjs +2 -4
  34. package/es/panel-component/panel-button/panel-button.controller.mjs +4 -1
  35. package/es/view-engine/index-view.engine.d.ts +0 -7
  36. package/es/view-engine/index-view.engine.mjs +0 -37
  37. package/lib/common/col/col.cjs +0 -3
  38. package/lib/common/data-import2/data-import2.cjs +132 -164
  39. package/lib/common/data-import2/data-import2.css +1 -1
  40. package/lib/common/data-import2-select/data-import2-select.cjs +172 -0
  41. package/lib/common/data-import2-select/data-import2-select.css +1 -0
  42. package/lib/common/data-import2-table/data-import2-table.cjs +106 -0
  43. package/lib/common/data-import2-table/data-import2-table.css +1 -0
  44. package/lib/common/index.cjs +4 -0
  45. package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
  46. package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.cjs +1 -1
  47. package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.provider.cjs +1 -1
  48. package/lib/control/grid/row-edit-popover/row-edit-popover.css +1 -1
  49. package/lib/control/tree/tree.cjs +102 -52
  50. package/lib/control/tree/tree.css +1 -1
  51. package/lib/editor/index.cjs +9 -2
  52. package/lib/index.cjs +15 -17
  53. package/lib/panel-component/index.cjs +29 -32
  54. package/lib/panel-component/panel-button/panel-button.controller.cjs +4 -1
  55. package/lib/view-engine/index-view.engine.cjs +0 -37
  56. package/package.json +10 -9
  57. package/dist/chart-ImL2qyp9.js.map +0 -1
  58. package/dist/ibiz-markdown-editor-BQsiQfa2.js.map +0 -1
  59. package/dist/index-1dtzc9-X.js +0 -14
  60. package/dist/index-1dtzc9-X.js.map +0 -1
  61. package/dist/index-UNZ1dtt_.js.map +0 -1
  62. package/dist/index-Ul84JXar.js.map +0 -1
  63. package/dist/index.system.min.js.map +0 -1
  64. package/dist/map-chart-7nfIdU3w.js.map +0 -1
  65. package/dist/wang-editor-f4440Xvw.js.map +0 -1
  66. package/dist/xlsx-util-Mxa6HuaG.js.map +0 -1
  67. package/es/_virtual/_commonjs-dynamic-modules.mjs +0 -5
  68. package/es/_virtual/pluralize.mjs +0 -3
  69. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/format-path/format-path.mjs +0 -11
  70. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/index.mjs +0 -4
  71. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/merge-model/merge-model.mjs +0 -22
  72. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/plural/plural.mjs +0 -30
  73. package/es/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/service-path-util/service-path-util.mjs +0 -187
  74. package/es/node_modules/.pnpm/pluralize@8.0.0/node_modules/pluralize/pluralize.mjs +0 -515
  75. package/es/panel-component/panel-container-group/index.d.ts +0 -28
  76. package/es/panel-component/panel-container-group/index.mjs +0 -20
  77. package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +0 -31
  78. package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +0 -35
  79. package/es/panel-component/panel-container-group/panel-container-group.css +0 -1
  80. package/es/panel-component/panel-container-group/panel-container-group.d.ts +0 -28
  81. package/es/panel-component/panel-container-group/panel-container-group.mjs +0 -107
  82. package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts +0 -15
  83. package/es/panel-component/panel-container-group/panel-container-group.provider.mjs +0 -21
  84. package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +0 -12
  85. package/es/panel-component/panel-container-group/panel-container-group.state.mjs +0 -7
  86. package/es/panel-component/panel-tab-page/index.d.ts +0 -23
  87. package/es/panel-component/panel-tab-page/index.mjs +0 -12
  88. package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +0 -25
  89. package/es/panel-component/panel-tab-page/panel-tab-page.mjs +0 -62
  90. package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts +0 -13
  91. package/es/panel-component/panel-tab-page/panel-tab-page.provider.mjs +0 -21
  92. package/lib/_virtual/_commonjs-dynamic-modules.cjs +0 -7
  93. package/lib/_virtual/pluralize.cjs +0 -5
  94. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/format-path/format-path.cjs +0 -13
  95. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/index.cjs +0 -14
  96. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/merge-model/merge-model.cjs +0 -24
  97. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/plural/plural.cjs +0 -33
  98. package/lib/node_modules/.pnpm/@ibiz-template_model-helper@0.4.3_@ibiz-template_runtime@0.4.3_ramda@0.29.1/node_modules/@ibiz-template/model-helper/out/utils/service-path-util/service-path-util.cjs +0 -189
  99. package/lib/node_modules/.pnpm/pluralize@8.0.0/node_modules/pluralize/pluralize.cjs +0 -519
  100. package/lib/panel-component/panel-container-group/index.cjs +0 -27
  101. package/lib/panel-component/panel-container-group/panel-container-group.cjs +0 -109
  102. package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +0 -37
  103. package/lib/panel-component/panel-container-group/panel-container-group.css +0 -1
  104. package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +0 -23
  105. package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +0 -9
  106. package/lib/panel-component/panel-tab-page/index.cjs +0 -17
  107. package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +0 -64
  108. package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +0 -23
@@ -1,2 +1 @@
1
1
  System.register(["vue","@ibiz-template/vue3-util","echarts","@ibiz-template/runtime"],function(d){"use strict";var n,a,c,t,i,s,u,l,p,f;return{setters:[function(e){n=e.defineComponent,a=e.ref,c=e.onMounted,t=e.createVNode,i=e.resolveComponent,s=e.createTextVNode},function(e){u=e.useControlController,l=e.useNamespace},function(e){p=e.init},function(e){f=e.ChartController}],execute:function(){const e=d("default",n({name:"IBizChartControl",props:{modelData:{type:Object,required:!0},context:{type:Object,required:!0},params:{type:Object,default:()=>({})},provider:{type:Object},mdctrlActiveMode:{type:Number,default:void 0},loadDefault:{type:Boolean,default:!0}},setup(){const r=u((...o)=>new f(...o)),h=l(`control-${r.model.controlType.toLowerCase()}`),C=a();return c(()=>{const o=p(C.value);r.initChart(o)}),{c:r,ns:h,chartRef:C}},render(){return t(i("iBizControlBase"),{controller:this.c},{default:()=>[t("div",{ref:"chartRef",class:this.ns.e("chart")},[s("\u56FE\u8868")])]})}}))}}});
2
- //# sourceMappingURL=chart-ImL2qyp9.js.map
@@ -1,2 +1 @@
1
1
  System.register(["vue","@ibiz-template/vue3-util","qx-util","cherry-markdown","@ibiz-template/core"],function(V){"use strict";var p,r,l,k,w,v,C,U,y,M,D,x,z,I,B;return{setters:[function(o){p=o.defineComponent,r=o.ref,l=o.watch,k=o.onMounted,w=o.onUnmounted,v=o.createVNode,C=o.nextTick},function(o){U=o.getMarkDownProps,y=o.getEditorEmits,M=o.useNamespace,D=o.useUIStore},function(o){x=o.createUUID,z=o.getCookie},function(o){I=o.default},function(o){B=o.CoreConst}],execute:function(){const o=V("default",p({name:"IBizMarkDown",props:U(),emits:y(),setup(d,{emit:j}){const f=M("markdown"),n=d.controller,u=r(""),s=r(null),O=x(),E=r({Authorization:`Bearer ${z(B.TOKEN)}`}),S=r(""),N=r(""),{UIStore:T}=D(),c=r(T.theme),m=r("editOnly");let _=null,$=0;const b=r({});l(()=>d.data,e=>{if(e&&n){const t=n.calcBaseUrl(e);S.value=t.uploadUrl,N.value=t.downloadUrl}},{immediate:!0,deep:!0});const h=r(),q=(e,t)=>{const i=new FormData;i.append("file",e),ibiz.net.axios({url:S.value,method:"post",headers:E.value,data:i}).then(a=>{if(a.status===200&&a.data.fileid){const K=N.value.replace("%fileId%",a.data.fileid);t(K)}}).catch(a=>{ibiz.log.error("\u4E0A\u4F20\u51FA\u9519",a)})},A=()=>{var e;return(e=s.value)==null?void 0:e.getHtml()},g=()=>{var e;return(e=s.value)==null?void 0:e.getMarkdown()},R=e=>{var t;(t=s.value)==null||t.setMarkdown(e,!1)};l(()=>d.value,(e,t)=>{e!==t&&(e?u.value=e:u.value="")},{immediate:!0}),l(u,(e,t)=>{const i=g();e!==t&&i!==e&&R(e)});const F=e=>{j("change",g())},P=(e,t)=>({[e]:t}),H=()=>{d.disabled&&(m.value="previewOnly"),C(()=>{s.value=new I({id:O,value:u.value,theme:c.value,fileUpload:q,emoji:{useUnicode:!0},header:{anchorStyle:"autonumber"},editor:{height:"100%",defaultModel:m.value,codemirror:{autofocus:!1}},toolbars:{theme:c.value,toolbar:["bold","italic","underline","strikethrough","|","color","header","|","list","image",{insert:["link","hr","br","code","formula","toc","table","line-table","bar-table"]},"settings","togglePreview"],bubble:["bold","italic","underline","strikethrough","sub","sup","|","size","color"],float:["h1","h2","h3","|","checklist","quote","quickTable","code"],customMenu:[],sidebar:[]},callback:{afterChange:F,beforeImageMounted:P}})})};l(()=>T.theme,e=>{var t;c.value=e,(t=s.value)==null||t.setTheme(c.value)});const W=()=>{if(window.ResizeObserver&&h.value){const e={width:`${h.value.offsetWidth}px`};n&&typeof n.parent.model.height=="number"&&Object.assign(e,{height:`${n.parent.model.height}px`}),b.value=f.cssVarBlock(e),_=new ResizeObserver(t=>{const i=t[0].contentRect.width;if(i!==$){const a={width:`${t[0].contentRect.width}px`};n&&typeof n.parent.model.height=="number"&&Object.assign(a,{height:`${n.parent.model.height}px`}),b.value=f.cssVarBlock(a),$=i}}),_.observe(h.value)}};return k(()=>{H(),W()}),w(()=>{s.value=null}),{ns:f,currentVal:u,id:O,editor:s,markDownBox:h,headers:E,theme:c,defaultModel:m,cssVars:b,getCherryHtml:A,getCherryContent:g,setCherryContent:R}},render(){return v("div",{ref:"markDownBox",class:[this.ns.b(),this.ns.is("disabled",this.disabled)]},[v("div",{id:this.id,style:this.cssVars,class:this.ns.b("cherry")},null)])}}))}}});
2
- //# sourceMappingURL=ibiz-markdown-editor-BQsiQfa2.js.map
@@ -1,2 +1 @@
1
1
  System.register([],function(e){"use strict";return{execute:function(){var n=e("default",{name:"zhangsan"})}}});
2
- //# sourceMappingURL=index-UNZ1dtt_.js.map
@@ -1,2 +1 @@
1
1
  System.register([],function(e){"use strict";return{execute:function(){var t=e("default",{name:"\u5F20\u4E09"})}}});
2
- //# sourceMappingURL=index-Ul84JXar.js.map