cnhis-design-vue 3.1.51-release.1 → 3.1.51-release.3
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/base-search/src/index.vue2.js +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/callback/index.d.ts +69 -0
- package/es/components/callback/index.js +1 -0
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +353 -0
- package/es/components/callback/src/components/dialog/drawer.vue.js +1 -0
- package/es/components/callback/src/components/dialog/drawer.vue2.js +1 -0
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +166 -0
- package/es/components/callback/src/components/dialog/modal.vue.js +1 -0
- package/es/components/callback/src/components/dialog/modal.vue2.js +1 -0
- package/es/components/callback/src/components/popup/index.vue.d.ts +48 -0
- package/es/components/callback/src/components/popup/index.vue.js +1 -0
- package/es/components/callback/src/components/render/drawerIframe/index.vue.d.ts +62 -0
- package/es/components/callback/src/components/render/drawerIframe/index.vue.js +1 -0
- package/es/components/callback/src/components/render/drawerIframe/index.vue2.js +1 -0
- package/es/components/callback/src/components/render/enums.d.ts +5 -0
- package/es/components/callback/src/components/render/enums.js +1 -0
- package/es/components/callback/src/components/render/index.vue.d.ts +57 -0
- package/es/components/callback/src/components/render/index.vue.js +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +5702 -0
- package/es/components/callback/src/components/render/popupMaps.js +1 -0
- package/es/components/callback/src/index.vue.d.ts +68 -0
- package/es/components/callback/src/index.vue.js +1 -0
- package/es/components/callback/src/index.vue2.js +1 -0
- package/es/components/callback/src/types/index.d.ts +11 -0
- package/es/components/callback/style/callback-iconfont.ttf +0 -0
- package/es/components/callback/style/index.css +1 -0
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +0 -13
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +0 -13
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +0 -13
- package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +0 -13
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +0 -13
- package/es/components/expand-field/src/index.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/form-config/index.d.ts +6 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +6 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +3 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -1
- package/es/components/form-render/index.d.ts +3 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +3 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +3 -1
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +79 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +3 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +16 -10
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +4 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +27 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +4 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +8 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +5 -3
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +6 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +6 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +3 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +3 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +615 -255
- package/es/components/select-label/index.d.ts +617 -256
- package/es/components/select-label/index.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/{iho-select-label/src/LabelFormContent.vue.d.ts → select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts} +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.js +1 -0
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +1 -0
- package/es/components/{iho-select-label/src/SelectLabel.vue.d.ts → select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts} +7 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.js +1 -0
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -0
- package/es/components/{iho-select-label/src/components/label-classify.vue.d.ts → select-label/src/ihoLabel/iho-label-classify.vue.d.ts} +1 -1
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.js +1 -0
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +1 -0
- package/es/components/select-label/src/index.vue.d.ts +899 -0
- package/es/components/select-label/src/index.vue.js +1 -0
- package/es/components/select-label/src/index.vue2.js +1 -0
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +4 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -1
- package/es/components/slider-tree/index.d.ts +153 -0
- package/es/components/slider-tree/index.js +1 -0
- package/es/components/slider-tree/src/hooks/useAsyncData.d.ts +6 -0
- package/es/components/slider-tree/src/hooks/useAsyncData.js +1 -0
- package/es/components/slider-tree/src/index.vue.d.ts +152 -0
- package/es/components/slider-tree/src/index.vue.js +1 -0
- package/es/components/slider-tree/src/index.vue2.js +1 -0
- package/es/components/slider-tree/src/utils/index.d.ts +1 -0
- package/es/components/slider-tree/src/utils/index.js +1 -0
- package/es/components/slider-tree/style/index.css +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/directive/flexibleResize.d.ts +4 -0
- package/es/{components/classification/src → shared}/directive/flexibleResize.js +1 -1
- package/es/shared/directive/index.d.ts +1 -0
- package/es/shared/directive/index.js +1 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +7 -0
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/index.d.ts +3 -3
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/classification/src/directive/flexibleResize.d.ts +0 -28
- package/es/components/iho-select-label/index.d.ts +0 -363
- package/es/components/iho-select-label/index.js +0 -1
- package/es/components/iho-select-label/src/LabelFormContent.vue.js +0 -1
- package/es/components/iho-select-label/src/LabelFormContent.vue2.js +0 -1
- package/es/components/iho-select-label/src/SelectLabel.vue.js +0 -1
- package/es/components/iho-select-label/src/SelectLabel.vue2.js +0 -1
- package/es/components/iho-select-label/src/components/label-classify.vue.js +0 -1
- package/es/components/iho-select-label/src/components/label-classify.vue2.js +0 -1
- package/es/components/iho-select-label/style/iho-select-label-iconfont.ttf +0 -0
- package/es/components/iho-select-label/style/index.css +0 -1
- package/es/components/table-filter/src/types/tool.d.ts +0 -7
- /package/es/components/{iho-select-label → callback}/src/types/index.js +0 -0
- /package/es/components/{iho-select-label → select-label}/src/types/index.d.ts +0 -0
- /package/es/components/{table-filter/src/types/tool.js → select-label/src/types/index.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./index.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,openBlock as t,createBlock as l,createCommentVNode as s}from"vue";import i from"./SelectLabel.vue.js";import a from"./ihoLabel/IhoSelectLabel.vue.js";var o=e({__name:"index",props:{type:{type:String,default:"1"},categoryList:{type:Array,default:()=>[]},selectedList:{type:Array,default:()=>[]},selectedListObj:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isDetail:{type:Boolean,default:!1},isLock:{type:Boolean,default:!1},sourceType:{type:String,default:""},explicit:{type:Boolean,default:!1},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},queryCommonlabels:{type:Function,default:()=>Promise.resolve({data:{}})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})}},emits:["onChange"],setup(e,{emit:o}){function c(e){o("onChange",e)}return(o,r)=>"1"==e.type?(t(),l(i,{key:0,selectedList:e.selectedList,selectedListObj:e.selectedListObj,item:e.item,isDetail:e.isDetail,isLock:e.isLock,sourceType:e.sourceType,explicit:e.explicit,getLabelList:e.getLabelList,queryCommonlabels:e.queryCommonlabels,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onOnChange:c},null,8,["selectedList","selectedListObj","item","isDetail","isLock","sourceType","explicit","getLabelList","queryCommonlabels","deleteLabel","saveLabelItem"])):"2"==e.type?(t(),l(a,{key:1,categoryList:e.categoryList,selectedList:e.selectedList,explicit:e.explicit,onOnChange:c},null,8,["categoryList","selectedList","explicit"])):s("v-if",!0)}});export{o as default};
|
|
@@ -95,12 +95,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
};
|
|
96
96
|
readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
97
97
|
actionType: "check" | "uncheck";
|
|
98
|
-
/**
|
|
99
|
-
* 取消勾选树节点
|
|
100
|
-
* baseKeys:基准值
|
|
101
|
-
* currentTree:当前树节点
|
|
102
|
-
* value:树节点的key值
|
|
103
|
-
*/
|
|
104
98
|
value: string | number;
|
|
105
99
|
}) => void>>;
|
|
106
100
|
readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
|
|
@@ -25,6 +25,7 @@ export declare function useShortcuts(scope?: MaybeRef<string | Symbol | undefine
|
|
|
25
25
|
register: (shortcut: ShortcutOption) => {
|
|
26
26
|
stop: () => void;
|
|
27
27
|
signature: () => string;
|
|
28
|
+
start: () => void;
|
|
28
29
|
};
|
|
29
30
|
traverse: () => Omit<ShortcutItem, "callback">[];
|
|
30
31
|
clear: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{findAncestor as t}from"../../../../shared/utils/index.js";import{useEventListener as e,useDebounceFn as r}from"@vueuse/core";import{once as s,pick as a,omit as n,isFunction as u,isString as c}from"lodash-es";import{reactive as o,ref as i,unref as l,computed as h,getCurrentInstance as d,inject as p,onBeforeUnmount as g,onDeactivated as b,onActivated as v}from"vue";import{ShortcutStatus as f,InjectionShortcutManager as k}from"../constants/index.js";import{normalizeSignatureInfo as y,getKeySignature as C,getDisplaySignature as m,isInvalidSignature as S,isKeyboardEvent as w,isInvalidKeyboardEvent as E,isShortcutProvider as M}from"../utils/index.js";const K=Symbol("Glob"),j=new Map;class ${constructor(t,e=K){this.shortcutCallbackMap=o(new Map),this.shortcutCache=i({}),this.disabled=!1,this.environmentEle=t||window,j.set(e,this)}static log(t,e=!1){const r=`[ShortcutManager] ${t}`;return!e&&console.warn(r),r}get traverse(){return[...Object.values(this.shortcutCache.value)].sort(((t,e)=>(t.order||0)-(e.order||0)))}query(t){return this.shortcutCache.value[t]}async update(t,e){var r,s;const a=null==(r=this.query(t))?void 0:r.currentKeySignature;e&&u(this.shortcutCache,e);const n=this.query(t);function u(t,e){if(a!==C(e)){if(Object.values(t.value).some((t=>t.currentKeySignature===C(e))))throw`重复的快捷键=> ${m(e)}`;if(S(e))throw`非法的快捷键=>${e.key}`}}n&&(await(null==(s=n.onUpdate)?void 0:s.call(n,t,e?y(e):void 0)),u(this.shortcutCache,e),n.currentKeySignature=C(e),n.shortcutSignature=y(e),this.shortcutCallbackMap.set(n.currentKeySignature,this.shortcutCallbackMap.get(a)),this.shortcutCallbackMap.delete(a))}register(t){const e=this.query(t.key);return e?(e.status=f.ACTIVE,this.shortcutCallbackMap.set(e.currentKeySignature,t.callback),Object.assign(e,a(t,["debounce","debounceOption","label","order","key"])),r(e)):(this.shortcutCache.value[t.key]=n(t,["callback"]),this.shortcutCallbackMap.set(t.currentKeySignature,t.callback),r(this.shortcutCache.value[t.key]));function r(t){return{stop:()=>{t.status=f.INACTIVE},start:()=>{t.status=f.ACTIVE},signature:()=>t.currentKeySignature}}}start(){return this.handle?($.log(`请勿重复启动=>${this}`),this):(this.handle=async e=>{if(!w(e)||this.disabled)return;const r=t(e.target,M);if(r&&r!==l(this.environmentEle)||E(e))return;const s=C(e),a=this.shortcutCallbackMap.get(s);if(!a)return;e.preventDefault();const n=Object.values(this.shortcutCache.value).find((t=>t.currentKeySignature===s));n&&n.status===f.ACTIVE&&!n.disabled&&a(e)},e(this.environmentEle,"keyup",this.handle,{capture:!0}),this)}destroy(){var t;this.handle&&(null==(t=l(this.environmentEle))||t.removeEventListener("keyup",this.handle,{capture:!0})),this.handle=void 0,this.clear()}clear(){this.shortcutCallbackMap.clear(),this.shortcutCache.value={}}}const I=(new $).start(),O=s((()=>$.log("非setup语境下的shortcut将影响全局"))),A=s((()=>$.log("在非setup语境下使用register函数,组件销毁时可能需要手动调用stop函数使快捷键失活")));function T(t){const e=h((()=>{if(l(t)){const e=j.get(l(t));return e||$.log(`不存在的scope=>${t}, 将使用全局快捷键`),e||I}return d()?p(k,I):(O(),I)}));return{register:function(t){const{stop:s,signature:a,start:n}=l(e).register(function(t){return{...t,shortcutSignature:y(t.shortcutSignature),currentKeySignature:C(t.shortcutSignature),key:function(t){const e=t.key||t.label;if(!c(e))throw new Error($.log(`非法的key类型=>${e}`,!0));return e}(t),status:f.ACTIVE,callback:function(t){var e,s;if(!u(t.callback))throw new Error($.log(`非法的callback类型=>${t.callback}`,!0));return t.debounce?r(t.callback,null!=(s=null==(e=t.debounceOption)?void 0:e.duration)?s:300):t.callback}(t)}}(t));return d()?(g(s),b(s),v(n)):A(),{stop:s,signature:a}},traverse:function(){return l(e).traverse},clear:function(){l(e).clear()},update:function(t,r){return l(e).update(t,r)},updateManagerDisabled:function(t){l(e).disabled=!!t}}}export{K as GlobalShortcutProvider,$ as ShortcutManager,T as useShortcuts};
|
|
1
|
+
import{findAncestor as t}from"../../../../shared/utils/index.js";import{useEventListener as e,useDebounceFn as r}from"@vueuse/core";import{once as s,pick as a,omit as n,isFunction as u,isString as c}from"lodash-es";import{reactive as o,ref as i,unref as l,computed as h,getCurrentInstance as d,inject as p,onBeforeUnmount as g,onDeactivated as b,onActivated as v}from"vue";import{ShortcutStatus as f,InjectionShortcutManager as k}from"../constants/index.js";import{normalizeSignatureInfo as y,getKeySignature as C,getDisplaySignature as m,isInvalidSignature as S,isKeyboardEvent as w,isInvalidKeyboardEvent as E,isShortcutProvider as M}from"../utils/index.js";const K=Symbol("Glob"),j=new Map;class ${constructor(t,e=K){this.shortcutCallbackMap=o(new Map),this.shortcutCache=i({}),this.disabled=!1,this.environmentEle=t||window,j.set(e,this)}static log(t,e=!1){const r=`[ShortcutManager] ${t}`;return!e&&console.warn(r),r}get traverse(){return[...Object.values(this.shortcutCache.value)].sort(((t,e)=>(t.order||0)-(e.order||0)))}query(t){return this.shortcutCache.value[t]}async update(t,e){var r,s;const a=null==(r=this.query(t))?void 0:r.currentKeySignature;e&&u(this.shortcutCache,e);const n=this.query(t);function u(t,e){if(a!==C(e)){if(Object.values(t.value).some((t=>t.currentKeySignature===C(e))))throw`重复的快捷键=> ${m(e)}`;if(S(e))throw`非法的快捷键=>${e.key}`}}n&&(await(null==(s=n.onUpdate)?void 0:s.call(n,t,e?y(e):void 0)),u(this.shortcutCache,e),n.currentKeySignature=C(e),n.shortcutSignature=y(e),this.shortcutCallbackMap.set(n.currentKeySignature,this.shortcutCallbackMap.get(a)),this.shortcutCallbackMap.delete(a))}register(t){const e=this.query(t.key);return e?(e.status=f.ACTIVE,this.shortcutCallbackMap.set(e.currentKeySignature,t.callback),Object.assign(e,a(t,["debounce","debounceOption","label","order","key"])),r(e)):(this.shortcutCache.value[t.key]=n(t,["callback"]),this.shortcutCallbackMap.set(t.currentKeySignature,t.callback),r(this.shortcutCache.value[t.key]));function r(t){return{stop:()=>{t.status=f.INACTIVE},start:()=>{t.status=f.ACTIVE},signature:()=>t.currentKeySignature}}}start(){return this.handle?($.log(`请勿重复启动=>${this}`),this):(this.handle=async e=>{if(!w(e)||this.disabled)return;const r=t(e.target,M);if(r&&r!==l(this.environmentEle)||E(e))return;const s=C(e),a=this.shortcutCallbackMap.get(s);if(!a)return;e.preventDefault();const n=Object.values(this.shortcutCache.value).find((t=>t.currentKeySignature===s));n&&n.status===f.ACTIVE&&!n.disabled&&a(e)},e(this.environmentEle,"keyup",this.handle,{capture:!0}),this)}destroy(){var t;this.handle&&(null==(t=l(this.environmentEle))||t.removeEventListener("keyup",this.handle,{capture:!0})),this.handle=void 0,this.clear()}clear(){this.shortcutCallbackMap.clear(),this.shortcutCache.value={}}}const I=(new $).start(),O=s((()=>$.log("非setup语境下的shortcut将影响全局"))),A=s((()=>$.log("在非setup语境下使用register函数,组件销毁时可能需要手动调用stop函数使快捷键失活")));function T(t){const e=h((()=>{if(l(t)){const e=j.get(l(t));return e||$.log(`不存在的scope=>${t}, 将使用全局快捷键`),e||I}return d()?p(k,I):(O(),I)}));return{register:function(t){const{stop:s,signature:a,start:n}=l(e).register(function(t){return{...t,shortcutSignature:y(t.shortcutSignature),currentKeySignature:C(t.shortcutSignature),key:function(t){const e=t.key||t.label;if(!c(e))throw new Error($.log(`非法的key类型=>${e}`,!0));return e}(t),status:f.ACTIVE,callback:function(t){var e,s;if(!u(t.callback))throw new Error($.log(`非法的callback类型=>${t.callback}`,!0));return t.debounce?r(t.callback,null!=(s=null==(e=t.debounceOption)?void 0:e.duration)?s:300):t.callback}(t)}}(t));return d()?(g(s),b(s),v(n)):A(),{stop:s,signature:a,start:n}},traverse:function(){return l(e).traverse},clear:function(){l(e).clear()},update:function(t,r){return l(e).update(t,r)},updateManagerDisabled:function(t){l(e).disabled=!!t}}}export{K as GlobalShortcutProvider,$ as ShortcutManager,T as useShortcuts};
|
|
@@ -29,6 +29,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
29
29
|
register: (shortcut: import("..").ShortcutOption) => {
|
|
30
30
|
stop: () => void;
|
|
31
31
|
signature: () => string;
|
|
32
|
+
start: () => void;
|
|
32
33
|
};
|
|
33
34
|
traverse: () => Omit<import("..").ShortcutItem, "callback">[];
|
|
34
35
|
clear: () => void;
|
|
@@ -2315,7 +2316,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2315
2316
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2316
2317
|
clearSpan: (uuid: string) => void;
|
|
2317
2318
|
exposeEvent: {
|
|
2318
|
-
validate(path?: string
|
|
2319
|
+
validate(path?: string, { force }?: {
|
|
2320
|
+
force?: boolean | undefined;
|
|
2321
|
+
}): Promise<void>;
|
|
2319
2322
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2320
2323
|
setFormValues(values: import("../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
|
|
2321
2324
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
@@ -31,6 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
register: (shortcut: import("../../../../es/components/shortcut-provider").ShortcutOption) => {
|
|
32
32
|
stop: () => void;
|
|
33
33
|
signature: () => string;
|
|
34
|
+
start: () => void;
|
|
34
35
|
};
|
|
35
36
|
traverse: () => Omit<import("../../../../es/components/shortcut-provider").ShortcutItem, "callback">[];
|
|
36
37
|
clear: () => void;
|
|
@@ -2317,7 +2318,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2317
2318
|
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2318
2319
|
clearSpan: (uuid: string) => void;
|
|
2319
2320
|
exposeEvent: {
|
|
2320
|
-
validate(path?: string
|
|
2321
|
+
validate(path?: string, { force }?: {
|
|
2322
|
+
force?: boolean | undefined;
|
|
2323
|
+
}): Promise<void>;
|
|
2321
2324
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
2322
2325
|
setFormValues(values: import("../../../../es/shared/types").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
|
|
2323
2326
|
setFieldState(path: string, setter: (field: Partial<Pick<import("../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../es/components/form-render").NonFunctionPropertyNames<{
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
+
declare const CSliderTree: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
sliderInitialWidth: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
treeSearchApiConfig: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
treeRenderConfig: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
default: () => {
|
|
14
|
+
replaceFields: {
|
|
15
|
+
children: string;
|
|
16
|
+
title: string;
|
|
17
|
+
key: string;
|
|
18
|
+
};
|
|
19
|
+
title: string;
|
|
20
|
+
key: string;
|
|
21
|
+
parentId: string;
|
|
22
|
+
uniqId: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
isDraggable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
treePrefix: {
|
|
30
|
+
type: FunctionConstructor;
|
|
31
|
+
};
|
|
32
|
+
treeSuffix: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
$message: import("naive-ui").MessageApi;
|
|
37
|
+
getChildrenByOrgPartenId: (params: any, filterApiConfig: any) => Promise<any>;
|
|
38
|
+
searchEmpTreeData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
39
|
+
updateDeptSort: (params: any, filterApiConfig: any) => Promise<any>;
|
|
40
|
+
getDeptList: (params: any, filterApiConfig: any) => Promise<any>;
|
|
41
|
+
isMatchFn: (node: any, keyword: string) => boolean;
|
|
42
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
sliderInitialWidth: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
treeSearchApiConfig: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
default: () => {};
|
|
50
|
+
};
|
|
51
|
+
treeRenderConfig: {
|
|
52
|
+
type: ObjectConstructor;
|
|
53
|
+
default: () => {
|
|
54
|
+
replaceFields: {
|
|
55
|
+
children: string;
|
|
56
|
+
title: string;
|
|
57
|
+
key: string;
|
|
58
|
+
};
|
|
59
|
+
title: string;
|
|
60
|
+
key: string;
|
|
61
|
+
parentId: string;
|
|
62
|
+
uniqId: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
isDraggable: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
treePrefix: {
|
|
70
|
+
type: FunctionConstructor;
|
|
71
|
+
};
|
|
72
|
+
treeSuffix: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
}>> & {
|
|
76
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
onSaveWidth?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
}>>;
|
|
79
|
+
emit: (event: "select" | "saveWidth", ...args: any[]) => void;
|
|
80
|
+
flexWidth: import("vue").Ref<number>;
|
|
81
|
+
searchValue: import("vue").Ref<string>;
|
|
82
|
+
treeData: import("vue").Ref<any[]>;
|
|
83
|
+
expandedKeys: import("vue").Ref<string[]>;
|
|
84
|
+
selectedKeys: import("vue").Ref<string[]>;
|
|
85
|
+
selectNode: import("vue").Ref<{}>;
|
|
86
|
+
loadedKeys: import("vue").Ref<never[]>;
|
|
87
|
+
dragData: import("vue").Ref<{}>;
|
|
88
|
+
handleRenderLabel: ({ option }: any) => any;
|
|
89
|
+
handleRenderPrefix: ({ option }: any) => any;
|
|
90
|
+
handleRenderSuffix: ({ option }: any) => any;
|
|
91
|
+
init: () => Promise<void>;
|
|
92
|
+
onExpand: (expandedKeyVals: string[]) => void;
|
|
93
|
+
onNodeSelect: (selectedKeyVals: never[] | undefined, [node]: any[]) => void;
|
|
94
|
+
onSearch: () => Promise<void>;
|
|
95
|
+
reset: (flag: boolean, selectOrgId?: string | undefined) => Promise<void>;
|
|
96
|
+
onDrop: (info: any) => Promise<void>;
|
|
97
|
+
getDeptData: (orgId: string) => Promise<any>;
|
|
98
|
+
handleDeptData: (data: any) => any;
|
|
99
|
+
getChildrenByOrgPartenIdFn: () => Promise<void>;
|
|
100
|
+
onLoadData: (treeNode: any) => any;
|
|
101
|
+
getExpandKeys: (data: any) => never[];
|
|
102
|
+
changeWidth: ({ distance }: any) => void;
|
|
103
|
+
saveWidth: () => void;
|
|
104
|
+
NInput: any;
|
|
105
|
+
NTree: any;
|
|
106
|
+
NEmpty: any;
|
|
107
|
+
vFlexibleResize: {
|
|
108
|
+
mounted(el: any, { value }: any): void;
|
|
109
|
+
beforeUnmount(el: any): void;
|
|
110
|
+
};
|
|
111
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "saveWidth")[], "select" | "saveWidth", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
sliderInitialWidth: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
treeSearchApiConfig: {
|
|
117
|
+
type: ObjectConstructor;
|
|
118
|
+
default: () => {};
|
|
119
|
+
};
|
|
120
|
+
treeRenderConfig: {
|
|
121
|
+
type: ObjectConstructor;
|
|
122
|
+
default: () => {
|
|
123
|
+
replaceFields: {
|
|
124
|
+
children: string;
|
|
125
|
+
title: string;
|
|
126
|
+
key: string;
|
|
127
|
+
};
|
|
128
|
+
title: string;
|
|
129
|
+
key: string;
|
|
130
|
+
parentId: string;
|
|
131
|
+
uniqId: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
isDraggable: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
treePrefix: {
|
|
139
|
+
type: FunctionConstructor;
|
|
140
|
+
};
|
|
141
|
+
treeSuffix: {
|
|
142
|
+
type: FunctionConstructor;
|
|
143
|
+
};
|
|
144
|
+
}>> & {
|
|
145
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
onSaveWidth?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
sliderInitialWidth: number;
|
|
149
|
+
treeSearchApiConfig: Record<string, any>;
|
|
150
|
+
treeRenderConfig: Record<string, any>;
|
|
151
|
+
isDraggable: boolean;
|
|
152
|
+
}>>;
|
|
153
|
+
export default CSliderTree;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as e}from"../../shared/utils/index.js";import i from"./src/index.vue.js";const o=i;o.install=function(i){e(i,o,r+"SliderTree")};export{o as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default function useAsyncData(): {
|
|
2
|
+
getChildrenByOrgPartenId: (params: any, filterApiConfig: any) => Promise<any>;
|
|
3
|
+
searchEmpTreeData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
4
|
+
updateDeptSort: (params: any, filterApiConfig: any) => Promise<any>;
|
|
5
|
+
getDeptList: (params: any, filterApiConfig: any) => Promise<any>;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(){async function t(t,e,r){try{const n=r[e]||null;if("function"==typeof n){const e=await n(t);return Promise.resolve(e)}return Promise.reject(new Error(`${e} Is not a function`))}catch(t){return Promise.reject(t)}}return{getChildrenByOrgPartenId:async function(e,r){return await t(e,"getChildrenByOrgPartenId",r)},searchEmpTreeData:async function(e,r){return await t(e,"searchEmpTreeData",r)},updateDeptSort:async function(e,r){return await t(e,"updateDeptSort",r)},getDeptList:async function(e,r){return await t(e,"getDeptList",r)}}}export{t as default};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
sliderInitialWidth: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
treeSearchApiConfig: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
treeRenderConfig: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => {
|
|
13
|
+
replaceFields: {
|
|
14
|
+
children: string;
|
|
15
|
+
title: string;
|
|
16
|
+
key: string;
|
|
17
|
+
};
|
|
18
|
+
title: string;
|
|
19
|
+
key: string;
|
|
20
|
+
parentId: string;
|
|
21
|
+
uniqId: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
isDraggable: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
treePrefix: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
};
|
|
31
|
+
treeSuffix: {
|
|
32
|
+
type: FunctionConstructor;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
$message: import("naive-ui").MessageApi;
|
|
36
|
+
getChildrenByOrgPartenId: (params: any, filterApiConfig: any) => Promise<any>;
|
|
37
|
+
searchEmpTreeData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
38
|
+
updateDeptSort: (params: any, filterApiConfig: any) => Promise<any>;
|
|
39
|
+
getDeptList: (params: any, filterApiConfig: any) => Promise<any>;
|
|
40
|
+
isMatchFn: (node: any, keyword: string) => boolean;
|
|
41
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
sliderInitialWidth: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
treeSearchApiConfig: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {};
|
|
49
|
+
};
|
|
50
|
+
treeRenderConfig: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
default: () => {
|
|
53
|
+
replaceFields: {
|
|
54
|
+
children: string;
|
|
55
|
+
title: string;
|
|
56
|
+
key: string;
|
|
57
|
+
};
|
|
58
|
+
title: string;
|
|
59
|
+
key: string;
|
|
60
|
+
parentId: string;
|
|
61
|
+
uniqId: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
isDraggable: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
treePrefix: {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
};
|
|
71
|
+
treeSuffix: {
|
|
72
|
+
type: FunctionConstructor;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onSaveWidth?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}>>;
|
|
78
|
+
emit: (event: "select" | "saveWidth", ...args: any[]) => void;
|
|
79
|
+
flexWidth: import("vue").Ref<number>;
|
|
80
|
+
searchValue: import("vue").Ref<string>;
|
|
81
|
+
treeData: import("vue").Ref<any[]>;
|
|
82
|
+
expandedKeys: import("vue").Ref<string[]>;
|
|
83
|
+
selectedKeys: import("vue").Ref<string[]>;
|
|
84
|
+
selectNode: import("vue").Ref<{}>;
|
|
85
|
+
loadedKeys: import("vue").Ref<never[]>;
|
|
86
|
+
dragData: import("vue").Ref<{}>;
|
|
87
|
+
handleRenderLabel: ({ option }: any) => any;
|
|
88
|
+
handleRenderPrefix: ({ option }: any) => any;
|
|
89
|
+
handleRenderSuffix: ({ option }: any) => any;
|
|
90
|
+
init: () => Promise<void>;
|
|
91
|
+
onExpand: (expandedKeyVals: string[]) => void;
|
|
92
|
+
onNodeSelect: (selectedKeyVals: never[] | undefined, [node]: any[]) => void;
|
|
93
|
+
onSearch: () => Promise<void>;
|
|
94
|
+
reset: (flag: boolean, selectOrgId?: string) => Promise<void>;
|
|
95
|
+
onDrop: (info: any) => Promise<void>;
|
|
96
|
+
getDeptData: (orgId: string) => Promise<any>;
|
|
97
|
+
handleDeptData: (data: any) => any;
|
|
98
|
+
getChildrenByOrgPartenIdFn: () => Promise<void>;
|
|
99
|
+
onLoadData: (treeNode: any) => any;
|
|
100
|
+
getExpandKeys: (data: any) => never[];
|
|
101
|
+
changeWidth: ({ distance }: any) => void;
|
|
102
|
+
saveWidth: () => void;
|
|
103
|
+
NInput: any;
|
|
104
|
+
NTree: any;
|
|
105
|
+
NEmpty: any;
|
|
106
|
+
vFlexibleResize: {
|
|
107
|
+
mounted(el: any, { value }: any): void;
|
|
108
|
+
beforeUnmount(el: any): void;
|
|
109
|
+
};
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "saveWidth")[], "select" | "saveWidth", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
sliderInitialWidth: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
treeSearchApiConfig: {
|
|
116
|
+
type: ObjectConstructor;
|
|
117
|
+
default: () => {};
|
|
118
|
+
};
|
|
119
|
+
treeRenderConfig: {
|
|
120
|
+
type: ObjectConstructor;
|
|
121
|
+
default: () => {
|
|
122
|
+
replaceFields: {
|
|
123
|
+
children: string;
|
|
124
|
+
title: string;
|
|
125
|
+
key: string;
|
|
126
|
+
};
|
|
127
|
+
title: string;
|
|
128
|
+
key: string;
|
|
129
|
+
parentId: string;
|
|
130
|
+
uniqId: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
isDraggable: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
treePrefix: {
|
|
138
|
+
type: FunctionConstructor;
|
|
139
|
+
};
|
|
140
|
+
treeSuffix: {
|
|
141
|
+
type: FunctionConstructor;
|
|
142
|
+
};
|
|
143
|
+
}>> & {
|
|
144
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
145
|
+
onSaveWidth?: ((...args: any[]) => any) | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
sliderInitialWidth: number;
|
|
148
|
+
treeSearchApiConfig: Record<string, any>;
|
|
149
|
+
treeRenderConfig: Record<string, any>;
|
|
150
|
+
isDraggable: boolean;
|
|
151
|
+
}>;
|
|
152
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"./index.vue2.js";import r from"../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,onMounted as r,withDirectives as n,openBlock as i,createElementBlock as a,normalizeStyle as l,createElementVNode as o,createVNode as s,unref as d,createCommentVNode as c,renderSlot as u,createBlock as f,h as v}from"vue";import{useMessage as p,NInput as g,NTree as h,NEmpty as y}from"naive-ui";import{vFlexibleResize as m}from"../../../shared/directive/flexibleResize.js";import b from"./hooks/useAsyncData.js";import{traversalData as x}from"./utils/index.js";const C={class:"search-groups"},w={class:"tree-wrap"},I={key:1,class:"empty-container"},k={class:"table-footer-wrap"};var O=e({__name:"index",props:{sliderInitialWidth:{type:Number,default:300},treeSearchApiConfig:{type:Object,default:()=>({})},treeRenderConfig:{type:Object,default:()=>({replaceFields:{children:"childrenList",title:"name",key:"code"},title:"bck03",key:"bck02",parentId:"bck01a",uniqId:"bck01"})},isDraggable:{type:Boolean,default:!0},treePrefix:{type:Function},treeSuffix:{type:Function}},emits:["select","saveWidth"],setup(e,{emit:O}){const R=e,F=p(),{getChildrenByOrgPartenId:L,searchEmpTreeData:S,updateDeptSort:D,getDeptList:A}=b(),K=(e,t)=>{var r,n,i,a;t=null==t?void 0:t.toLowerCase();let{name:l="",abbrp:o="",abbrw:s="",code:d}=e;const c=(null==(r=null==l?void 0:l.toLowerCase())?void 0:r.indexOf(t))>-1,u=(null==(n=null==d?void 0:d.toLowerCase())?void 0:n.indexOf(t))>-1,f=(null==(i=null==o?void 0:o.toLowerCase())?void 0:i.indexOf(t))>-1,v=(null==(a=null==s?void 0:s.toLowerCase())?void 0:a.indexOf(t))>-1;return!!(c||f||v||u)},j=t(R.sliderInitialWidth),P=t(""),q=t([]),E=t([]),M=t([]),N=t({}),T=t([]),U=t({});function W({option:e}){const t=e[R.treeRenderConfig.replaceFields.title];if(t.includes(P.value.trim())){const e=t.substr(0,t.indexOf(P.value.trim())),r=t.substr(t.indexOf(P.value.trim())+P.value.trim().length);return v("div",[v("span",{style:{marginRight:e?"2px":"0px"}},e),v("span",{style:{color:"#2563F4"}},P.value.trim()),v("span",{style:{marginLeft:r?"2px":"0px"}},r)])}return t}function B({option:e}){return R.treePrefix?R.treePrefix(e):""}function $({option:e}){return R.treeSuffix?R.treeSuffix(e):""}function J(e){E.value=e}function _(e=[],[t]){e.length?E.value=[...E.value,...e]:E.value=E.value.filter((e=>e!==M.value[0])),M.value=e,O("select",t),N.value=t}async function z(){const e=P.value.trim();if(e){const{data:t,success:r}=await S({search:e},R.treeSearchApiConfig);if(r){const e=R.treeRenderConfig.replaceFields.children;t.forEach((t=>{t[e]=Q(t.bck1TreeManageRespDTO||[]),t.isLeaf=!t[e].length,t.isOrg=!0})),q.value=t,E.value=function(e){const t=[],r=R.treeRenderConfig.replaceFields.children;for(const n of x(e,r)){let e=!1;for(const t of x(n[r],r))K(t,P.value)&&(e=!0);e&&t.push(n.code)}return t}(t)}}else V(!1)}async function V(e,t){await X();let r=q.value[0].orgId;e&&(r=t);const n=await H(r);if(n){const e=q.value.map((e=>e.orgId!==r?n:e));q.value=e}}async function G(e){const{dragNode:t,node:r}=e,{parentId:n,uniqId:i}=R.treeRenderConfig;if(t.isOrg)return void F.error("机构不能拖动排序");if(t.orgId!==r.orgId)return void F.error("不能跨机构移动科室");if(t[n]!==r[n])return void F.error("仅允许同层级科室排序");U.value=t;const a={uniqId:t[i],moveToUniqId:r[i],orgId:t.orgId},{success:l}=await D(a,R.treeSearchApiConfig);l&&(F.success("排序成功"),V(!0,t.orgId))}async function H(e){const{data:t,success:r}=await A({orgId:e},R.treeSearchApiConfig);if(r){const r=R.treeRenderConfig.replaceFields.children,n=q.value.find((t=>t.orgId===e));return n[r]=Q(t),n}}function Q(e){const t=R.treeRenderConfig.replaceFields.children;for(const r of x(e,t))r.name=r[R.treeRenderConfig.title],r.code=r[R.treeRenderConfig.key],r.isLeaf=!r[t]||!r[t].length;return e}async function X(){const{success:e,data:t}=await L(null,R.treeSearchApiConfig);e&&(t.forEach((e=>{e.isOrg=!0,e.isLeaf=!e.existBck1})),q.value=t)}function Y(e){return new Promise((async t=>{if(e.isOrg&&!e.children){const r=await H(e.orgId);return r&&(e.children=r),void t(!0)}t(!0)}))}function Z({distance:e}){const t=j.value+e;j.value=Math.min(Math.max(t,50),1e3)}function ee(){O("saveWidth",j.value)}return r((()=>{!async function(){await X(),q.value.length>0&&(E.value=[q.value[0].code],M.value=[q.value[0].code],N.value=q.value[0],O("select",JSON.parse(JSON.stringify(q.value[0]))))}()})),(t,r)=>n((i(),a("div",{class:"left-tree-wrap",ref:"left",style:l({width:j.value+"px"})},[o("div",C,[s(d(g),{clearable:"",placeholder:"搜索关键字",value:P.value,"onUpdate:value":[r[0]||(r[0]=e=>P.value=e),z]},null,8,["value"]),c(" 按钮插槽 "),u(t.$slots,"buttons")]),c(" 标签tab插槽 "),u(t.$slots,"tabs"),o("div",w,[q.value.length>0?(i(),f(d(h),{key:0,"virtual-scroll":"","children-field":e.treeRenderConfig.replaceFields.children,"key-field":e.treeRenderConfig.replaceFields.key,"label-field":e.treeRenderConfig.replaceFields.title,selectable:!0,data:q.value,"expanded-keys":E.value,selectedKeys:M.value,draggable:e.isDraggable,loadedKeys:T.value,"render-label":W,"render-prefix":B,"render-suffix":$,"onUpdate:expandedKeys":J,"onUpdate:selectedKeys":_,onLoad:Y,onDrop:G},null,8,["children-field","key-field","label-field","data","expanded-keys","selectedKeys","draggable","loadedKeys"])):(i(),a("div",I,[s(d(y),{description:"暂无数据"})]))]),o("div",k,[c(" 导出数据插槽 "),u(t.$slots,"output")])],4)),[[d(m),{mode:"VR",onMove:Z,onEnd:ee}]])}});export{O as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function traversalData(data: any[], children?: string): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function*r(e,i="children"){if(e&&Array.isArray(e))for(let l=0;l<e.length;l++)yield e[l],e[l][i]&&(yield*r(e[l][i],i))}export{r as traversalData};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.left-tree-wrap{background:#fff;border-right:1px solid rgba(0,0,0,.1);box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:8px;position:relative}.left-tree-wrap .search-groups{align-items:center;display:flex}.left-tree-wrap .search-groups .ant-input-search{flex:1}.left-tree-wrap .tree-wrap{flex:1;margin-top:12px;overflow-y:auto}.left-tree-wrap .tree-wrap .n-tree .n-tree-node-content{width:100%}.left-tree-wrap .tree-wrap .empty-container{align-items:center;display:flex;height:100%;justify-content:center}.left-tree-wrap .table-footer-wrap{margin-top:8px}.left-tree-wrap .resizable{bottom:0;cursor:col-resize;height:100%;position:absolute;right:-7px;text-align:center;width:14px;z-index:1}
|
|
@@ -111,6 +111,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
readonly type: PropType<(string | number)[] | null>;
|
|
112
112
|
readonly default: null;
|
|
113
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* 拖拽完成
|
|
116
|
+
*/
|
|
114
117
|
readonly disabled: {
|
|
115
118
|
readonly type: PropType<boolean | undefined>;
|
|
116
119
|
readonly default: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as i,withDirectives as a,openBlock as n,createElementBlock as l,normalizeStyle as o,createBlock as s,unref as c,Fragment as u,renderList as d,toDisplayString as p,createCommentVNode as r,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as L,NButtonGroup as k,NButton as b,NIcon as E}from"naive-ui";import P
|
|
1
|
+
import{defineComponent as e,ref as t,computed as i,withDirectives as a,openBlock as n,createElementBlock as l,normalizeStyle as o,createBlock as s,unref as c,Fragment as u,renderList as d,toDisplayString as p,createCommentVNode as r,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as L,NButtonGroup as k,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as P}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as O}from"../../../../types/enums.js";import{ArrowBack as W,ArrowForward as _}from"@vicons/ionicons5";const x={key:0,class:"dynamic-header"},M={class:"dynamic-content"},S=["onClick"],C={key:0,class:"content"},j={class:"content"},w={class:"dynamic-pagination"};var z=e({__name:"index",props:{dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:z}){const B=e,H=t(200),A=i((()=>{var e,t;return null!=(t=null==(e=B.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),I=i((()=>A.value&&A.value.length>0?A.value.map((e=>{let t="";return B.fieldTitleList.forEach((i=>{i.columnName===e&&(t=i.title)})),t})):[]));function N(e){const t=B.curPage+e;z("updatePage",t)}function R({distance:e}){const t=H.value+e;H.value=Math.min(Math.max(t,200),1e3)}function T(){}return(t,i)=>a((n(),l("div",{class:"select-dynamic-options",style:o({minWidth:H.value+"px",position:"relative"})},[0===e.optionList.length?(n(),s(c(g),{key:0,description:"无数据"})):(n(),l(u,{key:1},[c(I)&&c(I).length>1?(n(),l("div",x,[(n(!0),l(u,null,d(c(I),(e=>(n(),l("span",{key:e,class:"name"},p(e),1)))),128))])):r("v-if",!0),v("ul",M,[(n(!0),l(u,null,d(e.optionList,(t=>(n(),l("li",{class:m(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,i,a;if(!B.isMultiple||e.value===O.WHOLE)return null==(t=B.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void z("updateSelect",[e.value]);null==(i=B.optionList)||i.forEach((e=>{e.value===O.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const n=null==(a=B.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));z("updateSelect",n)}(t)},[e.isShowWhole&&t.value===c(O).WHOLE?(n(),l("span",C,p(t.label),1)):(n(!0),l(u,{key:1},d(c(A),(e=>(n(),s(c(L),{key:e,trigger:"hover",duration:0},{trigger:f((()=>[v("span",j,p(t[e]),1)])),default:f((()=>[y(" "+p(t[e]),1)])),_:2},1024)))),128))],10,S)))),128))]),v("div",w,[h(c(k),null,{default:f((()=>[h(c(b),{onClick:i[0]||(i[0]=e=>N(-1)),disabled:e.curPage<=1},{icon:f((()=>[h(c(E),{component:c(W),size:"16"},null,8,["component"])])),default:f((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:i[1]||(i[1]=e=>N(1)),disabled:e.isLastPage},{icon:f((()=>[h(c(E),{component:c(_),size:"16"},null,8,["component"])])),default:f((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],4)),[[c(P),{mode:"VR",onMove:R,onEnd:T}]])}});export{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WidgetOptionEnums as e,WidgetTypeEnums as t,WidgetValEnums as i}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as a}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as o}from"../components/render-widget/enums.js";const r={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function u(){return{transformData:function(i,n){return i.map((i=>{var l,a,o;const{optionInfo:u={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:s,defaultValue:E,optionType:c,filterExplicit:p,rangeFilter:T}=i,d={},m={title:(f=i).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?r[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width,accurateSearch:f.accurateSearch?f.accurateSearch:{}};var f;let g,y
|
|
1
|
+
import{WidgetOptionEnums as e,WidgetTypeEnums as t,WidgetValEnums as i}from"../types/enums.js";import{isString as n}from"lodash-es";import{formatDateRangeInfo as l,presetValToTimestamp as a}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as o}from"../components/render-widget/enums.js";const r={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function u(){return{transformData:function(i,n){return i.map((i=>{var l,a,o;const{optionInfo:u={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:s,defaultValue:E,optionType:c,filterExplicit:p,rangeFilter:T}=i,d={},m={title:(f=i).title,alias:f.customTitle,isShowSearch:f.isShowSearch?1:0,filterExplicit:f.filterExplicit?1:0,explicitRequired:f.explicitRequired?1:0,advanceOptionSetting:f.optionType?r[f.optionType]:"",placeholder:f.remark,advanceColWidth:f.width,accurateSearch:f.accurateSearch?f.accurateSearch:{}};var f;let g,v,y=s;p?(g=s===t.SELECT&&c===e.MULTIPLE?null==E?void 0:E.valueList:null==(l=null==E?void 0:E.valueList)?void 0:l[0],v=null==E?void 0:E.unit,s===t.LABEL&&(y="SELECTLABEL",g=null==E?void 0:E.valueList),s===t.DATE&&(y="DATE_OUT"),s===t.DATE_TIME&&(y="DATETIME_OUT")):s===t.SELECT&&(null==u?void 0:u.list)&&(null==u?void 0:u.list.length)<10&&(y="CHECKBOX_GROUP"),T&&(s===t.INPUT_NUMBER&&(y="INPUTNUMBER_RANGE"),s===t.DATE&&(y=p?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),s===t.DATE_TIME&&(y=p?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),s===t.SELECT&&!1===(null==u?void 0:u.manualMapping)&&(y=t.SELECTDYNAMIC);const A={isRender:!0,widgetType:y,originType:s,valueList:null==(a=null==u?void 0:u.list)?void 0:a.map((({name:e,value:t})=>({value:t,label:e}))),defaultValue:g,defValueUnit:v,optionSetting:c,multiple:c===e.MULTIPLE||y===t.SELECTLABEL,manualMapping:null==u?void 0:u.manualMapping,showWholeOption:null==u?void 0:u.showWholeOption,dynamicOptionInfo:null==u?void 0:u.dynamicOptionInfo,classifyStr:null==E?void 0:E.classifyStr,linkageFieldKeys:null!=(o=null==E?void 0:E.linkageFieldKeys)?o:[]};return{...m,fieldType:i.dataType,columnName:i.name,settingObj:d,setting:JSON.stringify(d),widgetCfg:A,rangeFilter:T,unit:null!=v?v:"",isAccurateSearchVal:!1,_extendData:null!=n?n:{}}}))},getCacheDef:function(e,i){const{widgetType:n,widgetCfg:l}=e;return[t.SELECT,t.CHECKBOX_GROUP,t.SELECTDYNAMIC].includes(n)&&l.multiple?i:i[0]},transformClassifyChild:function(e,i){const n={};return e&&e.length>0&&e.forEach((e=>{const r=e.field_key;n[r]="";const u=i.find((e=>e.name===r));if(u){const i=Array.isArray(e.value)&&u.type===t.SELECT?e.value:e.value.toString();if(n[r]=i,e.unit&&e.unit!==o.CUSTOM){let i="";u.type===t.DATE&&(i=u.rangeFilter?l(e.unit,"YYYY-MM-DD",u.optionType):a(e.unit,"YYYY-MM-DD")),u.type===t.DATE_TIME&&(i=u.rangeFilter?l(e.unit,"YYYY-MM-DD HH:mm:ss",u.optionType):a(e.unit,"YYYY-MM-DD HH:mm:ss")),n[r]=i}}})),n},transformParams:function(e){const l={},a=[t.SELECT,t.SELECTDYNAMIC,t.CHECKBOX_GROUP];return e&&e.length>0&&e.forEach((e=>{let t="";const o=e.field_key;e.value&&(t=a.includes(e.widgetType)||e.value&&e.value.length>1?e.value.map((e=>n(e)&&e.includes("&")?e.split("&")[1]:e)):e.value.toString()),Array.isArray(t)&&t.length>0&&t.includes(i.WHOLE)||(Object.keys(e).includes("isAccurateSearch")&&(l[e.accurateSearchKey]=e.isAccurateSearch?1:0),l[o]=t)})),l}}}export{u as default};
|
package/es/env.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly VITE_APP_TYPE: string;
|
|
5
|
-
// 更多环境变量...
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
interface ImportMeta {
|
|
9
|
-
readonly env: ImportMetaEnv;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare module '*.vue' {
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
import type { App, defineComponent } from 'vue';
|
|
15
|
-
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
-
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
-
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
-
install(app: App): void;
|
|
19
|
-
};
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
export default component;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare module '*.js';
|
|
25
|
-
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly VITE_APP_TYPE: string;
|
|
5
|
+
// 更多环境变量...
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface ImportMeta {
|
|
9
|
+
readonly env: ImportMetaEnv;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.vue' {
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
import type { App, defineComponent } from 'vue';
|
|
15
|
+
// // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
16
|
+
// // const component: DefineComponent<{}, {}, any>
|
|
17
|
+
const component: ReturnType<typeof defineComponent> & {
|
|
18
|
+
install(app: App): void;
|
|
19
|
+
};
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export default component;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare module '*.js';
|
|
25
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAADCCAMAAABXGy/PAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA5UExURUdwTPX19fb29vX19fn5+fr6+vb29vT09PDw8Pj4+PLz8/X19dfX17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