orion-design 0.1.17 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/README.md +5 -5
  2. package/dist/components/Form/FileInput/FileInput.vue.d.ts +2 -2
  3. package/dist/components/Form/index.js +40 -38
  4. package/dist/components/Form/index.js.map +1 -1
  5. package/dist/components/LovTable/LovPagetable.vue.d.ts +28 -0
  6. package/dist/components/LovTable/LovQuerytable.vue.d.ts +28 -0
  7. package/dist/components/LovTable/index.d.ts +28 -0
  8. package/dist/components/LovTable/index.js +22 -20
  9. package/dist/components/LovTable/index.js.map +1 -1
  10. package/dist/components/Pagetable/Pagetable.d.ts +13 -0
  11. package/dist/components/Pagetable/index.d.ts +9 -0
  12. package/dist/components/Pagetable/index.js +131 -126
  13. package/dist/components/Pagetable/index.js.map +1 -1
  14. package/dist/components/Querytable/Querytable.d.ts +13 -0
  15. package/dist/components/Querytable/index.d.ts +9 -0
  16. package/dist/components/Querytable/index.js +85 -81
  17. package/dist/components/Querytable/index.js.map +1 -1
  18. package/dist/components/RichTextEditor/RichTextEditor.d.ts +71 -0
  19. package/dist/components/RichTextEditor/index.d.ts +51 -0
  20. package/dist/components/RichTextEditor/index.js +20791 -0
  21. package/dist/components/RichTextEditor/index.js.map +1 -0
  22. package/dist/components/Tabs/index.js +1 -1
  23. package/dist/components/_util/arrays.js.map +1 -1
  24. package/dist/components/_util/browser.js.map +1 -1
  25. package/dist/components/_util/dom/aria.js.map +1 -1
  26. package/dist/components/_util/dom/element.js.map +1 -1
  27. package/dist/components/_util/dom/event.js.map +1 -1
  28. package/dist/components/_util/dom/position.js.map +1 -1
  29. package/dist/components/_util/dom/scroll.js.map +1 -1
  30. package/dist/components/_util/dom/style.js.map +1 -1
  31. package/dist/components/_util/easings.js.map +1 -1
  32. package/dist/components/_util/error.js.map +1 -1
  33. package/dist/components/_util/i18n.js.map +1 -1
  34. package/dist/components/_util/objects.js.map +1 -1
  35. package/dist/components/_util/raf.js.map +1 -1
  36. package/dist/components/_util/rand.js.map +1 -1
  37. package/dist/components/_util/strings.js.map +1 -1
  38. package/dist/components/_util/throttleByRaf.js.map +1 -1
  39. package/dist/components/_util/types.js.map +1 -1
  40. package/dist/components/_util/typescript.js.map +1 -1
  41. package/dist/components/_util/vue/global-node.js.map +1 -1
  42. package/dist/components/_util/vue/icon.js +1 -1
  43. package/dist/components/_util/vue/icon.js.map +1 -1
  44. package/dist/components/_util/vue/install.js.map +1 -1
  45. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  46. package/dist/components/_util/vue/refs.js.map +1 -1
  47. package/dist/components/_util/vue/size.js.map +1 -1
  48. package/dist/components/_util/vue/validator.js.map +1 -1
  49. package/dist/components/_util/vue/vnode.js.map +1 -1
  50. package/dist/components/components.d.ts +2 -0
  51. package/dist/components/components.js +12 -10
  52. package/dist/components/components.js.map +1 -1
  53. package/dist/components/index.js +16 -14
  54. package/dist/components/index.js.map +1 -1
  55. package/dist/components-Cx2JsH63.js +74 -0
  56. package/dist/{components-0PErqPHo.js.map → components-Cx2JsH63.js.map} +1 -1
  57. package/dist/{index-BwWeqwHB.js → index-C6P_0wAy.js} +57 -42
  58. package/dist/{index-BwWeqwHB.js.map → index-C6P_0wAy.js.map} +1 -1
  59. package/dist/index.css +1 -1
  60. package/dist/index.js +22 -20
  61. package/dist/index.js.map +1 -1
  62. package/global.d.ts +2 -0
  63. package/package.json +3 -1
  64. package/dist/components-0PErqPHo.js +0 -72
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- :root{--orion-flex-gutter: 8px;--orion-space-gutter: 8px}.orion-space{display:inline-flex;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical{display:flex;flex-direction:column;align-items:center;gap:var(--orion-space-gutter)}.orion-flex{display:flex;outline:none}.orion-flex-row{flex-direction:row;width:100%;overflow:auto}.orion-flex-justify-start{justify-content:start}.orion-flex-column{width:100%;flex-direction:column;overflow:auto}.orion-flex>.orion-flexitem{overflow:auto;outline:none}.orion-flex>.orion-flexitem-auto{flex:0 0 auto}.orion-flex>.orion-flexitem-fixed{flex:none}.orion-flex>.orion-flexitem-fill{flex:1 1 0px}.orion-pagetbale{min-height:120px;height:100%;display:flex;flex-direction:column;gap:4px}.orion-pagetbale>.pagetable-wrapper{flex:1 1 0px;overflow:auto}.orion-pagetbale>.pagination-wrapper{flex:0 0 auto}.orion-pagetbale .cell-numbercolumn{text-align:right}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .cell-numbercolumn{text-align:right}.orion-tabs{--el-tabs-header-height: 40px;display:flex}.orion-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.orion-tabs__header-vertical{flex-direction:column}.orion-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.orion-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.orion-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.orion-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.orion-tabs__new-tab:hover{color:var(--el-color-primary)}.orion-tabs__new-tab-vertical{margin-left:0}.orion-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.orion-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.orion-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.orion-tabs__nav-scroll{overflow:hidden}.orion-tabs__nav-next,.orion-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.orion-tabs__nav-next{right:0}.orion-tabs__nav-prev{left:0}.orion-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.orion-tabs__nav.is-stretch{display:flex;min-width:100%}.orion-tabs__nav.is-stretch>*{flex:1;text-align:center}.orion-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.orion-tabs__item:focus,.orion-tabs__item:focus:active{outline:none}.orion-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.orion-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.orion-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.orion-tabs__item.is-active,.orion-tabs__item:hover{color:var(--el-color-primary)}.orion-tabs__item:hover{cursor:pointer}.orion-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.orion-tabs__content{flex-grow:1;overflow:hidden;position:relative}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:0}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top>.orion-tabs__header .orion-tabs__item:last-child{padding-right:0}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:20px}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child{padding-right:20px}.orion-tabs--card>.orion-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.orion-tabs--card>.orion-tabs__header .orion-tabs__active-bar{display:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.orion-tabs--card>.orion-tabs__header .orion-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item:first-child{border-left:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover .is-icon-close{width:14px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable .is-icon-close{width:14px}.orion-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.orion-tabs--border-card>.orion-tabs__content{padding:15px}.orion-tabs--border-card>.orion-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item+.orion-tabs__item,.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:first-child{margin-left:-1px}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.orion-tabs--border-card>.orion-tabs__header .is-scrollable .orion-tabs__item:first-child{margin-left:0}.orion-tabs--bottom{flex-direction:column}.orion-tabs--bottom .orion-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom{margin:0 -1px -1px}.orion-tabs--left,.orion-tabs--right{overflow:hidden}.orion-tabs--left .orion-tabs__header.is-left,.orion-tabs--left .orion-tabs__header.is-right,.orion-tabs--left .orion-tabs__nav-scroll,.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__header.is-left,.orion-tabs--right .orion-tabs__header.is-right,.orion-tabs--right .orion-tabs__nav-scroll,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{height:100%}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__active-bar.is-right,.orion-tabs--right .orion-tabs__active-bar.is-left,.orion-tabs--right .orion-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-bottom:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i{transform:rotate(90deg)}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{left:auto;top:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next{bottom:0;right:auto}.orion-tabs--left .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--left .orion-tabs__nav-wrap.is-right.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.orion-tabs--left .orion-tabs__nav-wrap.is-left:after,.orion-tabs--left .orion-tabs__nav-wrap.is-right:after,.orion-tabs--right .orion-tabs__nav-wrap.is-left:after,.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.orion-tabs--left .orion-tabs__nav.is-left,.orion-tabs--left .orion-tabs__nav.is-right,.orion-tabs--right .orion-tabs__nav.is-left,.orion-tabs--right .orion-tabs__nav.is-right{flex-direction:column}.orion-tabs--left .orion-tabs__item.is-left,.orion-tabs--right .orion-tabs__item.is-left{justify-content:flex-end}.orion-tabs--left .orion-tabs__item.is-right,.orion-tabs--right .orion-tabs__item.is-right{justify-content:flex-start}.orion-tabs--left{flex-direction:row-reverse}.orion-tabs--left .orion-tabs__header.is-left{margin-bottom:0;margin-right:10px}.orion-tabs--left .orion-tabs__nav-wrap.is-left{margin-right:-1px}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-left:after{left:auto;right:0}.orion-tabs--left .orion-tabs__item.is-left{text-align:right}.orion-tabs--left.orion-tabs--card .orion-tabs__active-bar.is-left{display:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:first-child{border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:last-child{border-bottom:none}.orion-tabs--left.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.orion-tabs--left.orion-tabs--card .orion-tabs__new-tab{float:none}.orion-tabs--left.orion-tabs--border-card .orion-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--right .orion-tabs__header.is-right{margin-bottom:0;margin-left:10px}.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-left:-1px}.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{left:0;right:auto}.orion-tabs--right .orion-tabs__active-bar.is-right{left:0}.orion-tabs--right.orion-tabs--card .orion-tabs__active-bar.is-right{display:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:first-child{border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:last-child{border-bottom:none}.orion-tabs--right.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--top{flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.orion-tabs{height:100%}.orion-tabs>.orion-tabs__content>.orion-tab-pane{height:100%;overflow:auto}.orion-tabs__extra-content-left,.orion-tabs__extra-content-right{flex:none}
1
+ @charset "UTF-8";:root{--orion-flex-gutter: 8px;--orion-space-gutter: 8px}.orion-space{display:inline-flex;align-items:center;gap:var(--orion-space-gutter)}.orion-space.vertical{display:flex;flex-direction:column;align-items:center;gap:var(--orion-space-gutter)}.orion-flex{display:flex;outline:none}.orion-flex-row{flex-direction:row;width:100%;overflow:auto}.orion-flex-justify-start{justify-content:start}.orion-flex-column{width:100%;flex-direction:column;overflow:auto}.orion-flex>.orion-flexitem{overflow:auto;outline:none}.orion-flex>.orion-flexitem-auto{flex:0 0 auto}.orion-flex>.orion-flexitem-fixed{flex:none}.orion-flex>.orion-flexitem-fill{flex:1 1 0px}.orion-pagetbale{min-height:120px;height:100%;display:flex;flex-direction:column;gap:4px}.orion-pagetbale>.pagetable-wrapper{flex:1 1 0px;overflow:auto}.orion-pagetbale>.pagination-wrapper{flex:0 0 auto}.orion-pagetbale .cell-numbercolumn{text-align:right}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .cell-numbercolumn{text-align:right}.orion-tabs{--el-tabs-header-height: 40px;display:flex}.orion-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.orion-tabs__header-vertical{flex-direction:column}.orion-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.orion-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.orion-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.orion-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.orion-tabs__new-tab:hover{color:var(--el-color-primary)}.orion-tabs__new-tab-vertical{margin-left:0}.orion-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.orion-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.orion-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.orion-tabs__nav-scroll{overflow:hidden}.orion-tabs__nav-next,.orion-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.orion-tabs__nav-next{right:0}.orion-tabs__nav-prev{left:0}.orion-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.orion-tabs__nav.is-stretch{display:flex;min-width:100%}.orion-tabs__nav.is-stretch>*{flex:1;text-align:center}.orion-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.orion-tabs__item:focus,.orion-tabs__item:focus:active{outline:none}.orion-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.orion-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.orion-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.orion-tabs__item.is-active,.orion-tabs__item:hover{color:var(--el-color-primary)}.orion-tabs__item:hover{cursor:pointer}.orion-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.orion-tabs__content{flex-grow:1;overflow:hidden;position:relative}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:0}.orion-tabs--bottom>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top>.orion-tabs__header .orion-tabs__item:last-child{padding-right:0}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:nth-child(2),.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:nth-child(2){padding-left:20px}.orion-tabs--bottom.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--bottom.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:last-child,.orion-tabs--top.orion-tabs--card>.orion-tabs__header .orion-tabs__item:last-child{padding-right:20px}.orion-tabs--card>.orion-tabs__header{border-bottom:1px solid var(--el-border-color-light);height:var(--el-tabs-header-height)}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.orion-tabs--card>.orion-tabs__header .orion-tabs__active-bar{display:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.orion-tabs--card>.orion-tabs__header .orion-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item:first-child{border-left:none}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-closable:hover .is-icon-close{width:14px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.orion-tabs--card>.orion-tabs__header .orion-tabs__item.is-active.is-closable .is-icon-close{width:14px}.orion-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.orion-tabs--border-card>.orion-tabs__content{padding:15px}.orion-tabs--border-card>.orion-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__nav-wrap:after{content:none}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item+.orion-tabs__item,.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:first-child{margin-left:-1px}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.orion-tabs--border-card>.orion-tabs__header .orion-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.orion-tabs--border-card>.orion-tabs__header .is-scrollable .orion-tabs__item:first-child{margin-left:0}.orion-tabs--bottom{flex-direction:column}.orion-tabs--bottom .orion-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.orion-tabs--bottom.orion-tabs--border-card .orion-tabs__item.is-bottom{margin:0 -1px -1px}.orion-tabs--left,.orion-tabs--right{overflow:hidden}.orion-tabs--left .orion-tabs__header.is-left,.orion-tabs--left .orion-tabs__header.is-right,.orion-tabs--left .orion-tabs__nav-scroll,.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__header.is-left,.orion-tabs--right .orion-tabs__header.is-right,.orion-tabs--right .orion-tabs__nav-scroll,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{height:100%}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__active-bar.is-right,.orion-tabs--right .orion-tabs__active-bar.is-left,.orion-tabs--right .orion-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.orion-tabs--left .orion-tabs__nav-wrap.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-right,.orion-tabs--right .orion-tabs__nav-wrap.is-left,.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-bottom:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next i,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev i{transform:rotate(90deg)}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-prev,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-prev{left:auto;top:0}.orion-tabs--left .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--left .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-left>.orion-tabs__nav-next,.orion-tabs--right .orion-tabs__nav-wrap.is-right>.orion-tabs__nav-next{bottom:0;right:auto}.orion-tabs--left .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--left .orion-tabs__nav-wrap.is-right.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-left.is-scrollable,.orion-tabs--right .orion-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.orion-tabs--left .orion-tabs__nav-wrap.is-left:after,.orion-tabs--left .orion-tabs__nav-wrap.is-right:after,.orion-tabs--right .orion-tabs__nav-wrap.is-left:after,.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.orion-tabs--left .orion-tabs__nav.is-left,.orion-tabs--left .orion-tabs__nav.is-right,.orion-tabs--right .orion-tabs__nav.is-left,.orion-tabs--right .orion-tabs__nav.is-right{flex-direction:column}.orion-tabs--left .orion-tabs__item.is-left,.orion-tabs--right .orion-tabs__item.is-left{justify-content:flex-end}.orion-tabs--left .orion-tabs__item.is-right,.orion-tabs--right .orion-tabs__item.is-right{justify-content:flex-start}.orion-tabs--left{flex-direction:row-reverse}.orion-tabs--left .orion-tabs__header.is-left{margin-bottom:0;margin-right:10px}.orion-tabs--left .orion-tabs__nav-wrap.is-left{margin-right:-1px}.orion-tabs--left .orion-tabs__active-bar.is-left,.orion-tabs--left .orion-tabs__nav-wrap.is-left:after{left:auto;right:0}.orion-tabs--left .orion-tabs__item.is-left{text-align:right}.orion-tabs--left.orion-tabs--card .orion-tabs__active-bar.is-left{display:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:first-child{border-top:none}.orion-tabs--left.orion-tabs--card .orion-tabs__item.is-left.is-active:last-child{border-bottom:none}.orion-tabs--left.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.orion-tabs--left.orion-tabs--card .orion-tabs__new-tab{float:none}.orion-tabs--left.orion-tabs--border-card .orion-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.orion-tabs--left.orion-tabs--border-card .orion-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--right .orion-tabs__header.is-right{margin-bottom:0;margin-left:10px}.orion-tabs--right .orion-tabs__nav-wrap.is-right{margin-left:-1px}.orion-tabs--right .orion-tabs__nav-wrap.is-right:after{left:0;right:auto}.orion-tabs--right .orion-tabs__active-bar.is-right{left:0}.orion-tabs--right.orion-tabs--card .orion-tabs__active-bar.is-right{display:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:first-child{border-top:none}.orion-tabs--right.orion-tabs--card .orion-tabs__item.is-right.is-active:last-child{border-bottom:none}.orion-tabs--right.orion-tabs--card .orion-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.orion-tabs--right.orion-tabs--border-card .orion-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.orion-tabs--top{flex-direction:column-reverse}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.orion-tabs{height:100%}.orion-tabs>.orion-tabs__content>.orion-tab-pane{height:100%;overflow:auto}.orion-tabs__extra-content-left,.orion-tabs__extra-content-right{flex:none}.rich-text-editor—wrapper{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.rich-text-editor—wrapper>.rich-text-editor-container{flex:1 1 0px}
package/dist/index.js CHANGED
@@ -4,34 +4,36 @@ import { install as l } from "./components/index.js";
4
4
  import { default as m } from "./version/version.js";
5
5
  import { default as s } from "./components/Modal/useModal.js";
6
6
  import { default as d } from "./components/Form/LovInput/hooks/useLov.js";
7
- import { default as i } from "./components/Button/index.js";
7
+ import { default as n } from "./components/Button/index.js";
8
8
  import { S as v } from "./index-BbsXWo7C.js";
9
- import { Colflex as C, Flexitem as T, Rowflex as F } from "./components/Flex/index.js";
10
- import { default as L } from "./components/Tabs/index.js";
11
- import { default as O } from "./components/Pagetable/index.js";
12
- import { default as c } from "./components/Querytable/index.js";
13
- import { i as h } from "./components-0PErqPHo.js";
9
+ import { Colflex as y, Flexitem as C, Rowflex as c } from "./components/Flex/index.js";
10
+ import { default as E } from "./components/Tabs/index.js";
11
+ import { default as K } from "./components/Pagetable/index.js";
12
+ import { default as M } from "./components/Querytable/index.js";
13
+ import { default as R } from "./components/RichTextEditor/index.js";
14
+ import { i as g } from "./components-Cx2JsH63.js";
14
15
  import { default as B } from "./components/Form/index.js";
15
- import { default as P } from "./components/LovTable/index.js";
16
- import { formContextKey as R } from "./components/Form/Form.js";
17
- import { lovContextKey as k } from "./components/Form/LovInput/LovInput.js";
16
+ import { default as Q } from "./components/LovTable/index.js";
17
+ import { formContextKey as k } from "./components/Form/Form.js";
18
+ import { lovContextKey as z } from "./components/Form/LovInput/LovInput.js";
18
19
  export {
19
- i as Button,
20
- C as Colflex,
21
- T as Flexitem,
20
+ n as Button,
21
+ y as Colflex,
22
+ C as Flexitem,
22
23
  B as Form,
23
- P as LovTable,
24
- h as Modal,
24
+ Q as LovTable,
25
+ g as Modal,
25
26
  r as OrionError,
26
- O as Pagetable,
27
- c as Querytable,
28
- F as Rowflex,
27
+ K as Pagetable,
28
+ M as Querytable,
29
+ R as RichTextEditor,
30
+ c as Rowflex,
29
31
  v as Space,
30
- L as Tabs,
32
+ E as Tabs,
31
33
  a as Throne,
32
- R as formContextKey,
34
+ k as formContextKey,
33
35
  l as install,
34
- k as lovContextKey,
36
+ z as lovContextKey,
35
37
  d as useLov,
36
38
  s as useOModal,
37
39
  m as version
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/global.d.ts CHANGED
@@ -16,6 +16,8 @@ declare module 'vue' {
16
16
 
17
17
  // 反馈
18
18
  OModal: typeof import('orion-design')['Modal']
19
+
20
+ ORichTextEditor: typeof import('orion-design')['RichTextEditor']
19
21
  }
20
22
  }
21
23
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orion-design",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -30,6 +30,7 @@
30
30
  "@types/uuid": "^10.0.0",
31
31
  "@vitejs/plugin-vue": "^5.1.2",
32
32
  "@vitejs/plugin-vue-jsx": "^4.0.1",
33
+ "@wangeditor/editor": "^5.1.23",
33
34
  "axios": "^1.7.7",
34
35
  "conventional-changelog": "^6.0.0",
35
36
  "conventional-changelog-cli": "^5.0.0",
@@ -49,6 +50,7 @@
49
50
  },
50
51
  "peerDependencies": {
51
52
  "@element-plus/icons-vue": "^2.3.1",
53
+ "@wangeditor/editor": "^5.1.23",
52
54
  "axios": "^1.7.7",
53
55
  "dayjs": "^1.11.13",
54
56
  "decimal.js": "^10.4.3",
@@ -1,72 +0,0 @@
1
- import p from "./components/Button/index.js";
2
- import { S as h } from "./index-BbsXWo7C.js";
3
- import { Colflex as w, Flexitem as g, Rowflex as C } from "./components/Flex/index.js";
4
- import b from "./components/Tabs/index.js";
5
- import x from "./components/Pagetable/index.js";
6
- import _ from "./components/Querytable/index.js";
7
- import { defineComponent as P, ref as l, shallowRef as M, provide as $, createVNode as f, Fragment as y } from "vue";
8
- import { ElDialog as O } from "element-plus";
9
- import "lodash-es";
10
- import { addUnit as S } from "./components/_util/dom/style.js";
11
- import { withInstall as j } from "./components/_util/vue/install.js";
12
- import F from "./components/Form/index.js";
13
- import T from "./components/LovTable/index.js";
14
- const E = /* @__PURE__ */ P({
15
- name: "OModal",
16
- setup(V, {
17
- slots: k,
18
- attrs: z,
19
- emit: B,
20
- expose: c
21
- }) {
22
- const o = l(!1), n = l(), r = M(), t = l(), a = l(), s = l(), u = l(), i = l(!0);
23
- c({
24
- open: async (e) => (o.value = !0, n.value = e.title, r.value = e.content, e.contentProps ? t.value = e.contentProps : t.value = {}, e.width && (a.value = e.width), e.height && (s.value = S(e.height)), e.showClose != null && e.showClose == !1 && (i.value = !1), new Promise((v, I) => {
25
- u.value = v;
26
- }))
27
- });
28
- const m = (e) => {
29
- const d = u.value;
30
- o.value = !1, n.value = void 0, r.value = void 0, t.value = void 0, a.value = void 0, s.value = void 0, u.value = void 0, i.value = !0, d && d(e);
31
- };
32
- return $("$$Modal", {
33
- close: m
34
- }), () => {
35
- const e = r.value;
36
- return o.value ? f(O, {
37
- title: n.value,
38
- width: a.value,
39
- modelValue: o.value,
40
- beforeClose: m,
41
- draggable: !0,
42
- closeOnClickModal: !1,
43
- closeOnPressEscape: !1,
44
- showClose: i.value,
45
- alignCenter: !0,
46
- style: {
47
- height: s.value
48
- }
49
- }, {
50
- default: () => [f(e, t.value, null)]
51
- }) : f(y, null, null);
52
- };
53
- }
54
- }), R = j(E), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55
- __proto__: null,
56
- Button: p,
57
- Colflex: w,
58
- Flexitem: g,
59
- Form: F,
60
- LovTable: T,
61
- Modal: R,
62
- Pagetable: x,
63
- Querytable: _,
64
- Rowflex: C,
65
- Space: h,
66
- Tabs: b
67
- }, Symbol.toStringTag, { value: "Module" }));
68
- export {
69
- Z as c,
70
- R as i
71
- };
72
- //# sourceMappingURL=components-0PErqPHo.js.map