cnhis-design-vue 3.1.56-release.0 → 3.1.56

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.
Files changed (111) hide show
  1. package/es/components/annotation-edit/index.d.ts +18 -0
  2. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +18 -0
  3. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  4. package/es/components/annotation-edit/src/type.d.ts +4 -0
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +20 -6
  6. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  7. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +14 -0
  8. package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
  9. package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +5 -2
  10. package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -1
  11. package/es/components/audio-sdk/style/index.css +1 -1
  12. package/es/components/base-search/index.d.ts +14 -0
  13. package/es/components/base-search/src/index.vue.d.ts +14 -0
  14. package/es/components/base-search/src/index.vue2.js +1 -1
  15. package/es/components/base-search/style/index.css +1 -1
  16. package/es/components/big-table/index.js +1 -1
  17. package/es/components/callback/src/components/render/popupMaps.d.ts +26 -4
  18. package/es/components/classification/index.d.ts +20 -7
  19. package/es/components/classification/src/components/search-filter/index.vue.d.ts +14 -0
  20. package/es/components/classification/src/components/set-classification/index.vue.d.ts +20 -7
  21. package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
  22. package/es/components/classification/src/components/table-modal/index.vue.d.ts +6 -5
  23. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  24. package/es/components/classification/src/index.vue.d.ts +20 -7
  25. package/es/components/classification/src/index.vue2.js +1 -1
  26. package/es/components/fabric-chart/index.d.ts +4 -2
  27. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
  28. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  29. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  30. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  31. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  32. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  37. package/es/components/form-config/index.d.ts +82 -14
  38. package/es/components/form-config/src/FormConfig.vue.d.ts +82 -14
  39. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +26 -4
  40. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
  41. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +41 -7
  42. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  43. package/es/components/form-render/index.d.ts +26 -4
  44. package/es/components/form-render/src/FormRender.vue.d.ts +27 -4
  45. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  46. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +26 -4
  47. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  48. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  49. package/es/components/form-render/src/components/renderer/select.js +1 -1
  50. package/es/components/form-render/src/constants/index.d.ts +1 -0
  51. package/es/components/form-render/src/constants/index.js +1 -1
  52. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +10 -2
  53. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  54. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  55. package/es/components/form-render/src/types/index.d.ts +3 -1
  56. package/es/components/iho-table/index.js +1 -1
  57. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +1 -1
  58. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
  59. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +1 -1
  60. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  61. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +1 -1
  62. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +1 -1
  63. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  64. package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
  65. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  66. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  67. package/es/components/iho-table/src/utils/index.js +1 -1
  68. package/es/components/index.css +1 -1
  69. package/es/components/index.js +1 -1
  70. package/es/components/info-header/index.d.ts +77 -13
  71. package/es/components/info-header/src/InfoHeader.vue.d.ts +77 -13
  72. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +5 -1
  73. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +5 -1
  74. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +31 -5
  75. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +26 -4
  76. package/es/components/recommend-search/index.d.ts +8 -8
  77. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +8 -8
  78. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  79. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  80. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +3 -3
  81. package/es/components/shortcut-setter/index.d.ts +26 -4
  82. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +26 -4
  83. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -0
  84. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +14 -0
  85. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -0
  86. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +14 -0
  87. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +15 -0
  88. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  89. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +14 -0
  90. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  91. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +15 -0
  92. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +15 -0
  93. package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +1 -1
  94. package/es/shared/components/CancelRadio/index.js +1 -1
  95. package/es/shared/components/InputNumberSlash/index.js +1 -1
  96. package/es/shared/components/SelectPage/index.js +1 -1
  97. package/es/shared/components/SlotRender/index.js +1 -1
  98. package/es/shared/components/SvgIcon/index.js +1 -1
  99. package/es/shared/components/TextOverTooltip/index.js +1 -1
  100. package/es/shared/components/VueDraggable/index.js +1 -1
  101. package/es/shared/components/no-data/index.js +1 -1
  102. package/es/shared/package.json.js +1 -1
  103. package/es/shared/utils/business.js +1 -1
  104. package/es/shared/utils/tapable/AsyncParallelBailHook.js +1 -0
  105. package/es/shared/utils/tapable/AsyncSeriesBailHook.js +1 -0
  106. package/es/shared/utils/tapable/AsyncSeriesLoopHook.js +1 -0
  107. package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.js +1 -0
  108. package/es/shared/utils/tapable/SyncBailHook.js +1 -0
  109. package/es/shared/utils/tapable/SyncLoopHook.js +1 -0
  110. package/es/shared/utils/vexutils.js +1 -1
  111. package/package.json +2 -2
@@ -4,14 +4,32 @@ declare const Annotation: SFCWithInstall<import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<import("./src/type").AnnotationItem>;
5
5
  default: string;
6
6
  };
7
+ shortcuts: {
8
+ type: import("vue").PropType<(string | {
9
+ label: string;
10
+ value: string;
11
+ })[] | undefined>;
12
+ default: () => never[];
13
+ };
7
14
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
15
  modelValue: {
9
16
  type: import("vue").PropType<import("./src/type").AnnotationItem>;
10
17
  default: string;
11
18
  };
19
+ shortcuts: {
20
+ type: import("vue").PropType<(string | {
21
+ label: string;
22
+ value: string;
23
+ })[] | undefined>;
24
+ default: () => never[];
25
+ };
12
26
  }>> & {
13
27
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
14
28
  }, {
15
29
  modelValue: import("./src/type").AnnotationItem;
30
+ shortcuts: (string | {
31
+ label: string;
32
+ value: string;
33
+ })[] | undefined;
16
34
  }>>;
17
35
  export default Annotation;
@@ -5,14 +5,32 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: PropType<AnnotationItem>;
6
6
  default: string;
7
7
  };
8
+ shortcuts: {
9
+ type: PropType<(string | {
10
+ label: string;
11
+ value: string;
12
+ })[] | undefined>;
13
+ default: () => never[];
14
+ };
8
15
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
16
  modelValue: {
10
17
  type: PropType<AnnotationItem>;
11
18
  default: string;
12
19
  };
20
+ shortcuts: {
21
+ type: PropType<(string | {
22
+ label: string;
23
+ value: string;
24
+ })[] | undefined>;
25
+ default: () => never[];
26
+ };
13
27
  }>> & {
14
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
29
  }, {
16
30
  modelValue: AnnotationItem;
31
+ shortcuts: (string | {
32
+ label: string;
33
+ value: string;
34
+ })[] | undefined;
17
35
  }>;
18
36
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,computed as o,ref as t,onDeactivated as a,createVNode as l,unref as u,createTextVNode as n}from"vue";import{useTheme as i}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as r,isObject as s,isFunction as m}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import{FileTrayFull as d,FileTray as v}from"@vicons/ionicons5";import{NPopover as c,NDivider as p,NEllipsis as f,NIcon as h,NInput as V}from"naive-ui";var g=e({props:{modelValue:{type:[String,Object],default:""}},emits:["update:modelValue"],setup(e,{emit:g}){const k=i(),w=o({get:()=>r(e.modelValue)?e.modelValue:s(e.modelValue)&&e.modelValue.content||"",set(o){let t=o;s(e.modelValue)&&(t={...e.modelValue,content:o}),g("update:modelValue",t)}}),x=t(!1),T=o({get:()=>x.value,async set(e){x.value=e,!e&&b.value&&(await new Promise((e=>setTimeout(e,200))),b.value=!1)}}),b=t(!1);let y,_;function P(e){e.stopPropagation(),clearTimeout(y),T.value&&b.value?T.value=!1:u(w)||(y=setTimeout((()=>{b.value=T.value=!0}),200))}function j(e){e.stopPropagation(),clearTimeout(y),u(w)&&(T.value=!0,b.value=!0)}function M(e){e.stopPropagation(),clearTimeout(_),u(w)&&(T.value=!0)}function R(e){e.stopPropagation(),clearTimeout(_),u(w)&&!b.value&&(_=setTimeout((()=>{T.value=!1}),300))}return a((()=>{T.value=!1})),function(){return l("section",{class:["annotation-edit",{"is-active":!!u(w)}],style:{"--icon-right":"-5",...k.value},"annotation-hover-show":!u(w)&&!b.value},[l(c,{"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:T.value,"onUpdate:show":e=>T.value=e,trigger:"manual",duration:100,onClickoutside:P},{default:function(){return l("section",{onMouseleave:R,onMouseenter:M},[l("div",null,[b.value?l(V,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:w.value,"onUpdate:value":e=>w.value=e},null):l("span",null,[u(w)])]),s(e.modelValue)?[l(p,{style:{margin:"4px 0",minWidth:"360px"}},null),l("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return l("div",{class:"annotation-edit__icon",onMouseleave:R,onMouseenter:M,onDblclick:j,onClick:P},[l(h,{component:u(w)?d:v},null)])}})])}}});export{g as default};
1
+ import{defineComponent as e,computed as o,ref as l,onDeactivated as t,createVNode as a,unref as u,createTextVNode as n}from"vue";import{useTheme as r}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as s,isObject as i,isArray as d,isFunction as m}from"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import{promiseTimeout as v}from"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import{FileTrayFull as c,FileTray as p}from"@vicons/ionicons5";import{NPopover as f,NDivider as h,NEllipsis as V,NIcon as g,NPopselect as y,NButton as w,NInput as x}from"naive-ui";var b=e({props:{modelValue:{type:[String,Object],default:""},shortcuts:{type:Array,default:()=>[]}},emits:["update:modelValue"],setup(e,{emit:b}){const k=r(),T=o({get:()=>s(e.modelValue)?e.modelValue:i(e.modelValue)&&e.modelValue.content||"",set(o){let l=o;i(e.modelValue)&&(l={...e.modelValue,content:o}),b("update:modelValue",l)}}),P=l(!1),R=o({get:()=>P.value,async set(e){P.value=e,!e&&M.value&&(await new Promise((e=>setTimeout(e,200))),M.value=!1)}}),_=o((()=>{let o=e.shortcuts||[];return i(e.modelValue)&&(d(e.modelValue.shortcuts)?o=e.modelValue.shortcuts:Reflect.has(e.modelValue,"shortcuts")&&(o=[])),o.map((e=>s(e)?{label:e,value:e}:e))})),j=l(),M=l(!1);let C,U;async function z(){var e,o;await v(50),null==(o=null==(e=j.value)?void 0:e.syncPosition)||o.call(e)}function L(e){e.stopPropagation(),clearTimeout(C),R.value&&M.value?R.value=!1:u(T)||(C=setTimeout((()=>(M.value=R.value=!0,z())),200))}function S(e){if(e.stopPropagation(),clearTimeout(C),u(T))return M.value=R.value=!0,z()}function W(e){e.stopPropagation(),clearTimeout(U),u(T)&&(R.value=!0)}function A(e){e.stopPropagation(),clearTimeout(U),u(T)&&!M.value&&(U=setTimeout((()=>{R.value=!1}),300))}return t((()=>{R.value=!1})),function(){return a("section",{class:["annotation-edit",{"is-active":!!u(T)}],style:{"--icon-right":"-5",...k.value},"annotation-hover-show":!u(T)&&!M.value},[a(f,{ref:j,"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:R.value,"onUpdate:show":e=>R.value=e,trigger:"manual",duration:100,onClickoutside:L},{default:function(){return a("section",{onMouseleave:A,onMouseenter:W},[a("div",null,[M.value?[_.value.length?a(y,{options:_.value,"onUpdate:value":e=>T.value+=e,scrollable:!0},{default:()=>a(w,{style:"margin-bottom: 8px;"},{default:()=>"短语"})}):null,a(x,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:T.value,"onUpdate:value":e=>T.value=e},null)]:a("span",null,[u(T)])]),i(e.modelValue)&&(m(e.modelValue.footerRender)||e.modelValue.author||e.modelValue.date)?[a(h,{style:{margin:"4px 0",minWidth:"360px"}},null),a("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),a(V,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return a("div",{class:"annotation-edit__icon",onMouseleave:A,onMouseenter:W,onDblclick:S,onClick:L},[a(g,{component:u(T)?c:p},null)])}})])}}});export{b as default};
@@ -5,4 +5,8 @@ export declare type AnnotationItem = string | Partial<{
5
5
  date: string;
6
6
  dateLabel: string;
7
7
  footerRender: (item: Exclude<AnnotationItem, string>) => any;
8
+ shortcuts: (string | {
9
+ label: string;
10
+ value: string;
11
+ })[];
8
12
  }> | null | undefined;
@@ -5,20 +5,34 @@ import { AnyObject } from '../../../shared/types';
5
5
  export default class AudioSDK {
6
6
  private recorder;
7
7
  private recordingDialog;
8
- private onProcess;
8
+ private contentRef;
9
+ private realTimeRecognition;
10
+ private allowPunctuationMark;
11
+ private timed;
12
+ private timer;
13
+ private realTimeSendStartTime;
14
+ private realTimeSendBytesChunks;
15
+ private realTimeSendClearPrevBufferIdx;
9
16
  static instance: AudioSDK | null;
10
17
  static serverUrl: string;
18
+ static sendInterval: number;
11
19
  constructor();
12
20
  static create(option?: AnyObject): AudioSDK;
13
21
  private initRecorder;
22
+ private takeoffEncodeChunk;
23
+ private onProcess;
14
24
  private recorderOpen;
15
- recorderStart(instance: ComponentInternalInstance, afterLeave: Function): Promise<{
25
+ recorderStart(instance: ComponentInternalInstance, { onStop, allowPunctuationMark, realTimeRecognition, timed }: {
26
+ onStop: () => any;
27
+ realTimeRecognition?: boolean;
28
+ allowPunctuationMark?: boolean;
29
+ timed?: number;
30
+ }): Promise<{
16
31
  result: string;
17
32
  }>;
18
- recorderStop({ isRecognition, allowPunctuationMark }: {
19
- isRecognition?: boolean | undefined;
20
- allowPunctuationMark?: boolean | undefined;
21
- }): Promise<AnyObject>;
33
+ recorderStop(): Promise<AnyObject>;
34
+ private toAudioRecognition;
35
+ private reset;
22
36
  destroy(): void;
23
37
  static audioRecognition(params: FormData): Promise<import("axios").AxiosResponse<any, any>>;
24
38
  static audioRevise(params: {
@@ -1 +1 @@
1
- import r from"axios";import e from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{uuidGenerator as t}from"../../../shared/utils/index.js";import{useThrottleFn as s}from"@vueuse/core";import{RecordingDialog as i}from"./utils/recordingDialog.js";const o=class{constructor(){if(this.recorder=null,this.recordingDialog=new i,this.onProcess=s(((r,e)=>{if(!this.recordingDialog.target)return;const t=this.recordingDialog.target.querySelector(".animation");if(t){const r="translateX(-50%) translateY(-50%)";if(e>.5){const s=1+.01*e;t.style.transform=r+" scale("+s+")"}else t.style.transform=r+" scale(1)"}}),200),o.instance)return o.instance;this.initRecorder(),o.instance=this}static create(r){return(null==r?void 0:r.serverUrl)&&(this.serverUrl=r.serverUrl),new o}initRecorder(){this.recorder=e({type:"mp3",sampleRate:16e3,bitRate:16,onProcess:this.onProcess})}async recorderOpen(){return this.recorder||this.initRecorder(),new Promise(((r,e)=>{this.recorder.open((()=>{r({})}),((r,t)=>{e({result:"fail",msg:r,isUserNotAllow:t})}))}))}async recorderStart(r,e){try{return await this.recorderOpen(),this.recorder.start(),await this.recordingDialog.show(r,e),Promise.resolve({result:"success"})}catch(r){return Promise.reject(r)}}recorderStop({isRecognition:r=!0,allowPunctuationMark:e=!0}){return this.recorder?(this.recordingDialog.hide(),new Promise(((s,i)=>{this.recorder.stop((async(a,n)=>{var c;const l=new File([a],`${t()}.mp3`,{type:a.type});try{let t;if(r){const r=new FormData;r.append("audio",l);const{data:s}=await o.audioRecognition(r);t=s,!e&&"success"===t.msg&&(null==(c=t.data)?void 0:c.text)&&(t.data.text=t.data.text.replace(/[??,。,.\s]/g,""))}s({result:"success",file:l,duration:n,...t?{data:t}:{}})}catch(r){i({result:"fail",msg:r})}}),(r=>{i({result:"fail",msg:r})}))}))):Promise.reject({result:"fail",msg:"请先打开麦克风录音"})}destroy(){var r;null==(r=this.recorder)||r.close(),this.recorder=null}static async audioRecognition(e){return await r.post(`${this.serverUrl}/audio/recognition`,e,{headers:{"Content-Type":"multipart/form-data"}})}static async audioRevise(e){return await r.post(`${this.serverUrl}/audio/revise`,e)}};let a=o;a.serverUrl="";export{a as default};
1
+ import{ref as e}from"vue";import t from"axios";import r from"recorder-core";import"recorder-core/src/engine/mp3";import"recorder-core/src/engine/mp3-engine";import{uuidGenerator as i}from"../../../shared/utils/index.js";import{RecordingDialog as s}from"./utils/recordingDialog.js";const n=class{constructor(){if(this.recorder=null,this.recordingDialog=new s,this.contentRef=e(""),this.realTimeRecognition=!1,this.allowPunctuationMark=!0,this.timed=0,this.timer=null,this.realTimeSendStartTime=0,this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0,n.instance)return n.instance;this.initRecorder(),n.instance=this}static create(e){return(null==e?void 0:e.serverUrl)&&(this.serverUrl=e.serverUrl),new n}initRecorder(){this.recorder=r({type:"mp3",sampleRate:16e3,bitRate:16,...this.realTimeRecognition?{onProcess:this.onProcess.bind(this),takeoffEncodeChunk:this.takeoffEncodeChunk.bind(this)}:{}})}async takeoffEncodeChunk(e){e&&this.realTimeSendBytesChunks.push(e);const t=Date.now();if(t-this.realTimeSendStartTime<n.sendInterval)return;this.realTimeSendStartTime=t;let r=0;for(let e=0;e<this.realTimeSendBytesChunks.length;e++)r+=this.realTimeSendBytesChunks[e].length;const i=new Uint8Array(r);for(let e=0,t=0;e<this.realTimeSendBytesChunks.length;e++){const r=this.realTimeSendBytesChunks[e];i.set(r,t),t+=r.length}if(this.realTimeSendBytesChunks=[],i.length>0){const e=new Blob([i],{type:"audio/mp3"}),{text:t}=await this.toAudioRecognition(e);this.contentRef.value+=t}}async onProcess(e,t,r,i,s){0===this.realTimeSendStartTime&&(this.realTimeSendStartTime=Date.now(),this.realTimeSendBytesChunks=[],this.realTimeSendClearPrevBufferIdx=0);for(let t=this.realTimeSendClearPrevBufferIdx;t<s;t++)e[t]=null;this.realTimeSendClearPrevBufferIdx=s}async recorderOpen(){return this.recorder||this.initRecorder(),new Promise(((e,t)=>{this.recorder.open((()=>{e({})}),((e,r)=>{t({result:"fail",msg:e,isUserNotAllow:r})}))}))}async recorderStart(e,{onStop:t,allowPunctuationMark:r=!0,realTimeRecognition:i=!1,timed:s=0}){this.realTimeRecognition=i,this.allowPunctuationMark=r,this.timed=1e3*s,this.timed&&(this.timer=setTimeout((()=>{t()}),this.timed));try{return await this.recorderOpen(),this.recorder.start(),this.recordingDialog.show(e,{contentRef:this.contentRef,after:()=>t()}),Promise.resolve({result:"success"})}catch(e){return Promise.reject(e)}}recorderStop(){return this.recorder?(this.recordingDialog.hide(),new Promise(((e,t)=>{if(this.realTimeRecognition){const t={file_id:"",text:this.contentRef.value};return e({result:"success",data:t}),void this.destroy()}this.recorder.stop((async(t,r)=>{const i=await this.toAudioRecognition(t);e({result:"success",duration:r,data:i}),this.destroy()}),(e=>{t({result:"fail",msg:e}),this.destroy()}))}))):Promise.reject({result:"fail",msg:"请先打开麦克风录音"})}async toAudioRecognition(e){var t;const r=new File([e],`${i()}.mp3`,{type:e.type}),s=new FormData;s.append("audio",r);const o={file_id:"",text:""};try{const{data:e}=await n.audioRecognition(s);!this.allowPunctuationMark&&"success"===e.msg&&(null==(t=e.data)?void 0:t.text)&&(e.data.text=e.data.text.replace(/[??,。,.\s]/g,""),Object.assign(o,e.data))}catch(e){console.log(e)}return o}reset(){this.realTimeSendStartTime=0,this.contentRef.value="",this.timer&&(clearTimeout(this.timer),this.timer=null),this.timed=0}destroy(){var e;null==(e=this.recorder)||e.close(),this.recorder=null,this.reset()}static async audioRecognition(e){return await t.post(`${this.serverUrl}/audio/recognition`,e,{headers:{"Content-Type":"multipart/form-data"}})}static async audioRevise(e){return await t.post(`${this.serverUrl}/audio/revise`,e)}};let o=n;o.serverUrl="",o.sendInterval=1500;export{o as default};
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ content: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
6
10
  }, {
7
11
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
8
12
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -10,8 +14,13 @@ declare const _default: import("vue").DefineComponent<{
10
14
  type: BooleanConstructor;
11
15
  default: boolean;
12
16
  };
17
+ content: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
13
21
  }>> & {}>>;
14
22
  showModal: import("vue").Ref<boolean>;
23
+ handleKeydown: (event: KeyboardEvent) => void;
15
24
  close: () => void;
16
25
  NModal: any;
17
26
  NIcon: any;
@@ -21,7 +30,12 @@ declare const _default: import("vue").DefineComponent<{
21
30
  type: BooleanConstructor;
22
31
  default: boolean;
23
32
  };
33
+ content: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
24
37
  }>>, {
25
38
  visible: boolean;
39
+ content: string;
26
40
  }>;
27
41
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as o,ref as e,watch as s,openBlock as i,createBlock as r,unref as t,withCtx as a,createElementVNode as n,normalizeStyle as l,createVNode as u}from"vue";import{NModal as p,NIcon as m}from"naive-ui";import{Mic as c}from"@vicons/ionicons5";import{useTheme as d}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";const v=n("div",{class:"animation"},null,-1);var h=o({__name:"recordingDialog",props:{visible:{type:Boolean,default:!1}},setup(o){const h=o,f=d(),k=e(!0);function w(){k.value=!1}return s((()=>h.visible),(o=>{k.value=o})),(o,e)=>(i(),r(t(p),{show:k.value,"onUpdate:show":e[0]||(e[0]=o=>k.value=o)},{default:a((()=>[n("div",{class:"c-recording-wrapper",style:l(t(f))},[v,n("div",{class:"icon-box",onClick:w},[u(t(m),{size:"60",color:"#fff",component:t(c)},null,8,["component"])])],4)])),_:1},8,["show"]))}});export{h as default};
1
+ import{defineComponent as e,ref as o,onMounted as t,watch as s,openBlock as n,createBlock as i,unref as r,normalizeStyle as a,withCtx as c,createElementVNode as l,toDisplayString as p,createVNode as u}from"vue";import{NModal as d,NIcon as m}from"naive-ui";import{Mic as v}from"@vicons/ionicons5";import{useTheme as f}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";const h={class:"c-recording-wrapper"},k={class:"content"},y=l("div",{class:"animation"},null,-1),w=l("p",{class:"tip"},"按下空格键停止录音",-1);var g=e({__name:"recordingDialog",props:{visible:{type:Boolean,default:!1},content:{type:String,default:""}},setup(e){const g=e,b=f(),j=o(!0);function x(e){" "!==e.key&&"Space"!==e.code||(e.preventDefault(),C())}function C(){j.value=!1,document.removeEventListener("keydown",x)}return t((()=>{document.addEventListener("keydown",x)})),s((()=>g.visible),(e=>{j.value=e})),(o,t)=>(n(),i(r(d),{show:j.value,"onUpdate:show":t[0]||(t[0]=e=>j.value=e),style:a(r(b)),onEsc:C,onMaskClick:C},{default:c((()=>[l("div",h,[l("p",k,p(e.content||"正在聆听..."),1),y,l("div",{class:"icon-box",onClick:C},[u(r(m),{size:"60",color:"#fff",component:r(v)},null,8,["component"])]),w])])),_:1},8,["show","style"]))}});export{g as default};
@@ -1,8 +1,11 @@
1
- import { ComponentInternalInstance } from 'vue';
1
+ import { ComponentInternalInstance, Ref } from 'vue';
2
2
  export declare class RecordingDialog {
3
3
  rendered: boolean;
4
4
  target: HTMLElement | null;
5
5
  static createMsg(message: string): string;
6
- show(instance: ComponentInternalInstance, afterLeave: Function): Promise<string>;
6
+ show(instance: ComponentInternalInstance, { contentRef, after }: {
7
+ contentRef: Ref<string>;
8
+ after: () => void;
9
+ }): Promise<string>;
7
10
  hide(): void;
8
11
  }
@@ -1 +1 @@
1
- import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,d){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,u)=>{this.rendered=!0;const c=document.createElement("div"),m=e(!1),h=s(l);t(r(h,null,{default:n((()=>r(o,{to:c,visible:m.value,onAfterLeave:()=>function(e){if(!e.parentElement)return;v.rendered=!1,v.hide(),d(),a("success")}(c)},null)),l)}),c);const v=this;var g;g=c,document.body.appendChild(g),v.target=g,i((()=>m.value=!0))}))}hide(){var e;(null==(e=this.target)?void 0:e.parentElement)&&(this.target.parentElement.removeChild(this.target),this.target=null)}}export{a as RecordingDialog};
1
+ import{ref as e,render as t,createVNode as r,withCtx as n,nextTick as i}from"vue";import{createProviderWrapper as s}from"../../../../shared/utils/index.js";import o from"../components/recordingDialog.vue.js";class a{constructor(){this.rendered=!1,this.target=null}static createMsg(e){return`[PreviewDialog] ${e}`}show(l,{contentRef:d,after:u}){return this.rendered?Promise.reject(a.createMsg("请勿重复打开弹窗")):new Promise(((a,c)=>{this.rendered=!0;const h=document.createElement("div"),m=e(!1),v=s(l);t(r(v,null,{default:n((()=>r(o,{to:h,content:d.value,visible:m.value,onAfterLeave:()=>function(e){if(!e.parentElement)return;g.hide(),u(),a("success")}(h)},null)),l)}),h);const g=this;var p;p=h,document.body.appendChild(p),g.target=p,i((()=>m.value=!0))}))}hide(){var e;(null==(e=this.target)?void 0:e.parentElement)&&(this.rendered=!1,this.target.parentElement.removeChild(this.target),this.target=null)}}export{a as RecordingDialog};
@@ -1 +1 @@
1
- .c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}.c-recording-wrapper .animation{background-color:var(--c-primary-color-opacity2);left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:var(--c-primary-color);cursor:pointer}
1
+ .c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{font-size:18px;position:absolute;text-align:center;top:20px}.c-recording-wrapper .animation{animation:toScale 1s infinite;background-color:#5585f54d;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer}.c-recording-wrapper .tip{bottom:20px;position:absolute}
@@ -22,6 +22,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
22
22
  type: ObjectConstructor;
23
23
  default: () => {};
24
24
  };
25
+ isShowTitle: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
25
29
  }, {
26
30
  outQuickSearchFn: {
27
31
  handlerInitSearchItem(arr: import("..").ISearchType[]): void;
@@ -91,6 +95,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
91
95
  type: ObjectConstructor;
92
96
  default: () => {};
93
97
  };
98
+ isShowTitle: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
94
102
  }>> & {
95
103
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
96
104
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -140,6 +148,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
140
148
  filterChangeFnList: import("vue").Ref<any[]>;
141
149
  showQuickSearch: import("vue").ComputedRef<boolean>;
142
150
  showResetBtn: import("vue").ComputedRef<boolean>;
151
+ handleName: (item: import("..").ISearchType, key?: string) => any;
143
152
  initOutSearchFieldList: () => void;
144
153
  isShowSetting: (v: string) => boolean;
145
154
  foldQuickSearch: () => void;
@@ -219,6 +228,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
219
228
  type: ObjectConstructor;
220
229
  default: () => {};
221
230
  };
231
+ isShowTitle: {
232
+ type: BooleanConstructor;
233
+ default: boolean;
234
+ };
222
235
  }>> & {
223
236
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
224
237
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -229,5 +242,6 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
229
242
  searchFieldList: import("..").IApiServerType[];
230
243
  qqConObjCount: number;
231
244
  appendValueConfig: Record<string, any>;
245
+ isShowTitle: boolean;
232
246
  }>>;
233
247
  export default CBaseSearch;
@@ -23,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: ObjectConstructor;
24
24
  default: () => {};
25
25
  };
26
+ isShowTitle: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
26
30
  }, {
27
31
  outQuickSearchFn: {
28
32
  handlerInitSearchItem(arr: ISearchType[]): void;
@@ -92,6 +96,10 @@ declare const _default: import("vue").DefineComponent<{
92
96
  type: ObjectConstructor;
93
97
  default: () => {};
94
98
  };
99
+ isShowTitle: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
95
103
  }>> & {
96
104
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
97
105
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -141,6 +149,7 @@ declare const _default: import("vue").DefineComponent<{
141
149
  filterChangeFnList: import("vue").Ref<any[]>;
142
150
  showQuickSearch: import("vue").ComputedRef<boolean>;
143
151
  showResetBtn: import("vue").ComputedRef<boolean>;
152
+ handleName: (item: ISearchType, key?: string) => any;
144
153
  initOutSearchFieldList: () => void;
145
154
  isShowSetting: (v: string) => boolean;
146
155
  foldQuickSearch: () => void;
@@ -220,6 +229,10 @@ declare const _default: import("vue").DefineComponent<{
220
229
  type: ObjectConstructor;
221
230
  default: () => {};
222
231
  };
232
+ isShowTitle: {
233
+ type: BooleanConstructor;
234
+ default: boolean;
235
+ };
223
236
  }>> & {
224
237
  onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
225
238
  onOnFilterSearch?: ((...args: any[]) => any) | undefined;
@@ -230,5 +243,6 @@ declare const _default: import("vue").DefineComponent<{
230
243
  searchFieldList: IApiServerType[];
231
244
  qqConObjCount: number;
232
245
  appendValueConfig: Record<string, any>;
246
+ isShowTitle: boolean;
233
247
  }>;
234
248
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,provide as a,computed as i,watch as l,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as c,unref as u,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as h,Fragment as p,renderList as v}from"vue";import g from"../../table-filter/src/components/render-widget/index.vue.js";import b from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as j}from"naive-ui";import{Search as A}from"@vicons/ionicons5";import{isObject as S,cloneDeep as O}from"lodash-es";import{InjectionFilterApiConfig as x,InjectionFilterSearchConfig as F}from"../../table-filter/src/constants/index.js";const q={class:"base-search-block"},R={class:"base-container"},V={class:"bease-left"},Q={class:"base-ul"},N={key:0,class:"baseli showQuickBtn"},_=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),w={key:0,class:"qqConObjCount"},E={class:"baseli"},I={key:1,class:"baseli"},P={key:2,class:"baseli"},B=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var L=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object},appendValueConfig:{type:Object,default:()=>({})}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:L,emit:U}){const D=e,{outQuickSearchFn:W}=b(),{isRender:$,getRenderSearchConObj:z,isExistDefValByRenderWidget:M,resetRenderWidgetValue:T}=C(),{transformData:G,transformParams:H}=y(),J=t([]),K=t(!1),X=t([]),Y=t([]);a(x,D.filterApiConfig),a(F,X);const Z=i((()=>te("hideQuickSearch"))),ee=i((()=>te("hideResetBtn")));function te(e){return 0==D.showSettings[e]}function ae(){U("foldQuickSearch",!0)}function ie(e={}){const t=le()||[];!function(e,t,a=!1,i={}){let l=[];X.value.length>0&&(l=O(X.value));U("onFilterSearch",e,t,a,l,i)}(t,H(t),!0,e)}function le(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let a=0;a<e.length;a++){let i=e[a];const l=z(i);l&&t.push(l)}return t.filter((e=>e.value||Object.keys(e).includes("isAccurateSearch")))}(X.value)}function ne(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{T(e)})),W.handlerInitSearchItem(e)}(X.value),U("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>D.searchFieldList),(e=>{e&&e.length>0&&function(){X.value=[];let e=O(G(D.searchFieldList,{_filterApiConfig:D.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));X.value=e,W.handlerInitSearchItem(X.value),X.value.some((e=>$(e)?M(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>D.qqConObjCount),(e=>{const t=J.value.length||0;K.value=t+Number(e)>0&&ee.value}),{immediate:!0}),l((()=>X),(()=>{J.value=le()||[];const e=H(J.value);K.value=J.value.length+Number(D.qqConObjCount)>0&&ee.value,U("getFilterParam",J.value,e),Y.value.forEach((t=>t(e)))}),{immediate:!0,deep:!0}),l((()=>D.appendValueConfig),(e=>{if(S(e)&&Object.keys(e).length>0){const t=Object.keys(e);X.value.forEach((a=>{t.includes(a.columnName)&&(a.value=e[a.columnName])}))}}),{immediate:!0,deep:!0}),L({handleReset:ne,getFilterParams:function(){const e=le()||[];return H(e)},setFilterParams:function(e){const t=e?Object.keys(e):[];t.length>0&&X.value.forEach((a=>{var i;if($(a)&&t.includes(a.columnName)){const t=e[a.columnName];a.value=Array.isArray(t)&&!1===(null==(i=a.widgetCfg)?void 0:i.multiple)?t[0]:t}}))},getOriginalConfig:function(){return D.searchFieldList},onFilterChange:function(e){Y.value.push(e)}}),(t,a)=>(n(),r("div",q,[s("div",R,[s("div",V,[s("ul",Q,[o(" 筛选分类插槽 "),c(t.$slots,"classification"),u(Z)?(n(),r("li",N,[f(u(k),{class:"search-default",type:"default",onClick:ae},{default:d((()=>[_,m(" 筛选"),e.qqConObjCount?(n(),r("span",w,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(X.value,(e=>(n(),r(p,null,[e.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:e._frontId},[f(g,{cfg:e,modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,isAccurate:e.isAccurateSearchVal,"onUpdate:isAccurate":t=>e.isAccurateSearchVal=t,onOutFilterChange:ie},null,8,["cfg","modelValue","onUpdate:modelValue","isAccurate","onUpdate:isAccurate"])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),s("div",E,[o(" 业务组件插槽 "),c(t.$slots,"modules")]),o(" 查询按钮 "),X.value&&X.value.length>0?(n(),r("li",I,[f(u(k),{type:"primary",onClick:ie},{default:d((()=>[f(u(j),{component:u(A),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),K.value?(n(),r("li",P,[f(u(k),{onClick:ne},{default:d((()=>[B,m(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),c(t.$slots,"buttons")])])])]))}});export{L as default};
1
+ import{defineComponent as e,ref as t,provide as i,computed as a,watch as l,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as c,unref as u,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as h,Fragment as p,renderList as v}from"vue";import g from"../../table-filter/src/components/render-widget/index.vue.js";import b from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as S}from"naive-ui";import{Search as j}from"@vicons/ionicons5";import{isObject as A,cloneDeep as O}from"lodash-es";import{InjectionFilterApiConfig as x,InjectionFilterSearchConfig as F}from"../../table-filter/src/constants/index.js";const q={class:"base-search-block"},R={class:"base-container"},V={class:"bease-left"},w={class:"base-ul"},Q={key:0,class:"baseli showQuickBtn"},N=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),_={key:0,class:"qqConObjCount"},E={class:"base-row"},B={key:0,class:"title"},I={class:"baseli"},P={key:1,class:"baseli"},L={key:2,class:"baseli"},U=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var D=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object},appendValueConfig:{type:Object,default:()=>({})},isShowTitle:{type:Boolean,default:!1}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:D,emit:T}){const W=e,{outQuickSearchFn:$}=b(),{isRender:z,getRenderSearchConObj:M,isExistDefValByRenderWidget:G,resetRenderWidgetValue:H}=C(),{transformData:J,transformParams:K}=y(),X=t([]),Y=t(!1),Z=t([]),ee=t([]);i(x,W.filterApiConfig),i(F,Z);const te=a((()=>le("hideQuickSearch"))),ie=a((()=>le("hideResetBtn")));function ae(e,t="name"){return e.alias||e[t]}function le(e){return 0==W.showSettings[e]}function ne(){T("foldQuickSearch",!0)}function re(e={}){const t=se()||[];!function(e,t,i=!1,a={}){let l=[];Z.value.length>0&&(l=O(Z.value));T("onFilterSearch",e,t,i,l,a)}(t,K(t),!0,e)}function se(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let i=0;i<e.length;i++){let a=e[i];const l=M(a);l&&t.push(l)}return t.filter((e=>e.value||Object.keys(e).includes("isAccurateSearch")))}(Z.value)}function oe(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{H(e)})),$.handlerInitSearchItem(e)}(Z.value),T("handleReset",{targetType:"outQuickSearchReset"})}return l((()=>W.searchFieldList),(e=>{e&&e.length>0&&function(){Z.value=[];let e=O(J(W.searchFieldList,{_filterApiConfig:W.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));Z.value=e,$.handlerInitSearchItem(Z.value),Z.value.some((e=>z(e)?G(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),l((()=>W.qqConObjCount),(e=>{const t=X.value.length||0;Y.value=t+Number(e)>0&&ie.value}),{immediate:!0}),l((()=>Z),(()=>{X.value=se()||[];const e=K(X.value);Y.value=X.value.length+Number(W.qqConObjCount)>0&&ie.value,T("getFilterParam",X.value,e),ee.value.forEach((t=>t(e)))}),{immediate:!0,deep:!0}),l((()=>W.appendValueConfig),(e=>{if(A(e)&&Object.keys(e).length>0){const t=Object.keys(e);Z.value.forEach((i=>{t.includes(i.columnName)&&(i.value=e[i.columnName])}))}}),{immediate:!0,deep:!0}),D({handleReset:oe,getFilterParams:function(){const e=se()||[];return K(e)},setFilterParams:function(e){const t=e?Object.keys(e):[];t.length>0&&Z.value.forEach((i=>{var a;if(z(i)&&t.includes(i.columnName)){const t=e[i.columnName];i.value=Array.isArray(t)&&!1===(null==(a=i.widgetCfg)?void 0:a.multiple)?t[0]:t}}))},getOriginalConfig:function(){return W.searchFieldList},onFilterChange:function(e){ee.value.push(e)}}),(t,i)=>(n(),r("div",q,[s("div",R,[s("div",V,[s("ul",w,[o(" 筛选分类插槽 "),c(t.$slots,"classification"),u(te)?(n(),r("li",Q,[f(u(k),{class:"search-default",type:"default",onClick:ne},{default:d((()=>[N,m(" 筛选"),e.qqConObjCount?(n(),r("span",_,"("+h(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(Z.value,(t=>(n(),r(p,null,[t.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:t._frontId},[s("div",E,[e.isShowTitle&&ae(t,"title")?(n(),r("span",B,h(ae(t,"title"))+":",1)):o("v-if",!0),f(g,{cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,isAccurate:t.isAccurateSearchVal,"onUpdate:isAccurate":e=>t.isAccurateSearchVal=e,onOutFilterChange:re},null,8,["cfg","modelValue","onUpdate:modelValue","isAccurate","onUpdate:isAccurate"])])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),s("div",I,[o(" 业务组件插槽 "),c(t.$slots,"modules")]),o(" 查询按钮 "),Z.value&&Z.value.length>0?(n(),r("li",P,[f(u(k),{type:"primary",onClick:re},{default:d((()=>[f(u(S),{component:u(j),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),Y.value?(n(),r("li",L,[f(u(k),{onClick:oe},{default:d((()=>[U,m(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),c(t.$slots,"buttons")])])])]))}});export{D as default};
@@ -1 +1 @@
1
- @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
1
+ @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;flex-wrap:nowrap}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px;white-space:nowrap}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.classify-fieldkey-popover{width:200px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .base-row{align-items:center;display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .base-row .title{padding-left:4px;white-space:nowrap}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
@@ -1 +1 @@
1
- import{COMPONENT_NAMESPACE as i}from"../../shared/global/variable.js";import{safeComponentRegister as e}from"../../shared/utils/index.js";import{expandXEUtils as r}from"../../shared/utils/utilExpand.js";import s from"../grid/index.js";import"../field-set/index.js";import"../button-print/index.js";import"../select-person/index.js";import"../select-label/index.js";import"../map/index.js";import"../vod-chunk-upload/index.js";import"../scale-view/index.js";import"../info-header/index.js";import"../time-line/index.js";import"../base-search/index.js";import"../quick-search/index.js";import"../classification/index.js";import"../bpmn-workflow/index.js";import"../steps-wheel/index.js";import"../editor/index.js";import"../form-render/index.js";import"../fabric-chart/index.js";import"../shortcut-provider/index.js";import"../shortcut-setter/index.js";import"../form-config/index.js";import"../iho-table/index.js";import"../keyboard/index.js";import"../search-cascader/index.js";import"../recommend-search/index.js";import"../date-picker/index.js";import"../time-picker/index.js";import"../config-provider/index.js";import"../picture-clipper/index.js";import"../table-export-field/index.js";import"../expand-field/index.js";import"../biunique-chat/index.js";import"../callback/index.js";import"../slider-tree/index.js";import"../body-select/index.js";import"axios";import"lodash-es";import"../card-reader-sdk/src/utils/index.js";import"../card-reader-sdk/src/cardReaderSDK.js";import"../table-filter/src/components/render-widget/helpers/presetValToTimestamp.js";import"../table-filter/src/components/render-widget/enums.js";import"naive-ui";import"vue";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import"../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"../audio-sdk/src/audioSDK.js";import t from"./src/BigTable.vue.js";const o=t;o.install=function(t){return e(t,o,i+"BigTable"),e(t,s,i+"Grid"),r()};export{o as default};
1
+ import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as i}from"../../shared/utils/index.js";import{expandXEUtils as o}from"../../shared/utils/utilExpand.js";import"../index.js";import s from"./src/BigTable.vue.js";import t from"../grid/index.js";const e=s;e.install=function(s){return i(s,e,r+"BigTable"),i(s,t,r+"Grid"),o()};export{e as default};
@@ -103,7 +103,13 @@ export declare const CallbackMaps: Map<string, {
103
103
  default: () => {};
104
104
  };
105
105
  annotation: {
106
- type: import("vue").PropType<import("../../../..").AnyObject>;
106
+ type: import("vue").PropType<Record<string, import("../../../../annotation-edit/src/type").AnnotationItem>>;
107
+ };
108
+ annotationShortcuts: {
109
+ type: import("vue").PropType<(string | {
110
+ label: string;
111
+ value: string;
112
+ })[] | undefined>;
107
113
  };
108
114
  consumer: {
109
115
  type: BooleanConstructor;
@@ -259,7 +265,13 @@ export declare const CallbackMaps: Map<string, {
259
265
  default: () => {};
260
266
  };
261
267
  annotation: {
262
- type: import("vue").PropType<import("../../../..").AnyObject>;
268
+ type: import("vue").PropType<Record<string, import("../../../../annotation-edit/src/type").AnnotationItem>>;
269
+ };
270
+ annotationShortcuts: {
271
+ type: import("vue").PropType<(string | {
272
+ label: string;
273
+ value: string;
274
+ })[] | undefined>;
263
275
  };
264
276
  consumer: {
265
277
  type: BooleanConstructor;
@@ -453,7 +465,11 @@ export declare const CallbackMaps: Map<string, {
453
465
  }>;
454
466
  components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
455
467
  scope: import("../../../..").AnyObject;
456
- annotation: import("../../../..").AnyObject;
468
+ annotation: Record<string, import("../../../../annotation-edit/src/type").AnnotationItem>;
469
+ annotationShortcuts: (string | {
470
+ label: string;
471
+ value: string;
472
+ })[] | undefined;
457
473
  consumer: boolean;
458
474
  uuid: string;
459
475
  lifeCycle: Partial<{
@@ -751,7 +767,13 @@ export declare const CallbackMaps: Map<string, {
751
767
  default: () => {};
752
768
  };
753
769
  annotation: {
754
- type: import("vue").PropType<import("../../../..").AnyObject>;
770
+ type: import("vue").PropType<Record<string, import("../../../../annotation-edit/src/type").AnnotationItem>>;
771
+ };
772
+ annotationShortcuts: {
773
+ type: import("vue").PropType<(string | {
774
+ label: string;
775
+ value: string;
776
+ })[] | undefined>;
755
777
  };
756
778
  consumer: {
757
779
  type: BooleanConstructor;
@@ -258,7 +258,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
258
258
  $message: import("naive-ui").MessageApi;
259
259
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
260
260
  conditionList: import("vue").Ref<unknown[]>;
261
- checkedItem: import("vue").Ref<any>;
262
261
  addVisible: import("vue").Ref<boolean>;
263
262
  actionList_prop: import("vue").Ref<{}>;
264
263
  newSearchFieldList: any;
@@ -275,7 +274,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
275
274
  copy: (item: import("..").IClassifyListType) => void;
276
275
  saveAdd: (params: any) => Promise<void>;
277
276
  cancelSaveAdd: () => void;
278
- changeData: (data: any, checkedItemVal: any) => void;
279
277
  delItem: (checkedItemVal: any) => Promise<void>;
280
278
  setOneVisible: (flag: boolean) => void;
281
279
  resetPopconfirm: () => Promise<void>;
@@ -309,6 +307,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
309
307
  };
310
308
  type: {
311
309
  type: StringConstructor;
310
+ default: string;
312
311
  };
313
312
  transitionName: {
314
313
  type: StringConstructor;
@@ -352,6 +351,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
352
351
  };
353
352
  type: {
354
353
  type: StringConstructor;
354
+ default: string;
355
355
  };
356
356
  transitionName: {
357
357
  type: StringConstructor;
@@ -363,11 +363,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
363
363
  }>> & {
364
364
  onClose?: ((...args: any[]) => any) | undefined;
365
365
  onHandleOk?: ((...args: any[]) => any) | undefined;
366
- onChangeData?: ((...args: any[]) => any) | undefined;
367
366
  onResetPopconfirm?: ((...args: any[]) => any) | undefined;
368
367
  onFinishSubmit?: ((...args: any[]) => any) | undefined;
369
368
  }>>;
370
- emits: (event: "close" | "handleOk" | "changeData" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
369
+ emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
371
370
  isAdmin: import("vue").ComputedRef<unknown>;
372
371
  homeList: any;
373
372
  visible: import("vue").Ref<boolean>;
@@ -379,7 +378,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
379
378
  rinkTo: () => void;
380
379
  close: () => void;
381
380
  resetChangeWindow: () => void;
382
- dragEnd: () => void;
383
381
  clickli: (item: import("..").IClassifyListType) => void;
384
382
  clickChecked: (item: import("..").IClassifyListType) => void;
385
383
  changeSwitch: (item: import("..").IClassifyListType) => void;
@@ -481,7 +479,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
481
479
  modelValue: unknown[];
482
480
  componentData: Record<string, any>;
483
481
  }>;
484
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "changeData" | "resetPopconfirm" | "finishSubmit")[], "close" | "handleOk" | "changeData" | "resetPopconfirm" | "finishSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
482
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "resetPopconfirm" | "finishSubmit")[], "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
485
483
  visibleIn: {
486
484
  type: BooleanConstructor;
487
485
  };
@@ -509,6 +507,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
509
507
  };
510
508
  type: {
511
509
  type: StringConstructor;
510
+ default: string;
512
511
  };
513
512
  transitionName: {
514
513
  type: StringConstructor;
@@ -520,11 +519,11 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
520
519
  }>> & {
521
520
  onClose?: ((...args: any[]) => any) | undefined;
522
521
  onHandleOk?: ((...args: any[]) => any) | undefined;
523
- onChangeData?: ((...args: any[]) => any) | undefined;
524
522
  onResetPopconfirm?: ((...args: any[]) => any) | undefined;
525
523
  onFinishSubmit?: ((...args: any[]) => any) | undefined;
526
524
  }, {
527
525
  loading: boolean;
526
+ type: string;
528
527
  dataSource: unknown[];
529
528
  visibleIn: boolean;
530
529
  getContainer: Function;
@@ -1174,6 +1173,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1174
1173
  type: BooleanConstructor;
1175
1174
  default: boolean;
1176
1175
  };
1176
+ loading: {
1177
+ type: BooleanConstructor;
1178
+ default: boolean;
1179
+ };
1177
1180
  }, {
1178
1181
  selectMinWidth: number;
1179
1182
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1205,6 +1208,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1205
1208
  type: BooleanConstructor;
1206
1209
  default: boolean;
1207
1210
  };
1211
+ loading: {
1212
+ type: BooleanConstructor;
1213
+ default: boolean;
1214
+ };
1208
1215
  }>> & {
1209
1216
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
1210
1217
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -1213,6 +1220,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1213
1220
  dragEndWidth: import("vue").Ref<number>;
1214
1221
  showKeys: import("vue").ComputedRef<any>;
1215
1222
  titleList: import("vue").ComputedRef<string[]>;
1223
+ isOptionsNull: import("vue").ComputedRef<boolean>;
1216
1224
  handleSelect: (option: any) => void;
1217
1225
  searchByPage: (onePage: number) => void;
1218
1226
  changeWidth: ({ distance }: any) => void;
@@ -1288,10 +1296,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1288
1296
  type: BooleanConstructor;
1289
1297
  default: boolean;
1290
1298
  };
1299
+ loading: {
1300
+ type: BooleanConstructor;
1301
+ default: boolean;
1302
+ };
1291
1303
  }>> & {
1292
1304
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
1293
1305
  onUpdatePage?: ((...args: any[]) => any) | undefined;
1294
1306
  }, {
1307
+ loading: boolean;
1295
1308
  dynamicOptionInfo: import("../../shared/types").AnyObject;
1296
1309
  fieldTitleList: import("../../shared/types").AnyObject[];
1297
1310
  optionList: import("../../shared/types").AnyObject[];