cnhis-design-vue 3.1.41-beta.1 → 3.1.41-beta.10
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/README.md +87 -87
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/form-config/index.d.ts +13 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +13 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +7 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +1 -0
- package/es/components/form-render/index.d.ts +4 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +7 -0
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +2 -0
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -1
- package/es/components/form-render/src/hooks/useFormGraph.d.ts +6 -0
- package/es/components/form-render/src/hooks/useFormGraph.js +1 -0
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/form-render/src/utils/dom.d.ts +2 -1
- package/es/components/form-render/src/utils/dom.js +1 -1
- package/es/components/iho-table/index.d.ts +5 -5
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/recommend-search/index.d.ts +10 -10
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/index.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/utils/judge-types.js +1 -1
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +5 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +896 -7580
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +42 -3315
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +461 -2777
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +18 -5
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +456 -0
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +843 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +48 -1188
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +4 -14
- package/es/components/table-filter/style/index.css +1 -1
- package/es/env.d.ts +24 -24
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/callback/src/components/form.d.ts +0 -0
- package/es/components/callback/src/components/page.d.ts +0 -0
- package/es/components/callback/src/components/table.d.ts +0 -0
- package/es/components/callback/src/types/index.d.ts +0 -0
- package/es/components/callback/src/types/index.js +0 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/filterPlugin/types.js +0 -1
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -71
- package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1436
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
- package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
- package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
- package/es/components/table-filter/src/const/dataOptions.js +0 -1
- package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
- package/es/components/table-filter/src/directive/preventReClick.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/tapable/index.d.ts +0 -139
- /package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as i,useAttrs as t,computed as a,watch as n,openBlock as o,createElementBlock as l,createVNode as s,mergeProps as r,unref as c,withCtx as f,createTextVNode as d,renderSlot as u,createCommentVNode as p}from"vue";import{useMessage as v,NButton as g}from"naive-ui";import C from"../table-modal/TableModal.vue.js";import y from"../search-filter/SearchFilter.vue.js";import h from"../../hooks/useMixins.js";import{DataTypeEnums as m}from"../../types/enums.js";import b from"../../../../../_virtual/plugin-vue_export-helper.js";const A={class:"search"};var L=b(e({__name:"set-classification",props:{searchFieldList:{type:Array,default:()=>[]},conditionList:{type:Array,default:()=>[]},settingId:String,searchDefName:{type:String,default:"全部数据"},filterApiConfig:{type:Object,default:()=>({})},classifyModal:{type:Boolean,default:!1}},emits:["changeSearch","CondiTionListInit","saveGetTableCondiTionList","setClassifyModal"],setup(e,{emit:b}){const L=e,T=v(),{handleGetConfigApi:I}=h();let S=i(L.conditionList),_=i(),F=i("全部数据"),j=i(!1),D=i({}),O=i([]),k=i(!1);const w=i(null),M=t();async function q(e){try{let i=Object.assign(e,{id:L.settingId,tableId:M.tableId});await I(i,"requestSaveTableCondiTionSetting",{},L.filterApiConfig)&&(b("CondiTionListInit"),P(!1))}catch(e){console.log(e)}}function G(){P(!1),S.value.forEach((e=>{e.checked=!1}))}function N(){j.value=!0}function H(e,i){j.value=!0,D.value=Object.assign(e,{from:"edit"})}function R(e,i){j.value=!0,D.value=Object.assign(e,{from:"copy"})}async function $(e){try{if(Object.assign(e,{tableId:M.tableId,conditionList:JSON.stringify(S.value)}),k.value=!0,!await I(e,"requestSaveTableCondiTion",{},L.filterApiConfig))return;w&&w.value.cancelSaveAdd(),b("saveGetTableCondiTionList"),j.value=!1}catch(e){console.log(e)}finally{k.value=!1}}function x(){j.value=!1,D.value={}}function E(e,i){S.value=e,_.value=i}async function K(e,i){if(e)try{let i={id:e.sid};if(!await I(i,"requestDeleteTableCondiTion",{},L.filterApiConfig))return;T.success("删除成功"),b("saveGetTableCondiTionList",{type:"delete",item:e})}catch(e){console.log(e)}else T.info("请选择行")}function P(e){b("setClassifyModal",e)}async function B(){try{let e={id:L.settingId,tableId:M.tableId,type:"SEARCH_CATEGORY"};await I(e,"requestResetDefaultSetting",{},L.filterApiConfig)&&(b("CondiTionListInit"),P(!1))}catch(e){console.log(e)}}let J=a((()=>L.classifyModal));return n((()=>L.searchDefName),(()=>{F.value=L.searchDefName||"全部数据"})),n((()=>M.searchKey),(()=>{M.selectKeys=[M.searchKey||"all"]})),n((()=>L.searchFieldList),(e=>{e&&e.length>0&&(O.value=e.filter((e=>"operatorColumn"!==e.columnName)))}),{immediate:!0,deep:!0}),n((()=>j),(e=>{e||(D.value={})})),(i,t)=>(o(),l("div",A,[s(C,r({dataSource:c(S),visibleIn:c(J)},i.$attrs,{onHandleOk:q,onClose:G,onChangeData:E,onResetPopconfirm:B,edit:H,copy:R,delItem:K,type:"search",filterApiConfig:e.filterApiConfig}),{add:f((()=>[s(c(g),{type:"info",onClick:N},{default:f((()=>[d("新增")])),_:1})])),_:1},16,["dataSource","visibleIn","filterApiConfig"]),u(i.$slots,"searchCondition",{attrs:{...i.$attrs,visible:c(j),loading:c(k),conditionList:c(S),actionList_prop:c(D),searchFieldList:e.searchFieldList,isInSearch:!0,isCnHis:!0,showCompareField:!0,filterApiConfig:e.filterApiConfig,saveAdd:$,cancelSaveAdd:x},ref_key:"searchFilter",ref:w},(()=>[p(" 先默认设置dataType为api筛选,后期要兼容sql筛选再动态查询 "),s(y,r({ref_key:"searchFilter",ref:w},i.$attrs,{visible:c(j),loading:c(k),conditionList:c(S),actionList_prop:c(D),searchFieldList:c(O),isInSearch:!0,isCnHis:!0,showCompareField:!0,filterApiConfig:e.filterApiConfig,tableDataType:c(m).API,onSaveAdd:$,onCancelSaveAdd:x}),null,16,["visible","loading","conditionList","actionList_prop","searchFieldList","filterApiConfig","tableDataType"])]))]))}}),[["__file","set-classification.vue"]]);export{L as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as t,computed as i,ref as l,inject as a,watch as n,openBlock as o,createBlock as s,unref as r,normalizeClass as u,withCtx as c,createVNode as d,normalizeStyle as p,createSlots as m,createElementVNode as v,createElementBlock as h,createCommentVNode as f,withDirectives as g,vShow as y,createTextVNode as C,toDisplayString as w,withModifiers as k,renderSlot as x}from"vue";import{useMessage as b,useDialog as S,NModal as _,NCard as z,NTooltip as D,NIcon as M,NSwitch as I,NPopconfirm as E,NButton as P}from"naive-ui";import{ReorderTwo as U,Brush as N,DocumentOutline as V}from"@vicons/ionicons5";import O from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import F from"../../../../../shared/components/VueDraggable/src/vuedraggable.js";import{root_isShowResetButton as j}from"../../const/index.js";import B from"axios";import T from"../../../../../_virtual/plugin-vue_export-helper.js";const A={class:"svg-wrap"},H={key:0},R={class:"list"},$={class:"list-title"},J=v("span",{class:"list-title-item",style:{width:"6%"}},null,-1),Y=v("span",{class:"list-title-item"}," 名称 ",-1),q=v("span",{class:"list-title-item"}," 父类名称 ",-1),G=v("span",{class:"list-title-item"}," 是否显示 ",-1),K=v("span",{class:"list-title-item"}," 设置为默认 ",-1),L={class:"list-title-item"},Q=v("span",{class:"list-title-item"}," 操作 ",-1),W=["onClick"],X={class:"list-content-item",style:{width:"6%","text-align":"center",overflow:"initial"}},Z=["title"],ee=["title"],te={class:"list-content-item list-content-switch"},ie={class:"list-content-item list-content-radio"},le={class:"list-content-item"},ae={class:"list-content-item"},ne={key:0},oe=v("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},[v("path",{d:"M12 12h2v12h-2z",fill:"currentColor"}),v("path",{d:"M18 12h2v12h-2z",fill:"currentColor"}),v("path",{d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z",fill:"currentColor"}),v("path",{d:"M12 2h8v2h-8z",fill:"currentColor"})],-1),se={key:1},re=v("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},[v("path",{d:"M12 12h2v12h-2z",fill:"currentColor"}),v("path",{d:"M18 12h2v12h-2z",fill:"currentColor"}),v("path",{d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z",fill:"currentColor"}),v("path",{d:"M12 2h8v2h-8z",fill:"currentColor"})],-1);var ue=T(e({__name:"TableModal",props:{visibleIn:{type:Boolean},loading:{type:Boolean},confirm:{type:Function},edit:{type:Function,defdault:()=>{}},copy:{type:Function,defdault:()=>{}},delItem:{type:Function,defdault:()=>{}},dataSource:{type:Array,default:()=>[]},type:{type:String},transitionName:{type:String},getContainer:{type:Function,default:()=>document.body}},emits:["handleOk","close","changeData","resetPopconfirm","finishSubmit"],setup(e,{emit:T}){const ue=e,ce=B.create({}),de=t(),pe=b(),me=S(),ve=i((()=>(null==de?void 0:de.isOrgAdmin)||!1)),he=l(ue.dataSource),fe=l(ue.visibleIn),ge=l(!1),ye=l("other"==ue.type?"100%":"860px"),Ce=l("654px"),we=a(j);function ke(){ue.type&&(Se(),T("handleOk",function(e){if("search"==e||"other"==e)return{id:"",tableId:"",setting:JSON.stringify(he.value.map((e=>({isDefault:e.isDefault,isShow:e.isShow,name:e.name,type:e.type,classifyId:e.sid}))))};if("mananger"==e){let e={};return he.value.forEach(((t,i)=>{const l=(null==t?void 0:t.id)||"";e[l]={id:l,index:i,default:t.isDefault?1:0,isHide:t.isShow?0:1}})),{type:"HOMEPAGE",tableId:"10001",setting:JSON.stringify({pageConfig:e})}}return}(ue.type)))}function xe(){be()}function be(){fe.value=!1,Se(),T("close")}function Se(){ye.value="860px",Ce.value="654px",ge.value=!1}function _e(){T("changeData",he.value)}function ze(){ge.value=!ge.value;let e=document.body.clientHeight;ye.value="860px"===ye.value?"100%":"860px",Ce.value="654px"===Ce.value?`${e}px`:"654px"}function De(e){T("resetPopconfirm",e)}function Me(e,t,i){const l=ue[e];l&&l(t,i)}return n((()=>ue.visibleIn),(e=>{fe.value=e})),n((()=>ue.dataSource),(e=>{he.value=e}),{immediate:!0,deep:!0}),(t,i)=>(o(),s(r(_),{show:fe.value,bodyStyle:{height:Ce.value,overflowY:"auto"},width:ye.value,maskClosable:!1,class:u(["classification-set-modal-wrap-block standard-modal standard-modal-white",{"modal-screen":ge.value}]),closable:!1,centered:"",transitionName:e.transitionName,getContainer:e.getContainer,"positive-text":"保存","negative-text":"取消",onPositiveClick:ke,onNegativeClick:be},{default:c((()=>[d(r(z),{style:p({width:ye.value,height:Ce.value,overflowY:"auto"}),title:"设置分类",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},m({"header-extra":c((()=>[v("div",A,[d(r(O),{onClick:ze,"icon-class":ge.value?"xitongtubiaodaohangtubiaozuixiaohua":"xitongtubiaodaohangtubiaozuidahua"},null,8,["icon-class"]),d(r(O),{"icon-class":"xitongtubiaodaohangtubiaoguanbi",onClick:be})])])),default:c((()=>[r(ve)&&"mananger"==e.type?(o(),h("p",H,[f(' <n-icon type="plus-circle" /> '),v("a",{onClick:xe}," 添加首页 ")])):f("v-if",!0),v("div",R,[v("div",$,[J,Y,q,G,K,g(v("span",L," 设置公共首页 ",512),[[y,r(ve)&&"mananger"==e.type]]),Q]),d(r(F),{class:"list-content",tag:"ul",list:he.value,"item-key":"sid",onEnd:_e,animation:"300"},{item:c((({element:t})=>[g(v("li",{class:u({checked:t.checked}),onClick:e=>{return i=t,he.value.forEach((e=>{e.sid==i.sid?e.checked=!0:e.checked=!1})),void T("changeData",he.value,i);var i}},[v("span",X,[d(r(D),{mouseEnterDelay:1},{trigger:c((()=>[d(r(M),{component:r(U),size:"24"},null,8,["component"])])),default:c((()=>[C(" 拖拽调整顺序 ")])),_:1})]),v("span",{title:t.displayCategory,class:"list-content-item"},w(t.name),9,Z),v("span",{title:t.name,class:"list-content-item"},w(t.displayCategory),9,ee),v("span",te,[d(r(I),{"onUpdate:value":e=>{return i=t,void he.value.forEach((e=>{e.sid==i.sid&&(e.isShow=!e.isShow,e.isShow||(i.isDefault=!1))}));var i},size:"small",value:t.isShow},null,8,["onUpdate:value","value"])]),v("span",ie,[d(r(I),{"onUpdate:value":e=>{var i;(i=t).isShow&&he.value.forEach((e=>{e.sid==i.sid?e.isDefault=!e.isDefault:e.isDefault=!1}))},size:"small",value:t.isDefault},null,8,["onUpdate:value","value"])]),g(v("span",le,[d(r(I),{"onUpdate:value":e=>function(e){function t(e){let t="";for(const i in e)t+=encodeURIComponent(i)+"="+encodeURIComponent(e[i])+"&";return t=t.slice(0,-1),t}me.warning({title:`是否确定${e.isCommon?"取消":"设置"}公共首页?`,positiveText:"确定",negativeText:"取消",maskClosable:!1,onPositiveClick:()=>{let i={id:e.id,setCommon:!e.isCommon};ce({url:"homePage/updateCommon",method:"post",data:i,transformRequest:[t]}).then((t=>{"SUCCESS"===t.data.result?(pe.success(t.data.resultMsg),e.isCommon=!e.isCommon,T("finishSubmit")):pe.error(t.data.resultMsg)})).catch((e=>{console.log(e)}))},onNegativeClick:()=>{}})}(t),size:"small",value:t.isCommon},null,8,["onUpdate:value","value"])],512),[[y,r(ve)&&"mananger"==e.type]]),v("span",ae,["mananger"==e.type&&r(ve)?(o(),h("span",ne,[d(r(E),{onPositiveClick:e=>Me("confirm",t)},{trigger:c((()=>[d(r(M),null,{default:c((()=>[oe])),_:1})])),default:c((()=>[C(" 是否确认删除? ")])),_:2},1032,["onPositiveClick"])])):f("v-if",!0),f(" 编辑 "),g(v("span",null,[d(r(D),null,{trigger:c((()=>[d(r(M),{component:r(N),onClick:k((e=>Me("edit",t,"编辑")),["prevent","stop"])},null,8,["component","onClick"])])),default:c((()=>[C(" 编辑 ")])),_:2},1024)],512),[[y,"other"==e.type||"search"==e.type&&t.isEdit||"mananger"==e.type&&r(ve)]]),f(" 复制 "),g(v("span",null,[d(r(D),null,{trigger:c((()=>[d(r(M),{component:r(V),onClick:k((e=>Me("copy",t,"复制")),["prevent","stop"])},null,8,["component","onClick"])])),default:c((()=>[C(" 复制 ")])),_:2},1024)],512),[[y,"search"==e.type||"other"==e.type]]),f(" 删除 "),t.isEdit?(o(),h("span",se,[d(r(E),{onPositiveClick:e=>Me("delItem",t,"删除")},{trigger:c((()=>[d(r(M),null,{default:c((()=>[re])),_:1})])),default:c((()=>[C(" 是否确认删除? ")])),_:2},1032,["onPositiveClick"])])):f("v-if",!0)])],10,W),[[y,"line"!=t.type]])])),_:1},8,["list"])])])),_:2},["search"==e.type?{name:"footer",fn:c((()=>[r(we)?(o(),s(r(E),{key:0,class:"btn-reset","positive-text":"确认","negative-text":"取消",onPositiveClick:De},{trigger:c((()=>[d(r(P),null,{default:c((()=>[C("恢复默认设置")])),_:1})])),default:c((()=>[C(" 确认要恢复系统默认设置吗? ")])),_:1})):f("v-if",!0),d(r(P),{onClick:be},{default:c((()=>[C("取消")])),_:1}),x(t.$slots,"add"),d(r(P),{type:"info",onClick:ke},{default:c((()=>[C("保存")])),_:1})])),key:"0"}:void 0]),1032,["style"])])),_:3},8,["show","bodyStyle","width","class","transitionName","getContainer"]))}}),[["__file","TableModal.vue"]]);export{ue as default};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const DATETEAM0: {
|
|
2
|
-
con: string;
|
|
3
|
-
title: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}[];
|
|
6
|
-
declare const DATETEAM2: {
|
|
7
|
-
con: string;
|
|
8
|
-
title: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}[];
|
|
11
|
-
declare const DATETEAM3: {
|
|
12
|
-
con: string;
|
|
13
|
-
title: string;
|
|
14
|
-
name: string;
|
|
15
|
-
}[];
|
|
16
|
-
declare const EVALUATEList1: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
isSelect: boolean;
|
|
20
|
-
}[];
|
|
21
|
-
declare const AGEOPTIONS: {
|
|
22
|
-
label: string;
|
|
23
|
-
value: string;
|
|
24
|
-
}[];
|
|
25
|
-
declare const TEAMS: {
|
|
26
|
-
con: string;
|
|
27
|
-
title: string;
|
|
28
|
-
name: string;
|
|
29
|
-
}[];
|
|
30
|
-
declare const DAYUNITS: {
|
|
31
|
-
title: string;
|
|
32
|
-
units: number;
|
|
33
|
-
con: string;
|
|
34
|
-
name: string;
|
|
35
|
-
}[];
|
|
36
|
-
export { DATETEAM0, DATETEAM2, DATETEAM3, EVALUATEList1, AGEOPTIONS, TEAMS, DAYUNITS };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=[{con:"TODAY",title:"1.1.4.37",name:"今天"},{con:"TOMORROW",title:"1.1.4.38",name:"明天"},{con:"YESTERDAY",title:"1.1.4.39",name:"昨天"},{con:"THIS_WEEK",title:"1.1.4.40",name:"本周"},{con:"NEXT_WEEK",title:"1.1.4.41",name:"下周"},{con:"LAST_WEEK",title:"1.1.4.42",name:"上周"},{con:"THIS_MONTH",title:"1.1.4.43",name:"本月"},{con:"NEXT_MONTH",title:"1.1.4.44",name:"下月"},{con:"LAST_MONTH",title:"1.1.4.45",name:"上月"},{con:"THIS_SEASON",title:"1.1.4.46",name:"本季度"},{con:"NEXT_SEASON",title:"1.1.4.47",name:"下季度"},{con:"LAST_SEASON",title:"1.1.4.48",name:"上季度"},{con:"THIS_YEAR",title:"1.1.4.49",name:"本年"},{con:"NEXT_YEAR",title:"1.1.4.50",name:"下年"},{con:"LAST_YEAR",title:"1.1.4.51",name:"上年"}],t=[{con:"TODAY",title:"1.1.4.37",name:"今天"},{con:"YESTERDAY",title:"1.1.4.39",name:"昨天"},{con:"THIS_WEEK",title:"1.1.4.40",name:"本周"},{con:"LAST_WEEK",title:"1.1.4.42",name:"上周"},{con:"THIS_MONTH",title:"1.1.4.43",name:"本月"},{con:"LAST_MONTH",title:"1.1.4.45",name:"上月"},{con:"THIS_SEASON",title:"1.1.4.46",name:"本季度"},{con:"LAST_SEASON",title:"1.1.4.48",name:"上季度"},{con:"THIS_YEAR",title:"1.1.4.49",name:"本年"},{con:"LAST_YEAR",title:"1.1.4.51",name:"上年"}],n=[{con:"TODAY",title:"1.1.4.37",name:"今天"},{con:"TOMORROW",title:"1.1.4.38",name:"明天"},{con:"THIS_WEEK",title:"1.1.4.40",name:"本周"},{con:"NEXT_WEEK",title:"1.1.4.41",name:"下周"},{con:"THIS_MONTH",title:"1.1.4.43",name:"本月"},{con:"NEXT_MONTH",title:"1.1.4.44",name:"下月"},{con:"THIS_SEASON",title:"1.1.4.46",name:"本季度"},{con:"NEXT_SEASON",title:"1.1.4.47",name:"下季度"},{con:"THIS_YEAR",title:"1.1.4.49",name:"本年"},{con:"NEXT_YEAR",title:"1.1.4.50",name:"下年"}],l=[{label:"一星",value:"1",isSelect:!1},{label:"二星",value:"2",isSelect:!1},{label:"三星",value:"3",isSelect:!1},{label:"四星",value:"4",isSelect:!1},{label:"五星",value:"5",isSelect:!1}],a=[{label:"岁",value:"YY"},{label:"月",value:"MM"},{label:"日",value:"DD"}],i=[{con:"TODAY",title:"1.1.4.37",name:"今天"},{con:"TOMORROW",title:"1.1.4.38",name:"明天"},{con:"YESTERDAY",title:"1.1.4.39",name:"昨天"},{con:"THIS_WEEK",title:"1.1.4.40",name:"本周"},{con:"NEXT_WEEK",title:"1.1.4.41",name:"下周"},{con:"LAST_WEEK",title:"1.1.4.42",name:"上周"},{con:"THIS_MONTH",title:"1.1.4.43",name:"本月"},{con:"NEXT_MONTH",title:"1.1.4.44",name:"下月"},{con:"LAST_MONTH",title:"1.1.4.45",name:"上月"},{con:"THIS_SEASON",title:"1.1.4.46",name:"本季度"},{con:"NEXT_SEASON",title:"1.1.4.47",name:"下季度"},{con:"LAST_SEASON",title:"1.1.4.48",name:"上季度"},{con:"THIS_YEAR",title:"1.1.4.49",name:"本年"},{con:"NEXT_YEAR",title:"1.1.4.50",name:"下年"},{con:"LAST_YEAR",title:"1.1.4.51",name:"上年"}],E=[{title:"1.2.5.58",units:1,con:"DAY",name:"天"},{title:"1.2.5.59",units:2,con:"WEEK",name:"周"},{title:"1.2.1.11.18",units:1,con:"MONTH",name:"月"},{title:"1.9.273",units:1,con:"YEAR",name:"岁"}];export{a as AGEOPTIONS,e as DATETEAM0,t as DATETEAM2,n as DATETEAM3,E as DAYUNITS,l as EVALUATEList1,i as TEAMS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={mounted(e,d){e.addEventListener("click",(()=>{e.disabled||(e.disabled=!0,setTimeout((()=>{e.disabled=!1}),d.value||1e3))}))}};export{e as default};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
declare const draggableComponent: import('vue').DefineComponent<
|
|
2
|
-
{
|
|
3
|
-
list: {
|
|
4
|
-
type: ArrayConstructor;
|
|
5
|
-
required: boolean;
|
|
6
|
-
default: any;
|
|
7
|
-
};
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: ArrayConstructor;
|
|
10
|
-
required: boolean;
|
|
11
|
-
default: any;
|
|
12
|
-
};
|
|
13
|
-
itemKey: {
|
|
14
|
-
type: (FunctionConstructor | StringConstructor)[];
|
|
15
|
-
required: boolean;
|
|
16
|
-
};
|
|
17
|
-
clone: {
|
|
18
|
-
type: FunctionConstructor;
|
|
19
|
-
default: (original: any) => any;
|
|
20
|
-
};
|
|
21
|
-
tag: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
move: {
|
|
26
|
-
type: FunctionConstructor;
|
|
27
|
-
default: any;
|
|
28
|
-
};
|
|
29
|
-
componentData: {
|
|
30
|
-
type: ObjectConstructor;
|
|
31
|
-
required: boolean;
|
|
32
|
-
default: any;
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
unknown,
|
|
36
|
-
{
|
|
37
|
-
error: boolean;
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
realList(): any;
|
|
41
|
-
getKey(): any;
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
getUnderlyingVm(domElement: any): any;
|
|
45
|
-
getUnderlyingPotencialDraggableComponent(htmElement: any): any;
|
|
46
|
-
emitChanges(evt: any): void;
|
|
47
|
-
alterList(onList: any): void;
|
|
48
|
-
spliceList(): void;
|
|
49
|
-
updatePosition(oldIndex: any, newIndex: any): void;
|
|
50
|
-
getRelatedContextFromMoveEvent({ to, related }: { to: any; related: any }): any;
|
|
51
|
-
getVmIndexFromDomIndex(domIndex: any): any;
|
|
52
|
-
onDragStart(evt: any): void;
|
|
53
|
-
onDragAdd(evt: any): void;
|
|
54
|
-
onDragRemove(evt: any): void;
|
|
55
|
-
onDragUpdate(evt: any): void;
|
|
56
|
-
computeFutureIndex(relatedContext: any, evt: any): any;
|
|
57
|
-
onDragMove(evt: any, originalEvent: any): any;
|
|
58
|
-
onDragEnd(): void;
|
|
59
|
-
},
|
|
60
|
-
import('vue').ComponentOptionsMixin,
|
|
61
|
-
import('vue').ComponentOptionsMixin,
|
|
62
|
-
any[],
|
|
63
|
-
any,
|
|
64
|
-
import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps,
|
|
65
|
-
Readonly<
|
|
66
|
-
{
|
|
67
|
-
move: Function;
|
|
68
|
-
tag: string;
|
|
69
|
-
clone: Function;
|
|
70
|
-
list: unknown[];
|
|
71
|
-
modelValue: unknown[];
|
|
72
|
-
componentData: Record<string, any>;
|
|
73
|
-
} & {
|
|
74
|
-
itemKey?: string | Function;
|
|
75
|
-
}
|
|
76
|
-
>,
|
|
77
|
-
{
|
|
78
|
-
move: Function;
|
|
79
|
-
tag: string;
|
|
80
|
-
clone: Function;
|
|
81
|
-
list: unknown[];
|
|
82
|
-
modelValue: unknown[];
|
|
83
|
-
componentData: Record<string, any>;
|
|
84
|
-
}
|
|
85
|
-
>;
|
|
86
|
-
export default draggableComponent;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
type FixedSizeArray<T extends number, U> = T extends 0
|
|
2
|
-
? void[]
|
|
3
|
-
: ReadonlyArray<U> & {
|
|
4
|
-
0: U;
|
|
5
|
-
length: T;
|
|
6
|
-
};
|
|
7
|
-
type Measure<T extends number> = T extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 ? T : never;
|
|
8
|
-
type Append<T extends any[], U> = {
|
|
9
|
-
0: [U];
|
|
10
|
-
1: [T[0], U];
|
|
11
|
-
2: [T[0], T[1], U];
|
|
12
|
-
3: [T[0], T[1], T[2], U];
|
|
13
|
-
4: [T[0], T[1], T[2], T[3], U];
|
|
14
|
-
5: [T[0], T[1], T[2], T[3], T[4], U];
|
|
15
|
-
6: [T[0], T[1], T[2], T[3], T[4], T[5], U];
|
|
16
|
-
7: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], U];
|
|
17
|
-
8: [T[0], T[1], T[2], T[3], T[4], T[5], T[6], T[7], U];
|
|
18
|
-
}[Measure<T['length']>];
|
|
19
|
-
type AsArray<T> = T extends any[] ? T : [T];
|
|
20
|
-
|
|
21
|
-
declare class UnsetAdditionalOptions {
|
|
22
|
-
_UnsetAdditionalOptions: true;
|
|
23
|
-
}
|
|
24
|
-
type IfSet<X> = X extends UnsetAdditionalOptions ? {} : X;
|
|
25
|
-
|
|
26
|
-
type Callback<E, T> = (error: E | null, result?: T) => void;
|
|
27
|
-
type InnerCallback<E, T> = (error?: E | null | false, result?: T) => void;
|
|
28
|
-
|
|
29
|
-
type FullTap = Tap & {
|
|
30
|
-
type: 'sync' | 'async' | 'promise';
|
|
31
|
-
fn: Function;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
type Tap = TapOptions & {
|
|
35
|
-
name: string;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
type TapOptions = {
|
|
39
|
-
before?: string;
|
|
40
|
-
stage?: number;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
interface HookInterceptor<T, R, AdditionalOptions = UnsetAdditionalOptions> {
|
|
44
|
-
name?: string;
|
|
45
|
-
tap?: (tap: FullTap & IfSet<AdditionalOptions>) => void;
|
|
46
|
-
call?: (...args: any[]) => void;
|
|
47
|
-
loop?: (...args: any[]) => void;
|
|
48
|
-
error?: (err: Error) => void;
|
|
49
|
-
result?: (result: R) => void;
|
|
50
|
-
done?: () => void;
|
|
51
|
-
register?: (tap: FullTap & IfSet<AdditionalOptions>) => FullTap & IfSet<AdditionalOptions>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
type ArgumentNames<T extends any[]> = FixedSizeArray<T['length'], string>;
|
|
55
|
-
|
|
56
|
-
declare class Hook<T, R, AdditionalOptions = UnsetAdditionalOptions> {
|
|
57
|
-
constructor(args?: ArgumentNames<AsArray<T>>, name?: string);
|
|
58
|
-
name: string | undefined;
|
|
59
|
-
taps: FullTap[];
|
|
60
|
-
intercept(interceptor: HookInterceptor<T, R, AdditionalOptions>): void;
|
|
61
|
-
isUsed(): boolean;
|
|
62
|
-
callAsync(...args: Append<AsArray<T>, Callback<Error, R>>): void;
|
|
63
|
-
promise(...args: AsArray<T>): Promise<R>;
|
|
64
|
-
tap(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => R): void;
|
|
65
|
-
withOptions(options: TapOptions & IfSet<AdditionalOptions>): Omit<this, 'call' | 'callAsync' | 'promise'>;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export class SyncHook<T, R = void, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
|
|
69
|
-
call(...args: AsArray<T>): R;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export class SyncBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, R, AdditionalOptions> {}
|
|
73
|
-
export class SyncLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<T, void, AdditionalOptions> {}
|
|
74
|
-
export class SyncWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends SyncHook<
|
|
75
|
-
T,
|
|
76
|
-
AsArray<T>[0],
|
|
77
|
-
AdditionalOptions
|
|
78
|
-
> {}
|
|
79
|
-
|
|
80
|
-
declare class AsyncHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends Hook<T, R, AdditionalOptions> {
|
|
81
|
-
tapAsync(
|
|
82
|
-
options: string | (Tap & IfSet<AdditionalOptions>),
|
|
83
|
-
fn: (...args: Append<AsArray<T>, InnerCallback<Error, R>>) => void
|
|
84
|
-
): void;
|
|
85
|
-
tapPromise(options: string | (Tap & IfSet<AdditionalOptions>), fn: (...args: AsArray<T>) => Promise<R>): void;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export class AsyncParallelHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
89
|
-
T,
|
|
90
|
-
void,
|
|
91
|
-
AdditionalOptions
|
|
92
|
-
> {}
|
|
93
|
-
export class AsyncParallelBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
94
|
-
T,
|
|
95
|
-
R,
|
|
96
|
-
AdditionalOptions
|
|
97
|
-
> {}
|
|
98
|
-
export class AsyncSeriesHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
99
|
-
T,
|
|
100
|
-
void,
|
|
101
|
-
AdditionalOptions
|
|
102
|
-
> {}
|
|
103
|
-
export class AsyncSeriesBailHook<T, R, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
104
|
-
T,
|
|
105
|
-
R,
|
|
106
|
-
AdditionalOptions
|
|
107
|
-
> {}
|
|
108
|
-
export class AsyncSeriesLoopHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
109
|
-
T,
|
|
110
|
-
void,
|
|
111
|
-
AdditionalOptions
|
|
112
|
-
> {}
|
|
113
|
-
export class AsyncSeriesWaterfallHook<T, AdditionalOptions = UnsetAdditionalOptions> extends AsyncHook<
|
|
114
|
-
T,
|
|
115
|
-
AsArray<T>[0],
|
|
116
|
-
AdditionalOptions
|
|
117
|
-
> {}
|
|
118
|
-
|
|
119
|
-
type HookFactory<H> = (key: any, hook?: H) => H;
|
|
120
|
-
|
|
121
|
-
interface HookMapInterceptor<H> {
|
|
122
|
-
factory?: HookFactory<H>;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export class HookMap<H> {
|
|
126
|
-
constructor(factory: HookFactory<H>, name?: string);
|
|
127
|
-
name: string | undefined;
|
|
128
|
-
get(key: any): H | undefined;
|
|
129
|
-
for(key: any): H;
|
|
130
|
-
intercept(interceptor: HookMapInterceptor<H>): void;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export class MultiHook<H> {
|
|
134
|
-
constructor(hooks: H[], name?: string);
|
|
135
|
-
name: string | undefined;
|
|
136
|
-
tap(options: string | Tap, fn?: Function): void;
|
|
137
|
-
tapAsync(options: string | Tap, fn?: Function): void;
|
|
138
|
-
tapPromise(options: string | Tap, fn?: Function): void;
|
|
139
|
-
}
|
|
File without changes
|