orion-design 0.1.34 → 0.1.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/components/Form/{MultiTableSelect/MultiTableSelect.d.ts → TableSelect/TableSelect.d.ts} +3 -3
  2. package/dist/components/Form/TableSelect/TableSelect.js +5 -0
  3. package/dist/components/Form/TableSelect/TableSelect.js.map +1 -0
  4. package/dist/components/Form/{MultiTableSelect/MultiTableSelect.vue.d.ts → TableSelect/TableSelect.vue.d.ts} +3 -3
  5. package/dist/components/Form/TableSelect/hooks/useTableSelect.d.ts +1 -0
  6. package/dist/components/Form/TableSelect/hooks/useTableSelect.js +9 -0
  7. package/dist/components/Form/TableSelect/hooks/useTableSelect.js.map +1 -0
  8. package/dist/components/Form/TableSelect/index.d.ts +2 -0
  9. package/dist/components/Form/TableSelect/index.js +7 -0
  10. package/dist/components/Form/index.d.ts +3 -3
  11. package/dist/components/Form/index.js +23 -23
  12. package/dist/components/Form/index.js.map +1 -1
  13. package/dist/components/Modal/index.js +30 -28
  14. package/dist/components/Modal/index.js.map +1 -1
  15. package/dist/components/Pagetable/index.js +305 -290
  16. package/dist/components/Pagetable/index.js.map +1 -1
  17. package/dist/components/Querytable/index.js +3 -0
  18. package/dist/components/Querytable/index.js.map +1 -1
  19. package/dist/components/{MultiTableSelectPagetable/MultiTableSelectPagetable.vue.d.ts → TableSelectPagetable/TableSelectPagetable.vue.d.ts} +2 -0
  20. package/dist/components/{MultiTableSelectPagetable → TableSelectPagetable}/index.d.ts +1 -0
  21. package/dist/components/TableSelectPagetable/index.js +171 -0
  22. package/dist/components/TableSelectPagetable/index.js.map +1 -0
  23. package/dist/components/Tabs/index.js +1 -1
  24. package/dist/components/_util/vue/icon.js +1 -1
  25. package/dist/components/components.d.ts +1 -1
  26. package/dist/components/components.js +13 -13
  27. package/dist/components/index.js +18 -18
  28. package/dist/{components-DP9bnDLm.js → components-BJrXhY2G.js} +11 -11
  29. package/dist/{components-DP9bnDLm.js.map → components-BJrXhY2G.js.map} +1 -1
  30. package/dist/{index-ChkLOmNK.js → index-Bm0F5NQQ.js} +43 -28
  31. package/dist/{index-ChkLOmNK.js.map → index-Bm0F5NQQ.js.map} +1 -1
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +17 -17
  34. package/dist/version/version.d.ts +1 -1
  35. package/dist/version/version.js +1 -1
  36. package/dist/version/version.js.map +1 -1
  37. package/package.json +1 -1
  38. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js +0 -5
  39. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js.map +0 -1
  40. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.d.ts +0 -1
  41. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js +0 -9
  42. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js.map +0 -1
  43. package/dist/components/Form/MultiTableSelect/index.d.ts +0 -2
  44. package/dist/components/Form/MultiTableSelect/index.js +0 -7
  45. package/dist/components/MultiTableSelectPagetable/index.js +0 -164
  46. package/dist/components/MultiTableSelectPagetable/index.js.map +0 -1
  47. /package/dist/components/Form/{MultiTableSelect → TableSelect}/index.js.map +0 -0
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.orion-modal-locator[data-v-0fd5a1a9]{width:100%;height:100%;overflow:auto;box-sizing:border-box;position:relative}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay{position:absolute}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay>.el-overlay-dialog{position:absolute}: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-space.vertical .orion-space-item{width:100%}.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-pagetbale .cell-linkcolumn{color:#1296db;cursor:pointer}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .cell-numbercolumn{text-align:right}.orion-querytable .cell-linkcolumn{color:#1296db;cursor:pointer}.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}.orion-rich-text-editor—wrapper{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.orion-rich-text-editor—wrapper>.orion-rich-text-editor-container{flex:1 1 0px}
1
+ @charset "UTF-8";.orion-modal-locator[data-v-0fd5a1a9]{width:100%;height:100%;overflow:auto;box-sizing:border-box;position:relative}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay{position:absolute}.orion-modal-locator[data-v-0fd5a1a9]>.el-overlay>.el-overlay-dialog{position:absolute}:root{--orion-flex-gutter: 6px;--orion-space-gutter: 6px;--orion-form-validation-message-height: 14px;--orion-pagetable-header-bgcolor: #f2f2f3;--orion-pagetable-body-row-hover-bgcolor: #e4e7ef;--orion-pagetable-body-row-current-bgcolor: #dce8ff;--orion-querytable-header-bgcolor: #f2f2f3;--orion-querytable-body-row-hover-bgcolor: #e4e7ef;--orion-querytable-body-row-current-bgcolor: #dce8ff}.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-space.vertical .orion-space-item{width:100%}.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-form .el-form-item{margin-bottom:var(--orion-form-validation-message-height)}.orion-form .el-form-item__error{padding-top:0}.orion-pagetbale{min-height:120px;height:100%;display:flex;flex-direction:column;gap:6px;background-color:#fff}.orion-pagetbale>.pagetable-wrapper{flex:1 1 0px;overflow:auto}.orion-pagetbale>.pagination-wrapper{flex:0 0 auto}.orion-pagetbale .el-table__cell{padding:5px 0}.orion-pagetbale .el-table--default .cell{padding:0 5px}.orion-pagetbale .el-table th.el-table__cell{background-color:var(--orion-pagetable-header-bgcolor)}.orion-pagetbale .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-pagetbale .el-table__body tr.hover-row>td.el-table__cell,.orion-pagetbale .el-table__body tr>td.hover-cell{background-color:var(--orion-pagetable-body-row-hover-bgcolor)}.orion-pagetbale .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-pagetable-body-row-current-bgcolor)}.orion-pagetbale .cell-numbercolumn{text-align:right}.orion-pagetbale .cell-linkcolumn{color:#1296db;cursor:pointer}.orion-querytable{min-height:120px;height:100%;overflow:auto}.orion-querytable .el-table__cell{padding:5px 0}.orion-querytable .el-table--default .cell{padding:0 5px}.orion-querytable .el-table th.el-table__cell{background-color:var(--orion-querytable-header-bgcolor)}.orion-querytable .el-table__body tr.hover-row.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.orion-querytable .el-table__body tr.hover-row>td.el-table__cell,.orion-querytable .el-table__body tr>td.hover-cell{background-color:var(--orion-querytable-body-row-hover-bgcolor)}.orion-querytable .el-table__body tr.current-row>td.el-table__cell{background-color:var(--orion-querytable-body-row-current-bgcolor)}.orion-querytable .cell-numbercolumn{text-align:right}.orion-querytable .cell-linkcolumn{color:#1296db;cursor:pointer}.orion-tabs{--el-tabs-header-height: 40px;display:flex}.orion-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0;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}.orion-dialog{padding:0}.orion-dialog>.el-dialog__header{padding:12px 24px;border-bottom:1px solid #E4E5EB;position:relative}.orion-dialog>.el-dialog__header>.el-dialog__headerbtn{height:100%}.orion-dialog>.el-dialog__body{padding:16px 24px 24px}.orion-rich-text-editor—wrapper{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.orion-rich-text-editor—wrapper>.orion-rich-text-editor-container{flex:1 1 0px}
package/dist/index.js CHANGED
@@ -1,48 +1,48 @@
1
- import { default as t } from "./error/OrionError.js";
1
+ import { default as r } from "./error/OrionError.js";
2
2
  import { default as a } from "./Throne/index.js";
3
3
  import { useThroneContext as l } from "./Throne/hooks/use-throne-context.js";
4
4
  import { install as m } from "./components/index.js";
5
5
  import { default as p } from "./version/version.js";
6
6
  import { default as d } from "./components/Modal/useModal.js";
7
- import { default as T } from "./components/Form/LovInput/hooks/useLov.js";
8
- import { default as i } from "./components/Form/MultiTableSelect/hooks/useMultiTableSelect.js";
7
+ import { default as b } from "./components/Form/LovInput/hooks/useLov.js";
8
+ import { default as C } from "./components/Form/TableSelect/hooks/useTableSelect.js";
9
9
  import { default as v } from "./components/Button/index.js";
10
- import { T as S } from "./components-DP9bnDLm.js";
10
+ import { T as S } from "./components-BJrXhY2G.js";
11
11
  import { S as y } from "./index-BbsXWo7C.js";
12
- import { Colflex as P, Flexitem as g, Rowflex as F } from "./components/Flex/index.js";
13
- import { default as L } from "./components/Tabs/index.js";
12
+ import { Colflex as g, Flexitem as F, Rowflex as K } from "./components/Flex/index.js";
13
+ import { default as M } from "./components/Tabs/index.js";
14
14
  import { default as w } from "./components/Pagetable/index.js";
15
15
  import { default as E } from "./components/Querytable/index.js";
16
16
  import { default as R } from "./components/Modal/index.js";
17
17
  import { default as k } from "./components/Form/index.js";
18
18
  import { default as z } from "./components/LovTable/index.js";
19
- import { default as D } from "./components/MultiTableSelectPagetable/index.js";
19
+ import { default as D } from "./components/TableSelectPagetable/index.js";
20
20
  import { formContextKey as H } from "./components/Form/Form.js";
21
21
  import { lovContextKey as J } from "./components/Form/LovInput/LovInput.js";
22
- import { multiTableSelectContext as U } from "./components/Form/MultiTableSelect/MultiTableSelect.js";
22
+ import { tableSelectContext as U } from "./components/Form/TableSelect/TableSelect.js";
23
23
  export {
24
24
  v as Button,
25
- P as Colflex,
26
- g as Flexitem,
25
+ g as Colflex,
26
+ F as Flexitem,
27
27
  k as Form,
28
28
  z as LovTable,
29
29
  R as Modal,
30
- D as MultiTableSelectPagetable,
31
- t as OrionError,
30
+ r as OrionError,
32
31
  w as Pagetable,
33
32
  E as Querytable,
34
- F as Rowflex,
33
+ K as Rowflex,
35
34
  y as Space,
36
- L as Tabs,
35
+ D as TableSelectPagetable,
36
+ M as Tabs,
37
37
  a as Throne,
38
38
  S as ThroneContextProvider,
39
39
  H as formContextKey,
40
40
  m as install,
41
41
  J as lovContextKey,
42
- U as multiTableSelectContext,
43
- T as useLov,
42
+ U as tableSelectContext,
43
+ b as useLov,
44
44
  d as useOModal,
45
- i as useTableselect,
45
+ C as useTableselect,
46
46
  l as useThroneContext,
47
47
  p as version
48
48
  };
@@ -1,2 +1,2 @@
1
- declare const _default: "0.1.34";
1
+ declare const _default: "0.1.36";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "0.1.34";
1
+ const e = "0.1.36";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.34';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"version.js","sources":["../../src/version/version.ts"],"sourcesContent":["export default '0.1.36';"],"names":["version"],"mappings":"AAAA,MAAAA,IAAe;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orion-design",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- const t = Symbol("multiTableSelectContext");
2
- export {
3
- t as multiTableSelectContext
4
- };
5
- //# sourceMappingURL=MultiTableSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiTableSelect.js","sources":["../../../../src/components/Form/MultiTableSelect/MultiTableSelect.ts"],"sourcesContent":["import { InjectionKey, Ref } from 'vue'\r\nimport { FormItemRule, Arrayable } from '../Form'\r\n\r\nexport interface MultiTableSelectProps {\r\n name: string\r\n label?: string\r\n span?: number\r\n labelWidth?: string | number\r\n required?: boolean\r\n rules?: Arrayable<FormItemRule>\r\n maxlength?: string | number\r\n placeholder?: string\r\n disabled?: boolean\r\n readonly?: boolean\r\n pick: string | string[]\r\n tag: (row: any) => string\r\n}\r\n\r\nexport type RowCompletionProvider = (data: any[] | undefined) => Promise<any[] | undefined>\r\n\r\nexport interface MultiTableSelectContext {\r\n inputValue: any\r\n selection: any[] | undefined\r\n onSelect: (selection: any[], clear?: boolean) => void\r\n selectDone: () => void\r\n tag: (row: any) => string\r\n registerRowCompletionProvider: (provider: RowCompletionProvider) => void\r\n}\r\n\r\nexport const multiTableSelectContext: InjectionKey<MultiTableSelectContext> = Symbol('multiTableSelectContext')\r\n"],"names":["multiTableSelectContext"],"mappings":"AA6Ba,MAAAA,IAAiE,OAAO,yBAAyB;"}
@@ -1 +0,0 @@
1
- export default function useMultiTableSelect(): import('..').MultiTableSelectContext | undefined;
@@ -1,9 +0,0 @@
1
- import { inject as t } from "vue";
2
- import { multiTableSelectContext as e } from "../MultiTableSelect.js";
3
- function r() {
4
- return t(e);
5
- }
6
- export {
7
- r as default
8
- };
9
- //# sourceMappingURL=useMultiTableSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMultiTableSelect.js","sources":["../../../../../src/components/Form/MultiTableSelect/hooks/useMultiTableSelect.ts"],"sourcesContent":["import { inject } from 'vue'\r\nimport { multiTableSelectContext } from '../MultiTableSelect'\r\n\r\nexport default function useMultiTableSelect() {\r\n return inject(multiTableSelectContext)\r\n}\r\n"],"names":["useMultiTableSelect","inject","multiTableSelectContext"],"mappings":";;AAGA,SAAwBA,IAAsB;AAC5C,SAAOC,EAAOC,CAAuB;AACvC;"}
@@ -1,2 +0,0 @@
1
- export * from './MultiTableSelect';
2
- export { default as useTableselect } from './hooks/useMultiTableSelect';
@@ -1,7 +0,0 @@
1
- import { multiTableSelectContext as l } from "./MultiTableSelect.js";
2
- import { default as a } from "./hooks/useMultiTableSelect.js";
3
- export {
4
- l as multiTableSelectContext,
5
- a as useTableselect
6
- };
7
- //# sourceMappingURL=index.js.map
@@ -1,164 +0,0 @@
1
- import { intersectionWith as b, isEqual as S, find as c, remove as x } from "lodash-es";
2
- import { defineComponent as I, computed as y, useTemplateRef as L, ref as O, watch as k, nextTick as U, resolveComponent as u, openBlock as f, createBlock as w, normalizeStyle as W, withCtx as l, createVNode as n, unref as r, createElementBlock as m, Fragment as E, renderList as T, createTextVNode as d, toDisplayString as C, mergeProps as j, renderSlot as G } from "vue";
3
- import { withInstall as H } from "../_util/vue/install.js";
4
- import { ElTooltip as J, ElTag as z, ElScrollbar as K } from "element-plus";
5
- import Q from "../Pagetable/index.js";
6
- import { addUnit as P } from "../_util/dom/style.js";
7
- import X from "../Form/MultiTableSelect/hooks/useMultiTableSelect.js";
8
- const Y = { style: { margin: "5px", display: "inline-block" } }, Z = /* @__PURE__ */ I({
9
- name: "OTableselectPagetable",
10
- inheritAttrs: !0,
11
- __name: "MultiTableSelectPagetable",
12
- props: {
13
- data: {},
14
- width: { default: 600 },
15
- height: { default: 300 }
16
- },
17
- setup(i) {
18
- const R = y(() => ({
19
- width: P(i.width),
20
- height: P(i.height)
21
- })), g = L("table"), o = O([]), h = y(() => o.value.map((a) => e == null ? void 0 : e.tag(a))), B = (a, t) => {
22
- c(a, t) ? c(o.value, t) || o.value.push(t) : c(o.value, t) && x(o.value, t), e == null || e.onSelect(o.value);
23
- }, D = (a) => {
24
- a.length > 0 ? a.forEach((t) => {
25
- c(o.value, t) || o.value.push(t);
26
- }) : x(o.value, (t) => c(i.data, t)), e == null || e.onSelect(o.value);
27
- }, e = X(), A = () => {
28
- e == null || e.selectDone();
29
- }, M = () => {
30
- N(), o.value = [], e == null || e.onSelect([], !0);
31
- };
32
- k(
33
- () => i.data,
34
- async () => {
35
- i.data.length > 0 && (await U(), v());
36
- }
37
- ), k(() => e == null ? void 0 : e.selection, () => {
38
- e != null && e.selection && e.selection.length > 0 && (o.value = e.selection, v());
39
- });
40
- const v = () => {
41
- b(i.data, o.value, S).forEach((t) => {
42
- g.value.toggleRowSelection(t, !0);
43
- });
44
- }, N = () => {
45
- b(i.data, o.value, S).forEach((t) => {
46
- g.value.toggleRowSelection(t, !1);
47
- });
48
- };
49
- return (a, t) => {
50
- const V = u("o-space"), s = u("o-flexitem"), _ = u("o-button"), $ = u("o-buttongroup"), q = u("o-rowflex"), F = u("o-colflex");
51
- return f(), w(F, {
52
- style: W(R.value)
53
- }, {
54
- default: l(() => [
55
- n(s, { "flex-basic": "need" }, {
56
- default: l(() => [
57
- n(q, null, {
58
- default: l(() => [
59
- n(s, { style: { overflow: "hidden", padding: "5px" } }, {
60
- default: l(() => [
61
- n(r(J), {
62
- effect: "light",
63
- teleported: !1
64
- }, {
65
- default: l(() => [
66
- n(V, null, {
67
- default: l(() => [
68
- (f(!0), m(E, null, T(h.value, (p) => (f(), w(r(z), { type: "info" }, {
69
- default: l(() => [
70
- d(C(p), 1)
71
- ]),
72
- _: 2
73
- }, 1024))), 256))
74
- ]),
75
- _: 1
76
- })
77
- ]),
78
- content: l(() => [
79
- n(r(K), { "max-height": "100" }, {
80
- default: l(() => [
81
- (f(!0), m(E, null, T(h.value, (p) => (f(), m("div", Y, [
82
- n(r(z), { type: "info" }, {
83
- default: l(() => [
84
- d(C(p), 1)
85
- ]),
86
- _: 2
87
- }, 1024)
88
- ]))), 256))
89
- ]),
90
- _: 1
91
- })
92
- ]),
93
- _: 1
94
- })
95
- ]),
96
- _: 1
97
- }),
98
- n(s, {
99
- "flex-basic": "need",
100
- style: { padding: "5px" }
101
- }, {
102
- default: l(() => [
103
- n($, null, {
104
- default: l(() => [
105
- n(_, {
106
- type: "primary",
107
- size: "small",
108
- onClick: A
109
- }, {
110
- default: l(() => t[0] || (t[0] = [
111
- d("确定")
112
- ])),
113
- _: 1
114
- }),
115
- n(_, {
116
- size: "small",
117
- onClick: M
118
- }, {
119
- default: l(() => t[1] || (t[1] = [
120
- d("清空")
121
- ])),
122
- _: 1
123
- })
124
- ]),
125
- _: 1
126
- })
127
- ]),
128
- _: 1
129
- })
130
- ]),
131
- _: 1
132
- })
133
- ]),
134
- _: 1
135
- }),
136
- n(s, null, {
137
- default: l(() => [
138
- n(r(Q), j({
139
- ref: "table",
140
- data: a.data,
141
- "selection-mode": "",
142
- size: "small",
143
- "pagination-teleported": !1,
144
- onSelect: B,
145
- onSelectAll: D
146
- }, a.$attrs), {
147
- default: l(() => [
148
- G(a.$slots, "default")
149
- ]),
150
- _: 3
151
- }, 16, ["data"])
152
- ]),
153
- _: 3
154
- })
155
- ]),
156
- _: 3
157
- }, 8, ["style"]);
158
- };
159
- }
160
- }), ue = H(Z, {});
161
- export {
162
- ue as default
163
- };
164
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/MultiTableSelectPagetable/MultiTableSelectPagetable.vue","../../../src/components/MultiTableSelectPagetable/index.ts"],"sourcesContent":["<template>\r\n <o-colflex :style=\"style\">\r\n <o-flexitem flex-basic=\"need\">\r\n <o-rowflex>\r\n <o-flexitem style=\"overflow: hidden;padding: 5px;\">\r\n <el-tooltip effect=\"light\" :teleported=\"false\">\r\n <template #default>\r\n <o-space>\r\n <el-tag v-for=\"tag in tags\" type=\"info\">{{ tag }}</el-tag>\r\n </o-space>\r\n </template>\r\n <template #content>\r\n <el-scrollbar max-height=\"100\">\r\n <div v-for=\"tag in tags\" style=\"margin: 5px;display: inline-block;\">\r\n <el-tag type=\"info\">{{ tag }}</el-tag>\r\n </div>\r\n </el-scrollbar>\r\n </template>\r\n </el-tooltip>\r\n </o-flexitem>\r\n <o-flexitem flex-basic=\"need\" style=\"padding: 5px;\">\r\n <o-buttongroup>\r\n <o-button type=\"primary\" size=\"small\" @click=\"selectDone\">确定</o-button>\r\n <o-button size=\"small\" @click=\"clearSelection\">清空</o-button>\r\n </o-buttongroup>\r\n </o-flexitem>\r\n </o-rowflex>\r\n </o-flexitem>\r\n <o-flexitem>\r\n <pagetable ref=\"table\" :data=\"data\" selection-mode size=\"small\" :pagination-teleported=\"false\"\r\n @select=\"onSelect\" @select-all=\"onSelectAll\" v-bind=\"$attrs\">\r\n <slot></slot>\r\n </pagetable>\r\n </o-flexitem>\r\n </o-colflex>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Pagetable from '../Pagetable'\r\nimport { ElTag, ElTooltip, ElScrollbar } from 'element-plus'\r\nimport { computed, nextTick, ref, useTemplateRef, watch } from 'vue'\r\nimport { find, intersectionWith, isEqual, remove } from 'lodash-es';\r\nimport { addUnit } from '../_util';\r\nimport useMultiTableSelect from '../Form/MultiTableSelect/hooks/useMultiTableSelect'\r\n\r\ndefineOptions({ name: 'OTableselectPagetable', inheritAttrs: true })\r\n\r\nconst { data, width = 600, height = 300 } = defineProps<{ data: any[], width: number | string, height: number | string }>()\r\nconst style = computed(() => {\r\n return {\r\n width: addUnit(width),\r\n height: addUnit(height)\r\n }\r\n})\r\nconst tableRef = useTemplateRef('table')\r\nconst tableSelection = ref<any[]>([])\r\nconst tags = computed(() => tableSelection.value.map((item) => mtselect?.tag(item)))\r\n\r\nconst onSelect = (selection: any[], row: any) => {\r\n if (find(selection, row)) {\r\n if (!find(tableSelection.value, row)) {\r\n tableSelection.value.push(row)\r\n }\r\n } else {\r\n if (find(tableSelection.value, row)) {\r\n remove(tableSelection.value, row)\r\n }\r\n }\r\n mtselect?.onSelect(tableSelection.value)\r\n}\r\nconst onSelectAll = (selection: any[]) => {\r\n if (selection.length > 0) {\r\n selection.forEach((item) => {\r\n if (!find(tableSelection.value, item)) {\r\n tableSelection.value.push(item)\r\n }\r\n })\r\n } else {\r\n remove(tableSelection.value, (item) => find(data, item))\r\n }\r\n mtselect?.onSelect(tableSelection.value)\r\n}\r\n\r\nconst mtselect = useMultiTableSelect()\r\nconst selectDone = () => {\r\n mtselect?.selectDone()\r\n}\r\nconst clearSelection = () => {\r\n uncheckSelection()\r\n tableSelection.value = []\r\n mtselect?.onSelect([], true)\r\n}\r\n\r\nwatch(\r\n () => data,\r\n async () => {\r\n if (data.length > 0) {\r\n await nextTick()\r\n checkSelection()\r\n }\r\n }\r\n)\r\nwatch(() => mtselect?.selection, () => {\r\n if (mtselect?.selection && mtselect.selection.length > 0) {\r\n tableSelection.value = mtselect.selection\r\n checkSelection()\r\n }\r\n})\r\n\r\nconst checkSelection = () => {\r\n const selection = intersectionWith(data, tableSelection.value, isEqual)\r\n selection.forEach((row) => {\r\n //@ts-ignore\r\n tableRef.value!.toggleRowSelection(row, true)\r\n })\r\n}\r\n\r\nconst uncheckSelection = () => {\r\n const selection = intersectionWith(data, tableSelection.value, isEqual)\r\n selection.forEach((row) => {\r\n //@ts-ignore\r\n tableRef.value!.toggleRowSelection(row, false)\r\n })\r\n}\r\n</script>","import { withInstall } from '../_util'\r\n\r\nimport MultiTableSelectPagetable from './MultiTableSelectPagetable.vue'\r\n\r\nexport default withInstall(MultiTableSelectPagetable, {})\r\n"],"names":["style","computed","addUnit","__props","tableRef","useTemplateRef","tableSelection","ref","tags","item","mtselect","onSelect","selection","row","find","remove","onSelectAll","useMultiTableSelect","selectDone","clearSelection","uncheckSelection","watch","nextTick","checkSelection","intersectionWith","isEqual","index","withInstall","MultiTableSelectPagetable"],"mappings":";;;;;;;;;;;;;;;;;AA+CM,UAAAA,IAAQC,EAAS,OACZ;AAAA,MACH,OAAOC,EAAQC,EAAA,KAAK;AAAA,MACpB,QAAQD,EAAQC,EAAM,MAAA;AAAA,IAAA,EAE7B,GACKC,IAAWC,EAAe,OAAO,GACjCC,IAAiBC,EAAW,CAAA,CAAE,GAC9BC,IAAOP,EAAS,MAAMK,EAAe,MAAM,IAAI,CAACG,MAASC,KAAA,gBAAAA,EAAU,IAAID,EAAK,CAAC,GAE7EE,IAAW,CAACC,GAAkBC,MAAa;AACzC,MAAAC,EAAKF,GAAWC,CAAG,IACdC,EAAKR,EAAe,OAAOO,CAAG,KAChBP,EAAA,MAAM,KAAKO,CAAG,IAG7BC,EAAKR,EAAe,OAAOO,CAAG,KACvBE,EAAAT,EAAe,OAAOO,CAAG,GAG9BH,KAAA,QAAAA,EAAA,SAASJ,EAAe;AAAA,IAAK,GAErCU,IAAc,CAACJ,MAAqB;AAClC,MAAAA,EAAU,SAAS,IACTA,EAAA,QAAQ,CAACH,MAAS;AACxB,QAAKK,EAAKR,EAAe,OAAOG,CAAI,KACjBH,EAAA,MAAM,KAAKG,CAAI;AAAA,MAClC,CACH,IAEMM,EAAAT,EAAe,OAAO,CAACG,MAASK,EAAKX,EAAA,MAAMM,CAAI,CAAC,GAEjDC,KAAA,QAAAA,EAAA,SAASJ,EAAe;AAAA,IAAK,GAGrCI,IAAWO,KACXC,IAAa,MAAM;AACrB,MAAAR,KAAA,QAAAA,EAAU;AAAA,IAAW,GAEnBS,IAAiB,MAAM;AACR,MAAAC,KACjBd,EAAe,QAAQ,IACbI,KAAA,QAAAA,EAAA,SAAS,IAAI;AAAA,IAAI;AAG/B,IAAAW;AAAA,MACI,MAAMlB,EAAI;AAAA,MACV,YAAY;AACJ,QAAAA,EAAI,KAAC,SAAS,MACd,MAAMmB,EAAS,GACAC;MAEvB;AAAA,IAAA,GAEEF,EAAA,MAAMX,KAAA,gBAAAA,EAAU,WAAW,MAAM;AACnC,MAAIA,KAAA,QAAAA,EAAU,aAAaA,EAAS,UAAU,SAAS,MACnDJ,EAAe,QAAQI,EAAS,WACjBa;IACnB,CACH;AAED,UAAMA,IAAiB,MAAM;AAEf,MADQC,EAAiBrB,EAAA,MAAMG,EAAe,OAAOmB,CAAO,EAC5D,QAAQ,CAACZ,MAAQ;AAEd,QAAAT,EAAA,MAAO,mBAAmBS,GAAK,EAAI;AAAA,MAAA,CAC/C;AAAA,IAAA,GAGCO,IAAmB,MAAM;AAEjB,MADQI,EAAiBrB,EAAA,MAAMG,EAAe,OAAOmB,CAAO,EAC5D,QAAQ,CAACZ,MAAQ;AAEd,QAAAT,EAAA,MAAO,mBAAmBS,GAAK,EAAK;AAAA,MAAA,CAChD;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICrHLa,KAAeC,EAAYC,GAA2B,EAAE;"}