cnhis-design-vue 3.1.21 → 3.1.22-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/field-set/index.d.ts +23 -0
- package/es/components/field-set/src/FieldSet.js +9 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +3 -0
- package/es/components/form-render/src/hooks/useFieldNormalize2.js +6 -0
- package/es/components/{his-table → iho-table}/index.d.ts +19 -16
- package/es/components/{his-table → iho-table}/index.js +1 -1
- package/es/components/{his-table → iho-table}/index2.js +5 -5
- package/es/components/{his-table/src/HisTable.js → iho-table/src/IhoTable.js} +12 -8
- package/es/components/{his-table/src/HisTable.vue.d.ts → iho-table/src/IhoTable.vue.d.ts} +21 -18
- package/es/components/{his-table/src/components/HisTableColumn.d.ts → iho-table/src/components/IhoTableColumn.d.ts} +3 -3
- package/es/components/{his-table/src/components/HisTableColumn.js → iho-table/src/components/IhoTableColumn.js} +3 -3
- package/es/components/iho-table/src/components/index.d.ts +1 -0
- package/es/components/iho-table/src/components/index.js +1 -0
- package/es/components/iho-table/src/constants/index.d.ts +40 -0
- package/es/components/iho-table/src/constants/index.js +1 -0
- package/es/components/iho-table/src/constants/index2.js +40 -0
- package/es/components/{his-table → iho-table}/src/hooks/index.d.ts +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/index.js +0 -0
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +8 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/index2.js +8 -3
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +13 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useConfigHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useConfigHooks2.js +1 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks.d.ts +59 -59
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useEventHooks2.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks.d.ts +3 -3
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/tapHooks/useFieldHooks2.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin.js +0 -0
- package/es/components/{his-table → iho-table}/src/hooks/useTablePlugin2.js +6 -1
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/plugins/defaultConfigPlugin/index2.js +8 -3
- package/es/components/{his-table → iho-table}/src/plugins/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/index.js +7 -0
- package/es/components/iho-table/src/plugins/index2.js +7 -0
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
- package/es/components/{his-table → iho-table}/src/plugins/lowCodeFieldAdaptorPlugin/index2.js +9 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/checkRendererPlugin.js +28 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/colorRendererPlugin.js +48 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/defaultRendererPlugin.js +62 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.d.ts +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.js +5 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/labelRendererPlugin.js +45 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/seqRendererPlugin.js +55 -0
- package/es/components/iho-table/src/types/index.d.ts +23 -0
- package/es/components/{his-table → iho-table}/src/types/index.js +1 -1
- package/es/components/{his-table → iho-table}/src/types/pluginType.d.ts +14 -15
- package/es/components/{his-table → iho-table}/src/types/pluginType.js +1 -1
- package/es/components/{his-table → iho-table}/src/types/pluginType2.js +1 -3
- package/es/components/iho-table/src/utils/index.d.ts +2 -0
- package/es/components/iho-table/src/utils/index.js +1 -0
- package/es/components/iho-table/src/utils/index2.js +8 -0
- package/es/components/iho-table/style/index.css +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -3
- package/es/components/index.js +3 -3
- package/es/components/index2.js +3 -3
- package/es/components/info-header/src/InfoHeader.js +3 -3
- package/es/components/info-header/style/index.css +1 -1
- package/es/shared/utils/tapable/SyncHook.js +2 -23
- package/package.json +2 -2
- package/es/components/his-table/src/components/index.d.ts +0 -1
- package/es/components/his-table/src/components/index.js +0 -1
- package/es/components/his-table/src/hooks/tapHooks/index.d.ts +0 -9
- package/es/components/his-table/src/hooks/tapHooks/useConfigHooks.d.ts +0 -12
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks.d.ts +0 -9
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks.js +0 -1
- package/es/components/his-table/src/hooks/tapHooks/useVxeTableHooks2.js +0 -27
- package/es/components/his-table/src/plugins/index.js +0 -2
- package/es/components/his-table/src/plugins/index2.js +0 -2
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter.d.ts +0 -2
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter.js +0 -1
- package/es/components/his-table/src/plugins/lowCodeFieldAdaptorPlugin/formatter2.js +0 -5
- package/es/components/his-table/src/types/index.d.ts +0 -12
- package/es/components/his-table/style/index.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:#f2f2f2;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background-color:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
1
|
+
.big-table-filter-wrap{background-color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-direction:column;flex-wrap:wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:0 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding-left:13px;padding-right:3px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{display:inline-flex;height:100%;line-height:unset;width:100%}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--tableImageHeight);width:var(--tableImageWidth)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom,.custom-big-table .domPropsInnerHTML-span .icon-dot-red{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue,.custom-big-table .domPropsInnerHTML-span .icon-dot-green{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray,.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu,.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit,.custom-big-table .domPropsInnerHTML-span .icon-dot-close{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-design,.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:4px 0 4px 0 rgba(0,0,0,.12)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-4px 0 4px 0 rgba(0,0,0,.12)}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentColor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}
|
|
@@ -62,7 +62,9 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
62
62
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
63
63
|
columnWidth: number;
|
|
64
64
|
editable: boolean;
|
|
65
|
+
editableDisable: boolean;
|
|
65
66
|
required: boolean;
|
|
67
|
+
requiredDisable: boolean;
|
|
66
68
|
hide: boolean;
|
|
67
69
|
}[];
|
|
68
70
|
widthShow: string;
|
|
@@ -80,7 +82,9 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
80
82
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
81
83
|
columnWidth: number;
|
|
82
84
|
editable: boolean;
|
|
85
|
+
editableDisable: boolean;
|
|
83
86
|
required: boolean;
|
|
87
|
+
requiredDisable: boolean;
|
|
84
88
|
hide: boolean;
|
|
85
89
|
}) => {
|
|
86
90
|
background: string | undefined;
|
|
@@ -105,9 +109,28 @@ declare const FieldSet: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
105
109
|
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
106
110
|
columnWidth: number;
|
|
107
111
|
editable: boolean;
|
|
112
|
+
editableDisable: boolean;
|
|
108
113
|
required: boolean;
|
|
114
|
+
requiredDisable: boolean;
|
|
109
115
|
hide: boolean;
|
|
110
116
|
}) => void;
|
|
117
|
+
isDisable: (item: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
show: boolean;
|
|
122
|
+
sort: boolean;
|
|
123
|
+
title: string;
|
|
124
|
+
alias: string;
|
|
125
|
+
fixedShow: boolean;
|
|
126
|
+
fixedWay: "NONE" | "LEFT" | "RIGHT";
|
|
127
|
+
columnWidth: number;
|
|
128
|
+
editable: boolean;
|
|
129
|
+
editableDisable: boolean;
|
|
130
|
+
required: boolean;
|
|
131
|
+
requiredDisable: boolean;
|
|
132
|
+
hide: boolean;
|
|
133
|
+
}, key: string) => any;
|
|
111
134
|
setWidth: () => void;
|
|
112
135
|
NButton: any;
|
|
113
136
|
NCheckbox: any;
|
|
@@ -186,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
186
186
|
if (!state.fields.length)
|
|
187
187
|
return false;
|
|
188
188
|
return state.fields.every((i) => {
|
|
189
|
-
if (!Object.prototype.hasOwnProperty.call(i, key))
|
|
189
|
+
if (!Object.prototype.hasOwnProperty.call(i, key) || isDisable(i, key))
|
|
190
190
|
return true;
|
|
191
191
|
return i[key];
|
|
192
192
|
});
|
|
@@ -194,7 +194,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
194
|
const handleAllCheck = (e, key) => {
|
|
195
195
|
const value = e;
|
|
196
196
|
const data = state.fields.map((i) => {
|
|
197
|
-
if (Object.prototype.hasOwnProperty.call(i, key)) {
|
|
197
|
+
if (Object.prototype.hasOwnProperty.call(i, key) && !isDisable(i, key)) {
|
|
198
198
|
i[key] = value;
|
|
199
199
|
}
|
|
200
200
|
return i;
|
|
@@ -204,6 +204,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
204
|
const handleFieldClick = (item) => {
|
|
205
205
|
state.clickItem = item;
|
|
206
206
|
};
|
|
207
|
+
function isDisable(item, key) {
|
|
208
|
+
return ["editable", "required"].includes(key) && item[`${key}Disable`];
|
|
209
|
+
}
|
|
207
210
|
function setWidth() {
|
|
208
211
|
if (props.isEdit) {
|
|
209
212
|
state.widthShow = "9%";
|
|
@@ -328,18 +331,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
328
331
|
createCommentVNode(" \u662F\u5426\u53EF\u7F16\u8F91 "),
|
|
329
332
|
__props.isEdit ? (openBlock(), createElementBlock("span", _hoisted_22, [
|
|
330
333
|
withDirectives(createVNode(unref(NCheckbox), {
|
|
334
|
+
disabled: element.editableDisable,
|
|
331
335
|
checked: element.editable,
|
|
332
336
|
"onUpdate:checked": ($event) => element.editable = $event
|
|
333
|
-
}, null, 8, ["checked", "onUpdate:checked"]), [
|
|
337
|
+
}, null, 8, ["disabled", "checked", "onUpdate:checked"]), [
|
|
334
338
|
[vShow, element.id != "0001"]
|
|
335
339
|
])
|
|
336
340
|
])) : createCommentVNode("v-if", true),
|
|
337
341
|
createCommentVNode(" \u662F\u5426\u5FC5\u586B "),
|
|
338
342
|
__props.isEdit ? (openBlock(), createElementBlock("span", _hoisted_23, [
|
|
339
343
|
withDirectives(createVNode(unref(NCheckbox), {
|
|
344
|
+
disabled: element.requiredDisable,
|
|
340
345
|
checked: element.required,
|
|
341
346
|
"onUpdate:checked": ($event) => element.required = $event
|
|
342
|
-
}, null, 8, ["checked", "onUpdate:checked"]), [
|
|
347
|
+
}, null, 8, ["disabled", "checked", "onUpdate:checked"]), [
|
|
343
348
|
[vShow, element.id != "0001"]
|
|
344
349
|
])
|
|
345
350
|
])) : createCommentVNode("v-if", true),
|
|
@@ -10,7 +10,9 @@ declare type Ifields = {
|
|
|
10
10
|
fixedWay: 'NONE' | 'LEFT' | 'RIGHT';
|
|
11
11
|
columnWidth: number;
|
|
12
12
|
editable: boolean;
|
|
13
|
+
editableDisable: boolean;
|
|
13
14
|
required: boolean;
|
|
15
|
+
requiredDisable: boolean;
|
|
14
16
|
hide: boolean;
|
|
15
17
|
[key: string]: any;
|
|
16
18
|
};
|
|
@@ -82,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
84
|
calculateCheck: (key: string) => boolean;
|
|
83
85
|
handleAllCheck: (e: boolean, key: string) => void;
|
|
84
86
|
handleFieldClick: (item: Ifields) => void;
|
|
87
|
+
isDisable: (item: Ifields, key: string) => any;
|
|
85
88
|
setWidth: () => void;
|
|
86
89
|
NButton: any;
|
|
87
90
|
NCheckbox: any;
|
|
@@ -21,6 +21,12 @@ function useFieldNormalize() {
|
|
|
21
21
|
FieldNormalizeWaterfallHook.tap("__age", (fieldItem) => {
|
|
22
22
|
if (fieldItem.html_type === "AGE") {
|
|
23
23
|
fieldItem.html_type = "INPUT_NUMBER";
|
|
24
|
+
fieldItem.reactions = {
|
|
25
|
+
target: fieldItem.val_key_unit,
|
|
26
|
+
fulfill: {
|
|
27
|
+
state: { disabled: "{{$self.disabled}}" }
|
|
28
|
+
}
|
|
29
|
+
};
|
|
24
30
|
fieldItem.suffixConfig = [
|
|
25
31
|
{
|
|
26
32
|
validate: { obj_type: FIELD_BUSINESS_TYPE.AGE_UNIT },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
2
|
export * from './src/hooks/useTablePlugin';
|
|
3
3
|
export * from './src/types';
|
|
4
|
-
declare const
|
|
4
|
+
declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
5
5
|
tableConfig: {
|
|
6
|
-
type: import("vue").PropType<import("./src/types").
|
|
6
|
+
type: import("vue").PropType<import("./src/types").IhoTableConfig>;
|
|
7
7
|
};
|
|
8
8
|
fieldList: {
|
|
9
|
-
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]
|
|
9
|
+
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
tableData: {
|
|
@@ -16,10 +16,10 @@ declare const HisTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
16
16
|
}, {
|
|
17
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
tableConfig: {
|
|
19
|
-
type: import("vue").PropType<import("./src/types").
|
|
19
|
+
type: import("vue").PropType<import("./src/types").IhoTableConfig>;
|
|
20
20
|
};
|
|
21
21
|
fieldList: {
|
|
22
|
-
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]
|
|
22
|
+
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
tableData: {
|
|
@@ -27,16 +27,17 @@ declare const HisTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
27
27
|
default: () => never[];
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
|
-
|
|
30
|
+
onSettingClick?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}>>;
|
|
32
|
+
emits: (event: "settingClick", ...args: any[]) => void;
|
|
32
33
|
hooks: Readonly<{
|
|
33
|
-
vxeTable: import("./src/types").AbstractVxeTableHook;
|
|
34
34
|
configHooks: import("./src/types").AbstractConfigHooks;
|
|
35
35
|
fieldHooks: import("./src/types").AbstractFieldHooks;
|
|
36
36
|
eventHooks: import("./src/types").AbstractEventHooks;
|
|
37
37
|
}>;
|
|
38
|
-
configRef: import("vue").Ref<import("./src/types").
|
|
38
|
+
configRef: import("vue").Ref<import("./src/types").IhoTableConfig | undefined>;
|
|
39
39
|
fieldListRef: import("vue").Ref<{
|
|
40
|
+
[x: string]: unknown;
|
|
40
41
|
property?: string | undefined;
|
|
41
42
|
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
|
|
42
43
|
field?: string | undefined;
|
|
@@ -672,30 +673,32 @@ declare const HisTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
672
673
|
getKey?: (() => string) | undefined;
|
|
673
674
|
}[]>;
|
|
674
675
|
VxeTable: import("vxe-table").VXEComponent<import("vxe-table").VxeTableProps<any>, import("vxe-table").VxeTableEventProps>;
|
|
675
|
-
|
|
676
|
+
IhoTableColumn: import("vue").DefineComponent<{
|
|
676
677
|
field: {
|
|
677
|
-
type: import("vue").PropType<import("./src/types").
|
|
678
|
+
type: import("vue").PropType<import("./src/types").IhoTableFieldItem>;
|
|
678
679
|
required: true;
|
|
679
680
|
};
|
|
680
681
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
681
682
|
field: {
|
|
682
|
-
type: import("vue").PropType<import("./src/types").
|
|
683
|
+
type: import("vue").PropType<import("./src/types").IhoTableFieldItem>;
|
|
683
684
|
required: true;
|
|
684
685
|
};
|
|
685
686
|
}>>, {}>;
|
|
686
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
687
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "settingClick"[], "settingClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
687
688
|
tableConfig: {
|
|
688
|
-
type: import("vue").PropType<import("./src/types").
|
|
689
|
+
type: import("vue").PropType<import("./src/types").IhoTableConfig>;
|
|
689
690
|
};
|
|
690
691
|
fieldList: {
|
|
691
|
-
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]
|
|
692
|
+
type: import("vue").PropType<import("./src/types").LowCodeTableFieldItem[]>;
|
|
692
693
|
required: true;
|
|
693
694
|
};
|
|
694
695
|
tableData: {
|
|
695
696
|
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
696
697
|
default: () => never[];
|
|
697
698
|
};
|
|
698
|
-
}
|
|
699
|
+
}>> & {
|
|
700
|
+
onSettingClick?: ((...args: any[]) => any) | undefined;
|
|
701
|
+
}, {
|
|
699
702
|
tableData: import("../../../es/shared/types").AnyObject;
|
|
700
703
|
}>>;
|
|
701
|
-
export default
|
|
704
|
+
export default IhoTable;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default } from './index2.js';
|
|
2
2
|
export { defineTablePlugin, useTablePlugin } from './src/hooks/useTablePlugin2.js';
|
|
3
|
-
export { AbstractConfigHooks, AbstractEventHooks, AbstractFieldHooks
|
|
3
|
+
export { AbstractConfigHooks, AbstractEventHooks, AbstractFieldHooks } from './src/types/pluginType2.js';
|
|
@@ -13,13 +13,13 @@ import '../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
|
13
13
|
import '../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
14
14
|
import { useTablePlugin } from './src/hooks/useTablePlugin2.js';
|
|
15
15
|
export { defineTablePlugin, useTablePlugin } from './src/hooks/useTablePlugin2.js';
|
|
16
|
-
import script from './src/
|
|
16
|
+
import script from './src/IhoTable.js';
|
|
17
17
|
import * as index from './src/plugins/index2.js';
|
|
18
18
|
|
|
19
19
|
useTablePlugin().use(Object.values(index).map((plugin) => plugin()));
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
safeComponentRegister(app,
|
|
20
|
+
const IhoTable = script;
|
|
21
|
+
IhoTable.install = function(app) {
|
|
22
|
+
safeComponentRegister(app, IhoTable, COMPONENT_NAMESPACE + "IhoTable");
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
export {
|
|
25
|
+
export { IhoTable as default };
|
|
@@ -1,36 +1,40 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, createVNode, unref, mergeProps, withCtx, Fragment, renderList, createBlock } from 'vue';
|
|
1
|
+
import { defineComponent, provide, ref, openBlock, createElementBlock, createVNode, unref, mergeProps, withCtx, Fragment, renderList, createBlock } from 'vue';
|
|
2
2
|
import { watchDebounced } from '@vueuse/shared';
|
|
3
3
|
import { Table } from 'vxe-table';
|
|
4
|
+
import { InjectionIhoTableEmits, InjectionIhoTableConfig } from './constants/index2.js';
|
|
4
5
|
import { createTableHooks, applyTableConfigHooks, applyTableFieldHooks } from './hooks/tapHooks/index2.js';
|
|
5
6
|
import 'lodash-es';
|
|
6
|
-
import
|
|
7
|
+
import IhoTableColumn from './components/IhoTableColumn.js';
|
|
7
8
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
8
9
|
|
|
9
|
-
const _hoisted_1 = { class: "
|
|
10
|
+
const _hoisted_1 = { class: "iho-table" };
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
__name: "
|
|
12
|
+
__name: "IhoTable",
|
|
12
13
|
props: {
|
|
13
14
|
tableConfig: { type: Object },
|
|
14
15
|
fieldList: { type: Array, required: true },
|
|
15
16
|
tableData: { type: Array, default: () => [] }
|
|
16
17
|
},
|
|
17
|
-
|
|
18
|
+
emits: ["settingClick"],
|
|
19
|
+
setup(__props, { emit: emits }) {
|
|
18
20
|
const props = __props;
|
|
21
|
+
provide(InjectionIhoTableEmits, emits);
|
|
19
22
|
const hooks = createTableHooks();
|
|
20
23
|
const configRef = ref();
|
|
24
|
+
provide(InjectionIhoTableConfig, configRef);
|
|
21
25
|
const fieldListRef = ref([]);
|
|
22
26
|
watchDebounced(() => props.tableConfig, (config) => {
|
|
23
27
|
configRef.value = applyTableConfigHooks(hooks, config || {});
|
|
24
28
|
}, { immediate: true, flush: "post", deep: true, debounce: 50 });
|
|
25
29
|
watchDebounced(() => props.fieldList, (fieldList) => {
|
|
26
|
-
fieldListRef.value = applyTableFieldHooks(hooks, fieldList,
|
|
30
|
+
fieldListRef.value = applyTableFieldHooks(hooks, fieldList, configRef.value || {});
|
|
27
31
|
}, { immediate: true, flush: "post", deep: true, debounce: 50 });
|
|
28
32
|
return (_ctx, _cache) => {
|
|
29
33
|
return openBlock(), createElementBlock("section", _hoisted_1, [
|
|
30
34
|
createVNode(unref(Table), mergeProps(configRef.value, { data: __props.tableData }), {
|
|
31
35
|
default: withCtx(() => [
|
|
32
36
|
(openBlock(true), createElementBlock(Fragment, null, renderList(fieldListRef.value, (field) => {
|
|
33
|
-
return openBlock(), createBlock(unref(
|
|
37
|
+
return openBlock(), createBlock(unref(IhoTableColumn), {
|
|
34
38
|
key: field.field,
|
|
35
39
|
field
|
|
36
40
|
}, null, 8, ["field"]);
|
|
@@ -42,6 +46,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
48
|
});
|
|
45
|
-
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "
|
|
49
|
+
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "IhoTable.vue"]]);
|
|
46
50
|
|
|
47
51
|
export { script as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../es/shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { IhoTableConfig, IhoTableFieldItem, LowCodeTableFieldItem } from '../../../../es/components/iho-table/src/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
tableConfig: {
|
|
6
|
-
type: PropType<
|
|
6
|
+
type: PropType<IhoTableConfig>;
|
|
7
7
|
};
|
|
8
8
|
fieldList: {
|
|
9
|
-
type: PropType<LowCodeTableFieldItem[]
|
|
9
|
+
type: PropType<LowCodeTableFieldItem[]>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
tableData: {
|
|
@@ -16,10 +16,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
}, {
|
|
17
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
tableConfig: {
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<IhoTableConfig>;
|
|
20
20
|
};
|
|
21
21
|
fieldList: {
|
|
22
|
-
type: PropType<LowCodeTableFieldItem[]
|
|
22
|
+
type: PropType<LowCodeTableFieldItem[]>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
tableData: {
|
|
@@ -27,16 +27,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
default: () => never[];
|
|
28
28
|
};
|
|
29
29
|
}>> & {
|
|
30
|
-
|
|
30
|
+
onSettingClick?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}>>;
|
|
32
|
+
emits: (event: "settingClick", ...args: any[]) => void;
|
|
32
33
|
hooks: Readonly<{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
eventHooks: import("../../../../es/components/his-table/src/types").AbstractEventHooks;
|
|
34
|
+
configHooks: import("../../../../es/components/iho-table/src/types").AbstractConfigHooks;
|
|
35
|
+
fieldHooks: import("../../../../es/components/iho-table/src/types").AbstractFieldHooks;
|
|
36
|
+
eventHooks: import("../../../../es/components/iho-table/src/types").AbstractEventHooks;
|
|
37
37
|
}>;
|
|
38
|
-
configRef: import("vue").Ref<
|
|
38
|
+
configRef: import("vue").Ref<IhoTableConfig | undefined>;
|
|
39
39
|
fieldListRef: import("vue").Ref<{
|
|
40
|
+
[x: string]: unknown;
|
|
40
41
|
property?: string | undefined;
|
|
41
42
|
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
|
|
42
43
|
field?: string | undefined;
|
|
@@ -672,30 +673,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
672
673
|
getKey?: (() => string) | undefined;
|
|
673
674
|
}[]>;
|
|
674
675
|
VxeTable: import("vxe-table").VXEComponent<import("vxe-table").VxeTableProps<any>, import("vxe-table").VxeTableEventProps>;
|
|
675
|
-
|
|
676
|
+
IhoTableColumn: import("vue").DefineComponent<{
|
|
676
677
|
field: {
|
|
677
|
-
type: PropType<
|
|
678
|
+
type: PropType<IhoTableFieldItem>;
|
|
678
679
|
required: true;
|
|
679
680
|
};
|
|
680
681
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
681
682
|
field: {
|
|
682
|
-
type: PropType<
|
|
683
|
+
type: PropType<IhoTableFieldItem>;
|
|
683
684
|
required: true;
|
|
684
685
|
};
|
|
685
686
|
}>>, {}>;
|
|
686
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
687
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "settingClick"[], "settingClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
687
688
|
tableConfig: {
|
|
688
|
-
type: PropType<
|
|
689
|
+
type: PropType<IhoTableConfig>;
|
|
689
690
|
};
|
|
690
691
|
fieldList: {
|
|
691
|
-
type: PropType<LowCodeTableFieldItem[]
|
|
692
|
+
type: PropType<LowCodeTableFieldItem[]>;
|
|
692
693
|
required: true;
|
|
693
694
|
};
|
|
694
695
|
tableData: {
|
|
695
696
|
type: PropType<AnyObject>;
|
|
696
697
|
default: () => never[];
|
|
697
698
|
};
|
|
698
|
-
}
|
|
699
|
+
}>> & {
|
|
700
|
+
onSettingClick?: ((...args: any[]) => any) | undefined;
|
|
701
|
+
}, {
|
|
699
702
|
tableData: AnyObject;
|
|
700
703
|
}>;
|
|
701
704
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { IhoTableFieldItem } from '../../../../../es/components/iho-table/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
field: {
|
|
5
|
-
type: PropType<
|
|
5
|
+
type: PropType<IhoTableFieldItem>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
field: {
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<IhoTableFieldItem>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>>, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
2
|
import { Column } from 'vxe-table';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
name: "
|
|
4
|
+
var IhoTableColumn = defineComponent({
|
|
5
|
+
name: "IhoTableColumn",
|
|
6
6
|
props: {
|
|
7
7
|
field: {
|
|
8
8
|
type: Object,
|
|
@@ -14,4 +14,4 @@ var HisTableColumn = defineComponent({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { IhoTableColumn as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IhoTableColumn } from './IhoTableColumn';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IhoTableColumn } from './IhoTableColumn.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Nullable } from '../../../../../es/shared/types';
|
|
2
|
+
import { InjectionKey, Ref } from 'vue';
|
|
3
|
+
import { IhoTableConfig } from '../../../../../es/components/iho-table';
|
|
4
|
+
export declare enum WIDGET_TYPE {
|
|
5
|
+
DEFAULT = "DEFAULT",
|
|
6
|
+
PICTURE = "PICTURE",
|
|
7
|
+
FILE = "FILE",
|
|
8
|
+
MONEY = "MONEY",
|
|
9
|
+
HEADPORTRAIT = "HEADPORTRAIT",
|
|
10
|
+
LABEL = "LABEL",
|
|
11
|
+
TELEPHONE = "TELEPHONE",
|
|
12
|
+
BIRTHDAY = "BIRTHDAY",
|
|
13
|
+
MULTISELECT = "MULTISELECT",
|
|
14
|
+
CASCADE = "CASCADE",
|
|
15
|
+
SEARCH_TREE = "SEARCH_TREE",
|
|
16
|
+
COLOR = "COLOR",
|
|
17
|
+
EVALUATE = "EVALUATE",
|
|
18
|
+
MAP = "MAP",
|
|
19
|
+
VIDEO = "VIDEO",
|
|
20
|
+
SYSTEMFIELDS = "SYSTEMFIELDS",
|
|
21
|
+
PERCENTAGE = "PERCENTAGE",
|
|
22
|
+
DATE = "DATE",
|
|
23
|
+
CANDIDATE_COMPONENTS = "CANDIDATE_COMPONENTS",
|
|
24
|
+
TASKDATE = "TASKDATE",
|
|
25
|
+
AGE = "AGE",
|
|
26
|
+
STATUS = "STATUS",
|
|
27
|
+
NUMBER = "NUMBER",
|
|
28
|
+
WEBSITE = "WEBSITE",
|
|
29
|
+
IDCARD = "IDCARD",
|
|
30
|
+
COUNTDOWN = "COUNTDOWN",
|
|
31
|
+
DURATION = "DURATION",
|
|
32
|
+
COMBINATION = "COMBINATION",
|
|
33
|
+
PASSWORD = "PASSWORD",
|
|
34
|
+
QR_CODE = "QR_CODE",
|
|
35
|
+
CUSTOMER_NAME = "CUSTOMER_NAME",
|
|
36
|
+
BANK_CARD = "BANK_CARD",
|
|
37
|
+
SEQUENCE = "SEQUENCE"
|
|
38
|
+
}
|
|
39
|
+
export declare const InjectionIhoTableConfig: InjectionKey<Ref<Nullable<IhoTableConfig>>>;
|
|
40
|
+
export declare const InjectionIhoTableEmits: InjectionKey<(event: string, ...args: unknown[]) => void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InjectionIhoTableConfig, InjectionIhoTableEmits, WIDGET_TYPE } from './index2.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var WIDGET_TYPE = /* @__PURE__ */ ((WIDGET_TYPE2) => {
|
|
2
|
+
WIDGET_TYPE2["DEFAULT"] = "DEFAULT";
|
|
3
|
+
WIDGET_TYPE2["PICTURE"] = "PICTURE";
|
|
4
|
+
WIDGET_TYPE2["FILE"] = "FILE";
|
|
5
|
+
WIDGET_TYPE2["MONEY"] = "MONEY";
|
|
6
|
+
WIDGET_TYPE2["HEADPORTRAIT"] = "HEADPORTRAIT";
|
|
7
|
+
WIDGET_TYPE2["LABEL"] = "LABEL";
|
|
8
|
+
WIDGET_TYPE2["TELEPHONE"] = "TELEPHONE";
|
|
9
|
+
WIDGET_TYPE2["BIRTHDAY"] = "BIRTHDAY";
|
|
10
|
+
WIDGET_TYPE2["MULTISELECT"] = "MULTISELECT";
|
|
11
|
+
WIDGET_TYPE2["CASCADE"] = "CASCADE";
|
|
12
|
+
WIDGET_TYPE2["SEARCH_TREE"] = "SEARCH_TREE";
|
|
13
|
+
WIDGET_TYPE2["COLOR"] = "COLOR";
|
|
14
|
+
WIDGET_TYPE2["EVALUATE"] = "EVALUATE";
|
|
15
|
+
WIDGET_TYPE2["MAP"] = "MAP";
|
|
16
|
+
WIDGET_TYPE2["VIDEO"] = "VIDEO";
|
|
17
|
+
WIDGET_TYPE2["SYSTEMFIELDS"] = "SYSTEMFIELDS";
|
|
18
|
+
WIDGET_TYPE2["PERCENTAGE"] = "PERCENTAGE";
|
|
19
|
+
WIDGET_TYPE2["DATE"] = "DATE";
|
|
20
|
+
WIDGET_TYPE2["CANDIDATE_COMPONENTS"] = "CANDIDATE_COMPONENTS";
|
|
21
|
+
WIDGET_TYPE2["TASKDATE"] = "TASKDATE";
|
|
22
|
+
WIDGET_TYPE2["AGE"] = "AGE";
|
|
23
|
+
WIDGET_TYPE2["STATUS"] = "STATUS";
|
|
24
|
+
WIDGET_TYPE2["NUMBER"] = "NUMBER";
|
|
25
|
+
WIDGET_TYPE2["WEBSITE"] = "WEBSITE";
|
|
26
|
+
WIDGET_TYPE2["IDCARD"] = "IDCARD";
|
|
27
|
+
WIDGET_TYPE2["COUNTDOWN"] = "COUNTDOWN";
|
|
28
|
+
WIDGET_TYPE2["DURATION"] = "DURATION";
|
|
29
|
+
WIDGET_TYPE2["COMBINATION"] = "COMBINATION";
|
|
30
|
+
WIDGET_TYPE2["PASSWORD"] = "PASSWORD";
|
|
31
|
+
WIDGET_TYPE2["QR_CODE"] = "QR_CODE";
|
|
32
|
+
WIDGET_TYPE2["CUSTOMER_NAME"] = "CUSTOMER_NAME";
|
|
33
|
+
WIDGET_TYPE2["BANK_CARD"] = "BANK_CARD";
|
|
34
|
+
WIDGET_TYPE2["SEQUENCE"] = "SEQUENCE";
|
|
35
|
+
return WIDGET_TYPE2;
|
|
36
|
+
})(WIDGET_TYPE || {});
|
|
37
|
+
const InjectionIhoTableConfig = Symbol("injectionIhoTableConfig ");
|
|
38
|
+
const InjectionIhoTableEmits = Symbol("InjectionIhoTableEmits ");
|
|
39
|
+
|
|
40
|
+
export { InjectionIhoTableConfig, InjectionIhoTableEmits, WIDGET_TYPE };
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IhoTableConfig, IhoTableFieldItem, TableHooks } from '../../../../../../es/components/iho-table/src/types';
|
|
2
|
+
export declare const createTableHooks: () => Readonly<{
|
|
3
|
+
configHooks: import("../../../../../../es/components/iho-table/src/types").AbstractConfigHooks;
|
|
4
|
+
fieldHooks: import("../../../../../../es/components/iho-table/src/types").AbstractFieldHooks;
|
|
5
|
+
eventHooks: import("../../../../../../es/components/iho-table/src/types").AbstractEventHooks;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function applyTableConfigHooks(hooks: TableHooks, config: IhoTableConfig): IhoTableConfig;
|
|
8
|
+
export declare function applyTableFieldHooks(hooks: TableHooks, fieldList: IhoTableFieldItem[], config: IhoTableConfig): IhoTableFieldItem[];
|
|
File without changes
|